From 35f4052c643e85dcd126c95c1cfa33e3f9aff64d Mon Sep 17 00:00:00 2001 From: Pol Piella Abadia Date: Wed, 2 Oct 2024 16:04:44 +0200 Subject: [PATCH 1/2] Updates API spec version to 3.6 --- .../Entities/AgeRatingDeclaration.swift | 46 +- .../AgeRatingDeclarationUpdateRequest.swift | 46 +- .../AlternativeDistributionPackage.swift | 28 +- ...lternativeDistributionPackageVersion.swift | 84 +- .../Generated/Entities/AnalyticsReport.swift | 42 +- .../Entities/AnalyticsReportInstance.swift | 42 +- .../Entities/AnalyticsReportRequest.swift | 28 +- Sources/OpenAPI/Generated/Entities/App.swift | 886 +- .../Generated/Entities/AppAvailability.swift | 56 +- .../Entities/AppAvailabilityV2.swift | 28 +- .../Generated/Entities/AppCategory.swift | 56 +- .../OpenAPI/Generated/Entities/AppClip.swift | 80 +- .../Entities/AppClipAdvancedExperience.swift | 84 +- .../AppClipAppStoreReviewDetail.swift | 28 +- .../Entities/AppClipDefaultExperience.swift | 112 +- ...AppClipDefaultExperienceLocalization.swift | 56 +- .../Entities/AppClipHeaderImage.swift | 28 +- .../Entities/AppCustomProductPage.swift | 56 +- .../AppCustomProductPageLocalization.swift | 84 +- .../AppCustomProductPageVersion.swift | 56 +- .../Entities/AppEncryptionDeclaration.swift | 86 +- ...ppEncryptionDeclarationCreateRequest.swift | 146 + .../OpenAPI/Generated/Entities/AppEvent.swift | 42 +- .../Entities/AppEventCreateRequest.swift | 14 +- .../Entities/AppEventLocalization.swift | 84 +- .../Entities/AppEventScreenshot.swift | 28 +- .../Entities/AppEventUpdateRequest.swift | 14 +- .../Entities/AppEventVideoClip.swift | 28 +- .../OpenAPI/Generated/Entities/AppInfo.swift | 275 +- .../Entities/AppInfoLocalization.swift | 28 +- .../Generated/Entities/AppPreOrder.swift | 28 +- .../Generated/Entities/AppPreview.swift | 28 +- .../Generated/Entities/AppPreviewSet.swift | 112 +- .../Generated/Entities/AppPricePointV3.swift | 76 +- .../Generated/Entities/AppPriceSchedule.swift | 112 +- .../Generated/Entities/AppPriceV2.swift | 56 +- .../Generated/Entities/AppScreenshot.swift | 28 +- .../Generated/Entities/AppScreenshotSet.swift | 112 +- .../Entities/AppStoreReviewAttachment.swift | 28 +- .../Entities/AppStoreReviewDetail.swift | 56 +- .../Generated/Entities/AppStoreVersion.swift | 386 +- .../Entities/AppStoreVersionExperiment.swift | 56 +- .../AppStoreVersionExperimentTreatment.swift | 84 +- ...sionExperimentTreatmentCreateRequest.swift | 24 +- ...rsionExperimentTreatmentLocalization.swift | 84 +- .../AppStoreVersionExperimentV2.swift | 112 +- .../AppStoreVersionLocalization.swift | 84 +- .../Entities/AppStoreVersionResponse.swift | 6 +- .../Entities/AppStoreVersionSubmission.swift | 28 +- .../Entities/AppStoreVersionsResponse.swift | 6 +- .../Generated/Entities/AppUpdateRequest.swift | 6 +- ...AppsBetaTesterUsagesV1MetricResponse.swift | 6 +- .../Entities/BetaAppClipInvocation.swift | 28 +- .../Entities/BetaAppLocalization.swift | 28 +- .../Entities/BetaAppReviewDetail.swift | 28 +- .../Entities/BetaAppReviewSubmission.swift | 28 +- .../Entities/BetaBuildLocalization.swift | 28 +- .../BetaBuildUsagesV1MetricResponse.swift | 60 +- .../Generated/Entities/BetaGroup.swift | 84 +- .../Entities/BetaLicenseAgreement.swift | 28 +- .../Generated/Entities/BetaTester.swift | 84 +- .../BetaTesterUsagesV1MetricResponse.swift | 6 +- .../OpenAPI/Generated/Entities/Build.swift | 354 +- .../Generated/Entities/BuildBetaDetail.swift | 28 +- .../Generated/Entities/BuildBundle.swift | 112 +- .../OpenAPI/Generated/Entities/BundleID.swift | 84 +- .../Generated/Entities/CiBuildAction.swift | 96 +- .../Generated/Entities/CiBuildRun.swift | 188 +- .../Generated/Entities/CiMacOsVersion.swift | 28 +- .../Generated/Entities/CiProduct.swift | 150 +- .../Generated/Entities/CiWorkflow.swift | 136 +- .../Generated/Entities/CiXcodeVersion.swift | 28 +- .../Generated/Entities/CustomerReview.swift | 28 +- .../Entities/CustomerReviewResponseV1.swift | 28 +- .../Entities/DiagnosticSignature.swift | 42 +- .../Entities/EndUserLicenseAgreement.swift | 56 +- .../Entities/GameCenterAchievement.swift | 140 +- .../Entities/GameCenterAchievementImage.swift | 28 +- .../GameCenterAchievementLocalization.swift | 56 +- .../GameCenterAchievementRelease.swift | 56 +- .../Entities/GameCenterAppVersion.swift | 56 +- .../Generated/Entities/GameCenterDetail.swift | 308 +- .../Entities/GameCenterEnabledVersion.swift | 56 +- .../Generated/Entities/GameCenterGroup.swift | 112 +- .../Entities/GameCenterLeaderboard.swift | 168 +- .../Entities/GameCenterLeaderboardImage.swift | 28 +- .../GameCenterLeaderboardLocalization.swift | 56 +- .../GameCenterLeaderboardRelease.swift | 56 +- .../Entities/GameCenterLeaderboardSet.swift | 168 +- .../GameCenterLeaderboardSetImage.swift | 28 +- ...GameCenterLeaderboardSetLocalization.swift | 56 +- ...nterLeaderboardSetMemberLocalization.swift | 56 +- .../GameCenterLeaderboardSetRelease.swift | 56 +- ...tchmakingAppRequestsV1MetricResponse.swift | 12 +- ...ngBooleanRuleResultsV1MetricResponse.swift | 12 +- ...ingNumberRuleResultsV1MetricResponse.swift | 6 +- .../Entities/GameCenterMatchmakingQueue.swift | 56 +- ...hmakingQueueRequestsV1MetricResponse.swift | 18 +- ...atchmakingRuleErrorsV1MetricResponse.swift | 6 +- .../GameCenterMatchmakingRuleSet.swift | 84 +- .../Generated/Entities/InAppPurchase.swift | 28 +- ...nAppPurchaseAppStoreReviewScreenshot.swift | 28 +- .../Entities/InAppPurchaseAvailability.swift | 28 +- .../Entities/InAppPurchaseContent.swift | 28 +- .../Entities/InAppPurchaseImage.swift | 156 + .../InAppPurchaseImageCreateRequest.swift | 136 + .../Entities/InAppPurchaseImageResponse.swift | 31 + .../InAppPurchaseImageUpdateRequest.swift | 74 + .../InAppPurchaseImagesResponse.swift | 34 + .../Entities/InAppPurchaseLocalization.swift | 28 +- .../Entities/InAppPurchasePrice.swift | 56 +- .../Entities/InAppPurchasePricePoint.swift | 28 +- .../Entities/InAppPurchasePriceSchedule.swift | 112 +- .../Entities/InAppPurchaseSubmission.swift | 28 +- .../Generated/Entities/InAppPurchaseV2.swift | 236 +- .../Entities/InAppPurchaseV2Response.swift | 6 +- .../Entities/InAppPurchasesV2Response.swift | 6 +- .../Generated/Entities/IntegerRange.swift | 26 + .../Entities/PrereleaseVersion.swift | 56 +- .../OpenAPI/Generated/Entities/Profile.swift | 84 +- .../Generated/Entities/PromotedPurchase.swift | 86 +- .../Entities/PromotedPurchaseImage.swift | 29 +- .../PromotedPurchaseImageCreateRequest.swift | 1 + .../PromotedPurchaseImageResponse.swift | 3 + .../PromotedPurchaseImageUpdateRequest.swift | 1 + .../PromotedPurchaseImagesResponse.swift | 1 + .../Entities/RelationshipLinks.swift | 26 + .../Generated/Entities/ReviewSubmission.swift | 140 +- .../Entities/ReviewSubmissionItem.swift | 140 +- .../Entities/RoutingAppCoverage.swift | 28 +- .../Generated/Entities/ScmGitReference.swift | 28 +- .../Generated/Entities/ScmProvider.swift | 42 +- .../Generated/Entities/ScmPullRequest.swift | 28 +- .../Generated/Entities/ScmRepository.swift | 102 +- .../Entities/ScreenshotDisplayType.swift | 1 + .../Generated/Entities/Subscription.swift | 352 +- ...SubscriptionAppStoreReviewScreenshot.swift | 28 +- .../Entities/SubscriptionAvailability.swift | 56 +- .../Entities/SubscriptionGroup.swift | 56 +- .../SubscriptionGroupLocalization.swift | 28 +- .../Entities/SubscriptionImage.swift | 156 + .../SubscriptionImageCreateRequest.swift | 136 + .../Entities/SubscriptionImageResponse.swift | 31 + .../SubscriptionImageUpdateRequest.swift | 74 + .../Entities/SubscriptionImagesResponse.swift | 34 + .../SubscriptionIntroductoryOffer.swift | 84 +- .../Entities/SubscriptionLocalization.swift | 28 +- .../Entities/SubscriptionOfferCode.swift | 112 +- .../SubscriptionOfferCodeCustomCode.swift | 28 +- .../SubscriptionOfferCodeOneTimeUseCode.swift | 52 +- .../Entities/SubscriptionOfferCodePrice.swift | 56 +- .../Entities/SubscriptionOfferDuration.swift | 1 - .../Entities/SubscriptionPrice.swift | 56 +- .../Entities/SubscriptionPricePoint.swift | 52 +- .../SubscriptionPromotionalOffer.swift | 56 +- .../SubscriptionPromotionalOfferPrice.swift | 56 +- .../Entities/SubscriptionResponse.swift | 10 +- .../SubscriptionStatusURLVersion.swift | 2 - .../Entities/SubscriptionSubmission.swift | 28 +- .../Entities/SubscriptionsResponse.swift | 10 +- .../Entities/TerritoryAvailability.swift | 30 +- Sources/OpenAPI/Generated/Entities/User.swift | 28 +- .../Generated/Entities/UserInvitation.swift | 28 +- .../Generated/Entities/WinBackOffer.swift | 184 + .../Entities/WinBackOfferCreateRequest.swift | 238 + .../Entities/WinBackOfferPrice.swift | 148 + .../WinBackOfferPriceInlineCreate.swift | 30 + .../Entities/WinBackOfferPricesResponse.swift | 61 + .../Entities/WinBackOfferResponse.swift | 31 + .../Entities/WinBackOfferUpdateRequest.swift | 104 + .../Entities/WinBackOffersResponse.swift | 34 + .../Generated/Paths/PathsV1Actors.swift | 6 +- .../Generated/Paths/PathsV1ActorsWithID.swift | 6 +- .../PathsV1AgeRatingDeclarationsWithID.swift | 2 +- ...athsV1AlternativeDistributionDomains.swift | 6 +- ...AlternativeDistributionDomainsWithID.swift | 6 +- .../PathsV1AlternativeDistributionKeys.swift | 6 +- ...sV1AlternativeDistributionKeysWithID.swift | 6 +- ...ativeDistributionPackageDeltasWithID.swift | 6 +- ...iveDistributionPackageVariantsWithID.swift | 6 +- ...iveDistributionPackageVersionsWithID.swift | 38 +- ...tributionPackageVersionsWithIDDeltas.swift | 6 +- ...ibutionPackageVersionsWithIDVariants.swift | 6 +- ...thsV1AlternativeDistributionPackages.swift | 2 +- ...lternativeDistributionPackagesWithID.swift | 28 +- ...veDistributionPackagesWithIDVersions.swift | 60 +- ...athsV1AnalyticsReportInstancesWithID.swift | 17 +- ...alyticsReportInstancesWithIDSegments.swift | 2 +- .../PathsV1AnalyticsReportRequests.swift | 2 +- ...PathsV1AnalyticsReportRequestsWithID.swift | 24 +- ...AnalyticsReportRequestsWithIDReports.swift | 12 +- ...PathsV1AnalyticsReportSegmentsWithID.swift | 2 +- .../Paths/PathsV1AnalyticsReportsWithID.swift | 19 +- ...thsV1AnalyticsReportsWithIDInstances.swift | 2 +- .../Paths/PathsV1AppAvailabilities.swift | 2 +- .../PathsV1AppAvailabilitiesWithID.swift | 20 +- ...labilitiesWithIDAvailableTerritories.swift | 2 +- .../Paths/PathsV1AppCategories.swift | 6 +- .../Paths/PathsV1AppCategoriesWithID.swift | 6 +- .../PathsV1AppCategoriesWithIDParent.swift | 4 +- ...hsV1AppCategoriesWithIDSubcategories.swift | 4 +- ...thsV1AppClipAdvancedExperienceImages.swift | 2 +- ...ppClipAdvancedExperienceImagesWithID.swift | 10 +- .../PathsV1AppClipAdvancedExperiences.swift | 2 +- ...hsV1AppClipAdvancedExperiencesWithID.swift | 20 +- .../PathsV1AppClipAppStoreReviewDetails.swift | 2 +- ...V1AppClipAppStoreReviewDetailsWithID.swift | 6 +- ...ppClipDefaultExperienceLocalizations.swift | 2 +- ...DefaultExperienceLocalizationsWithID.swift | 32 +- ...ocalizationsWithIDAppClipHeaderImage.swift | 14 +- .../PathsV1AppClipDefaultExperiences.swift | 2 +- ...thsV1AppClipDefaultExperiencesWithID.swift | 89 +- ...cesWithIDAppClipAppStoreReviewDetail.swift | 8 +- ...ppClipDefaultExperienceLocalizations.swift | 36 +- ...ationshipsReleaseWithAppStoreVersion.swift | 4 +- ...ncesWithIDReleaseWithAppStoreVersion.swift | 377 +- .../Paths/PathsV1AppClipHeaderImages.swift | 2 +- .../PathsV1AppClipHeaderImagesWithID.swift | 14 +- .../Paths/PathsV1AppClipsWithID.swift | 45 +- ...lipsWithIDAppClipAdvancedExperiences.swift | 66 +- ...ClipsWithIDAppClipDefaultExperiences.swift | 99 +- ...sV1AppCustomProductPageLocalizations.swift | 2 +- ...CustomProductPageLocalizationsWithID.swift | 40 +- ...ageLocalizationsWithIDAppPreviewSets.swift | 98 +- ...LocalizationsWithIDAppScreenshotSets.swift | 83 +- .../PathsV1AppCustomProductPageVersions.swift | 2 +- ...V1AppCustomProductPageVersionsWithID.swift | 32 +- ...hIDAppCustomProductPageLocalizations.swift | 52 +- .../Paths/PathsV1AppCustomProductPages.swift | 2 +- .../PathsV1AppCustomProductPagesWithID.swift | 34 +- ...esWithIDAppCustomProductPageVersions.swift | 44 +- ...sV1AppEncryptionDeclarationDocuments.swift | 2 +- ...EncryptionDeclarationDocumentsWithID.swift | 12 +- .../PathsV1AppEncryptionDeclarations.swift | 144 +- ...thsV1AppEncryptionDeclarationsWithID.swift | 140 +- ...V1AppEncryptionDeclarationsWithIDApp.swift | 71 +- ...thIDAppEncryptionDeclarationDocument.swift | 10 +- ...eclarationsWithIDRelationshipsBuilds.swift | 2 +- .../Paths/PathsV1AppEventLocalizations.swift | 2 +- .../PathsV1AppEventLocalizationsWithID.swift | 48 +- ...calizationsWithIDAppEventScreenshots.swift | 20 +- ...ocalizationsWithIDAppEventVideoClips.swift | 20 +- .../Paths/PathsV1AppEventScreenshots.swift | 2 +- .../PathsV1AppEventScreenshotsWithID.swift | 16 +- .../Paths/PathsV1AppEventVideoClips.swift | 2 +- .../PathsV1AppEventVideoClipsWithID.swift | 16 +- .../Generated/Paths/PathsV1AppEvents.swift | 2 +- .../Paths/PathsV1AppEventsWithID.swift | 40 +- .../PathsV1AppEventsWithIDLocalizations.swift | 92 +- .../Paths/PathsV1AppInfoLocalizations.swift | 2 +- .../PathsV1AppInfoLocalizationsWithID.swift | 12 +- .../Paths/PathsV1AppInfosWithID.swift | 66 +- ...V1AppInfosWithIDAgeRatingDeclaration.swift | 16 +- ...V1AppInfosWithIDAppInfoLocalizations.swift | 42 +- ...PathsV1AppInfosWithIDPrimaryCategory.swift | 14 +- ...1AppInfosWithIDPrimarySubcategoryOne.swift | 14 +- ...1AppInfosWithIDPrimarySubcategoryTwo.swift | 14 +- ...thsV1AppInfosWithIDSecondaryCategory.swift | 14 +- ...ppInfosWithIDSecondarySubcategoryOne.swift | 14 +- ...ppInfosWithIDSecondarySubcategoryTwo.swift | 14 +- .../Generated/Paths/PathsV1AppPreOrders.swift | 2 +- .../Paths/PathsV1AppPreOrdersWithID.swift | 10 +- .../Paths/PathsV1AppPreviewSets.swift | 2 +- .../Paths/PathsV1AppPreviewSetsWithID.swift | 42 +- ...thsV1AppPreviewSetsWithIDAppPreviews.swift | 20 +- ...ewSetsWithIDRelationshipsAppPreviews.swift | 4 +- .../Generated/Paths/PathsV1AppPreviews.swift | 2 +- .../Paths/PathsV1AppPreviewsWithID.swift | 18 +- .../Paths/PathsV1AppPriceSchedules.swift | 2 +- .../PathsV1AppPriceSchedulesWithID.swift | 36 +- ...pPriceSchedulesWithIDAutomaticPrices.swift | 18 +- ...AppPriceSchedulesWithIDBaseTerritory.swift | 2 +- ...1AppPriceSchedulesWithIDManualPrices.swift | 18 +- .../Paths/PathsV1AppScreenshotSets.swift | 2 +- .../PathsV1AppScreenshotSetsWithID.swift | 42 +- ...ppScreenshotSetsWithIDAppScreenshots.swift | 38 +- ...etsWithIDRelationshipsAppScreenshots.swift | 4 +- .../Paths/PathsV1AppScreenshots.swift | 2 +- .../Paths/PathsV1AppScreenshotsWithID.swift | 18 +- .../PathsV1AppStoreReviewAttachments.swift | 2 +- ...thsV1AppStoreReviewAttachmentsWithID.swift | 12 +- .../Paths/PathsV1AppStoreReviewDetails.swift | 2 +- .../PathsV1AppStoreReviewDetailsWithID.swift | 32 +- ...tailsWithIDAppStoreReviewAttachments.swift | 36 +- ...sionExperimentTreatmentLocalizations.swift | 2 +- ...perimentTreatmentLocalizationsWithID.swift | 40 +- ...entLocalizationsWithIDAppPreviewSets.swift | 98 +- ...LocalizationsWithIDAppScreenshotSets.swift | 83 +- ...1AppStoreVersionExperimentTreatments.swift | 2 +- ...oreVersionExperimentTreatmentsWithID.swift | 36 +- ...sionExperimentTreatmentLocalizations.swift | 60 +- .../PathsV1AppStoreVersionExperiments.swift | 2 +- ...hsV1AppStoreVersionExperimentsWithID.swift | 36 +- ...DAppStoreVersionExperimentTreatments.swift | 60 +- .../PathsV1AppStoreVersionLocalizations.swift | 2 +- ...V1AppStoreVersionLocalizationsWithID.swift | 44 +- ...ionLocalizationsWithIDAppPreviewSets.swift | 92 +- ...LocalizationsWithIDAppScreenshotSets.swift | 77 +- ...PathsV1AppStoreVersionPhasedReleases.swift | 2 +- ...1AppStoreVersionPhasedReleasesWithID.swift | 4 +- .../PathsV1AppStoreVersionPromotions.swift | 2 +- ...athsV1AppStoreVersionReleaseRequests.swift | 2 +- .../PathsV1AppStoreVersionSubmissions.swift | 2 +- ...hsV1AppStoreVersionSubmissionsWithID.swift | 2 +- .../Paths/PathsV1AppStoreVersions.swift | 2 +- .../Paths/PathsV1AppStoreVersionsWithID.swift | 302 +- ...reVersionsWithIDAgeRatingDeclaration.swift | 16 +- ...WithIDAlternativeDistributionPackage.swift | 20 +- ...rsionsWithIDAppClipDefaultExperience.swift | 99 +- ...reVersionsWithIDAppStoreReviewDetail.swift | 61 +- ...ionsWithIDAppStoreVersionExperiments.swift | 83 +- ...nsWithIDAppStoreVersionExperimentsV2.swift | 179 +- ...nsWithIDAppStoreVersionLocalizations.swift | 105 +- ...nsWithIDAppStoreVersionPhasedRelease.swift | 6 +- ...sionsWithIDAppStoreVersionSubmission.swift | 39 +- .../PathsV1AppStoreVersionsWithIDBuild.swift | 40 +- ...ppStoreVersionsWithIDCustomerReviews.swift | 26 +- ...reVersionsWithIDGameCenterAppVersion.swift | 81 + ...elationshipsAppClipDefaultExperience.swift | 4 +- ...toreVersionsWithIDRelationshipsBuild.swift | 4 +- ...toreVersionsWithIDRoutingAppCoverage.swift | 8 +- .../OpenAPI/Generated/Paths/PathsV1Apps.swift | 739 +- .../Generated/Paths/PathsV1AppsWithID.swift | 676 +- ...AppsWithIDAlternativeDistributionKey.swift | 4 +- ...sV1AppsWithIDAnalyticsReportRequests.swift | 14 +- .../PathsV1AppsWithIDAppAvailability.swift | 80 +- .../PathsV1AppsWithIDAppAvailabilityV2.swift | 62 + .../Paths/PathsV1AppsWithIDAppClips.swift | 86 +- ...thsV1AppsWithIDAppCustomProductPages.swift | 106 +- ...1AppsWithIDAppEncryptionDeclarations.swift | 170 +- .../Paths/PathsV1AppsWithIDAppEvents.swift | 48 +- .../Paths/PathsV1AppsWithIDAppInfos.swift | 178 +- .../PathsV1AppsWithIDAppPricePoints.swift | 74 +- .../PathsV1AppsWithIDAppPriceSchedule.swift | 104 +- ...psWithIDAppStoreVersionExperimentsV2.swift | 179 +- .../PathsV1AppsWithIDAppStoreVersions.swift | 399 +- ...athsV1AppsWithIDBetaAppLocalizations.swift | 8 +- ...PathsV1AppsWithIDBetaAppReviewDetail.swift | 6 +- .../Paths/PathsV1AppsWithIDBetaGroups.swift | 20 +- ...athsV1AppsWithIDBetaLicenseAgreement.swift | 2 +- .../Paths/PathsV1AppsWithIDBuilds.swift | 40 +- .../Paths/PathsV1AppsWithIDCiProduct.swift | 126 +- .../PathsV1AppsWithIDCustomerReviews.swift | 26 +- ...sV1AppsWithIDEndUserLicenseAgreement.swift | 2 +- .../PathsV1AppsWithIDGameCenterDetail.swift | 252 +- ...1AppsWithIDGameCenterEnabledVersions.swift | 86 +- .../PathsV1AppsWithIDInAppPurchases.swift | 92 +- .../PathsV1AppsWithIDInAppPurchasesV2.swift | 181 +- ...sV1AppsWithIDMarketplaceSearchDetail.swift | 4 +- ...sV1AppsWithIDMetricsBetaTesterUsages.swift | 24 +- .../PathsV1AppsWithIDPerfPowerMetrics.swift | 24 +- .../Paths/PathsV1AppsWithIDPreOrder.swift | 6 +- .../PathsV1AppsWithIDPreReleaseVersions.swift | 8 +- .../PathsV1AppsWithIDPromotedPurchases.swift | 93 +- ...V1AppsWithIDRelationshipsBetaTesters.swift | 2 +- ...WithIDRelationshipsPromotedPurchases.swift | 4 +- .../PathsV1AppsWithIDReviewSubmissions.swift | 205 +- ...sV1AppsWithIDSubscriptionGracePeriod.swift | 6 +- .../PathsV1AppsWithIDSubscriptionGroups.swift | 56 +- ...V1BetaAppClipInvocationLocalizations.swift | 2 +- ...AppClipInvocationLocalizationsWithID.swift | 4 +- .../Paths/PathsV1BetaAppClipInvocations.swift | 2 +- .../PathsV1BetaAppClipInvocationsWithID.swift | 10 +- .../Paths/PathsV1BetaAppLocalizations.swift | 92 +- .../PathsV1BetaAppLocalizationsWithID.swift | 94 +- ...PathsV1BetaAppLocalizationsWithIDApp.swift | 70 +- .../Paths/PathsV1BetaAppReviewDetails.swift | 88 +- .../PathsV1BetaAppReviewDetailsWithID.swift | 90 +- ...PathsV1BetaAppReviewDetailsWithIDApp.swift | 70 +- .../PathsV1BetaAppReviewSubmissions.swift | 58 +- ...athsV1BetaAppReviewSubmissionsWithID.swift | 56 +- ...1BetaAppReviewSubmissionsWithIDBuild.swift | 40 +- .../Paths/PathsV1BetaBuildLocalizations.swift | 60 +- .../PathsV1BetaBuildLocalizationsWithID.swift | 62 +- ...sV1BetaBuildLocalizationsWithIDBuild.swift | 40 +- .../Generated/Paths/PathsV1BetaGroups.swift | 194 +- .../Paths/PathsV1BetaGroupsWithID.swift | 174 +- .../Paths/PathsV1BetaGroupsWithIDApp.swift | 70 +- .../PathsV1BetaGroupsWithIDBetaTesters.swift | 12 +- .../Paths/PathsV1BetaGroupsWithIDBuilds.swift | 40 +- ...aGroupsWithIDMetricsBetaTesterUsages.swift | 24 +- ...GroupsWithIDRelationshipsBetaTesters.swift | 6 +- ...1BetaGroupsWithIDRelationshipsBuilds.swift | 6 +- .../Paths/PathsV1BetaLicenseAgreements.swift | 86 +- .../PathsV1BetaLicenseAgreementsWithID.swift | 88 +- ...athsV1BetaLicenseAgreementsWithIDApp.swift | 70 +- .../Paths/PathsV1BetaTesterInvitations.swift | 2 +- .../Generated/Paths/PathsV1BetaTesters.swift | 194 +- .../Paths/PathsV1BetaTestersWithID.swift | 168 +- .../Paths/PathsV1BetaTestersWithIDApps.swift | 70 +- .../PathsV1BetaTestersWithIDBetaGroups.swift | 20 +- .../PathsV1BetaTestersWithIDBuilds.swift | 40 +- ...TestersWithIDMetricsBetaTesterUsages.swift | 16 +- ...V1BetaTestersWithIDRelationshipsApps.swift | 4 +- ...TestersWithIDRelationshipsBetaGroups.swift | 6 +- ...BetaTestersWithIDRelationshipsBuilds.swift | 6 +- .../Paths/PathsV1BuildBetaDetails.swift | 58 +- .../Paths/PathsV1BuildBetaDetailsWithID.swift | 60 +- .../PathsV1BuildBetaDetailsWithIDBuild.swift | 40 +- .../Paths/PathsV1BuildBetaNotifications.swift | 2 +- ...undlesWithIDAppClipDomainCacheStatus.swift | 2 +- ...undlesWithIDAppClipDomainDebugStatus.swift | 2 +- ...dBundlesWithIDBetaAppClipInvocations.swift | 18 +- ...ildBundlesWithIDBuildBundleFileSizes.swift | 4 +- .../Generated/Paths/PathsV1Builds.swift | 395 +- .../Generated/Paths/PathsV1BuildsWithID.swift | 321 +- .../Paths/PathsV1BuildsWithIDApp.swift | 70 +- ...BuildsWithIDAppEncryptionDeclaration.swift | 26 +- .../PathsV1BuildsWithIDAppStoreVersion.swift | 377 +- ...1BuildsWithIDBetaAppReviewSubmission.swift | 4 +- ...V1BuildsWithIDBetaBuildLocalizations.swift | 6 +- .../PathsV1BuildsWithIDBuildBetaDetail.swift | 44 +- ...hsV1BuildsWithIDDiagnosticSignatures.swift | 6 +- .../Paths/PathsV1BuildsWithIDIcons.swift | 4 +- ...PathsV1BuildsWithIDIndividualTesters.swift | 12 +- ...V1BuildsWithIDMetricsBetaBuildUsages.swift | 2 +- .../PathsV1BuildsWithIDPerfPowerMetrics.swift | 24 +- ...PathsV1BuildsWithIDPreReleaseVersion.swift | 8 +- ...elationshipsAppEncryptionDeclaration.swift | 4 +- ...1BuildsWithIDRelationshipsBetaGroups.swift | 4 +- ...WithIDRelationshipsIndividualTesters.swift | 6 +- .../Paths/PathsV1BundleIDCapabilities.swift | 2 +- .../PathsV1BundleIDCapabilitiesWithID.swift | 4 +- .../Generated/Paths/PathsV1BundleIDs.swift | 150 +- .../Paths/PathsV1BundleIDsWithID.swift | 132 +- .../Paths/PathsV1BundleIDsWithIDApp.swift | 70 +- ...1BundleIDsWithIDBundleIDCapabilities.swift | 4 +- .../PathsV1BundleIDsWithIDProfiles.swift | 16 +- .../Generated/Paths/PathsV1Certificates.swift | 30 +- .../Paths/PathsV1CertificatesWithID.swift | 14 +- .../Paths/PathsV1CiArtifactsWithID.swift | 6 +- .../Paths/PathsV1CiBuildActionsWithID.swift | 88 +- ...PathsV1CiBuildActionsWithIDArtifacts.swift | 6 +- .../PathsV1CiBuildActionsWithIDBuildRun.swift | 196 +- .../PathsV1CiBuildActionsWithIDIssues.swift | 6 +- ...thsV1CiBuildActionsWithIDTestResults.swift | 8 +- .../Generated/Paths/PathsV1CiBuildRuns.swift | 2 +- .../Paths/PathsV1CiBuildRunsWithID.swift | 108 +- .../PathsV1CiBuildRunsWithIDActions.swift | 68 +- .../PathsV1CiBuildRunsWithIDBuilds.swift | 459 +- .../Paths/PathsV1CiIssuesWithID.swift | 6 +- .../Paths/PathsV1CiMacOsVersions.swift | 24 +- .../Paths/PathsV1CiMacOsVersionsWithID.swift | 24 +- ...V1CiMacOsVersionsWithIDXcodeVersions.swift | 16 +- .../Generated/Paths/PathsV1CiProducts.swift | 165 +- .../Paths/PathsV1CiProductsWithID.swift | 161 +- ...ProductsWithIDAdditionalRepositories.swift | 52 +- .../Paths/PathsV1CiProductsWithIDApp.swift | 622 +- .../PathsV1CiProductsWithIDBuildRuns.swift | 196 +- ...1CiProductsWithIDPrimaryRepositories.swift | 52 +- .../PathsV1CiProductsWithIDWorkflows.swift | 92 +- .../Paths/PathsV1CiTestResultsWithID.swift | 8 +- .../Generated/Paths/PathsV1CiWorkflows.swift | 2 +- .../Paths/PathsV1CiWorkflowsWithID.swift | 89 +- .../PathsV1CiWorkflowsWithIDBuildRuns.swift | 196 +- .../PathsV1CiWorkflowsWithIDRepository.swift | 52 +- .../Paths/PathsV1CiXcodeVersions.swift | 22 +- .../Paths/PathsV1CiXcodeVersionsWithID.swift | 22 +- ...V1CiXcodeVersionsWithIDMacOsVersions.swift | 30 +- .../PathsV1CustomerReviewResponses.swift | 2 +- ...PathsV1CustomerReviewResponsesWithID.swift | 8 +- .../Paths/PathsV1CustomerReviewsWithID.swift | 28 +- ...PathsV1CustomerReviewsWithIDResponse.swift | 32 +- .../Generated/Paths/PathsV1Devices.swift | 28 +- .../Paths/PathsV1DevicesWithID.swift | 12 +- ...athsV1DiagnosticSignaturesWithIDLogs.swift | 2 +- .../PathsV1EndAppAvailabilityPreOrders.swift | 2 +- .../PathsV1EndUserLicenseAgreements.swift | 2 +- ...athsV1EndUserLicenseAgreementsWithID.swift | 22 +- ...erLicenseAgreementsWithIDTerritories.swift | 2 +- .../Paths/PathsV1FinanceReports.swift | 16 +- .../PathsV1GameCenterAchievementImages.swift | 2 +- ...sV1GameCenterAchievementImagesWithID.swift | 12 +- ...V1GameCenterAchievementLocalizations.swift | 2 +- ...CenterAchievementLocalizationsWithID.swift | 62 +- ...lizationsWithIDGameCenterAchievement.swift | 90 +- ...ionsWithIDGameCenterAchievementImage.swift | 14 +- ...PathsV1GameCenterAchievementReleases.swift | 2 +- ...1GameCenterAchievementReleasesWithID.swift | 10 +- .../Paths/PathsV1GameCenterAchievements.swift | 2 +- .../PathsV1GameCenterAchievementsWithID.swift | 60 +- ...erAchievementsWithIDGroupAchievement.swift | 90 +- ...enterAchievementsWithIDLocalizations.swift | 46 +- ...sWithIDRelationshipsGroupAchievement.swift | 4 +- ...GameCenterAchievementsWithIDReleases.swift | 30 +- .../Paths/PathsV1GameCenterAppVersions.swift | 2 +- .../PathsV1GameCenterAppVersionsWithID.swift | 61 +- ...nterAppVersionsWithIDAppStoreVersion.swift | 377 +- ...pVersionsWithIDCompatibilityVersions.swift | 67 +- ...IDRelationshipsCompatibilityVersions.swift | 6 +- .../Paths/PathsV1GameCenterDetails.swift | 2 +- .../PathsV1GameCenterDetailsWithID.swift | 160 +- ...nterDetailsWithIDAchievementReleases.swift | 30 +- ...rDetailsWithIDGameCenterAchievements.swift | 96 +- ...erDetailsWithIDGameCenterAppVersions.swift | 67 +- ...meCenterDetailsWithIDGameCenterGroup.swift | 90 +- ...tailsWithIDGameCenterLeaderboardSets.swift | 112 +- ...rDetailsWithIDGameCenterLeaderboards.swift | 130 +- ...nterDetailsWithIDLeaderboardReleases.swift | 56 +- ...rDetailsWithIDLeaderboardSetReleases.swift | 46 +- ...hIDMetricsClassicMatchmakingRequests.swift | 14 +- ...DMetricsRuleBasedMatchmakingRequests.swift | 14 +- ...DRelationshipsGameCenterAchievements.swift | 4 +- ...lationshipsGameCenterLeaderboardSets.swift | 4 +- ...DRelationshipsGameCenterLeaderboards.swift | 4 +- ...bledVersionsWithIDCompatibleVersions.swift | 86 +- ...ithIDRelationshipsCompatibleVersions.swift | 8 +- .../Paths/PathsV1GameCenterGroups.swift | 106 +- .../Paths/PathsV1GameCenterGroupsWithID.swift | 102 +- ...erGroupsWithIDGameCenterAchievements.swift | 96 +- ...eCenterGroupsWithIDGameCenterDetails.swift | 252 +- ...roupsWithIDGameCenterLeaderboardSets.swift | 112 +- ...erGroupsWithIDGameCenterLeaderboards.swift | 130 +- ...DRelationshipsGameCenterAchievements.swift | 4 +- ...lationshipsGameCenterLeaderboardSets.swift | 4 +- ...DRelationshipsGameCenterLeaderboards.swift | 4 +- ...ameCenterLeaderboardEntrySubmissions.swift | 2 +- .../PathsV1GameCenterLeaderboardImages.swift | 2 +- ...sV1GameCenterLeaderboardImagesWithID.swift | 12 +- ...V1GameCenterLeaderboardLocalizations.swift | 2 +- ...CenterLeaderboardLocalizationsWithID.swift | 34 +- ...ionsWithIDGameCenterLeaderboardImage.swift | 12 +- ...PathsV1GameCenterLeaderboardReleases.swift | 2 +- ...1GameCenterLeaderboardReleasesWithID.swift | 6 +- ...athsV1GameCenterLeaderboardSetImages.swift | 2 +- ...GameCenterLeaderboardSetImagesWithID.swift | 12 +- ...ameCenterLeaderboardSetLocalizations.swift | 2 +- ...terLeaderboardSetLocalizationsWithID.swift | 30 +- ...sWithIDGameCenterLeaderboardSetImage.swift | 30 +- ...terLeaderboardSetMemberLocalizations.swift | 66 +- ...derboardSetMemberLocalizationsWithID.swift | 4 +- ...lizationsWithIDGameCenterLeaderboard.swift | 124 +- ...ationsWithIDGameCenterLeaderboardSet.swift | 112 +- ...hsV1GameCenterLeaderboardSetReleases.swift | 2 +- ...meCenterLeaderboardSetReleasesWithID.swift | 6 +- .../PathsV1GameCenterLeaderboardSets.swift | 2 +- ...thsV1GameCenterLeaderboardSetsWithID.swift | 74 +- ...oardSetsWithIDGameCenterLeaderboards.swift | 130 +- ...erboardSetsWithIDGroupLeaderboardSet.swift | 112 +- ...erLeaderboardSetsWithIDLocalizations.swift | 18 +- ...DRelationshipsGameCenterLeaderboards.swift | 8 +- ...thIDRelationshipsGroupLeaderboardSet.swift | 4 +- ...eCenterLeaderboardSetsWithIDReleases.swift | 46 +- .../Paths/PathsV1GameCenterLeaderboards.swift | 2 +- .../PathsV1GameCenterLeaderboardsWithID.swift | 56 +- ...erLeaderboardsWithIDGroupLeaderboard.swift | 124 +- ...enterLeaderboardsWithIDLocalizations.swift | 56 +- ...sWithIDRelationshipsGroupLeaderboard.swift | 4 +- ...GameCenterLeaderboardsWithIDReleases.swift | 56 +- .../PathsV1GameCenterMatchmakingQueues.swift | 10 +- ...sV1GameCenterMatchmakingQueuesWithID.swift | 12 +- ...tricsExperimentMatchmakingQueueSizes.swift | 14 +- ...MetricsExperimentMatchmakingRequests.swift | 16 +- ...esWithIDMetricsMatchmakingQueueSizes.swift | 14 +- ...euesWithIDMetricsMatchmakingRequests.swift | 16 +- ...euesWithIDMetricsMatchmakingSessions.swift | 14 +- ...sV1GameCenterMatchmakingRuleSetTests.swift | 2 +- ...PathsV1GameCenterMatchmakingRuleSets.swift | 64 +- ...1GameCenterMatchmakingRuleSetsWithID.swift | 60 +- ...akingRuleSetsWithIDMatchmakingQueues.swift | 16 +- ...CenterMatchmakingRuleSetsWithIDRules.swift | 8 +- ...CenterMatchmakingRuleSetsWithIDTeams.swift | 6 +- .../PathsV1GameCenterMatchmakingRules.swift | 2 +- ...hsV1GameCenterMatchmakingRulesWithID.swift | 4 +- ...MetricsMatchmakingBooleanRuleResults.swift | 12 +- ...DMetricsMatchmakingNumberRuleResults.swift | 14 +- ...esWithIDMetricsMatchmakingRuleErrors.swift | 10 +- .../PathsV1GameCenterMatchmakingTeams.swift | 2 +- ...hsV1GameCenterMatchmakingTeamsWithID.swift | 4 +- ...meCenterPlayerAchievementSubmissions.swift | 2 +- ...AppPurchaseAppStoreReviewScreenshots.swift | 2 +- ...chaseAppStoreReviewScreenshotsWithID.swift | 18 +- .../PathsV1InAppPurchaseAvailabilities.swift | 2 +- ...sV1InAppPurchaseAvailabilitiesWithID.swift | 18 +- ...labilitiesWithIDAvailableTerritories.swift | 2 +- .../PathsV1InAppPurchaseContentsWithID.swift | 6 +- .../Paths/PathsV1InAppPurchaseImages.swift | 20 + .../PathsV1InAppPurchaseImagesWithID.swift | 51 + .../PathsV1InAppPurchaseLocalizations.swift | 2 +- ...hsV1InAppPurchaseLocalizationsWithID.swift | 12 +- .../PathsV1InAppPurchasePriceSchedules.swift | 2 +- ...sV1InAppPurchasePriceSchedulesWithID.swift | 40 +- ...ePriceSchedulesWithIDAutomaticPrices.swift | 28 +- ...asePriceSchedulesWithIDBaseTerritory.swift | 2 +- ...hasePriceSchedulesWithIDManualPrices.swift | 28 +- .../PathsV1InAppPurchaseSubmissions.swift | 2 +- .../Paths/PathsV1InAppPurchasesWithID.swift | 8 +- .../Paths/PathsV1MarketplaceDomains.swift | 6 +- .../PathsV1MarketplaceDomainsWithID.swift | 6 +- .../PathsV1MarketplaceSearchDetails.swift | 2 +- ...athsV1MarketplaceSearchDetailsWithID.swift | 4 +- .../Paths/PathsV1MarketplaceWebhooks.swift | 4 +- .../PathsV1MarketplaceWebhooksWithID.swift | 4 +- .../Paths/PathsV1PreReleaseVersions.swift | 142 +- .../PathsV1PreReleaseVersionsWithID.swift | 142 +- .../PathsV1PreReleaseVersionsWithIDApp.swift | 70 +- ...athsV1PreReleaseVersionsWithIDBuilds.swift | 40 +- .../Generated/Paths/PathsV1Profiles.swift | 104 +- .../Paths/PathsV1ProfilesWithID.swift | 80 +- .../Paths/PathsV1ProfilesWithIDBundleID.swift | 10 +- .../PathsV1ProfilesWithIDCertificates.swift | 12 +- .../Paths/PathsV1ProfilesWithIDDevices.swift | 10 +- .../Paths/PathsV1PromotedPurchaseImages.swift | 3 +- .../PathsV1PromotedPurchaseImagesWithID.swift | 21 +- .../Paths/PathsV1PromotedPurchases.swift | 2 +- .../PathsV1PromotedPurchasesWithID.swift | 44 +- ...omotedPurchasesWithIDPromotionImages.swift | 43 +- .../Paths/PathsV1ReviewSubmissionItems.swift | 2 +- .../PathsV1ReviewSubmissionItemsWithID.swift | 4 +- .../Paths/PathsV1ReviewSubmissions.swift | 48 +- .../PathsV1ReviewSubmissionsWithID.swift | 48 +- .../PathsV1ReviewSubmissionsWithIDItems.swift | 111 +- .../Paths/PathsV1RoutingAppCoverages.swift | 2 +- .../PathsV1RoutingAppCoveragesWithID.swift | 12 +- .../Generated/Paths/PathsV1SalesReports.swift | 52 +- .../Paths/PathsV1ScmGitReferencesWithID.swift | 4 +- .../Generated/Paths/PathsV1ScmProviders.swift | 49 +- .../Paths/PathsV1ScmProvidersWithID.swift | 25 +- ...athsV1ScmProvidersWithIDRepositories.swift | 52 +- .../Paths/PathsV1ScmPullRequestsWithID.swift | 18 +- .../Paths/PathsV1ScmRepositories.swift | 45 +- .../Paths/PathsV1ScmRepositoriesWithID.swift | 83 +- ...V1ScmRepositoriesWithIDGitReferences.swift | 14 +- ...sV1ScmRepositoriesWithIDPullRequests.swift | 28 +- ...ubscriptionAppStoreReviewScreenshots.swift | 2 +- ...ptionAppStoreReviewScreenshotsWithID.swift | 18 +- .../PathsV1SubscriptionAvailabilities.swift | 2 +- ...hsV1SubscriptionAvailabilitiesWithID.swift | 20 +- ...labilitiesWithIDAvailableTerritories.swift | 2 +- ...athsV1SubscriptionGracePeriodsWithID.swift | 8 +- ...athsV1SubscriptionGroupLocalizations.swift | 2 +- ...SubscriptionGroupLocalizationsWithID.swift | 8 +- .../PathsV1SubscriptionGroupSubmissions.swift | 2 +- .../Paths/PathsV1SubscriptionGroups.swift | 2 +- .../PathsV1SubscriptionGroupsWithID.swift | 50 +- ...WithIDSubscriptionGroupLocalizations.swift | 26 +- ...ubscriptionGroupsWithIDSubscriptions.swift | 237 +- .../Paths/PathsV1SubscriptionImages.swift | 20 + .../PathsV1SubscriptionImagesWithID.swift | 51 + ...athsV1SubscriptionIntroductoryOffers.swift | 2 +- ...SubscriptionIntroductoryOffersWithID.swift | 4 +- .../PathsV1SubscriptionLocalizations.swift | 2 +- ...thsV1SubscriptionLocalizationsWithID.swift | 10 +- ...hsV1SubscriptionOfferCodeCustomCodes.swift | 2 +- ...bscriptionOfferCodeCustomCodesWithID.swift | 10 +- ...SubscriptionOfferCodeOneTimeUseCodes.swift | 2 +- ...iptionOfferCodeOneTimeUseCodesWithID.swift | 8 +- ...OfferCodeOneTimeUseCodesWithIDValues.swift | 2 +- .../Paths/PathsV1SubscriptionOfferCodes.swift | 2 +- .../PathsV1SubscriptionOfferCodesWithID.swift | 62 +- ...scriptionOfferCodesWithIDCustomCodes.swift | 22 +- ...ptionOfferCodesWithIDOneTimeUseCodes.swift | 42 +- ...V1SubscriptionOfferCodesWithIDPrices.swift | 34 +- ...PathsV1SubscriptionPricePointsWithID.swift | 6 +- ...iptionPricePointsWithIDEqualizations.swift | 14 +- .../Paths/PathsV1SubscriptionPrices.swift | 2 +- .../PathsV1SubscriptionPricesWithID.swift | 2 +- ...PathsV1SubscriptionPromotionalOffers.swift | 2 +- ...1SubscriptionPromotionalOffersWithID.swift | 30 +- ...riptionPromotionalOffersWithIDPrices.swift | 34 +- .../PathsV1SubscriptionSubmissions.swift | 2 +- .../Paths/PathsV1Subscriptions.swift | 2 +- .../Paths/PathsV1SubscriptionsWithID.swift | 217 +- ...ptionsWithIDAppStoreReviewScreenshot.swift | 36 +- .../PathsV1SubscriptionsWithIDImages.swift | 81 + ...ubscriptionsWithIDIntroductoryOffers.swift | 72 +- ...PathsV1SubscriptionsWithIDOfferCodes.swift | 100 +- ...athsV1SubscriptionsWithIDPricePoints.swift | 6 +- .../PathsV1SubscriptionsWithIDPrices.swift | 36 +- ...1SubscriptionsWithIDPromotedPurchase.swift | 93 +- ...SubscriptionsWithIDPromotionalOffers.swift | 42 +- ...ithIDRelationshipsIntroductoryOffers.swift | 4 +- ...bscriptionsWithIDRelationshipsPrices.swift | 4 +- ...ptionsWithIDSubscriptionAvailability.swift | 36 +- ...tionsWithIDSubscriptionLocalizations.swift | 48 +- ...hsV1SubscriptionsWithIDWinBackOffers.swift | 72 + .../Generated/Paths/PathsV1Territories.swift | 2 +- ...PathsV1TerritoryAvailabilitiesWithID.swift | 2 +- .../Paths/PathsV1UserInvitations.swift | 94 +- .../Paths/PathsV1UserInvitationsWithID.swift | 94 +- ...hsV1UserInvitationsWithIDVisibleApps.swift | 70 +- .../Generated/Paths/PathsV1Users.swift | 102 +- .../Generated/Paths/PathsV1UsersWithID.swift | 96 +- ...1UsersWithIDRelationshipsVisibleApps.swift | 8 +- .../Paths/PathsV1UsersWithIDVisibleApps.swift | 70 +- .../Paths/PathsV1WinBackOffers.swift | 20 + .../Paths/PathsV1WinBackOffersWithID.swift | 77 + .../PathsV1WinBackOffersWithIDPrices.swift | 72 + .../Paths/PathsV2AppAvailabilities.swift | 2 +- .../PathsV2AppAvailabilitiesWithID.swift | 24 +- ...ilitiesWithIDTerritoryAvailabilities.swift | 6 +- .../PathsV2AppStoreVersionExperiments.swift | 2 +- ...hsV2AppStoreVersionExperimentsWithID.swift | 44 +- ...DAppStoreVersionExperimentTreatments.swift | 60 +- .../Paths/PathsV2InAppPurchases.swift | 2 +- .../Paths/PathsV2InAppPurchasesWithID.swift | 162 +- ...chasesWithIDAppStoreReviewScreenshot.swift | 37 +- .../PathsV2InAppPurchasesWithIDContent.swift | 49 +- ...InAppPurchasesWithIDIapPriceSchedule.swift | 77 +- .../PathsV2InAppPurchasesWithIDImages.swift | 78 + ...hasesWithIDInAppPurchaseAvailability.swift | 12 +- ...asesWithIDInAppPurchaseLocalizations.swift | 31 +- ...thsV2InAppPurchasesWithIDPricePoints.swift | 4 +- ...InAppPurchasesWithIDPromotedPurchase.swift | 93 +- .../Paths/PathsV2SandboxTesters.swift | 8 +- ...oxTestersClearPurchaseHistoryRequest.swift | 2 +- .../Paths/PathsV2SandboxTestersWithID.swift | 2 +- .../Paths/PathsV3AppPricePointsWithID.swift | 6 +- ...sV3AppPricePointsWithIDEqualizations.swift | 74 +- Sources/OpenAPI/app_store_connect_api.json | 39540 ++++++++-------- 710 files changed, 35947 insertions(+), 40045 deletions(-) create mode 100644 Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/InAppPurchaseImage.swift create mode 100644 Sources/OpenAPI/Generated/Entities/InAppPurchaseImageCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/InAppPurchaseImageResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/InAppPurchaseImageUpdateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/InAppPurchaseImagesResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/IntegerRange.swift create mode 100644 Sources/OpenAPI/Generated/Entities/RelationshipLinks.swift create mode 100644 Sources/OpenAPI/Generated/Entities/SubscriptionImage.swift create mode 100644 Sources/OpenAPI/Generated/Entities/SubscriptionImageCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/SubscriptionImageResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/SubscriptionImageUpdateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/SubscriptionImagesResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/WinBackOffer.swift create mode 100644 Sources/OpenAPI/Generated/Entities/WinBackOfferCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/WinBackOfferPrice.swift create mode 100644 Sources/OpenAPI/Generated/Entities/WinBackOfferPriceInlineCreate.swift create mode 100644 Sources/OpenAPI/Generated/Entities/WinBackOfferPricesResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/WinBackOfferResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/WinBackOfferUpdateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/WinBackOffersResponse.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDGameCenterAppVersion.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailabilityV2.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImages.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImagesWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImages.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImagesWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDImages.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDWinBackOffers.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffers.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithIDPrices.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDImages.swift diff --git a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift index c83dfad3..dd8c311f 100644 --- a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift @@ -21,19 +21,21 @@ public struct AgeRatingDeclaration: Codable, Identifiable { public var isGambling: Bool? public var gamblingSimulated: GamblingSimulated? public var kidsAgeBand: KidsAgeBand? + public var isLootBox: Bool? public var medicalOrTreatmentInformation: MedicalOrTreatmentInformation? public var profanityOrCrudeHumor: ProfanityOrCrudeHumor? public var sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? public var sexualContentOrNudity: SexualContentOrNudity? - /// - warning: Deprecated. - public var isSeventeenPlus: Bool? - public var ageRatingOverride: AgeRatingOverride? public var horrorOrFearThemes: HorrorOrFearThemes? public var matureOrSuggestiveThemes: MatureOrSuggestiveThemes? public var isUnrestrictedWebAccess: Bool? public var violenceCartoonOrFantasy: ViolenceCartoonOrFantasy? public var violenceRealisticProlongedGraphicOrSadistic: ViolenceRealisticProlongedGraphicOrSadistic? public var violenceRealistic: ViolenceRealistic? + public var ageRatingOverride: AgeRatingOverride? + public var koreaAgeRatingOverride: KoreaAgeRatingOverride? + /// - warning: Deprecated. + public var isSeventeenPlus: Bool? public enum AlcoholTobaccoOrDrugUseOrReferences: String, Codable, CaseIterable { case `none` = "NONE" @@ -77,12 +79,6 @@ public struct AgeRatingDeclaration: Codable, Identifiable { case frequentOrIntense = "FREQUENT_OR_INTENSE" } - public enum AgeRatingOverride: String, Codable, CaseIterable { - case `none` = "NONE" - case seventeenPlus = "SEVENTEEN_PLUS" - case unrated = "UNRATED" - } - public enum HorrorOrFearThemes: String, Codable, CaseIterable { case `none` = "NONE" case infrequentOrMild = "INFREQUENT_OR_MILD" @@ -113,25 +109,39 @@ public struct AgeRatingDeclaration: Codable, Identifiable { case frequentOrIntense = "FREQUENT_OR_INTENSE" } - public init(alcoholTobaccoOrDrugUseOrReferences: AlcoholTobaccoOrDrugUseOrReferences? = nil, contests: Contests? = nil, isGamblingAndContests: Bool? = nil, isGambling: Bool? = nil, gamblingSimulated: GamblingSimulated? = nil, kidsAgeBand: KidsAgeBand? = nil, medicalOrTreatmentInformation: MedicalOrTreatmentInformation? = nil, profanityOrCrudeHumor: ProfanityOrCrudeHumor? = nil, sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? = nil, sexualContentOrNudity: SexualContentOrNudity? = nil, isSeventeenPlus: Bool? = nil, ageRatingOverride: AgeRatingOverride? = nil, horrorOrFearThemes: HorrorOrFearThemes? = nil, matureOrSuggestiveThemes: MatureOrSuggestiveThemes? = nil, isUnrestrictedWebAccess: Bool? = nil, violenceCartoonOrFantasy: ViolenceCartoonOrFantasy? = nil, violenceRealisticProlongedGraphicOrSadistic: ViolenceRealisticProlongedGraphicOrSadistic? = nil, violenceRealistic: ViolenceRealistic? = nil) { + public enum AgeRatingOverride: String, Codable, CaseIterable { + case `none` = "NONE" + case seventeenPlus = "SEVENTEEN_PLUS" + case unrated = "UNRATED" + } + + public enum KoreaAgeRatingOverride: String, Codable, CaseIterable { + case `none` = "NONE" + case fifteenPlus = "FIFTEEN_PLUS" + case nineteenPlus = "NINETEEN_PLUS" + } + + public init(alcoholTobaccoOrDrugUseOrReferences: AlcoholTobaccoOrDrugUseOrReferences? = nil, contests: Contests? = nil, isGamblingAndContests: Bool? = nil, isGambling: Bool? = nil, gamblingSimulated: GamblingSimulated? = nil, kidsAgeBand: KidsAgeBand? = nil, isLootBox: Bool? = nil, medicalOrTreatmentInformation: MedicalOrTreatmentInformation? = nil, profanityOrCrudeHumor: ProfanityOrCrudeHumor? = nil, sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? = nil, sexualContentOrNudity: SexualContentOrNudity? = nil, horrorOrFearThemes: HorrorOrFearThemes? = nil, matureOrSuggestiveThemes: MatureOrSuggestiveThemes? = nil, isUnrestrictedWebAccess: Bool? = nil, violenceCartoonOrFantasy: ViolenceCartoonOrFantasy? = nil, violenceRealisticProlongedGraphicOrSadistic: ViolenceRealisticProlongedGraphicOrSadistic? = nil, violenceRealistic: ViolenceRealistic? = nil, ageRatingOverride: AgeRatingOverride? = nil, koreaAgeRatingOverride: KoreaAgeRatingOverride? = nil, isSeventeenPlus: Bool? = nil) { self.alcoholTobaccoOrDrugUseOrReferences = alcoholTobaccoOrDrugUseOrReferences self.contests = contests self.isGamblingAndContests = isGamblingAndContests self.isGambling = isGambling self.gamblingSimulated = gamblingSimulated self.kidsAgeBand = kidsAgeBand + self.isLootBox = isLootBox self.medicalOrTreatmentInformation = medicalOrTreatmentInformation self.profanityOrCrudeHumor = profanityOrCrudeHumor self.sexualContentGraphicAndNudity = sexualContentGraphicAndNudity self.sexualContentOrNudity = sexualContentOrNudity - self.isSeventeenPlus = isSeventeenPlus - self.ageRatingOverride = ageRatingOverride self.horrorOrFearThemes = horrorOrFearThemes self.matureOrSuggestiveThemes = matureOrSuggestiveThemes self.isUnrestrictedWebAccess = isUnrestrictedWebAccess self.violenceCartoonOrFantasy = violenceCartoonOrFantasy self.violenceRealisticProlongedGraphicOrSadistic = violenceRealisticProlongedGraphicOrSadistic self.violenceRealistic = violenceRealistic + self.ageRatingOverride = ageRatingOverride + self.koreaAgeRatingOverride = koreaAgeRatingOverride + self.isSeventeenPlus = isSeventeenPlus } public init(from decoder: Decoder) throws { @@ -142,18 +152,20 @@ public struct AgeRatingDeclaration: Codable, Identifiable { self.isGambling = try values.decodeIfPresent(Bool.self, forKey: "gambling") self.gamblingSimulated = try values.decodeIfPresent(GamblingSimulated.self, forKey: "gamblingSimulated") self.kidsAgeBand = try values.decodeIfPresent(KidsAgeBand.self, forKey: "kidsAgeBand") + self.isLootBox = try values.decodeIfPresent(Bool.self, forKey: "lootBox") self.medicalOrTreatmentInformation = try values.decodeIfPresent(MedicalOrTreatmentInformation.self, forKey: "medicalOrTreatmentInformation") self.profanityOrCrudeHumor = try values.decodeIfPresent(ProfanityOrCrudeHumor.self, forKey: "profanityOrCrudeHumor") self.sexualContentGraphicAndNudity = try values.decodeIfPresent(SexualContentGraphicAndNudity.self, forKey: "sexualContentGraphicAndNudity") self.sexualContentOrNudity = try values.decodeIfPresent(SexualContentOrNudity.self, forKey: "sexualContentOrNudity") - self.isSeventeenPlus = try values.decodeIfPresent(Bool.self, forKey: "seventeenPlus") - self.ageRatingOverride = try values.decodeIfPresent(AgeRatingOverride.self, forKey: "ageRatingOverride") self.horrorOrFearThemes = try values.decodeIfPresent(HorrorOrFearThemes.self, forKey: "horrorOrFearThemes") self.matureOrSuggestiveThemes = try values.decodeIfPresent(MatureOrSuggestiveThemes.self, forKey: "matureOrSuggestiveThemes") self.isUnrestrictedWebAccess = try values.decodeIfPresent(Bool.self, forKey: "unrestrictedWebAccess") self.violenceCartoonOrFantasy = try values.decodeIfPresent(ViolenceCartoonOrFantasy.self, forKey: "violenceCartoonOrFantasy") self.violenceRealisticProlongedGraphicOrSadistic = try values.decodeIfPresent(ViolenceRealisticProlongedGraphicOrSadistic.self, forKey: "violenceRealisticProlongedGraphicOrSadistic") self.violenceRealistic = try values.decodeIfPresent(ViolenceRealistic.self, forKey: "violenceRealistic") + self.ageRatingOverride = try values.decodeIfPresent(AgeRatingOverride.self, forKey: "ageRatingOverride") + self.koreaAgeRatingOverride = try values.decodeIfPresent(KoreaAgeRatingOverride.self, forKey: "koreaAgeRatingOverride") + self.isSeventeenPlus = try values.decodeIfPresent(Bool.self, forKey: "seventeenPlus") } public func encode(to encoder: Encoder) throws { @@ -164,18 +176,20 @@ public struct AgeRatingDeclaration: Codable, Identifiable { try values.encodeIfPresent(isGambling, forKey: "gambling") try values.encodeIfPresent(gamblingSimulated, forKey: "gamblingSimulated") try values.encodeIfPresent(kidsAgeBand, forKey: "kidsAgeBand") + try values.encodeIfPresent(isLootBox, forKey: "lootBox") try values.encodeIfPresent(medicalOrTreatmentInformation, forKey: "medicalOrTreatmentInformation") try values.encodeIfPresent(profanityOrCrudeHumor, forKey: "profanityOrCrudeHumor") try values.encodeIfPresent(sexualContentGraphicAndNudity, forKey: "sexualContentGraphicAndNudity") try values.encodeIfPresent(sexualContentOrNudity, forKey: "sexualContentOrNudity") - try values.encodeIfPresent(isSeventeenPlus, forKey: "seventeenPlus") - try values.encodeIfPresent(ageRatingOverride, forKey: "ageRatingOverride") try values.encodeIfPresent(horrorOrFearThemes, forKey: "horrorOrFearThemes") try values.encodeIfPresent(matureOrSuggestiveThemes, forKey: "matureOrSuggestiveThemes") try values.encodeIfPresent(isUnrestrictedWebAccess, forKey: "unrestrictedWebAccess") try values.encodeIfPresent(violenceCartoonOrFantasy, forKey: "violenceCartoonOrFantasy") try values.encodeIfPresent(violenceRealisticProlongedGraphicOrSadistic, forKey: "violenceRealisticProlongedGraphicOrSadistic") try values.encodeIfPresent(violenceRealistic, forKey: "violenceRealistic") + try values.encodeIfPresent(ageRatingOverride, forKey: "ageRatingOverride") + try values.encodeIfPresent(koreaAgeRatingOverride, forKey: "koreaAgeRatingOverride") + try values.encodeIfPresent(isSeventeenPlus, forKey: "seventeenPlus") } } diff --git a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift index 06fd9c31..702d1605 100644 --- a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift @@ -23,19 +23,21 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { public var isGambling: Bool? public var gamblingSimulated: GamblingSimulated? public var kidsAgeBand: KidsAgeBand? + public var isLootBox: Bool? public var medicalOrTreatmentInformation: MedicalOrTreatmentInformation? public var profanityOrCrudeHumor: ProfanityOrCrudeHumor? public var sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? public var sexualContentOrNudity: SexualContentOrNudity? - /// - warning: Deprecated. - public var isSeventeenPlus: Bool? - public var ageRatingOverride: AgeRatingOverride? public var horrorOrFearThemes: HorrorOrFearThemes? public var matureOrSuggestiveThemes: MatureOrSuggestiveThemes? public var isUnrestrictedWebAccess: Bool? public var violenceCartoonOrFantasy: ViolenceCartoonOrFantasy? public var violenceRealisticProlongedGraphicOrSadistic: ViolenceRealisticProlongedGraphicOrSadistic? public var violenceRealistic: ViolenceRealistic? + public var ageRatingOverride: AgeRatingOverride? + public var koreaAgeRatingOverride: KoreaAgeRatingOverride? + /// - warning: Deprecated. + public var isSeventeenPlus: Bool? public enum AlcoholTobaccoOrDrugUseOrReferences: String, Codable, CaseIterable { case `none` = "NONE" @@ -79,12 +81,6 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { case frequentOrIntense = "FREQUENT_OR_INTENSE" } - public enum AgeRatingOverride: String, Codable, CaseIterable { - case `none` = "NONE" - case seventeenPlus = "SEVENTEEN_PLUS" - case unrated = "UNRATED" - } - public enum HorrorOrFearThemes: String, Codable, CaseIterable { case `none` = "NONE" case infrequentOrMild = "INFREQUENT_OR_MILD" @@ -115,25 +111,39 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { case frequentOrIntense = "FREQUENT_OR_INTENSE" } - public init(alcoholTobaccoOrDrugUseOrReferences: AlcoholTobaccoOrDrugUseOrReferences? = nil, contests: Contests? = nil, isGamblingAndContests: Bool? = nil, isGambling: Bool? = nil, gamblingSimulated: GamblingSimulated? = nil, kidsAgeBand: KidsAgeBand? = nil, medicalOrTreatmentInformation: MedicalOrTreatmentInformation? = nil, profanityOrCrudeHumor: ProfanityOrCrudeHumor? = nil, sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? = nil, sexualContentOrNudity: SexualContentOrNudity? = nil, isSeventeenPlus: Bool? = nil, ageRatingOverride: AgeRatingOverride? = nil, horrorOrFearThemes: HorrorOrFearThemes? = nil, matureOrSuggestiveThemes: MatureOrSuggestiveThemes? = nil, isUnrestrictedWebAccess: Bool? = nil, violenceCartoonOrFantasy: ViolenceCartoonOrFantasy? = nil, violenceRealisticProlongedGraphicOrSadistic: ViolenceRealisticProlongedGraphicOrSadistic? = nil, violenceRealistic: ViolenceRealistic? = nil) { + public enum AgeRatingOverride: String, Codable, CaseIterable { + case `none` = "NONE" + case seventeenPlus = "SEVENTEEN_PLUS" + case unrated = "UNRATED" + } + + public enum KoreaAgeRatingOverride: String, Codable, CaseIterable { + case `none` = "NONE" + case fifteenPlus = "FIFTEEN_PLUS" + case nineteenPlus = "NINETEEN_PLUS" + } + + public init(alcoholTobaccoOrDrugUseOrReferences: AlcoholTobaccoOrDrugUseOrReferences? = nil, contests: Contests? = nil, isGamblingAndContests: Bool? = nil, isGambling: Bool? = nil, gamblingSimulated: GamblingSimulated? = nil, kidsAgeBand: KidsAgeBand? = nil, isLootBox: Bool? = nil, medicalOrTreatmentInformation: MedicalOrTreatmentInformation? = nil, profanityOrCrudeHumor: ProfanityOrCrudeHumor? = nil, sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? = nil, sexualContentOrNudity: SexualContentOrNudity? = nil, horrorOrFearThemes: HorrorOrFearThemes? = nil, matureOrSuggestiveThemes: MatureOrSuggestiveThemes? = nil, isUnrestrictedWebAccess: Bool? = nil, violenceCartoonOrFantasy: ViolenceCartoonOrFantasy? = nil, violenceRealisticProlongedGraphicOrSadistic: ViolenceRealisticProlongedGraphicOrSadistic? = nil, violenceRealistic: ViolenceRealistic? = nil, ageRatingOverride: AgeRatingOverride? = nil, koreaAgeRatingOverride: KoreaAgeRatingOverride? = nil, isSeventeenPlus: Bool? = nil) { self.alcoholTobaccoOrDrugUseOrReferences = alcoholTobaccoOrDrugUseOrReferences self.contests = contests self.isGamblingAndContests = isGamblingAndContests self.isGambling = isGambling self.gamblingSimulated = gamblingSimulated self.kidsAgeBand = kidsAgeBand + self.isLootBox = isLootBox self.medicalOrTreatmentInformation = medicalOrTreatmentInformation self.profanityOrCrudeHumor = profanityOrCrudeHumor self.sexualContentGraphicAndNudity = sexualContentGraphicAndNudity self.sexualContentOrNudity = sexualContentOrNudity - self.isSeventeenPlus = isSeventeenPlus - self.ageRatingOverride = ageRatingOverride self.horrorOrFearThemes = horrorOrFearThemes self.matureOrSuggestiveThemes = matureOrSuggestiveThemes self.isUnrestrictedWebAccess = isUnrestrictedWebAccess self.violenceCartoonOrFantasy = violenceCartoonOrFantasy self.violenceRealisticProlongedGraphicOrSadistic = violenceRealisticProlongedGraphicOrSadistic self.violenceRealistic = violenceRealistic + self.ageRatingOverride = ageRatingOverride + self.koreaAgeRatingOverride = koreaAgeRatingOverride + self.isSeventeenPlus = isSeventeenPlus } public init(from decoder: Decoder) throws { @@ -144,18 +154,20 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { self.isGambling = try values.decodeIfPresent(Bool.self, forKey: "gambling") self.gamblingSimulated = try values.decodeIfPresent(GamblingSimulated.self, forKey: "gamblingSimulated") self.kidsAgeBand = try values.decodeIfPresent(KidsAgeBand.self, forKey: "kidsAgeBand") + self.isLootBox = try values.decodeIfPresent(Bool.self, forKey: "lootBox") self.medicalOrTreatmentInformation = try values.decodeIfPresent(MedicalOrTreatmentInformation.self, forKey: "medicalOrTreatmentInformation") self.profanityOrCrudeHumor = try values.decodeIfPresent(ProfanityOrCrudeHumor.self, forKey: "profanityOrCrudeHumor") self.sexualContentGraphicAndNudity = try values.decodeIfPresent(SexualContentGraphicAndNudity.self, forKey: "sexualContentGraphicAndNudity") self.sexualContentOrNudity = try values.decodeIfPresent(SexualContentOrNudity.self, forKey: "sexualContentOrNudity") - self.isSeventeenPlus = try values.decodeIfPresent(Bool.self, forKey: "seventeenPlus") - self.ageRatingOverride = try values.decodeIfPresent(AgeRatingOverride.self, forKey: "ageRatingOverride") self.horrorOrFearThemes = try values.decodeIfPresent(HorrorOrFearThemes.self, forKey: "horrorOrFearThemes") self.matureOrSuggestiveThemes = try values.decodeIfPresent(MatureOrSuggestiveThemes.self, forKey: "matureOrSuggestiveThemes") self.isUnrestrictedWebAccess = try values.decodeIfPresent(Bool.self, forKey: "unrestrictedWebAccess") self.violenceCartoonOrFantasy = try values.decodeIfPresent(ViolenceCartoonOrFantasy.self, forKey: "violenceCartoonOrFantasy") self.violenceRealisticProlongedGraphicOrSadistic = try values.decodeIfPresent(ViolenceRealisticProlongedGraphicOrSadistic.self, forKey: "violenceRealisticProlongedGraphicOrSadistic") self.violenceRealistic = try values.decodeIfPresent(ViolenceRealistic.self, forKey: "violenceRealistic") + self.ageRatingOverride = try values.decodeIfPresent(AgeRatingOverride.self, forKey: "ageRatingOverride") + self.koreaAgeRatingOverride = try values.decodeIfPresent(KoreaAgeRatingOverride.self, forKey: "koreaAgeRatingOverride") + self.isSeventeenPlus = try values.decodeIfPresent(Bool.self, forKey: "seventeenPlus") } public func encode(to encoder: Encoder) throws { @@ -166,18 +178,20 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { try values.encodeIfPresent(isGambling, forKey: "gambling") try values.encodeIfPresent(gamblingSimulated, forKey: "gamblingSimulated") try values.encodeIfPresent(kidsAgeBand, forKey: "kidsAgeBand") + try values.encodeIfPresent(isLootBox, forKey: "lootBox") try values.encodeIfPresent(medicalOrTreatmentInformation, forKey: "medicalOrTreatmentInformation") try values.encodeIfPresent(profanityOrCrudeHumor, forKey: "profanityOrCrudeHumor") try values.encodeIfPresent(sexualContentGraphicAndNudity, forKey: "sexualContentGraphicAndNudity") try values.encodeIfPresent(sexualContentOrNudity, forKey: "sexualContentOrNudity") - try values.encodeIfPresent(isSeventeenPlus, forKey: "seventeenPlus") - try values.encodeIfPresent(ageRatingOverride, forKey: "ageRatingOverride") try values.encodeIfPresent(horrorOrFearThemes, forKey: "horrorOrFearThemes") try values.encodeIfPresent(matureOrSuggestiveThemes, forKey: "matureOrSuggestiveThemes") try values.encodeIfPresent(isUnrestrictedWebAccess, forKey: "unrestrictedWebAccess") try values.encodeIfPresent(violenceCartoonOrFantasy, forKey: "violenceCartoonOrFantasy") try values.encodeIfPresent(violenceRealisticProlongedGraphicOrSadistic, forKey: "violenceRealisticProlongedGraphicOrSadistic") try values.encodeIfPresent(violenceRealistic, forKey: "violenceRealistic") + try values.encodeIfPresent(ageRatingOverride, forKey: "ageRatingOverride") + try values.encodeIfPresent(koreaAgeRatingOverride, forKey: "koreaAgeRatingOverride") + try values.encodeIfPresent(isSeventeenPlus, forKey: "seventeenPlus") } } diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackage.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackage.swift index d2685851..8e85de61 100644 --- a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackage.swift +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackage.swift @@ -17,32 +17,10 @@ public struct AlternativeDistributionPackage: Codable, Identifiable { public var versions: Versions? public struct Versions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -69,7 +47,7 @@ public struct AlternativeDistributionPackage: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -77,7 +55,7 @@ public struct AlternativeDistributionPackage: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersion.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersion.swift index e5db1aae..06297a85 100644 --- a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersion.swift @@ -59,32 +59,10 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { public var alternativeDistributionPackage: AlternativeDistributionPackage? public struct Variants: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -111,7 +89,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -119,7 +97,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -133,32 +111,10 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { } public struct Deltas: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -185,7 +141,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -193,7 +149,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -207,31 +163,8 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { } public struct AlternativeDistributionPackage: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -258,20 +191,17 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AnalyticsReport.swift b/Sources/OpenAPI/Generated/Entities/AnalyticsReport.swift index 26606a9f..f6598762 100644 --- a/Sources/OpenAPI/Generated/Entities/AnalyticsReport.swift +++ b/Sources/OpenAPI/Generated/Entities/AnalyticsReport.swift @@ -7,6 +7,7 @@ public struct AnalyticsReport: 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 { @@ -43,10 +44,47 @@ public struct AnalyticsReport: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + public struct Relationships: Codable { + public var instances: Instances? + + public struct Instances: 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(instances: Instances? = nil) { + self.instances = instances + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.instances = try values.decodeIfPresent(Instances.self, forKey: "instances") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(instances, forKey: "instances") + } + } + + 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 } @@ -55,6 +93,7 @@ public struct AnalyticsReport: Codable, Identifiable { 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") } @@ -63,6 +102,7 @@ public struct AnalyticsReport: Codable, Identifiable { 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/AnalyticsReportInstance.swift b/Sources/OpenAPI/Generated/Entities/AnalyticsReportInstance.swift index 75973156..d1d8fa9a 100644 --- a/Sources/OpenAPI/Generated/Entities/AnalyticsReportInstance.swift +++ b/Sources/OpenAPI/Generated/Entities/AnalyticsReportInstance.swift @@ -7,6 +7,7 @@ public struct AnalyticsReportInstance: 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 { @@ -41,10 +42,47 @@ public struct AnalyticsReportInstance: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + public struct Relationships: Codable { + public var segments: Segments? + + public struct Segments: 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(segments: Segments? = nil) { + self.segments = segments + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.segments = try values.decodeIfPresent(Segments.self, forKey: "segments") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(segments, forKey: "segments") + } + } + + 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 } @@ -53,6 +91,7 @@ public struct AnalyticsReportInstance: Codable, Identifiable { 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") } @@ -61,6 +100,7 @@ public struct AnalyticsReportInstance: Codable, Identifiable { 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/AnalyticsReportRequest.swift b/Sources/OpenAPI/Generated/Entities/AnalyticsReportRequest.swift index 3a3e226a..f9d03747 100644 --- a/Sources/OpenAPI/Generated/Entities/AnalyticsReportRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AnalyticsReportRequest.swift @@ -45,32 +45,10 @@ public struct AnalyticsReportRequest: Codable, Identifiable { public var reports: Reports? public struct Reports: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -97,7 +75,7 @@ public struct AnalyticsReportRequest: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -105,7 +83,7 @@ public struct AnalyticsReportRequest: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/App.swift b/Sources/OpenAPI/Generated/Entities/App.swift index 39bb880d..e23ed512 100644 --- a/Sources/OpenAPI/Generated/Entities/App.swift +++ b/Sources/OpenAPI/Generated/Entities/App.swift @@ -25,13 +25,14 @@ public struct App: Codable, Identifiable { public var subscriptionStatusURLForSandbox: URL? public var subscriptionStatusURLVersionForSandbox: SubscriptionStatusURLVersion? public var contentRightsDeclaration: ContentRightsDeclaration? + public var isStreamlinedPurchasingEnabled: Bool? public enum ContentRightsDeclaration: String, Codable, CaseIterable { case doesNotUseThirdPartyContent = "DOES_NOT_USE_THIRD_PARTY_CONTENT" case usesThirdPartyContent = "USES_THIRD_PARTY_CONTENT" } - public init(name: String? = nil, bundleID: String? = nil, sku: String? = nil, primaryLocale: String? = nil, isOrEverWasMadeForKids: Bool? = nil, subscriptionStatusURL: URL? = nil, subscriptionStatusURLVersion: SubscriptionStatusURLVersion? = nil, subscriptionStatusURLForSandbox: URL? = nil, subscriptionStatusURLVersionForSandbox: SubscriptionStatusURLVersion? = nil, contentRightsDeclaration: ContentRightsDeclaration? = nil) { + public init(name: String? = nil, bundleID: String? = nil, sku: String? = nil, primaryLocale: String? = nil, isOrEverWasMadeForKids: Bool? = nil, subscriptionStatusURL: URL? = nil, subscriptionStatusURLVersion: SubscriptionStatusURLVersion? = nil, subscriptionStatusURLForSandbox: URL? = nil, subscriptionStatusURLVersionForSandbox: SubscriptionStatusURLVersion? = nil, contentRightsDeclaration: ContentRightsDeclaration? = nil, isStreamlinedPurchasingEnabled: Bool? = nil) { self.name = name self.bundleID = bundleID self.sku = sku @@ -42,6 +43,7 @@ public struct App: Codable, Identifiable { self.subscriptionStatusURLForSandbox = subscriptionStatusURLForSandbox self.subscriptionStatusURLVersionForSandbox = subscriptionStatusURLVersionForSandbox self.contentRightsDeclaration = contentRightsDeclaration + self.isStreamlinedPurchasingEnabled = isStreamlinedPurchasingEnabled } public init(from decoder: Decoder) throws { @@ -56,6 +58,7 @@ public struct App: Codable, Identifiable { self.subscriptionStatusURLForSandbox = try values.decodeIfPresent(URL.self, forKey: "subscriptionStatusUrlForSandbox") self.subscriptionStatusURLVersionForSandbox = try values.decodeIfPresent(SubscriptionStatusURLVersion.self, forKey: "subscriptionStatusUrlVersionForSandbox") self.contentRightsDeclaration = try values.decodeIfPresent(ContentRightsDeclaration.self, forKey: "contentRightsDeclaration") + self.isStreamlinedPurchasingEnabled = try values.decodeIfPresent(Bool.self, forKey: "streamlinedPurchasingEnabled") } public func encode(to encoder: Encoder) throws { @@ -70,12 +73,14 @@ public struct App: Codable, Identifiable { try values.encodeIfPresent(subscriptionStatusURLForSandbox, forKey: "subscriptionStatusUrlForSandbox") try values.encodeIfPresent(subscriptionStatusURLVersionForSandbox, forKey: "subscriptionStatusUrlVersionForSandbox") try values.encodeIfPresent(contentRightsDeclaration, forKey: "contentRightsDeclaration") + try values.encodeIfPresent(isStreamlinedPurchasingEnabled, forKey: "streamlinedPurchasingEnabled") } } public struct Relationships: Codable { public var appEncryptionDeclarations: AppEncryptionDeclarations? public var ciProduct: CiProduct? + public var betaTesters: BetaTesters? public var betaGroups: BetaGroups? public var appStoreVersions: AppStoreVersions? public var preReleaseVersions: PreReleaseVersions? @@ -85,48 +90,35 @@ public struct App: Codable, Identifiable { public var betaAppReviewDetail: BetaAppReviewDetail? public var appInfos: AppInfos? 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? public var subscriptionGroups: SubscriptionGroups? public var gameCenterEnabledVersions: GameCenterEnabledVersions? + public var perfPowerMetrics: PerfPowerMetrics? public var appCustomProductPages: AppCustomProductPages? public var inAppPurchasesV2: InAppPurchasesV2? public var promotedPurchases: PromotedPurchases? public var appEvents: AppEvents? public var reviewSubmissions: ReviewSubmissions? public var subscriptionGracePeriod: SubscriptionGracePeriod? + public var customerReviews: CustomerReviews? public var gameCenterDetail: GameCenterDetail? public var appStoreVersionExperimentsV2: AppStoreVersionExperimentsV2? + public var alternativeDistributionKey: AlternativeDistributionKey? + public var analyticsReportRequests: AnalyticsReportRequests? + public var marketplaceSearchDetail: MarketplaceSearchDetail? public struct AppEncryptionDeclarations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -153,7 +145,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -161,7 +153,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -175,31 +167,9 @@ public struct App: Codable, Identifiable { } public struct CiProduct: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -226,14 +196,14 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -244,32 +214,28 @@ public struct App: Codable, Identifiable { } } - public struct BetaGroups: Codable { - public var links: Links? - public var meta: PagingInformation? - public var data: [Datum]? - - public struct Links: Codable { - public var this: String? - public var related: String? + public struct BetaTesters: Codable { + public var links: RelationshipLinks? - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } + public init(links: RelationshipLinks? = nil) { + self.links = links + } - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } + 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(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") } + } + + public struct BetaGroups: Codable { + public var links: RelationshipLinks? + public var meta: PagingInformation? + public var data: [Datum]? public struct Datum: Codable, Identifiable { public var type: `Type` @@ -297,7 +263,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -305,7 +271,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -319,32 +285,10 @@ public struct App: Codable, Identifiable { } public struct AppStoreVersions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -371,7 +315,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -379,7 +323,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -393,32 +337,10 @@ public struct App: Codable, Identifiable { } public struct PreReleaseVersions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -445,7 +367,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -453,7 +375,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -467,32 +389,10 @@ public struct App: Codable, Identifiable { } public struct BetaAppLocalizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -519,7 +419,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -527,7 +427,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -541,32 +441,10 @@ public struct App: Codable, Identifiable { } public struct Builds: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -593,7 +471,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -601,7 +479,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -615,31 +493,9 @@ public struct App: Codable, Identifiable { } public struct BetaLicenseAgreement: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -666,14 +522,14 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -685,31 +541,9 @@ public struct App: Codable, Identifiable { } public struct BetaAppReviewDetail: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -736,14 +570,14 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -755,32 +589,10 @@ public struct App: Codable, Identifiable { } public struct AppInfos: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -807,7 +619,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -815,7 +627,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -829,32 +641,10 @@ public struct App: Codable, Identifiable { } public struct AppClips: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -881,7 +671,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -889,7 +679,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -902,31 +692,27 @@ public struct App: Codable, Identifiable { } } - public struct EndUserLicenseAgreement: Codable { - public var links: Links? - public var data: Data? - - public struct Links: Codable { - public var this: String? - public var related: String? + public struct AppPricePoints: Codable { + public var links: RelationshipLinks? - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } + public init(links: RelationshipLinks? = nil) { + self.links = links + } - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } + 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(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") } + } + + public struct EndUserLicenseAgreement: Codable { + public var links: RelationshipLinks? + public var data: Data? public struct Data: Codable, Identifiable { public var type: `Type` @@ -954,14 +740,14 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -973,31 +759,9 @@ public struct App: Codable, Identifiable { } public struct PreOrder: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -1024,14 +788,14 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -1042,33 +806,65 @@ public struct App: Codable, Identifiable { } } - @available(*, deprecated, message: "Deprecated") - public struct InAppPurchases: Codable { - public var links: Links? - public var meta: PagingInformation? - public var data: [Datum]? + public struct AppPriceSchedule: Codable { + public var links: RelationshipLinks? - public struct Links: Codable { - public var this: String? - public var related: String? + public init(links: RelationshipLinks? = nil) { + self.links = links + } - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") + } - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + } + } - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } + 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? + + 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") } + } + + @available(*, deprecated, message: "Deprecated") + public struct InAppPurchases: Codable { + public var links: RelationshipLinks? + public var meta: PagingInformation? + public var data: [Datum]? public struct Datum: Codable, Identifiable { public var type: `Type` @@ -1096,7 +892,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -1104,7 +900,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -1118,32 +914,10 @@ public struct App: Codable, Identifiable { } public struct SubscriptionGroups: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -1170,7 +944,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -1178,7 +952,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -1192,32 +966,10 @@ public struct App: Codable, Identifiable { } public struct GameCenterEnabledVersions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -1244,7 +996,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -1252,7 +1004,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -1265,32 +1017,28 @@ public struct App: Codable, Identifiable { } } - public struct AppCustomProductPages: Codable { - public var links: Links? - public var meta: PagingInformation? - public var data: [Datum]? - - public struct Links: Codable { - public var this: String? - public var related: String? + public struct PerfPowerMetrics: Codable { + public var links: RelationshipLinks? - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } + public init(links: RelationshipLinks? = nil) { + self.links = links + } - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } + 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(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") } + } + + public struct AppCustomProductPages: Codable { + public var links: RelationshipLinks? + public var meta: PagingInformation? + public var data: [Datum]? public struct Datum: Codable, Identifiable { public var type: `Type` @@ -1318,7 +1066,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -1326,7 +1074,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -1340,32 +1088,10 @@ public struct App: Codable, Identifiable { } public struct InAppPurchasesV2: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -1392,7 +1118,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -1400,7 +1126,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -1414,32 +1140,10 @@ public struct App: Codable, Identifiable { } public struct PromotedPurchases: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -1466,7 +1170,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -1474,7 +1178,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -1488,32 +1192,10 @@ public struct App: Codable, Identifiable { } public struct AppEvents: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -1540,7 +1222,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -1548,7 +1230,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -1562,32 +1244,10 @@ public struct App: Codable, Identifiable { } public struct ReviewSubmissions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -1614,7 +1274,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -1622,7 +1282,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -1636,31 +1296,9 @@ public struct App: Codable, Identifiable { } public struct SubscriptionGracePeriod: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -1687,14 +1325,14 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -1705,31 +1343,27 @@ public struct App: Codable, Identifiable { } } - public struct GameCenterDetail: Codable { - public var links: Links? - public var data: Data? - - public struct Links: Codable { - public var this: String? - public var related: String? + public struct CustomerReviews: Codable { + public var links: RelationshipLinks? - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } + public init(links: RelationshipLinks? = nil) { + self.links = links + } - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } + 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(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") } + } + + public struct GameCenterDetail: Codable { + public var links: RelationshipLinks? + public var data: Data? public struct Data: Codable, Identifiable { public var type: `Type` @@ -1757,14 +1391,14 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -1776,32 +1410,10 @@ public struct App: Codable, Identifiable { } public struct AppStoreVersionExperimentsV2: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -1828,7 +1440,7 @@ public struct App: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -1836,7 +1448,7 @@ public struct App: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -1849,9 +1461,64 @@ public struct App: Codable, Identifiable { } } - public init(appEncryptionDeclarations: AppEncryptionDeclarations? = nil, ciProduct: CiProduct? = 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, endUserLicenseAgreement: EndUserLicenseAgreement? = nil, preOrder: PreOrder? = nil, inAppPurchases: InAppPurchases? = nil, subscriptionGroups: SubscriptionGroups? = nil, gameCenterEnabledVersions: GameCenterEnabledVersions? = nil, appCustomProductPages: AppCustomProductPages? = nil, inAppPurchasesV2: InAppPurchasesV2? = nil, promotedPurchases: PromotedPurchases? = nil, appEvents: AppEvents? = nil, reviewSubmissions: ReviewSubmissions? = nil, subscriptionGracePeriod: SubscriptionGracePeriod? = nil, gameCenterDetail: GameCenterDetail? = nil, appStoreVersionExperimentsV2: AppStoreVersionExperimentsV2? = nil) { + public struct AlternativeDistributionKey: 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 AnalyticsReportRequests: 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 MarketplaceSearchDetail: 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(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) { self.appEncryptionDeclarations = appEncryptionDeclarations self.ciProduct = ciProduct + self.betaTesters = betaTesters self.betaGroups = betaGroups self.appStoreVersions = appStoreVersions self.preReleaseVersions = preReleaseVersions @@ -1861,25 +1528,35 @@ public struct App: Codable, Identifiable { self.betaAppReviewDetail = betaAppReviewDetail self.appInfos = appInfos 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 self.gameCenterEnabledVersions = gameCenterEnabledVersions + self.perfPowerMetrics = perfPowerMetrics self.appCustomProductPages = appCustomProductPages self.inAppPurchasesV2 = inAppPurchasesV2 self.promotedPurchases = promotedPurchases self.appEvents = appEvents self.reviewSubmissions = reviewSubmissions self.subscriptionGracePeriod = subscriptionGracePeriod + self.customerReviews = customerReviews self.gameCenterDetail = gameCenterDetail self.appStoreVersionExperimentsV2 = appStoreVersionExperimentsV2 + self.alternativeDistributionKey = alternativeDistributionKey + self.analyticsReportRequests = analyticsReportRequests + self.marketplaceSearchDetail = marketplaceSearchDetail } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.appEncryptionDeclarations = try values.decodeIfPresent(AppEncryptionDeclarations.self, forKey: "appEncryptionDeclarations") self.ciProduct = try values.decodeIfPresent(CiProduct.self, forKey: "ciProduct") + self.betaTesters = try values.decodeIfPresent(BetaTesters.self, forKey: "betaTesters") self.betaGroups = try values.decodeIfPresent(BetaGroups.self, forKey: "betaGroups") self.appStoreVersions = try values.decodeIfPresent(AppStoreVersions.self, forKey: "appStoreVersions") self.preReleaseVersions = try values.decodeIfPresent(PreReleaseVersions.self, forKey: "preReleaseVersions") @@ -1889,25 +1566,35 @@ public struct App: Codable, Identifiable { self.betaAppReviewDetail = try values.decodeIfPresent(BetaAppReviewDetail.self, forKey: "betaAppReviewDetail") self.appInfos = try values.decodeIfPresent(AppInfos.self, forKey: "appInfos") 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") self.gameCenterEnabledVersions = try values.decodeIfPresent(GameCenterEnabledVersions.self, forKey: "gameCenterEnabledVersions") + self.perfPowerMetrics = try values.decodeIfPresent(PerfPowerMetrics.self, forKey: "perfPowerMetrics") self.appCustomProductPages = try values.decodeIfPresent(AppCustomProductPages.self, forKey: "appCustomProductPages") self.inAppPurchasesV2 = try values.decodeIfPresent(InAppPurchasesV2.self, forKey: "inAppPurchasesV2") self.promotedPurchases = try values.decodeIfPresent(PromotedPurchases.self, forKey: "promotedPurchases") self.appEvents = try values.decodeIfPresent(AppEvents.self, forKey: "appEvents") self.reviewSubmissions = try values.decodeIfPresent(ReviewSubmissions.self, forKey: "reviewSubmissions") self.subscriptionGracePeriod = try values.decodeIfPresent(SubscriptionGracePeriod.self, forKey: "subscriptionGracePeriod") + self.customerReviews = try values.decodeIfPresent(CustomerReviews.self, forKey: "customerReviews") self.gameCenterDetail = try values.decodeIfPresent(GameCenterDetail.self, forKey: "gameCenterDetail") self.appStoreVersionExperimentsV2 = try values.decodeIfPresent(AppStoreVersionExperimentsV2.self, forKey: "appStoreVersionExperimentsV2") + self.alternativeDistributionKey = try values.decodeIfPresent(AlternativeDistributionKey.self, forKey: "alternativeDistributionKey") + self.analyticsReportRequests = try values.decodeIfPresent(AnalyticsReportRequests.self, forKey: "analyticsReportRequests") + self.marketplaceSearchDetail = try values.decodeIfPresent(MarketplaceSearchDetail.self, forKey: "marketplaceSearchDetail") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(appEncryptionDeclarations, forKey: "appEncryptionDeclarations") try values.encodeIfPresent(ciProduct, forKey: "ciProduct") + try values.encodeIfPresent(betaTesters, forKey: "betaTesters") try values.encodeIfPresent(betaGroups, forKey: "betaGroups") try values.encodeIfPresent(appStoreVersions, forKey: "appStoreVersions") try values.encodeIfPresent(preReleaseVersions, forKey: "preReleaseVersions") @@ -1917,19 +1604,28 @@ public struct App: Codable, Identifiable { try values.encodeIfPresent(betaAppReviewDetail, forKey: "betaAppReviewDetail") try values.encodeIfPresent(appInfos, forKey: "appInfos") 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") try values.encodeIfPresent(gameCenterEnabledVersions, forKey: "gameCenterEnabledVersions") + try values.encodeIfPresent(perfPowerMetrics, forKey: "perfPowerMetrics") try values.encodeIfPresent(appCustomProductPages, forKey: "appCustomProductPages") try values.encodeIfPresent(inAppPurchasesV2, forKey: "inAppPurchasesV2") try values.encodeIfPresent(promotedPurchases, forKey: "promotedPurchases") try values.encodeIfPresent(appEvents, forKey: "appEvents") try values.encodeIfPresent(reviewSubmissions, forKey: "reviewSubmissions") try values.encodeIfPresent(subscriptionGracePeriod, forKey: "subscriptionGracePeriod") + try values.encodeIfPresent(customerReviews, forKey: "customerReviews") try values.encodeIfPresent(gameCenterDetail, forKey: "gameCenterDetail") try values.encodeIfPresent(appStoreVersionExperimentsV2, forKey: "appStoreVersionExperimentsV2") + try values.encodeIfPresent(alternativeDistributionKey, forKey: "alternativeDistributionKey") + try values.encodeIfPresent(analyticsReportRequests, forKey: "analyticsReportRequests") + try values.encodeIfPresent(marketplaceSearchDetail, forKey: "marketplaceSearchDetail") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailability.swift b/Sources/OpenAPI/Generated/Entities/AppAvailability.swift index 5fef971e..0007406a 100644 --- a/Sources/OpenAPI/Generated/Entities/AppAvailability.swift +++ b/Sources/OpenAPI/Generated/Entities/AppAvailability.swift @@ -38,31 +38,8 @@ public struct AppAvailability: Codable, Identifiable { public var availableTerritories: AvailableTerritories? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -89,51 +66,26 @@ public struct AppAvailability: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AvailableTerritories: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -160,7 +112,7 @@ public struct AppAvailability: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -168,7 +120,7 @@ public struct AppAvailability: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2.swift b/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2.swift index c143cbf3..87517a47 100644 --- a/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2.swift +++ b/Sources/OpenAPI/Generated/Entities/AppAvailabilityV2.swift @@ -36,32 +36,10 @@ public struct AppAvailabilityV2: Codable, Identifiable { public var territoryAvailabilities: TerritoryAvailabilities? public struct TerritoryAvailabilities: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -88,7 +66,7 @@ public struct AppAvailabilityV2: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -96,7 +74,7 @@ public struct AppAvailabilityV2: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppCategory.swift b/Sources/OpenAPI/Generated/Entities/AppCategory.swift index d0377022..d1ce9020 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCategory.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCategory.swift @@ -37,32 +37,10 @@ public struct AppCategory: Codable, Identifiable { public var parent: Parent? public struct Subcategories: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -89,7 +67,7 @@ public struct AppCategory: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -97,7 +75,7 @@ public struct AppCategory: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -111,31 +89,9 @@ public struct AppCategory: Codable, Identifiable { } public struct Parent: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -162,14 +118,14 @@ public struct AppCategory: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/AppClip.swift b/Sources/OpenAPI/Generated/Entities/AppClip.swift index fed11faa..5513fe3b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClip.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClip.swift @@ -35,33 +35,11 @@ public struct AppClip: Codable, Identifiable { public struct Relationships: Codable { public var app: App? public var appClipDefaultExperiences: AppClipDefaultExperiences? + public var appClipAdvancedExperiences: AppClipAdvancedExperiences? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -88,51 +66,26 @@ public struct AppClip: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppClipDefaultExperiences: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -159,7 +112,7 @@ public struct AppClip: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -167,7 +120,7 @@ public struct AppClip: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -180,21 +133,42 @@ public struct AppClip: Codable, Identifiable { } } - public init(app: App? = nil, appClipDefaultExperiences: AppClipDefaultExperiences? = nil) { + public struct AppClipAdvancedExperiences: 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(app: App? = nil, appClipDefaultExperiences: AppClipDefaultExperiences? = nil, appClipAdvancedExperiences: AppClipAdvancedExperiences? = nil) { self.app = app self.appClipDefaultExperiences = appClipDefaultExperiences + self.appClipAdvancedExperiences = appClipAdvancedExperiences } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.app = try values.decodeIfPresent(App.self, forKey: "app") self.appClipDefaultExperiences = try values.decodeIfPresent(AppClipDefaultExperiences.self, forKey: "appClipDefaultExperiences") + self.appClipAdvancedExperiences = try values.decodeIfPresent(AppClipAdvancedExperiences.self, forKey: "appClipAdvancedExperiences") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(app, forKey: "app") try values.encodeIfPresent(appClipDefaultExperiences, forKey: "appClipDefaultExperiences") + try values.encodeIfPresent(appClipAdvancedExperiences, forKey: "appClipAdvancedExperiences") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperience.swift b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperience.swift index 2cec281b..276c7e83 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperience.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAdvancedExperience.swift @@ -330,31 +330,8 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { public var localizations: Localizations? public struct AppClip: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -381,50 +358,24 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 HeaderImage: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -451,51 +402,25 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Localizations: Codable { - public var links: Links? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -522,22 +447,19 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { - self.links = links + public init(meta: PagingInformation? = nil, data: [Datum]? = nil) { 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(Links.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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetail.swift index 84f5449e..99858290 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipAppStoreReviewDetail.swift @@ -36,31 +36,8 @@ public struct AppClipAppStoreReviewDetail: Codable, Identifiable { public var appClipDefaultExperience: AppClipDefaultExperience? public struct AppClipDefaultExperience: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -87,20 +64,17 @@ public struct AppClipAppStoreReviewDetail: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperience.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperience.swift index 08880c00..0679a263 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperience.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperience.swift @@ -39,31 +39,8 @@ public struct AppClipDefaultExperience: Codable, Identifiable { public var appClipAppStoreReviewDetail: AppClipAppStoreReviewDetail? public struct AppClip: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -90,50 +67,25 @@ public struct AppClipDefaultExperience: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 ReleaseWithAppStoreVersion: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -160,14 +112,14 @@ public struct AppClipDefaultExperience: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -179,32 +131,10 @@ public struct AppClipDefaultExperience: Codable, Identifiable { } public struct AppClipDefaultExperienceLocalizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -231,7 +161,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -239,7 +169,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -253,31 +183,9 @@ public struct AppClipDefaultExperience: Codable, Identifiable { } public struct AppClipAppStoreReviewDetail: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -304,14 +212,14 @@ public struct AppClipDefaultExperience: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalization.swift index 62179466..52b99db9 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipDefaultExperienceLocalization.swift @@ -41,31 +41,8 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { public var appClipHeaderImage: AppClipHeaderImage? public struct AppClipDefaultExperience: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -92,50 +69,25 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppClipHeaderImage: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -162,14 +114,14 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/AppClipHeaderImage.swift b/Sources/OpenAPI/Generated/Entities/AppClipHeaderImage.swift index 793dcff0..a23891ee 100644 --- a/Sources/OpenAPI/Generated/Entities/AppClipHeaderImage.swift +++ b/Sources/OpenAPI/Generated/Entities/AppClipHeaderImage.swift @@ -56,31 +56,8 @@ public struct AppClipHeaderImage: Codable, Identifiable { public var appClipDefaultExperienceLocalization: AppClipDefaultExperienceLocalization? public struct AppClipDefaultExperienceLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -107,20 +84,17 @@ public struct AppClipHeaderImage: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPage.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPage.swift index 9e5b754e..da42a890 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPage.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPage.swift @@ -45,31 +45,8 @@ public struct AppCustomProductPage: Codable, Identifiable { public var appCustomProductPageVersions: AppCustomProductPageVersions? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -96,51 +73,26 @@ public struct AppCustomProductPage: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppCustomProductPageVersions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -167,7 +119,7 @@ public struct AppCustomProductPage: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -175,7 +127,7 @@ public struct AppCustomProductPage: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalization.swift index edcd77cc..5dfe3e0c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageLocalization.swift @@ -42,31 +42,8 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { public var appPreviewSets: AppPreviewSets? public struct AppCustomProductPageVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -93,51 +70,26 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppScreenshotSets: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -164,7 +116,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -172,7 +124,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -186,32 +138,10 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { } public struct AppPreviewSets: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -238,7 +168,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -246,7 +176,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersion.swift b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersion.swift index 791605b4..e68aba88 100644 --- a/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/AppCustomProductPageVersion.swift @@ -56,31 +56,8 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { public var appCustomProductPageLocalizations: AppCustomProductPageLocalizations? public struct AppCustomProductPage: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -107,51 +84,26 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppCustomProductPageLocalizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -178,7 +130,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -186,7 +138,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclaration.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclaration.swift index 916598df..82e14022 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclaration.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclaration.swift @@ -90,37 +90,17 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { } public struct Relationships: Codable { + /// - warning: Deprecated. public var app: App? /// - warning: Deprecated. public var builds: Builds? public var appEncryptionDeclarationDocument: AppEncryptionDeclarationDocument? + @available(*, deprecated, message: "Deprecated") public struct App: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -147,14 +127,14 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -167,32 +147,10 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { @available(*, deprecated, message: "Deprecated") public struct Builds: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -219,7 +177,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -227,7 +185,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -241,31 +199,9 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { } public struct AppEncryptionDeclarationDocument: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -292,14 +228,14 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationCreateRequest.swift new file mode 100644 index 00000000..cd6043a8 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationCreateRequest.swift @@ -0,0 +1,146 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AppEncryptionDeclarationCreateRequest: 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 appEncryptionDeclarations + } + + public struct Attributes: Codable { + public var appDescription: String + public var containsProprietaryCryptography: Bool + public var containsThirdPartyCryptography: Bool + public var isAvailableOnFrenchStore: Bool + + public init(appDescription: String, containsProprietaryCryptography: Bool, containsThirdPartyCryptography: Bool, isAvailableOnFrenchStore: Bool) { + self.appDescription = appDescription + self.containsProprietaryCryptography = containsProprietaryCryptography + self.containsThirdPartyCryptography = containsThirdPartyCryptography + self.isAvailableOnFrenchStore = isAvailableOnFrenchStore + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.appDescription = try values.decode(String.self, forKey: "appDescription") + self.containsProprietaryCryptography = try values.decode(Bool.self, forKey: "containsProprietaryCryptography") + self.containsThirdPartyCryptography = try values.decode(Bool.self, forKey: "containsThirdPartyCryptography") + self.isAvailableOnFrenchStore = try values.decode(Bool.self, forKey: "availableOnFrenchStore") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(appDescription, forKey: "appDescription") + try values.encode(containsProprietaryCryptography, forKey: "containsProprietaryCryptography") + try values.encode(containsThirdPartyCryptography, forKey: "containsThirdPartyCryptography") + try values.encode(isAvailableOnFrenchStore, forKey: "availableOnFrenchStore") + } + } + + public struct Relationships: Codable { + /// - warning: Deprecated. + public var app: App + + @available(*, deprecated, message: "Deprecated") + 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, 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/AppEvent.swift b/Sources/OpenAPI/Generated/Entities/AppEvent.swift index 5b87f191..6e1457be 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEvent.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEvent.swift @@ -19,7 +19,7 @@ public struct AppEvent: Codable, Identifiable { public var badge: Badge? public var eventState: EventState? public var deepLink: URL? - public var purchaseRequirement: PurchaseRequirement? + public var purchaseRequirement: String? public var primaryLocale: String? public var priority: Priority? public var purpose: Purpose? @@ -49,14 +49,6 @@ public struct AppEvent: Codable, Identifiable { case archived = "ARCHIVED" } - public enum PurchaseRequirement: String, Codable, CaseIterable { - case noCostAssociated = "NO_COST_ASSOCIATED" - case inAppPurchase = "IN_APP_PURCHASE" - case subscription = "SUBSCRIPTION" - case inAppPurchaseAndSubscription = "IN_APP_PURCHASE_AND_SUBSCRIPTION" - case inAppPurchaseOrSubscription = "IN_APP_PURCHASE_OR_SUBSCRIPTION" - } - public enum Priority: String, Codable, CaseIterable { case high = "HIGH" case normal = "NORMAL" @@ -129,7 +121,7 @@ public struct AppEvent: Codable, Identifiable { } } - public init(referenceName: String? = nil, badge: Badge? = nil, eventState: EventState? = nil, deepLink: URL? = nil, purchaseRequirement: PurchaseRequirement? = nil, primaryLocale: String? = nil, priority: Priority? = nil, purpose: Purpose? = nil, territorySchedules: [TerritorySchedule]? = nil, archivedTerritorySchedules: [ArchivedTerritorySchedule]? = nil) { + public init(referenceName: String? = nil, badge: Badge? = nil, eventState: EventState? = nil, deepLink: URL? = nil, purchaseRequirement: String? = nil, primaryLocale: String? = nil, priority: Priority? = nil, purpose: Purpose? = nil, territorySchedules: [TerritorySchedule]? = nil, archivedTerritorySchedules: [ArchivedTerritorySchedule]? = nil) { self.referenceName = referenceName self.badge = badge self.eventState = eventState @@ -148,7 +140,7 @@ public struct AppEvent: Codable, Identifiable { self.badge = try values.decodeIfPresent(Badge.self, forKey: "badge") self.eventState = try values.decodeIfPresent(EventState.self, forKey: "eventState") self.deepLink = try values.decodeIfPresent(URL.self, forKey: "deepLink") - self.purchaseRequirement = try values.decodeIfPresent(PurchaseRequirement.self, forKey: "purchaseRequirement") + self.purchaseRequirement = try values.decodeIfPresent(String.self, forKey: "purchaseRequirement") self.primaryLocale = try values.decodeIfPresent(String.self, forKey: "primaryLocale") self.priority = try values.decodeIfPresent(Priority.self, forKey: "priority") self.purpose = try values.decodeIfPresent(Purpose.self, forKey: "purpose") @@ -175,32 +167,10 @@ public struct AppEvent: Codable, Identifiable { public var localizations: Localizations? public struct Localizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -227,7 +197,7 @@ public struct AppEvent: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -235,7 +205,7 @@ public struct AppEvent: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppEventCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEventCreateRequest.swift index e0e53f7b..13b7bd86 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventCreateRequest.swift @@ -19,7 +19,7 @@ public struct AppEventCreateRequest: Codable { public var referenceName: String public var badge: Badge? public var deepLink: URL? - public var purchaseRequirement: PurchaseRequirement? + public var purchaseRequirement: String? public var primaryLocale: String? public var priority: Priority? public var purpose: Purpose? @@ -35,14 +35,6 @@ public struct AppEventCreateRequest: Codable { case specialEvent = "SPECIAL_EVENT" } - public enum PurchaseRequirement: String, Codable, CaseIterable { - case noCostAssociated = "NO_COST_ASSOCIATED" - case inAppPurchase = "IN_APP_PURCHASE" - case subscription = "SUBSCRIPTION" - case inAppPurchaseAndSubscription = "IN_APP_PURCHASE_AND_SUBSCRIPTION" - case inAppPurchaseOrSubscription = "IN_APP_PURCHASE_OR_SUBSCRIPTION" - } - public enum Priority: String, Codable, CaseIterable { case high = "HIGH" case normal = "NORMAL" @@ -85,7 +77,7 @@ public struct AppEventCreateRequest: Codable { } } - public init(referenceName: String, badge: Badge? = nil, deepLink: URL? = nil, purchaseRequirement: PurchaseRequirement? = nil, primaryLocale: String? = nil, priority: Priority? = nil, purpose: Purpose? = nil, territorySchedules: [TerritorySchedule]? = nil) { + public init(referenceName: String, badge: Badge? = nil, deepLink: URL? = nil, purchaseRequirement: String? = nil, primaryLocale: String? = nil, priority: Priority? = nil, purpose: Purpose? = nil, territorySchedules: [TerritorySchedule]? = nil) { self.referenceName = referenceName self.badge = badge self.deepLink = deepLink @@ -101,7 +93,7 @@ public struct AppEventCreateRequest: Codable { self.referenceName = try values.decode(String.self, forKey: "referenceName") self.badge = try values.decodeIfPresent(Badge.self, forKey: "badge") self.deepLink = try values.decodeIfPresent(URL.self, forKey: "deepLink") - self.purchaseRequirement = try values.decodeIfPresent(PurchaseRequirement.self, forKey: "purchaseRequirement") + self.purchaseRequirement = try values.decodeIfPresent(String.self, forKey: "purchaseRequirement") self.primaryLocale = try values.decodeIfPresent(String.self, forKey: "primaryLocale") self.priority = try values.decodeIfPresent(Priority.self, forKey: "priority") self.purpose = try values.decodeIfPresent(Purpose.self, forKey: "purpose") diff --git a/Sources/OpenAPI/Generated/Entities/AppEventLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppEventLocalization.swift index 955c740c..b49ffdb9 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventLocalization.swift @@ -50,31 +50,8 @@ public struct AppEventLocalization: Codable, Identifiable { public var appEventVideoClips: AppEventVideoClips? public struct AppEvent: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -101,51 +78,26 @@ public struct AppEventLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppEventScreenshots: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -172,7 +124,7 @@ public struct AppEventLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -180,7 +132,7 @@ public struct AppEventLocalization: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -194,32 +146,10 @@ public struct AppEventLocalization: Codable, Identifiable { } public struct AppEventVideoClips: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -246,7 +176,7 @@ public struct AppEventLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -254,7 +184,7 @@ public struct AppEventLocalization: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppEventScreenshot.swift b/Sources/OpenAPI/Generated/Entities/AppEventScreenshot.swift index f9ccca91..8b19e0bb 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventScreenshot.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventScreenshot.swift @@ -60,31 +60,8 @@ public struct AppEventScreenshot: Codable, Identifiable { public var appEventLocalization: AppEventLocalization? public struct AppEventLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -111,20 +88,17 @@ public struct AppEventScreenshot: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppEventUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppEventUpdateRequest.swift index be8c6c41..2e94d59b 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventUpdateRequest.swift @@ -19,7 +19,7 @@ public struct AppEventUpdateRequest: Codable { public var referenceName: String? public var badge: Badge? public var deepLink: URL? - public var purchaseRequirement: PurchaseRequirement? + public var purchaseRequirement: String? public var primaryLocale: String? public var priority: Priority? public var purpose: Purpose? @@ -35,14 +35,6 @@ public struct AppEventUpdateRequest: Codable { case specialEvent = "SPECIAL_EVENT" } - public enum PurchaseRequirement: String, Codable, CaseIterable { - case noCostAssociated = "NO_COST_ASSOCIATED" - case inAppPurchase = "IN_APP_PURCHASE" - case subscription = "SUBSCRIPTION" - case inAppPurchaseAndSubscription = "IN_APP_PURCHASE_AND_SUBSCRIPTION" - case inAppPurchaseOrSubscription = "IN_APP_PURCHASE_OR_SUBSCRIPTION" - } - public enum Priority: String, Codable, CaseIterable { case high = "HIGH" case normal = "NORMAL" @@ -85,7 +77,7 @@ public struct AppEventUpdateRequest: Codable { } } - public init(referenceName: String? = nil, badge: Badge? = nil, deepLink: URL? = nil, purchaseRequirement: PurchaseRequirement? = nil, primaryLocale: String? = nil, priority: Priority? = nil, purpose: Purpose? = nil, territorySchedules: [TerritorySchedule]? = nil) { + public init(referenceName: String? = nil, badge: Badge? = nil, deepLink: URL? = nil, purchaseRequirement: String? = nil, primaryLocale: String? = nil, priority: Priority? = nil, purpose: Purpose? = nil, territorySchedules: [TerritorySchedule]? = nil) { self.referenceName = referenceName self.badge = badge self.deepLink = deepLink @@ -101,7 +93,7 @@ public struct AppEventUpdateRequest: Codable { self.referenceName = try values.decodeIfPresent(String.self, forKey: "referenceName") self.badge = try values.decodeIfPresent(Badge.self, forKey: "badge") self.deepLink = try values.decodeIfPresent(URL.self, forKey: "deepLink") - self.purchaseRequirement = try values.decodeIfPresent(PurchaseRequirement.self, forKey: "purchaseRequirement") + self.purchaseRequirement = try values.decodeIfPresent(String.self, forKey: "purchaseRequirement") self.primaryLocale = try values.decodeIfPresent(String.self, forKey: "primaryLocale") self.priority = try values.decodeIfPresent(Priority.self, forKey: "priority") self.purpose = try values.decodeIfPresent(Purpose.self, forKey: "purpose") diff --git a/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift b/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift index 7bc0a3ff..b4e9d954 100644 --- a/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift +++ b/Sources/OpenAPI/Generated/Entities/AppEventVideoClip.swift @@ -64,31 +64,8 @@ public struct AppEventVideoClip: Codable, Identifiable { public var appEventLocalization: AppEventLocalization? public struct AppEventLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -115,20 +92,17 @@ public struct AppEventVideoClip: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppInfo.swift b/Sources/OpenAPI/Generated/Entities/AppInfo.swift index ea85604f..e83d782f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfo.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfo.swift @@ -18,8 +18,10 @@ public struct AppInfo: Codable, Identifiable { public var appStoreState: AppStoreVersionState? public var state: State? public var appStoreAgeRating: AppStoreAgeRating? + public var australiaAgeRating: AustraliaAgeRating? public var brazilAgeRating: BrazilAgeRating? public var brazilAgeRatingV2: BrazilAgeRatingV2? + public var koreaAgeRating: KoreaAgeRating? public var kidsAgeBand: KidsAgeBand? public enum State: String, Codable, CaseIterable { @@ -35,6 +37,11 @@ public struct AppInfo: Codable, Identifiable { case waitingForReview = "WAITING_FOR_REVIEW" } + public enum AustraliaAgeRating: String, Codable, CaseIterable { + case fifteen = "FIFTEEN" + case eighteen = "EIGHTEEN" + } + public enum BrazilAgeRatingV2: String, Codable, CaseIterable { case selfRatedL = "SELF_RATED_L" case selfRatedTen = "SELF_RATED_TEN" @@ -50,12 +57,22 @@ public struct AppInfo: Codable, Identifiable { case officialEighteen = "OFFICIAL_EIGHTEEN" } - public init(appStoreState: AppStoreVersionState? = nil, state: State? = nil, appStoreAgeRating: AppStoreAgeRating? = nil, brazilAgeRating: BrazilAgeRating? = nil, brazilAgeRatingV2: BrazilAgeRatingV2? = nil, kidsAgeBand: KidsAgeBand? = nil) { + public enum KoreaAgeRating: String, Codable, CaseIterable { + case all = "ALL" + case twelve = "TWELVE" + case fifteen = "FIFTEEN" + case nineteen = "NINETEEN" + 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) { self.appStoreState = appStoreState self.state = state self.appStoreAgeRating = appStoreAgeRating + self.australiaAgeRating = australiaAgeRating self.brazilAgeRating = brazilAgeRating self.brazilAgeRatingV2 = brazilAgeRatingV2 + self.koreaAgeRating = koreaAgeRating self.kidsAgeBand = kidsAgeBand } @@ -64,8 +81,10 @@ public struct AppInfo: Codable, Identifiable { self.appStoreState = try values.decodeIfPresent(AppStoreVersionState.self, forKey: "appStoreState") self.state = try values.decodeIfPresent(State.self, forKey: "state") self.appStoreAgeRating = try values.decodeIfPresent(AppStoreAgeRating.self, forKey: "appStoreAgeRating") + 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.koreaAgeRating = try values.decodeIfPresent(KoreaAgeRating.self, forKey: "koreaAgeRating") self.kidsAgeBand = try values.decodeIfPresent(KidsAgeBand.self, forKey: "kidsAgeBand") } @@ -74,8 +93,10 @@ public struct AppInfo: Codable, Identifiable { try values.encodeIfPresent(appStoreState, forKey: "appStoreState") try values.encodeIfPresent(state, forKey: "state") try values.encodeIfPresent(appStoreAgeRating, forKey: "appStoreAgeRating") + try values.encodeIfPresent(australiaAgeRating, forKey: "australiaAgeRating") try values.encodeIfPresent(brazilAgeRating, forKey: "brazilAgeRating") try values.encodeIfPresent(brazilAgeRatingV2, forKey: "brazilAgeRatingV2") + try values.encodeIfPresent(koreaAgeRating, forKey: "koreaAgeRating") try values.encodeIfPresent(kidsAgeBand, forKey: "kidsAgeBand") } } @@ -92,31 +113,8 @@ public struct AppInfo: Codable, Identifiable { public var secondarySubcategoryTwo: SecondarySubcategoryTwo? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -143,50 +141,25 @@ public struct AppInfo: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AgeRatingDeclaration: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -213,14 +186,14 @@ public struct AppInfo: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -232,32 +205,10 @@ public struct AppInfo: Codable, Identifiable { } public struct AppInfoLocalizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -284,7 +235,7 @@ public struct AppInfo: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -292,7 +243,7 @@ public struct AppInfo: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -306,31 +257,9 @@ public struct AppInfo: Codable, Identifiable { } public struct PrimaryCategory: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -357,14 +286,14 @@ public struct AppInfo: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -376,31 +305,9 @@ public struct AppInfo: Codable, Identifiable { } public struct PrimarySubcategoryOne: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -427,14 +334,14 @@ public struct AppInfo: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -446,31 +353,9 @@ public struct AppInfo: Codable, Identifiable { } public struct PrimarySubcategoryTwo: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -497,14 +382,14 @@ public struct AppInfo: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -516,31 +401,9 @@ public struct AppInfo: Codable, Identifiable { } public struct SecondaryCategory: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -567,14 +430,14 @@ public struct AppInfo: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -586,31 +449,9 @@ public struct AppInfo: Codable, Identifiable { } public struct SecondarySubcategoryOne: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -637,14 +478,14 @@ public struct AppInfo: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -656,31 +497,9 @@ public struct AppInfo: Codable, Identifiable { } public struct SecondarySubcategoryTwo: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -707,14 +526,14 @@ public struct AppInfo: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/AppInfoLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppInfoLocalization.swift index 145ddd9d..6bb8affc 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfoLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfoLocalization.swift @@ -56,31 +56,8 @@ public struct AppInfoLocalization: Codable, Identifiable { public var appInfo: AppInfo? public struct AppInfo: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -107,20 +84,17 @@ public struct AppInfoLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift b/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift index ec322812..21586be9 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreOrder.swift @@ -41,31 +41,8 @@ public struct AppPreOrder: Codable, Identifiable { public var app: App? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -92,20 +69,17 @@ public struct AppPreOrder: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPreview.swift b/Sources/OpenAPI/Generated/Entities/AppPreview.swift index a416aa66..ee7d4008 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreview.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreview.swift @@ -68,31 +68,8 @@ public struct AppPreview: Codable, Identifiable { public var appPreviewSet: AppPreviewSet? public struct AppPreviewSet: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -119,20 +96,17 @@ public struct AppPreview: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPreviewSet.swift b/Sources/OpenAPI/Generated/Entities/AppPreviewSet.swift index f8f11ef9..d035a377 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPreviewSet.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPreviewSet.swift @@ -39,31 +39,8 @@ public struct AppPreviewSet: Codable, Identifiable { public var appPreviews: AppPreviews? public struct AppStoreVersionLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -90,50 +67,24 @@ public struct AppPreviewSet: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppCustomProductPageLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -160,50 +111,24 @@ public struct AppPreviewSet: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppStoreVersionExperimentTreatmentLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -230,51 +155,26 @@ public struct AppPreviewSet: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppPreviews: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -301,7 +201,7 @@ public struct AppPreviewSet: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -309,7 +209,7 @@ public struct AppPreviewSet: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppPricePointV3.swift b/Sources/OpenAPI/Generated/Entities/AppPricePointV3.swift index 51534f22..60400a0c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPricePointV3.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPricePointV3.swift @@ -38,34 +38,12 @@ public struct AppPricePointV3: Codable, Identifiable { public struct Relationships: Codable { public var app: App? + public var equalizations: Equalizations? public var territory: Territory? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -92,49 +70,41 @@ public struct AppPricePointV3: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Territory: Codable { - public var links: Links? - public var data: Data? - - public struct Links: Codable { - public var this: String? - public var related: String? + public struct Equalizations: Codable { + public var links: RelationshipLinks? - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } + public init(links: RelationshipLinks? = nil) { + self.links = links + } - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } + 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(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") } + } + + public struct Territory: Codable { + public var data: Data? public struct Data: Codable, Identifiable { public var type: `Type` @@ -162,38 +132,38 @@ public struct AppPricePointV3: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 init(app: App? = nil, territory: Territory? = nil) { + public init(app: App? = nil, equalizations: Equalizations? = nil, territory: Territory? = nil) { self.app = app + self.equalizations = equalizations self.territory = territory } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.app = try values.decodeIfPresent(App.self, forKey: "app") + self.equalizations = try values.decodeIfPresent(Equalizations.self, forKey: "equalizations") self.territory = try values.decodeIfPresent(Territory.self, forKey: "territory") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(app, forKey: "app") + try values.encodeIfPresent(equalizations, forKey: "equalizations") try values.encodeIfPresent(territory, forKey: "territory") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceSchedule.swift b/Sources/OpenAPI/Generated/Entities/AppPriceSchedule.swift index cf9276be..9f207ae2 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceSchedule.swift @@ -20,31 +20,8 @@ public struct AppPriceSchedule: Codable, Identifiable { public var automaticPrices: AutomaticPrices? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -71,50 +48,25 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 BaseTerritory: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -141,14 +93,14 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -160,32 +112,10 @@ public struct AppPriceSchedule: Codable, Identifiable { } public struct ManualPrices: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -212,7 +142,7 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -220,7 +150,7 @@ public struct AppPriceSchedule: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -234,32 +164,10 @@ public struct AppPriceSchedule: Codable, Identifiable { } public struct AutomaticPrices: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -286,7 +194,7 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -294,7 +202,7 @@ public struct AppPriceSchedule: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppPriceV2.swift b/Sources/OpenAPI/Generated/Entities/AppPriceV2.swift index 66a5f77a..c106752a 100644 --- a/Sources/OpenAPI/Generated/Entities/AppPriceV2.swift +++ b/Sources/OpenAPI/Generated/Entities/AppPriceV2.swift @@ -45,31 +45,8 @@ public struct AppPriceV2: Codable, Identifiable { public var territory: Territory? public struct AppPricePoint: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -96,50 +73,24 @@ public struct AppPriceV2: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Territory: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -166,20 +117,17 @@ public struct AppPriceV2: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshot.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshot.swift index 0caaf2c2..6735eede 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshot.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshot.swift @@ -64,31 +64,8 @@ public struct AppScreenshot: Codable, Identifiable { public var appScreenshotSet: AppScreenshotSet? public struct AppScreenshotSet: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -115,20 +92,17 @@ public struct AppScreenshot: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppScreenshotSet.swift b/Sources/OpenAPI/Generated/Entities/AppScreenshotSet.swift index d2fa7ffb..b492fa4f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppScreenshotSet.swift +++ b/Sources/OpenAPI/Generated/Entities/AppScreenshotSet.swift @@ -39,31 +39,8 @@ public struct AppScreenshotSet: Codable, Identifiable { public var appScreenshots: AppScreenshots? public struct AppStoreVersionLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -90,50 +67,24 @@ public struct AppScreenshotSet: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppCustomProductPageLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -160,50 +111,24 @@ public struct AppScreenshotSet: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppStoreVersionExperimentTreatmentLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -230,51 +155,26 @@ public struct AppScreenshotSet: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppScreenshots: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -301,7 +201,7 @@ public struct AppScreenshotSet: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -309,7 +209,7 @@ public struct AppScreenshotSet: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachment.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachment.swift index e446df6c..5d513aee 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachment.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewAttachment.swift @@ -52,31 +52,8 @@ public struct AppStoreReviewAttachment: Codable, Identifiable { public var appStoreReviewDetail: AppStoreReviewDetail? public struct AppStoreReviewDetail: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -103,20 +80,17 @@ public struct AppStoreReviewAttachment: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetail.swift index fc470384..a2cf037e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreReviewDetail.swift @@ -65,31 +65,8 @@ public struct AppStoreReviewDetail: Codable, Identifiable { public var appStoreReviewAttachments: AppStoreReviewAttachments? public struct AppStoreVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -116,51 +93,26 @@ public struct AppStoreReviewDetail: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppStoreReviewAttachments: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -187,7 +139,7 @@ public struct AppStoreReviewDetail: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -195,7 +147,7 @@ public struct AppStoreReviewDetail: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift index 1f4dde51..e74a454f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift @@ -86,40 +86,19 @@ public struct AppStoreVersion: Codable, Identifiable { public var appStoreVersionLocalizations: AppStoreVersionLocalizations? public var build: Build? public var appStoreVersionPhasedRelease: AppStoreVersionPhasedRelease? + public var gameCenterAppVersion: GameCenterAppVersion? public var routingAppCoverage: RoutingAppCoverage? public var appStoreReviewDetail: AppStoreReviewDetail? public var appStoreVersionSubmission: AppStoreVersionSubmission? public var appClipDefaultExperience: AppClipDefaultExperience? public var appStoreVersionExperiments: AppStoreVersionExperiments? public var appStoreVersionExperimentsV2: AppStoreVersionExperimentsV2? + public var customerReviews: CustomerReviews? public var alternativeDistributionPackage: AlternativeDistributionPackage? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -146,51 +125,26 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } @available(*, deprecated, message: "Deprecated") public struct AgeRatingDeclaration: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -217,14 +171,14 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -236,32 +190,10 @@ public struct AppStoreVersion: Codable, Identifiable { } public struct AppStoreVersionLocalizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -288,7 +220,7 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -296,7 +228,7 @@ public struct AppStoreVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -310,31 +242,9 @@ public struct AppStoreVersion: Codable, Identifiable { } public struct Build: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -361,14 +271,14 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -380,31 +290,9 @@ public struct AppStoreVersion: Codable, Identifiable { } public struct AppStoreVersionPhasedRelease: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -431,14 +319,14 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -449,32 +337,58 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public struct RoutingAppCoverage: Codable { - public var links: Links? + public struct GameCenterAppVersion: Codable { + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterAppVersions + } - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related + 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.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") + 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.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") + 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 RoutingAppCoverage: Codable { + public var links: RelationshipLinks? + public var data: Data? + public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -501,14 +415,14 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -520,31 +434,9 @@ public struct AppStoreVersion: Codable, Identifiable { } public struct AppStoreReviewDetail: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -571,14 +463,14 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -590,31 +482,9 @@ public struct AppStoreVersion: Codable, Identifiable { } public struct AppStoreVersionSubmission: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -641,14 +511,14 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -660,31 +530,9 @@ public struct AppStoreVersion: Codable, Identifiable { } public struct AppClipDefaultExperience: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -711,14 +559,14 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -730,32 +578,10 @@ public struct AppStoreVersion: Codable, Identifiable { } public struct AppStoreVersionExperiments: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -782,7 +608,7 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -790,7 +616,7 @@ public struct AppStoreVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -804,32 +630,10 @@ public struct AppStoreVersion: Codable, Identifiable { } public struct AppStoreVersionExperimentsV2: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -856,7 +660,7 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -864,7 +668,7 @@ public struct AppStoreVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -877,31 +681,27 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public struct AlternativeDistributionPackage: Codable { - public var links: Links? - public var data: Data? - - public struct Links: Codable { - public var this: String? - public var related: String? + public struct CustomerReviews: Codable { + public var links: RelationshipLinks? - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } + public init(links: RelationshipLinks? = nil) { + self.links = links + } - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } + 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(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") } + } + + public struct AlternativeDistributionPackage: Codable { + public var links: RelationshipLinks? + public var data: Data? public struct Data: Codable, Identifiable { public var type: `Type` @@ -929,14 +729,14 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -947,18 +747,20 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(app: App? = nil, ageRatingDeclaration: AgeRatingDeclaration? = nil, appStoreVersionLocalizations: AppStoreVersionLocalizations? = nil, build: Build? = nil, appStoreVersionPhasedRelease: AppStoreVersionPhasedRelease? = nil, routingAppCoverage: RoutingAppCoverage? = nil, appStoreReviewDetail: AppStoreReviewDetail? = nil, appStoreVersionSubmission: AppStoreVersionSubmission? = nil, appClipDefaultExperience: AppClipDefaultExperience? = nil, appStoreVersionExperiments: AppStoreVersionExperiments? = nil, appStoreVersionExperimentsV2: AppStoreVersionExperimentsV2? = nil, alternativeDistributionPackage: AlternativeDistributionPackage? = nil) { + public init(app: App? = nil, ageRatingDeclaration: AgeRatingDeclaration? = nil, appStoreVersionLocalizations: AppStoreVersionLocalizations? = nil, build: Build? = nil, appStoreVersionPhasedRelease: AppStoreVersionPhasedRelease? = nil, gameCenterAppVersion: GameCenterAppVersion? = nil, routingAppCoverage: RoutingAppCoverage? = nil, appStoreReviewDetail: AppStoreReviewDetail? = nil, appStoreVersionSubmission: AppStoreVersionSubmission? = nil, appClipDefaultExperience: AppClipDefaultExperience? = nil, appStoreVersionExperiments: AppStoreVersionExperiments? = nil, appStoreVersionExperimentsV2: AppStoreVersionExperimentsV2? = nil, customerReviews: CustomerReviews? = nil, alternativeDistributionPackage: AlternativeDistributionPackage? = nil) { self.app = app self.ageRatingDeclaration = ageRatingDeclaration self.appStoreVersionLocalizations = appStoreVersionLocalizations self.build = build self.appStoreVersionPhasedRelease = appStoreVersionPhasedRelease + self.gameCenterAppVersion = gameCenterAppVersion self.routingAppCoverage = routingAppCoverage self.appStoreReviewDetail = appStoreReviewDetail self.appStoreVersionSubmission = appStoreVersionSubmission self.appClipDefaultExperience = appClipDefaultExperience self.appStoreVersionExperiments = appStoreVersionExperiments self.appStoreVersionExperimentsV2 = appStoreVersionExperimentsV2 + self.customerReviews = customerReviews self.alternativeDistributionPackage = alternativeDistributionPackage } @@ -969,12 +771,14 @@ public struct AppStoreVersion: Codable, Identifiable { self.appStoreVersionLocalizations = try values.decodeIfPresent(AppStoreVersionLocalizations.self, forKey: "appStoreVersionLocalizations") self.build = try values.decodeIfPresent(Build.self, forKey: "build") self.appStoreVersionPhasedRelease = try values.decodeIfPresent(AppStoreVersionPhasedRelease.self, forKey: "appStoreVersionPhasedRelease") + self.gameCenterAppVersion = try values.decodeIfPresent(GameCenterAppVersion.self, forKey: "gameCenterAppVersion") self.routingAppCoverage = try values.decodeIfPresent(RoutingAppCoverage.self, forKey: "routingAppCoverage") self.appStoreReviewDetail = try values.decodeIfPresent(AppStoreReviewDetail.self, forKey: "appStoreReviewDetail") self.appStoreVersionSubmission = try values.decodeIfPresent(AppStoreVersionSubmission.self, forKey: "appStoreVersionSubmission") self.appClipDefaultExperience = try values.decodeIfPresent(AppClipDefaultExperience.self, forKey: "appClipDefaultExperience") self.appStoreVersionExperiments = try values.decodeIfPresent(AppStoreVersionExperiments.self, forKey: "appStoreVersionExperiments") self.appStoreVersionExperimentsV2 = try values.decodeIfPresent(AppStoreVersionExperimentsV2.self, forKey: "appStoreVersionExperimentsV2") + self.customerReviews = try values.decodeIfPresent(CustomerReviews.self, forKey: "customerReviews") self.alternativeDistributionPackage = try values.decodeIfPresent(AlternativeDistributionPackage.self, forKey: "alternativeDistributionPackage") } @@ -985,12 +789,14 @@ public struct AppStoreVersion: Codable, Identifiable { try values.encodeIfPresent(appStoreVersionLocalizations, forKey: "appStoreVersionLocalizations") try values.encodeIfPresent(build, forKey: "build") try values.encodeIfPresent(appStoreVersionPhasedRelease, forKey: "appStoreVersionPhasedRelease") + try values.encodeIfPresent(gameCenterAppVersion, forKey: "gameCenterAppVersion") try values.encodeIfPresent(routingAppCoverage, forKey: "routingAppCoverage") try values.encodeIfPresent(appStoreReviewDetail, forKey: "appStoreReviewDetail") try values.encodeIfPresent(appStoreVersionSubmission, forKey: "appStoreVersionSubmission") try values.encodeIfPresent(appClipDefaultExperience, forKey: "appClipDefaultExperience") try values.encodeIfPresent(appStoreVersionExperiments, forKey: "appStoreVersionExperiments") try values.encodeIfPresent(appStoreVersionExperimentsV2, forKey: "appStoreVersionExperimentsV2") + try values.encodeIfPresent(customerReviews, forKey: "customerReviews") try values.encodeIfPresent(alternativeDistributionPackage, forKey: "alternativeDistributionPackage") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperiment.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperiment.swift index e75f7b9f..9ae4890a 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperiment.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperiment.swift @@ -70,31 +70,8 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { public var appStoreVersionExperimentTreatments: AppStoreVersionExperimentTreatments? public struct AppStoreVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -121,51 +98,26 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppStoreVersionExperimentTreatments: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -192,7 +144,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -200,7 +152,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatment.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatment.swift index 4f7baf68..b1c0e7bc 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatment.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatment.swift @@ -50,31 +50,8 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { public var appStoreVersionExperimentTreatmentLocalizations: AppStoreVersionExperimentTreatmentLocalizations? public struct AppStoreVersionExperiment: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -101,50 +78,24 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppStoreVersionExperimentV2: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -171,51 +122,26 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppStoreVersionExperimentTreatmentLocalizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -242,7 +168,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -250,7 +176,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentCreateRequest.swift index 04476599..1a098bec 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentCreateRequest.swift @@ -9,7 +9,7 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable { public struct Data: Codable { public var type: `Type` public var attributes: Attributes - public var relationships: Relationships + public var relationships: Relationships? public enum `Type`: String, Codable, CaseIterable { case appStoreVersionExperimentTreatments @@ -38,11 +38,11 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable { } public struct Relationships: Codable { - public var appStoreVersionExperiment: AppStoreVersionExperiment + public var appStoreVersionExperiment: AppStoreVersionExperiment? public var appStoreVersionExperimentV2: AppStoreVersionExperimentV2? public struct AppStoreVersionExperiment: Codable { - public var data: Data + public var data: Data? public struct Data: Codable, Identifiable { public var type: `Type` @@ -70,18 +70,18 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable { } } - public init(data: Data) { + 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.decode(Data.self, forKey: "data") + 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.encode(data, forKey: "data") + try values.encodeIfPresent(data, forKey: "data") } } @@ -129,25 +129,25 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable { } } - public init(appStoreVersionExperiment: AppStoreVersionExperiment, appStoreVersionExperimentV2: AppStoreVersionExperimentV2? = nil) { + public init(appStoreVersionExperiment: AppStoreVersionExperiment? = nil, appStoreVersionExperimentV2: AppStoreVersionExperimentV2? = nil) { self.appStoreVersionExperiment = appStoreVersionExperiment self.appStoreVersionExperimentV2 = appStoreVersionExperimentV2 } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.appStoreVersionExperiment = try values.decode(AppStoreVersionExperiment.self, forKey: "appStoreVersionExperiment") + self.appStoreVersionExperiment = try values.decodeIfPresent(AppStoreVersionExperiment.self, forKey: "appStoreVersionExperiment") self.appStoreVersionExperimentV2 = try values.decodeIfPresent(AppStoreVersionExperimentV2.self, forKey: "appStoreVersionExperimentV2") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(appStoreVersionExperiment, forKey: "appStoreVersionExperiment") + try values.encodeIfPresent(appStoreVersionExperiment, forKey: "appStoreVersionExperiment") try values.encodeIfPresent(appStoreVersionExperimentV2, forKey: "appStoreVersionExperimentV2") } } - public init(type: `Type`, attributes: Attributes, relationships: Relationships) { + public init(type: `Type`, attributes: Attributes, relationships: Relationships? = nil) { self.type = type self.attributes = attributes self.relationships = relationships @@ -157,14 +157,14 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable { 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") + self.relationships = try values.decodeIfPresent(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") + try values.encodeIfPresent(relationships, forKey: "relationships") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalization.swift index 2014efcc..28f0dd44 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentTreatmentLocalization.swift @@ -38,31 +38,8 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia public var appPreviewSets: AppPreviewSets? public struct AppStoreVersionExperimentTreatment: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -89,51 +66,26 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppScreenshotSets: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -160,7 +112,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -168,7 +120,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -182,32 +134,10 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia } public struct AppPreviewSets: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -234,7 +164,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -242,7 +172,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2.swift index f4e62e76..6c55408c 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionExperimentV2.swift @@ -75,31 +75,8 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { public var appStoreVersionExperimentTreatments: AppStoreVersionExperimentTreatments? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -126,50 +103,24 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 LatestControlVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -196,51 +147,25 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 ControlVersions: Codable { - public var links: Links? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -267,54 +192,29 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { - self.links = links + public init(meta: PagingInformation? = nil, data: [Datum]? = nil) { 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(Links.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 struct AppStoreVersionExperimentTreatments: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -341,7 +241,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -349,7 +249,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalization.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalization.swift index eecdbfc9..65d2d68e 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionLocalization.swift @@ -62,31 +62,8 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { public var appPreviewSets: AppPreviewSets? public struct AppStoreVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -113,51 +90,26 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppScreenshotSets: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -184,7 +136,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -192,7 +144,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -206,32 +158,10 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { } public struct AppPreviewSets: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -258,7 +188,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -266,7 +196,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift index fd2525b7..28a6f7ed 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift @@ -15,6 +15,7 @@ public struct AppStoreVersionResponse: Codable { case appStoreVersionLocalization(AppStoreVersionLocalization) case build(Build) case appStoreVersionPhasedRelease(AppStoreVersionPhasedRelease) + case gameCenterAppVersion(GameCenterAppVersion) case routingAppCoverage(RoutingAppCoverage) case appStoreReviewDetail(AppStoreReviewDetail) case appStoreVersionSubmission(AppStoreVersionSubmission) @@ -35,6 +36,8 @@ public struct AppStoreVersionResponse: Codable { self = .build(value) } else if let value = try? container.decode(AppStoreVersionPhasedRelease.self) { self = .appStoreVersionPhasedRelease(value) + } else if let value = try? container.decode(GameCenterAppVersion.self) { + self = .gameCenterAppVersion(value) } else if let value = try? container.decode(RoutingAppCoverage.self) { self = .routingAppCoverage(value) } else if let value = try? container.decode(AppStoreReviewDetail.self) { @@ -52,7 +55,7 @@ public struct AppStoreVersionResponse: Codable { } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppStoreVersionLocalization, Build, AppStoreVersionPhasedRelease, RoutingAppCoverage, AppStoreReviewDetail, AppStoreVersionSubmission, AppClipDefaultExperience, AppStoreVersionExperiment, AppStoreVersionExperimentV2, AlternativeDistributionPackage)." + debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppStoreVersionLocalization, Build, AppStoreVersionPhasedRelease, GameCenterAppVersion, RoutingAppCoverage, AppStoreReviewDetail, AppStoreVersionSubmission, AppClipDefaultExperience, AppStoreVersionExperiment, AppStoreVersionExperimentV2, AlternativeDistributionPackage)." ) } } @@ -65,6 +68,7 @@ public struct AppStoreVersionResponse: Codable { case .appStoreVersionLocalization(let value): try container.encode(value) case .build(let value): try container.encode(value) case .appStoreVersionPhasedRelease(let value): try container.encode(value) + case .gameCenterAppVersion(let value): try container.encode(value) case .routingAppCoverage(let value): try container.encode(value) case .appStoreReviewDetail(let value): try container.encode(value) case .appStoreVersionSubmission(let value): try container.encode(value) diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmission.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmission.swift index 33b9b52d..b5d62d83 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionSubmission.swift @@ -18,31 +18,8 @@ public struct AppStoreVersionSubmission: Codable, Identifiable { public var appStoreVersion: AppStoreVersion? public struct AppStoreVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -69,20 +46,17 @@ public struct AppStoreVersionSubmission: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift index a22ab097..97c201ae 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift @@ -15,6 +15,7 @@ public struct AppStoreVersionsResponse: Codable { case appStoreVersionLocalization(AppStoreVersionLocalization) case build(Build) case appStoreVersionPhasedRelease(AppStoreVersionPhasedRelease) + case gameCenterAppVersion(GameCenterAppVersion) case routingAppCoverage(RoutingAppCoverage) case appStoreReviewDetail(AppStoreReviewDetail) case appStoreVersionSubmission(AppStoreVersionSubmission) @@ -35,6 +36,8 @@ public struct AppStoreVersionsResponse: Codable { self = .build(value) } else if let value = try? container.decode(AppStoreVersionPhasedRelease.self) { self = .appStoreVersionPhasedRelease(value) + } else if let value = try? container.decode(GameCenterAppVersion.self) { + self = .gameCenterAppVersion(value) } else if let value = try? container.decode(RoutingAppCoverage.self) { self = .routingAppCoverage(value) } else if let value = try? container.decode(AppStoreReviewDetail.self) { @@ -52,7 +55,7 @@ public struct AppStoreVersionsResponse: Codable { } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppStoreVersionLocalization, Build, AppStoreVersionPhasedRelease, RoutingAppCoverage, AppStoreReviewDetail, AppStoreVersionSubmission, AppClipDefaultExperience, AppStoreVersionExperiment, AppStoreVersionExperimentV2, AlternativeDistributionPackage)." + debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppStoreVersionLocalization, Build, AppStoreVersionPhasedRelease, GameCenterAppVersion, RoutingAppCoverage, AppStoreReviewDetail, AppStoreVersionSubmission, AppClipDefaultExperience, AppStoreVersionExperiment, AppStoreVersionExperimentV2, AlternativeDistributionPackage)." ) } } @@ -65,6 +68,7 @@ public struct AppStoreVersionsResponse: Codable { case .appStoreVersionLocalization(let value): try container.encode(value) case .build(let value): try container.encode(value) case .appStoreVersionPhasedRelease(let value): try container.encode(value) + case .gameCenterAppVersion(let value): try container.encode(value) case .routingAppCoverage(let value): try container.encode(value) case .appStoreReviewDetail(let value): try container.encode(value) case .appStoreVersionSubmission(let value): try container.encode(value) diff --git a/Sources/OpenAPI/Generated/Entities/AppUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppUpdateRequest.swift index 4877a017..59636dd1 100644 --- a/Sources/OpenAPI/Generated/Entities/AppUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppUpdateRequest.swift @@ -23,13 +23,14 @@ public struct AppUpdateRequest: Codable { public var subscriptionStatusURLForSandbox: URL? public var subscriptionStatusURLVersionForSandbox: SubscriptionStatusURLVersion? public var contentRightsDeclaration: ContentRightsDeclaration? + public var isStreamlinedPurchasingEnabled: Bool? public enum ContentRightsDeclaration: String, Codable, CaseIterable { case doesNotUseThirdPartyContent = "DOES_NOT_USE_THIRD_PARTY_CONTENT" case usesThirdPartyContent = "USES_THIRD_PARTY_CONTENT" } - public init(bundleID: String? = nil, primaryLocale: String? = nil, subscriptionStatusURL: URL? = nil, subscriptionStatusURLVersion: SubscriptionStatusURLVersion? = nil, subscriptionStatusURLForSandbox: URL? = nil, subscriptionStatusURLVersionForSandbox: SubscriptionStatusURLVersion? = nil, contentRightsDeclaration: ContentRightsDeclaration? = nil) { + public init(bundleID: String? = nil, primaryLocale: String? = nil, subscriptionStatusURL: URL? = nil, subscriptionStatusURLVersion: SubscriptionStatusURLVersion? = nil, subscriptionStatusURLForSandbox: URL? = nil, subscriptionStatusURLVersionForSandbox: SubscriptionStatusURLVersion? = nil, contentRightsDeclaration: ContentRightsDeclaration? = nil, isStreamlinedPurchasingEnabled: Bool? = nil) { self.bundleID = bundleID self.primaryLocale = primaryLocale self.subscriptionStatusURL = subscriptionStatusURL @@ -37,6 +38,7 @@ public struct AppUpdateRequest: Codable { self.subscriptionStatusURLForSandbox = subscriptionStatusURLForSandbox self.subscriptionStatusURLVersionForSandbox = subscriptionStatusURLVersionForSandbox self.contentRightsDeclaration = contentRightsDeclaration + self.isStreamlinedPurchasingEnabled = isStreamlinedPurchasingEnabled } public init(from decoder: Decoder) throws { @@ -48,6 +50,7 @@ public struct AppUpdateRequest: Codable { self.subscriptionStatusURLForSandbox = try values.decodeIfPresent(URL.self, forKey: "subscriptionStatusUrlForSandbox") self.subscriptionStatusURLVersionForSandbox = try values.decodeIfPresent(SubscriptionStatusURLVersion.self, forKey: "subscriptionStatusUrlVersionForSandbox") self.contentRightsDeclaration = try values.decodeIfPresent(ContentRightsDeclaration.self, forKey: "contentRightsDeclaration") + self.isStreamlinedPurchasingEnabled = try values.decodeIfPresent(Bool.self, forKey: "streamlinedPurchasingEnabled") } public func encode(to encoder: Encoder) throws { @@ -59,6 +62,7 @@ public struct AppUpdateRequest: Codable { try values.encodeIfPresent(subscriptionStatusURLForSandbox, forKey: "subscriptionStatusUrlForSandbox") try values.encodeIfPresent(subscriptionStatusURLVersionForSandbox, forKey: "subscriptionStatusUrlVersionForSandbox") try values.encodeIfPresent(contentRightsDeclaration, forKey: "contentRightsDeclaration") + try values.encodeIfPresent(isStreamlinedPurchasingEnabled, forKey: "streamlinedPurchasingEnabled") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppsBetaTesterUsagesV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/AppsBetaTesterUsagesV1MetricResponse.swift index 8aaf3d6a..7b9a38d8 100644 --- a/Sources/OpenAPI/Generated/Entities/AppsBetaTesterUsagesV1MetricResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppsBetaTesterUsagesV1MetricResponse.swift @@ -70,6 +70,7 @@ public struct AppsBetaTesterUsagesV1MetricResponse: Codable { public struct BetaTesters: Codable { public var links: Links? + public var data: String? public struct Links: Codable { public var groupBy: String? @@ -93,18 +94,21 @@ public struct AppsBetaTesterUsagesV1MetricResponse: Codable { } } - public init(links: Links? = nil) { + public init(links: Links? = nil, data: String? = 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(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(String.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocation.swift b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocation.swift index 7e74cf42..1bc8711e 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocation.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppClipInvocation.swift @@ -36,32 +36,9 @@ public struct BetaAppClipInvocation: Codable, Identifiable { public var betaAppClipInvocationLocalizations: BetaAppClipInvocationLocalizations? public struct BetaAppClipInvocationLocalizations: Codable { - public var links: Links? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -88,22 +65,19 @@ public struct BetaAppClipInvocation: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { - self.links = links + public init(meta: PagingInformation? = nil, data: [Datum]? = nil) { 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(Links.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") } diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppLocalization.swift b/Sources/OpenAPI/Generated/Entities/BetaAppLocalization.swift index d7e0792a..43c2987b 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppLocalization.swift @@ -56,31 +56,9 @@ public struct BetaAppLocalization: Codable, Identifiable { public var app: App? public struct App: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -107,14 +85,14 @@ public struct BetaAppLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetail.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetail.swift index 3587aa4a..7591d250 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewDetail.swift @@ -64,31 +64,9 @@ public struct BetaAppReviewDetail: Codable, Identifiable { public var app: App? public struct App: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -115,14 +93,14 @@ public struct BetaAppReviewDetail: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmission.swift b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmission.swift index 995c9d74..f6b6bb3e 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaAppReviewSubmission.swift @@ -40,31 +40,9 @@ public struct BetaAppReviewSubmission: Codable, Identifiable { public var build: Build? public struct Build: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -91,14 +69,14 @@ public struct BetaAppReviewSubmission: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalization.swift b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalization.swift index 6825441f..bdbf3b78 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaBuildLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaBuildLocalization.swift @@ -40,31 +40,9 @@ public struct BetaBuildLocalization: Codable, Identifiable { public var build: Build? public struct Build: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -91,14 +69,14 @@ public struct BetaBuildLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/BetaBuildUsagesV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaBuildUsagesV1MetricResponse.swift index e8bc9e40..6035102b 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaBuildUsagesV1MetricResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaBuildUsagesV1MetricResponse.swift @@ -10,7 +10,6 @@ public struct BetaBuildUsagesV1MetricResponse: Codable { public struct Datum: Codable { public var dataPoints: DataPoints? - public var dimensions: Dimensions? public struct DataPoints: Codable { public var start: Date? @@ -72,75 +71,18 @@ public struct BetaBuildUsagesV1MetricResponse: Codable { } } - public struct Dimensions: Codable { - public var bundleIDs: BundleIDs? - - public struct BundleIDs: Codable { - public var links: Links? - - public struct Links: Codable { - public var groupBy: String? - - public init(groupBy: String? = nil) { - self.groupBy = groupBy - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.groupBy = try values.decodeIfPresent(String.self, forKey: "groupBy") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(groupBy, forKey: "groupBy") - } - } - - public init(links: Links? = nil) { - self.links = links - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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(bundleIDs: BundleIDs? = nil) { - self.bundleIDs = bundleIDs - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.bundleIDs = try values.decodeIfPresent(BundleIDs.self, forKey: "bundleIds") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(bundleIDs, forKey: "bundleIds") - } - } - - public init(dataPoints: DataPoints? = nil, dimensions: Dimensions? = nil) { + public init(dataPoints: DataPoints? = nil) { self.dataPoints = dataPoints - self.dimensions = dimensions } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.dataPoints = try values.decodeIfPresent(DataPoints.self, forKey: "dataPoints") - self.dimensions = try values.decodeIfPresent(Dimensions.self, forKey: "dimensions") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(dataPoints, forKey: "dataPoints") - try values.encodeIfPresent(dimensions, forKey: "dimensions") } } diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroup.swift b/Sources/OpenAPI/Generated/Entities/BetaGroup.swift index d8caaaa2..8f9e6902 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroup.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroup.swift @@ -78,31 +78,9 @@ public struct BetaGroup: Codable, Identifiable { public var betaTesters: BetaTesters? public struct App: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -129,14 +107,14 @@ public struct BetaGroup: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -148,32 +126,10 @@ public struct BetaGroup: Codable, Identifiable { } public struct Builds: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -200,7 +156,7 @@ public struct BetaGroup: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -208,7 +164,7 @@ public struct BetaGroup: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -222,32 +178,10 @@ public struct BetaGroup: Codable, Identifiable { } public struct BetaTesters: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -274,7 +208,7 @@ public struct BetaGroup: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -282,7 +216,7 @@ public struct BetaGroup: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreement.swift b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreement.swift index 77a2726a..2a56b6d4 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreement.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaLicenseAgreement.swift @@ -36,31 +36,9 @@ public struct BetaLicenseAgreement: Codable, Identifiable { public var app: App? public struct App: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -87,14 +65,14 @@ public struct BetaLicenseAgreement: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/BetaTester.swift b/Sources/OpenAPI/Generated/Entities/BetaTester.swift index 447f2fb3..ffe04e1d 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTester.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTester.swift @@ -54,32 +54,10 @@ public struct BetaTester: Codable, Identifiable { public var builds: Builds? public struct Apps: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -106,7 +84,7 @@ public struct BetaTester: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -114,7 +92,7 @@ public struct BetaTester: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -128,32 +106,10 @@ public struct BetaTester: Codable, Identifiable { } public struct BetaGroups: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -180,7 +136,7 @@ public struct BetaTester: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -188,7 +144,7 @@ public struct BetaTester: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -202,32 +158,10 @@ public struct BetaTester: Codable, Identifiable { } public struct Builds: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -254,7 +188,7 @@ public struct BetaTester: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -262,7 +196,7 @@ public struct BetaTester: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/BetaTesterUsagesV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTesterUsagesV1MetricResponse.swift index e8991ee1..9cd2b6f6 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTesterUsagesV1MetricResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTesterUsagesV1MetricResponse.swift @@ -69,6 +69,7 @@ public struct BetaTesterUsagesV1MetricResponse: Codable { public struct Apps: Codable { public var links: Links? + public var data: String? public struct Links: Codable { public var groupBy: String? @@ -92,18 +93,21 @@ public struct BetaTesterUsagesV1MetricResponse: Codable { } } - public init(links: Links? = nil) { + public init(links: Links? = nil, data: String? = 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(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(String.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/Build.swift b/Sources/OpenAPI/Generated/Entities/Build.swift index 975fbee2..9a7ced83 100644 --- a/Sources/OpenAPI/Generated/Entities/Build.swift +++ b/Sources/OpenAPI/Generated/Entities/Build.swift @@ -91,33 +91,13 @@ public struct Build: Codable, Identifiable { public var appStoreVersion: AppStoreVersion? public var icons: Icons? public var buildBundles: BuildBundles? + public var perfPowerMetrics: PerfPowerMetrics? + public var diagnosticSignatures: DiagnosticSignatures? public struct PreReleaseVersion: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -144,14 +124,14 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -163,32 +143,10 @@ public struct Build: Codable, Identifiable { } public struct IndividualTesters: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -215,7 +173,7 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -223,7 +181,7 @@ public struct Build: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -237,32 +195,10 @@ public struct Build: Codable, Identifiable { } public struct BetaGroups: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -289,7 +225,7 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -297,7 +233,7 @@ public struct Build: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -311,32 +247,10 @@ public struct Build: Codable, Identifiable { } public struct BetaBuildLocalizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -363,7 +277,7 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -371,7 +285,7 @@ public struct Build: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -385,31 +299,9 @@ public struct Build: Codable, Identifiable { } public struct AppEncryptionDeclaration: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -436,14 +328,14 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -455,31 +347,9 @@ public struct Build: Codable, Identifiable { } public struct BetaAppReviewSubmission: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -506,14 +376,14 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -525,31 +395,9 @@ public struct Build: Codable, Identifiable { } public struct App: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -576,14 +424,14 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -595,31 +443,9 @@ public struct Build: Codable, Identifiable { } public struct BuildBetaDetail: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -646,14 +472,14 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -665,31 +491,9 @@ public struct Build: Codable, Identifiable { } public struct AppStoreVersion: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -716,14 +520,14 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -735,32 +539,10 @@ public struct Build: Codable, Identifiable { } public struct Icons: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -787,7 +569,7 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -795,7 +577,7 @@ public struct Build: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -809,32 +591,9 @@ public struct Build: Codable, Identifiable { } public struct BuildBundles: Codable { - public var links: Links? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -861,28 +620,61 @@ public struct Build: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { - self.links = links + public init(meta: PagingInformation? = nil, data: [Datum]? = nil) { 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(Links.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(preReleaseVersion: PreReleaseVersion? = nil, individualTesters: IndividualTesters? = nil, betaGroups: BetaGroups? = nil, betaBuildLocalizations: BetaBuildLocalizations? = nil, appEncryptionDeclaration: AppEncryptionDeclaration? = nil, betaAppReviewSubmission: BetaAppReviewSubmission? = nil, app: App? = nil, buildBetaDetail: BuildBetaDetail? = nil, appStoreVersion: AppStoreVersion? = nil, icons: Icons? = nil, buildBundles: BuildBundles? = nil) { + public struct PerfPowerMetrics: 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 DiagnosticSignatures: 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(preReleaseVersion: PreReleaseVersion? = nil, individualTesters: IndividualTesters? = nil, betaGroups: BetaGroups? = nil, betaBuildLocalizations: BetaBuildLocalizations? = nil, appEncryptionDeclaration: AppEncryptionDeclaration? = nil, betaAppReviewSubmission: BetaAppReviewSubmission? = nil, app: App? = nil, buildBetaDetail: BuildBetaDetail? = nil, appStoreVersion: AppStoreVersion? = nil, icons: Icons? = nil, buildBundles: BuildBundles? = nil, perfPowerMetrics: PerfPowerMetrics? = nil, diagnosticSignatures: DiagnosticSignatures? = nil) { self.preReleaseVersion = preReleaseVersion self.individualTesters = individualTesters self.betaGroups = betaGroups @@ -894,6 +686,8 @@ public struct Build: Codable, Identifiable { self.appStoreVersion = appStoreVersion self.icons = icons self.buildBundles = buildBundles + self.perfPowerMetrics = perfPowerMetrics + self.diagnosticSignatures = diagnosticSignatures } public init(from decoder: Decoder) throws { @@ -909,6 +703,8 @@ public struct Build: Codable, Identifiable { self.appStoreVersion = try values.decodeIfPresent(AppStoreVersion.self, forKey: "appStoreVersion") self.icons = try values.decodeIfPresent(Icons.self, forKey: "icons") self.buildBundles = try values.decodeIfPresent(BuildBundles.self, forKey: "buildBundles") + self.perfPowerMetrics = try values.decodeIfPresent(PerfPowerMetrics.self, forKey: "perfPowerMetrics") + self.diagnosticSignatures = try values.decodeIfPresent(DiagnosticSignatures.self, forKey: "diagnosticSignatures") } public func encode(to encoder: Encoder) throws { @@ -924,6 +720,8 @@ public struct Build: Codable, Identifiable { try values.encodeIfPresent(appStoreVersion, forKey: "appStoreVersion") try values.encodeIfPresent(icons, forKey: "icons") try values.encodeIfPresent(buildBundles, forKey: "buildBundles") + try values.encodeIfPresent(perfPowerMetrics, forKey: "perfPowerMetrics") + try values.encodeIfPresent(diagnosticSignatures, forKey: "diagnosticSignatures") } } diff --git a/Sources/OpenAPI/Generated/Entities/BuildBetaDetail.swift b/Sources/OpenAPI/Generated/Entities/BuildBetaDetail.swift index 026abd00..9b0d6028 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBetaDetail.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBetaDetail.swift @@ -44,31 +44,9 @@ public struct BuildBetaDetail: Codable, Identifiable { public var build: Build? public struct Build: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -95,14 +73,14 @@ public struct BuildBetaDetail: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/BuildBundle.swift b/Sources/OpenAPI/Generated/Entities/BuildBundle.swift index ae0a26d1..ddfbff76 100644 --- a/Sources/OpenAPI/Generated/Entities/BuildBundle.swift +++ b/Sources/OpenAPI/Generated/Entities/BuildBundle.swift @@ -108,31 +108,9 @@ public struct BuildBundle: Codable, Identifiable { public var buildBundleFileSizes: BuildBundleFileSizes? public struct AppClipDomainCacheStatus: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -159,14 +137,14 @@ public struct BuildBundle: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -178,31 +156,9 @@ public struct BuildBundle: Codable, Identifiable { } public struct AppClipDomainDebugStatus: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -229,14 +185,14 @@ public struct BuildBundle: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -248,32 +204,10 @@ public struct BuildBundle: Codable, Identifiable { } public struct BetaAppClipInvocations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -300,7 +234,7 @@ public struct BuildBundle: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -308,7 +242,7 @@ public struct BuildBundle: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -322,32 +256,10 @@ public struct BuildBundle: Codable, Identifiable { } public struct BuildBundleFileSizes: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -374,7 +286,7 @@ public struct BuildBundle: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -382,7 +294,7 @@ public struct BuildBundle: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/BundleID.swift b/Sources/OpenAPI/Generated/Entities/BundleID.swift index e0fab615..52f461d5 100644 --- a/Sources/OpenAPI/Generated/Entities/BundleID.swift +++ b/Sources/OpenAPI/Generated/Entities/BundleID.swift @@ -50,32 +50,10 @@ public struct BundleID: Codable, Identifiable { public var app: App? public struct Profiles: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -102,7 +80,7 @@ public struct BundleID: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -110,7 +88,7 @@ public struct BundleID: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -124,32 +102,10 @@ public struct BundleID: Codable, Identifiable { } public struct BundleIDCapabilities: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -176,7 +132,7 @@ public struct BundleID: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -184,7 +140,7 @@ public struct BundleID: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -198,31 +154,9 @@ public struct BundleID: Codable, Identifiable { } public struct App: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -249,14 +183,14 @@ public struct BundleID: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/CiBuildAction.swift b/Sources/OpenAPI/Generated/Entities/CiBuildAction.swift index 6a524fba..23ae9172 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBuildAction.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBuildAction.swift @@ -62,33 +62,14 @@ public struct CiBuildAction: Codable, Identifiable { public struct Relationships: Codable { public var buildRun: BuildRun? + public var artifacts: Artifacts? + public var issues: Issues? + public var testResults: TestResults? public struct BuildRun: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -115,14 +96,14 @@ public struct CiBuildAction: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -133,18 +114,81 @@ public struct CiBuildAction: Codable, Identifiable { } } - public init(buildRun: BuildRun? = nil) { + public struct Artifacts: 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 Issues: 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 TestResults: 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(buildRun: BuildRun? = nil, artifacts: Artifacts? = nil, issues: Issues? = nil, testResults: TestResults? = nil) { self.buildRun = buildRun + self.artifacts = artifacts + self.issues = issues + self.testResults = testResults } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.buildRun = try values.decodeIfPresent(BuildRun.self, forKey: "buildRun") + self.artifacts = try values.decodeIfPresent(Artifacts.self, forKey: "artifacts") + self.issues = try values.decodeIfPresent(Issues.self, forKey: "issues") + self.testResults = try values.decodeIfPresent(TestResults.self, forKey: "testResults") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(buildRun, forKey: "buildRun") + try values.encodeIfPresent(artifacts, forKey: "artifacts") + try values.encodeIfPresent(issues, forKey: "issues") + try values.encodeIfPresent(testResults, forKey: "testResults") } } diff --git a/Sources/OpenAPI/Generated/Entities/CiBuildRun.swift b/Sources/OpenAPI/Generated/Entities/CiBuildRun.swift index 044af748..aa6cf808 100644 --- a/Sources/OpenAPI/Generated/Entities/CiBuildRun.swift +++ b/Sources/OpenAPI/Generated/Entities/CiBuildRun.swift @@ -164,35 +164,14 @@ public struct CiBuildRun: Codable, Identifiable { public var product: Product? public var sourceBranchOrTag: SourceBranchOrTag? public var destinationBranch: DestinationBranch? + public var actions: Actions? public var pullRequest: PullRequest? public struct Builds: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -219,7 +198,7 @@ public struct CiBuildRun: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -227,7 +206,7 @@ public struct CiBuildRun: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -241,31 +220,8 @@ public struct CiBuildRun: Codable, Identifiable { } public struct Workflow: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -292,50 +248,24 @@ public struct CiBuildRun: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Product: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -362,50 +292,24 @@ public struct CiBuildRun: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 SourceBranchOrTag: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -432,50 +336,24 @@ public struct CiBuildRun: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 DestinationBranch: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -502,49 +380,41 @@ public struct CiBuildRun: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 PullRequest: Codable { - public var links: Links? - public var data: Data? - - public struct Links: Codable { - public var this: String? - public var related: String? + public struct Actions: Codable { + public var links: RelationshipLinks? - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } + public init(links: RelationshipLinks? = nil) { + self.links = links + } - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } + 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(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") } + } + + public struct PullRequest: Codable { + public var data: Data? public struct Data: Codable, Identifiable { public var type: `Type` @@ -572,30 +442,28 @@ public struct CiBuildRun: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 init(builds: Builds? = nil, workflow: Workflow? = nil, product: Product? = nil, sourceBranchOrTag: SourceBranchOrTag? = nil, destinationBranch: DestinationBranch? = nil, pullRequest: PullRequest? = nil) { + public init(builds: Builds? = nil, workflow: Workflow? = nil, product: Product? = nil, sourceBranchOrTag: SourceBranchOrTag? = nil, destinationBranch: DestinationBranch? = nil, actions: Actions? = nil, pullRequest: PullRequest? = nil) { self.builds = builds self.workflow = workflow self.product = product self.sourceBranchOrTag = sourceBranchOrTag self.destinationBranch = destinationBranch + self.actions = actions self.pullRequest = pullRequest } @@ -606,6 +474,7 @@ public struct CiBuildRun: Codable, Identifiable { self.product = try values.decodeIfPresent(Product.self, forKey: "product") self.sourceBranchOrTag = try values.decodeIfPresent(SourceBranchOrTag.self, forKey: "sourceBranchOrTag") self.destinationBranch = try values.decodeIfPresent(DestinationBranch.self, forKey: "destinationBranch") + self.actions = try values.decodeIfPresent(Actions.self, forKey: "actions") self.pullRequest = try values.decodeIfPresent(PullRequest.self, forKey: "pullRequest") } @@ -616,6 +485,7 @@ public struct CiBuildRun: Codable, Identifiable { try values.encodeIfPresent(product, forKey: "product") try values.encodeIfPresent(sourceBranchOrTag, forKey: "sourceBranchOrTag") try values.encodeIfPresent(destinationBranch, forKey: "destinationBranch") + try values.encodeIfPresent(actions, forKey: "actions") try values.encodeIfPresent(pullRequest, forKey: "pullRequest") } } diff --git a/Sources/OpenAPI/Generated/Entities/CiMacOsVersion.swift b/Sources/OpenAPI/Generated/Entities/CiMacOsVersion.swift index e561c1bf..dc7ea69e 100644 --- a/Sources/OpenAPI/Generated/Entities/CiMacOsVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/CiMacOsVersion.swift @@ -40,32 +40,10 @@ public struct CiMacOsVersion: Codable, Identifiable { public var xcodeVersions: XcodeVersions? public struct XcodeVersions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -92,7 +70,7 @@ public struct CiMacOsVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -100,7 +78,7 @@ public struct CiMacOsVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/CiProduct.swift b/Sources/OpenAPI/Generated/Entities/CiProduct.swift index 98a83c61..b2b503fa 100644 --- a/Sources/OpenAPI/Generated/Entities/CiProduct.swift +++ b/Sources/OpenAPI/Generated/Entities/CiProduct.swift @@ -48,34 +48,15 @@ public struct CiProduct: Codable, Identifiable { public struct Relationships: Codable { public var app: App? public var bundleID: BundleID? + public var workflows: Workflows? public var primaryRepositories: PrimaryRepositories? + public var additionalRepositories: AdditionalRepositories? + public var buildRuns: BuildRuns? public struct App: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -102,14 +83,14 @@ public struct CiProduct: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -121,31 +102,8 @@ public struct CiProduct: Codable, Identifiable { } public struct BundleID: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -172,50 +130,43 @@ public struct CiProduct: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 PrimaryRepositories: Codable { - public var links: Links? - public var meta: PagingInformation? - public var data: [Datum]? - - public struct Links: Codable { - public var this: String? - public var related: String? + public struct Workflows: Codable { + public var links: RelationshipLinks? - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } + public init(links: RelationshipLinks? = nil) { + self.links = links + } - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } + 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(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") } + } + + public struct PrimaryRepositories: Codable { + public var links: RelationshipLinks? + public var meta: PagingInformation? + public var data: [Datum]? public struct Datum: Codable, Identifiable { public var type: `Type` @@ -243,7 +194,7 @@ public struct CiProduct: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -251,7 +202,7 @@ public struct CiProduct: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -264,24 +215,69 @@ public struct CiProduct: Codable, Identifiable { } } - public init(app: App? = nil, bundleID: BundleID? = nil, primaryRepositories: PrimaryRepositories? = nil) { + public struct AdditionalRepositories: 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 BuildRuns: 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(app: App? = nil, bundleID: BundleID? = nil, workflows: Workflows? = nil, primaryRepositories: PrimaryRepositories? = nil, additionalRepositories: AdditionalRepositories? = nil, buildRuns: BuildRuns? = nil) { self.app = app self.bundleID = bundleID + self.workflows = workflows self.primaryRepositories = primaryRepositories + self.additionalRepositories = additionalRepositories + self.buildRuns = buildRuns } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.app = try values.decodeIfPresent(App.self, forKey: "app") self.bundleID = try values.decodeIfPresent(BundleID.self, forKey: "bundleId") + self.workflows = try values.decodeIfPresent(Workflows.self, forKey: "workflows") self.primaryRepositories = try values.decodeIfPresent(PrimaryRepositories.self, forKey: "primaryRepositories") + self.additionalRepositories = try values.decodeIfPresent(AdditionalRepositories.self, forKey: "additionalRepositories") + self.buildRuns = try values.decodeIfPresent(BuildRuns.self, forKey: "buildRuns") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(app, forKey: "app") try values.encodeIfPresent(bundleID, forKey: "bundleId") + try values.encodeIfPresent(workflows, forKey: "workflows") try values.encodeIfPresent(primaryRepositories, forKey: "primaryRepositories") + try values.encodeIfPresent(additionalRepositories, forKey: "additionalRepositories") + try values.encodeIfPresent(buildRuns, forKey: "buildRuns") } } diff --git a/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift b/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift index c12d7a03..5088984c 100644 --- a/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift +++ b/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift @@ -93,33 +93,11 @@ public struct CiWorkflow: Codable, Identifiable { public var repository: Repository? public var xcodeVersion: XcodeVersion? public var macOsVersion: MacOsVersion? + public var buildRuns: BuildRuns? public struct Product: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -146,50 +124,25 @@ public struct CiWorkflow: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Repository: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -216,14 +169,14 @@ public struct CiWorkflow: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -235,31 +188,8 @@ public struct CiWorkflow: Codable, Identifiable { } public struct XcodeVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -286,50 +216,24 @@ public struct CiWorkflow: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 MacOsVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -356,29 +260,45 @@ public struct CiWorkflow: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 init(product: Product? = nil, repository: Repository? = nil, xcodeVersion: XcodeVersion? = nil, macOsVersion: MacOsVersion? = nil) { + public struct BuildRuns: 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(product: Product? = nil, repository: Repository? = nil, xcodeVersion: XcodeVersion? = nil, macOsVersion: MacOsVersion? = nil, buildRuns: BuildRuns? = nil) { self.product = product self.repository = repository self.xcodeVersion = xcodeVersion self.macOsVersion = macOsVersion + self.buildRuns = buildRuns } public init(from decoder: Decoder) throws { @@ -387,6 +307,7 @@ public struct CiWorkflow: Codable, Identifiable { self.repository = try values.decodeIfPresent(Repository.self, forKey: "repository") self.xcodeVersion = try values.decodeIfPresent(XcodeVersion.self, forKey: "xcodeVersion") self.macOsVersion = try values.decodeIfPresent(MacOsVersion.self, forKey: "macOsVersion") + self.buildRuns = try values.decodeIfPresent(BuildRuns.self, forKey: "buildRuns") } public func encode(to encoder: Encoder) throws { @@ -395,6 +316,7 @@ public struct CiWorkflow: Codable, Identifiable { try values.encodeIfPresent(repository, forKey: "repository") try values.encodeIfPresent(xcodeVersion, forKey: "xcodeVersion") try values.encodeIfPresent(macOsVersion, forKey: "macOsVersion") + try values.encodeIfPresent(buildRuns, forKey: "buildRuns") } } diff --git a/Sources/OpenAPI/Generated/Entities/CiXcodeVersion.swift b/Sources/OpenAPI/Generated/Entities/CiXcodeVersion.swift index 68dc33ca..7c9efe7f 100644 --- a/Sources/OpenAPI/Generated/Entities/CiXcodeVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/CiXcodeVersion.swift @@ -96,32 +96,10 @@ public struct CiXcodeVersion: Codable, Identifiable { public var macOsVersions: MacOsVersions? public struct MacOsVersions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -148,7 +126,7 @@ public struct CiXcodeVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -156,7 +134,7 @@ public struct CiXcodeVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/CustomerReview.swift b/Sources/OpenAPI/Generated/Entities/CustomerReview.swift index eed899bd..85ea7dff 100644 --- a/Sources/OpenAPI/Generated/Entities/CustomerReview.swift +++ b/Sources/OpenAPI/Generated/Entities/CustomerReview.swift @@ -56,31 +56,9 @@ public struct CustomerReview: Codable, Identifiable { public var response: Response? public struct Response: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -107,14 +85,14 @@ public struct CustomerReview: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1.swift b/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1.swift index b0d20c4a..1f9fff43 100644 --- a/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1.swift +++ b/Sources/OpenAPI/Generated/Entities/CustomerReviewResponseV1.swift @@ -49,31 +49,8 @@ public struct CustomerReviewResponseV1: Codable, Identifiable { public var review: Review? public struct Review: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -100,20 +77,17 @@ public struct CustomerReviewResponseV1: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/DiagnosticSignature.swift b/Sources/OpenAPI/Generated/Entities/DiagnosticSignature.swift index 22916ee4..210ed152 100644 --- a/Sources/OpenAPI/Generated/Entities/DiagnosticSignature.swift +++ b/Sources/OpenAPI/Generated/Entities/DiagnosticSignature.swift @@ -7,6 +7,7 @@ public struct DiagnosticSignature: 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 { @@ -49,10 +50,47 @@ public struct DiagnosticSignature: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + public struct Relationships: Codable { + public var logs: Logs? + + public struct Logs: 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(logs: Logs? = nil) { + self.logs = logs + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.logs = try values.decodeIfPresent(Logs.self, forKey: "logs") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(logs, forKey: "logs") + } + } + + 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 } @@ -61,6 +99,7 @@ public struct DiagnosticSignature: Codable, Identifiable { 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") } @@ -69,6 +108,7 @@ public struct DiagnosticSignature: Codable, Identifiable { 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/EndUserLicenseAgreement.swift b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreement.swift index 55751fad..28ce1048 100644 --- a/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreement.swift +++ b/Sources/OpenAPI/Generated/Entities/EndUserLicenseAgreement.swift @@ -37,31 +37,8 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { public var territories: Territories? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -88,51 +65,26 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Territories: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -159,7 +111,7 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -167,7 +119,7 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift index 85fd2612..16296338 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievement.swift @@ -60,31 +60,8 @@ public struct GameCenterAchievement: Codable, Identifiable { public var releases: Releases? public struct GameCenterDetail: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -111,50 +88,24 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GameCenterGroup: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -181,50 +132,25 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GroupAchievement: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -251,14 +177,14 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -270,32 +196,10 @@ public struct GameCenterAchievement: Codable, Identifiable { } public struct Localizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -322,7 +226,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -330,7 +234,7 @@ public struct GameCenterAchievement: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -344,32 +248,10 @@ public struct GameCenterAchievement: Codable, Identifiable { } public struct Releases: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -396,7 +278,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -404,7 +286,7 @@ public struct GameCenterAchievement: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImage.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImage.swift index 492e368d..b950be13 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImage.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementImage.swift @@ -52,31 +52,8 @@ public struct GameCenterAchievementImage: Codable, Identifiable { public var gameCenterAchievementLocalization: GameCenterAchievementLocalization? public struct GameCenterAchievementLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -103,20 +80,17 @@ public struct GameCenterAchievementImage: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalization.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalization.swift index 80e6a9ef..87486f4a 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementLocalization.swift @@ -49,31 +49,9 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { public var gameCenterAchievementImage: GameCenterAchievementImage? public struct GameCenterAchievement: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -100,14 +78,14 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -119,31 +97,9 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { } public struct GameCenterAchievementImage: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -170,14 +126,14 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementRelease.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementRelease.swift index e97743a3..766e24c5 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAchievementRelease.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAchievementRelease.swift @@ -37,31 +37,8 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { public var gameCenterAchievement: GameCenterAchievement? public struct GameCenterDetail: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -88,50 +65,24 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GameCenterAchievement: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -158,20 +109,17 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersion.swift b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersion.swift index 094952f7..4ec22c5a 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterAppVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterAppVersion.swift @@ -37,32 +37,10 @@ public struct GameCenterAppVersion: Codable, Identifiable { public var appStoreVersion: AppStoreVersion? public struct CompatibilityVersions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -89,7 +67,7 @@ public struct GameCenterAppVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -97,7 +75,7 @@ public struct GameCenterAppVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -111,31 +89,9 @@ public struct GameCenterAppVersion: Codable, Identifiable { } public struct AppStoreVersion: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -162,14 +118,14 @@ public struct GameCenterAppVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterDetail.swift b/Sources/OpenAPI/Generated/Entities/GameCenterDetail.swift index 1c572cdd..38164b94 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterDetail.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterDetail.swift @@ -50,31 +50,8 @@ public struct GameCenterDetail: Codable, Identifiable { public var leaderboardSetReleases: LeaderboardSetReleases? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -101,51 +78,26 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GameCenterAppVersions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -172,7 +124,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -180,7 +132,7 @@ public struct GameCenterDetail: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -194,31 +146,9 @@ public struct GameCenterDetail: Codable, Identifiable { } public struct GameCenterGroup: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -245,14 +175,14 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -264,32 +194,10 @@ public struct GameCenterDetail: Codable, Identifiable { } public struct GameCenterLeaderboards: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -316,7 +224,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -324,7 +232,7 @@ public struct GameCenterDetail: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -338,32 +246,10 @@ public struct GameCenterDetail: Codable, Identifiable { } public struct GameCenterLeaderboardSets: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -390,7 +276,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -398,7 +284,7 @@ public struct GameCenterDetail: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -412,32 +298,10 @@ public struct GameCenterDetail: Codable, Identifiable { } public struct GameCenterAchievements: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -464,7 +328,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -472,7 +336,7 @@ public struct GameCenterDetail: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -486,31 +350,8 @@ public struct GameCenterDetail: Codable, Identifiable { } public struct DefaultLeaderboard: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -537,50 +378,24 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 DefaultGroupLeaderboard: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -607,51 +422,26 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AchievementReleases: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -678,7 +468,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -686,7 +476,7 @@ public struct GameCenterDetail: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -700,32 +490,10 @@ public struct GameCenterDetail: Codable, Identifiable { } public struct LeaderboardReleases: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -752,7 +520,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -760,7 +528,7 @@ public struct GameCenterDetail: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -774,32 +542,10 @@ public struct GameCenterDetail: Codable, Identifiable { } public struct LeaderboardSetReleases: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -826,7 +572,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -834,7 +580,7 @@ public struct GameCenterDetail: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersion.swift b/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersion.swift index 24c79c6b..7dd30ad2 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterEnabledVersion.swift @@ -46,32 +46,10 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { public var app: App? public struct CompatibleVersions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -98,7 +76,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -106,7 +84,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -120,31 +98,8 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { } public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -171,20 +126,17 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterGroup.swift b/Sources/OpenAPI/Generated/Entities/GameCenterGroup.swift index bef9023b..95e19151 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterGroup.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterGroup.swift @@ -39,32 +39,10 @@ public struct GameCenterGroup: Codable, Identifiable { public var gameCenterAchievements: GameCenterAchievements? public struct GameCenterDetails: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -91,7 +69,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -99,7 +77,7 @@ public struct GameCenterGroup: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -113,32 +91,10 @@ public struct GameCenterGroup: Codable, Identifiable { } public struct GameCenterLeaderboards: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -165,7 +121,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -173,7 +129,7 @@ public struct GameCenterGroup: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -187,32 +143,10 @@ public struct GameCenterGroup: Codable, Identifiable { } public struct GameCenterLeaderboardSets: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -239,7 +173,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -247,7 +181,7 @@ public struct GameCenterGroup: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -261,32 +195,10 @@ public struct GameCenterGroup: Codable, Identifiable { } public struct GameCenterAchievements: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -313,7 +225,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -321,7 +233,7 @@ public struct GameCenterGroup: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift index 614db62e..0f87ecab 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboard.swift @@ -91,31 +91,8 @@ public struct GameCenterLeaderboard: Codable, Identifiable { public var releases: Releases? public struct GameCenterDetail: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -142,50 +119,24 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GameCenterGroup: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -212,50 +163,25 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GroupLeaderboard: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -282,14 +208,14 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -301,32 +227,9 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } public struct GameCenterLeaderboardSets: Codable { - public var links: Links? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -353,54 +256,29 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { - self.links = links + public init(meta: PagingInformation? = nil, data: [Datum]? = nil) { 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(Links.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 struct Localizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -427,7 +305,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -435,7 +313,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -449,32 +327,10 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } public struct Releases: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -501,7 +357,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -509,7 +365,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImage.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImage.swift index b4884ddc..e77e5014 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImage.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardImage.swift @@ -52,31 +52,8 @@ public struct GameCenterLeaderboardImage: Codable, Identifiable { public var gameCenterLeaderboardLocalization: GameCenterLeaderboardLocalization? public struct GameCenterLeaderboardLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -103,20 +80,17 @@ public struct GameCenterLeaderboardImage: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalization.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalization.swift index 210cc895..b2a91697 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardLocalization.swift @@ -53,31 +53,8 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { public var gameCenterLeaderboardImage: GameCenterLeaderboardImage? public struct GameCenterLeaderboard: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -104,50 +81,25 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GameCenterLeaderboardImage: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -174,14 +126,14 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardRelease.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardRelease.swift index 39b0cc1a..3e116607 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardRelease.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardRelease.swift @@ -37,31 +37,8 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { public var gameCenterLeaderboard: GameCenterLeaderboard? public struct GameCenterDetail: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -88,50 +65,24 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GameCenterLeaderboard: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -158,20 +109,17 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift index 398e62a7..5ab3789d 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSet.swift @@ -45,31 +45,8 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { public var releases: Releases? public struct GameCenterDetail: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -96,50 +73,24 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GameCenterGroup: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -166,50 +117,25 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GroupLeaderboardSet: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -236,14 +162,14 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -255,32 +181,10 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } public struct Localizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -307,7 +211,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -315,7 +219,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -329,32 +233,10 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } public struct GameCenterLeaderboards: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -381,7 +263,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -389,7 +271,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -403,32 +285,10 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } public struct Releases: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -455,7 +315,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -463,7 +323,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImage.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImage.swift index fca6ddb3..7f0f58af 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImage.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetImage.swift @@ -52,31 +52,8 @@ public struct GameCenterLeaderboardSetImage: Codable, Identifiable { public var gameCenterLeaderboardSetLocalization: GameCenterLeaderboardSetLocalization? public struct GameCenterLeaderboardSetLocalization: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -103,20 +80,17 @@ public struct GameCenterLeaderboardSetImage: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalization.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalization.swift index 52f354d9..d441c1e2 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetLocalization.swift @@ -41,31 +41,8 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { public var gameCenterLeaderboardSetImage: GameCenterLeaderboardSetImage? public struct GameCenterLeaderboardSet: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -92,50 +69,25 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GameCenterLeaderboardSetImage: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -162,14 +114,14 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalization.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalization.swift index 8ec4c132..d36728b9 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetMemberLocalization.swift @@ -41,31 +41,9 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable public var gameCenterLeaderboard: GameCenterLeaderboard? public struct GameCenterLeaderboardSet: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -92,14 +70,14 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -111,31 +89,9 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable } public struct GameCenterLeaderboard: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -162,14 +118,14 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetRelease.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetRelease.swift index 5a908218..d80dfe31 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetRelease.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardSetRelease.swift @@ -37,31 +37,8 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { public var gameCenterLeaderboardSet: GameCenterLeaderboardSet? public struct GameCenterDetail: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -88,50 +65,24 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 GameCenterLeaderboardSet: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -158,20 +109,17 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingAppRequestsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingAppRequestsV1MetricResponse.swift index 77261b2c..fd94a9c3 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingAppRequestsV1MetricResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingAppRequestsV1MetricResponse.swift @@ -74,6 +74,7 @@ public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable { public struct Result: Codable { public var links: Links? + public var data: Data? public struct Links: Codable { public var groupBy: String? @@ -93,18 +94,27 @@ public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable { } } - public init(links: Links? = nil) { + public enum Data: String, Codable, CaseIterable { + case matched = "MATCHED" + case canceled = "CANCELED" + case expired = "EXPIRED" + } + + public init(links: Links? = 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(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift index 7e2ef4ea..d4e64ad7 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift @@ -63,6 +63,7 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable { public struct Result: Codable { public var links: Links? + public var data: String? public struct Links: Codable { public var groupBy: String? @@ -82,23 +83,27 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable { } } - public init(links: Links? = nil) { + public init(links: Links? = nil, data: String? = 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(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(String.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 GameCenterMatchmakingQueue: Codable { public var links: Links? + public var data: String? public struct Links: Codable { public var groupBy: String? @@ -122,18 +127,21 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable { } } - public init(links: Links? = nil) { + public init(links: Links? = nil, data: String? = 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(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(String.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift index cc9be188..dcc5ad44 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift @@ -74,6 +74,7 @@ public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable { public struct GameCenterMatchmakingQueue: Codable { public var links: Links? + public var data: String? public struct Links: Codable { public var groupBy: String? @@ -97,18 +98,21 @@ public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable { } } - public init(links: Links? = nil) { + public init(links: Links? = nil, data: String? = 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(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(String.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift index ac3cb3f3..e5d26950 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift @@ -41,31 +41,8 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { public var experimentRuleSet: ExperimentRuleSet? public struct RuleSet: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -92,50 +69,24 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 ExperimentRuleSet: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -162,20 +113,17 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift index a4f2bc09..9124a2b1 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift @@ -75,6 +75,7 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable { public struct Result: Codable { public var links: Links? + public var data: Data? public struct Links: Codable { public var groupBy: String? @@ -94,23 +95,33 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable { } } - public init(links: Links? = nil) { + public enum Data: String, Codable, CaseIterable { + case matched = "MATCHED" + case canceled = "CANCELED" + case expired = "EXPIRED" + } + + public init(links: Links? = 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(Links.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 GameCenterDetail: Codable { public var links: Links? + public var data: String? public struct Links: Codable { public var groupBy: String? @@ -134,18 +145,21 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable { } } - public init(links: Links? = nil) { + public init(links: Links? = nil, data: String? = 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(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(String.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift index 93626bd0..2e714993 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift @@ -62,6 +62,7 @@ public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable { public struct GameCenterMatchmakingQueue: Codable { public var links: Links? + public var data: String? public struct Links: Codable { public var groupBy: String? @@ -85,18 +86,21 @@ public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable { } } - public init(links: Links? = nil) { + public init(links: Links? = nil, data: String? = 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(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(String.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSet.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSet.swift index aff365bb..2aa388e4 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSet.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingRuleSet.swift @@ -50,32 +50,10 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { public var matchmakingQueues: MatchmakingQueues? public struct Teams: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -102,7 +80,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -110,7 +88,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -124,32 +102,10 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { } public struct Rules: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -176,7 +132,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -184,7 +140,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -198,32 +154,10 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { } public struct MatchmakingQueues: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -250,7 +184,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -258,7 +192,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchase.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchase.swift index 8fc82e37..a8e1909e 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchase.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchase.swift @@ -79,32 +79,9 @@ public struct InAppPurchase: Codable, Identifiable { public var apps: Apps? public struct Apps: Codable { - public var links: Links? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -131,22 +108,19 @@ public struct InAppPurchase: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { - self.links = links + public init(meta: PagingInformation? = nil, data: [Datum]? = nil) { 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(Links.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") } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshot.swift index 8c411304..4e5f45a0 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAppStoreReviewScreenshot.swift @@ -64,31 +64,8 @@ public struct InAppPurchaseAppStoreReviewScreenshot: Codable, Identifiable { public var inAppPurchaseV2: InAppPurchaseV2? public struct InAppPurchaseV2: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -115,20 +92,17 @@ public struct InAppPurchaseAppStoreReviewScreenshot: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailability.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailability.swift index f9067119..82880d21 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailability.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseAvailability.swift @@ -36,32 +36,10 @@ public struct InAppPurchaseAvailability: Codable, Identifiable { public var availableTerritories: AvailableTerritories? public struct AvailableTerritories: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -88,7 +66,7 @@ public struct InAppPurchaseAvailability: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -96,7 +74,7 @@ public struct InAppPurchaseAvailability: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseContent.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseContent.swift index 22974cbf..27c7edf2 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseContent.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseContent.swift @@ -48,31 +48,8 @@ public struct InAppPurchaseContent: Codable, Identifiable { public var inAppPurchaseV2: InAppPurchaseV2? public struct InAppPurchaseV2: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -99,20 +76,17 @@ public struct InAppPurchaseContent: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseImage.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseImage.swift new file mode 100644 index 00000000..edac0f6b --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseImage.swift @@ -0,0 +1,156 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct InAppPurchaseImage: 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 inAppPurchaseImages + } + + public struct Attributes: Codable { + public var fileSize: Int? + public var fileName: String? + public var sourceFileChecksum: String? + public var assetToken: String? + public var imageAsset: ImageAsset? + public var uploadOperations: [UploadOperation]? + public var state: State? + + public enum State: String, Codable, CaseIterable { + case awaitingUpload = "AWAITING_UPLOAD" + case uploadComplete = "UPLOAD_COMPLETE" + case failed = "FAILED" + case prepareForSubmission = "PREPARE_FOR_SUBMISSION" + case waitingForReview = "WAITING_FOR_REVIEW" + case approved = "APPROVED" + case rejected = "REJECTED" + } + + public init(fileSize: Int? = nil, fileName: String? = nil, sourceFileChecksum: String? = nil, assetToken: String? = nil, imageAsset: ImageAsset? = nil, uploadOperations: [UploadOperation]? = nil, state: State? = nil) { + self.fileSize = fileSize + self.fileName = fileName + self.sourceFileChecksum = sourceFileChecksum + self.assetToken = assetToken + self.imageAsset = imageAsset + self.uploadOperations = uploadOperations + self.state = state + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.fileSize = try values.decodeIfPresent(Int.self, forKey: "fileSize") + self.fileName = try values.decodeIfPresent(String.self, forKey: "fileName") + self.sourceFileChecksum = try values.decodeIfPresent(String.self, forKey: "sourceFileChecksum") + self.assetToken = try values.decodeIfPresent(String.self, forKey: "assetToken") + self.imageAsset = try values.decodeIfPresent(ImageAsset.self, forKey: "imageAsset") + self.uploadOperations = try values.decodeIfPresent([UploadOperation].self, forKey: "uploadOperations") + 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(fileSize, forKey: "fileSize") + try values.encodeIfPresent(fileName, forKey: "fileName") + try values.encodeIfPresent(sourceFileChecksum, forKey: "sourceFileChecksum") + try values.encodeIfPresent(assetToken, forKey: "assetToken") + try values.encodeIfPresent(imageAsset, forKey: "imageAsset") + try values.encodeIfPresent(uploadOperations, forKey: "uploadOperations") + try values.encodeIfPresent(state, forKey: "state") + } + } + + public struct Relationships: Codable { + public var inAppPurchase: InAppPurchase? + + 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 init(inAppPurchase: InAppPurchase? = nil) { + self.inAppPurchase = inAppPurchase + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.inAppPurchase = try values.decodeIfPresent(InAppPurchase.self, forKey: "inAppPurchase") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(inAppPurchase, forKey: "inAppPurchase") + } + } + + 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/InAppPurchaseImageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseImageCreateRequest.swift new file mode 100644 index 00000000..a91327d2 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseImageCreateRequest.swift @@ -0,0 +1,136 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct InAppPurchaseImageCreateRequest: 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 inAppPurchaseImages + } + + public struct Attributes: Codable { + public var fileSize: Int + public var fileName: String + + public init(fileSize: Int, fileName: String) { + self.fileSize = fileSize + self.fileName = fileName + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.fileSize = try values.decode(Int.self, forKey: "fileSize") + self.fileName = try values.decode(String.self, forKey: "fileName") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(fileSize, forKey: "fileSize") + try values.encode(fileName, forKey: "fileName") + } + } + + public struct Relationships: Codable { + public var inAppPurchase: InAppPurchase + + 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) { + 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(inAppPurchase: InAppPurchase) { + self.inAppPurchase = inAppPurchase + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.inAppPurchase = try values.decode(InAppPurchase.self, forKey: "inAppPurchase") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(inAppPurchase, forKey: "inAppPurchase") + } + } + + 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/InAppPurchaseImageResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseImageResponse.swift new file mode 100644 index 00000000..51022925 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseImageResponse.swift @@ -0,0 +1,31 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct InAppPurchaseImageResponse: Codable { + /// InAppPurchaseImage + public var data: InAppPurchaseImage + public var included: [InAppPurchaseV2]? + public var links: DocumentLinks + + public init(data: InAppPurchaseImage, included: [InAppPurchaseV2]? = 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(InAppPurchaseImage.self, forKey: "data") + self.included = try values.decodeIfPresent([InAppPurchaseV2].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/InAppPurchaseImageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseImageUpdateRequest.swift new file mode 100644 index 00000000..2a2809ee --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseImageUpdateRequest.swift @@ -0,0 +1,74 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct InAppPurchaseImageUpdateRequest: 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 inAppPurchaseImages + } + + public struct Attributes: Codable { + public var sourceFileChecksum: String? + public var isUploaded: Bool? + + public init(sourceFileChecksum: String? = nil, isUploaded: Bool? = nil) { + self.sourceFileChecksum = sourceFileChecksum + self.isUploaded = isUploaded + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.sourceFileChecksum = try values.decodeIfPresent(String.self, forKey: "sourceFileChecksum") + self.isUploaded = try values.decodeIfPresent(Bool.self, forKey: "uploaded") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(sourceFileChecksum, forKey: "sourceFileChecksum") + try values.encodeIfPresent(isUploaded, forKey: "uploaded") + } + } + + 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/InAppPurchaseImagesResponse.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseImagesResponse.swift new file mode 100644 index 00000000..14c36869 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseImagesResponse.swift @@ -0,0 +1,34 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct InAppPurchaseImagesResponse: Codable { + public var data: [InAppPurchaseImage] + public var included: [InAppPurchaseV2]? + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public init(data: [InAppPurchaseImage], included: [InAppPurchaseV2]? = nil, links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.included = included + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([InAppPurchaseImage].self, forKey: "data") + self.included = try values.decodeIfPresent([InAppPurchaseV2].self, forKey: "included") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + 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") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalization.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalization.swift index 868b5b42..c4b26cf0 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseLocalization.swift @@ -55,31 +55,8 @@ public struct InAppPurchaseLocalization: Codable, Identifiable { public var inAppPurchaseV2: InAppPurchaseV2? public struct InAppPurchaseV2: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -106,20 +83,17 @@ public struct InAppPurchaseLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePrice.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePrice.swift index 13a81f6b..33cd3670 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePrice.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePrice.swift @@ -45,31 +45,8 @@ public struct InAppPurchasePrice: Codable, Identifiable { public var territory: Territory? public struct InAppPurchasePricePoint: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -96,50 +73,24 @@ public struct InAppPurchasePrice: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Territory: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -166,20 +117,17 @@ public struct InAppPurchasePrice: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift index e867d326..2e9113cd 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePricePoint.swift @@ -40,31 +40,8 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { public var territory: Territory? public struct Territory: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -91,20 +68,17 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift index ea8b6cde..f8eaa67e 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceSchedule.swift @@ -20,31 +20,8 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { public var automaticPrices: AutomaticPrices? public struct InAppPurchase: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -71,50 +48,25 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 BaseTerritory: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -141,14 +93,14 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -160,32 +112,10 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } public struct ManualPrices: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -212,7 +142,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -220,7 +150,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -234,32 +164,10 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } public struct AutomaticPrices: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -286,7 +194,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -294,7 +202,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmission.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmission.swift index d7b6c270..912ee50a 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseSubmission.swift @@ -17,31 +17,8 @@ public struct InAppPurchaseSubmission: Codable, Identifiable { public var inAppPurchaseV2: InAppPurchaseV2? public struct InAppPurchaseV2: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -68,20 +45,17 @@ public struct InAppPurchaseSubmission: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift index 91bc7658..1ca0bacf 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift @@ -64,34 +64,13 @@ public struct InAppPurchaseV2: Codable, Identifiable { public var promotedPurchase: PromotedPurchase? public var iapPriceSchedule: IapPriceSchedule? public var inAppPurchaseAvailability: InAppPurchaseAvailability? + public var images: Images? public struct InAppPurchaseLocalizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -118,7 +97,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -126,7 +105,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -140,32 +119,10 @@ public struct InAppPurchaseV2: Codable, Identifiable { } public struct PricePoints: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -192,7 +149,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -200,7 +157,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -214,31 +171,9 @@ public struct InAppPurchaseV2: Codable, Identifiable { } public struct Content: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -265,14 +200,14 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -284,31 +219,9 @@ public struct InAppPurchaseV2: Codable, Identifiable { } public struct AppStoreReviewScreenshot: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -335,14 +248,14 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -354,31 +267,9 @@ public struct InAppPurchaseV2: Codable, Identifiable { } public struct PromotedPurchase: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -405,14 +296,14 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -424,31 +315,9 @@ public struct InAppPurchaseV2: Codable, Identifiable { } public struct IapPriceSchedule: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -475,14 +344,14 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -494,37 +363,64 @@ public struct InAppPurchaseV2: Codable, Identifiable { } public struct InAppPurchaseAvailability: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case inAppPurchaseAvailabilities + } - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related + 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.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") + 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.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") } } - public struct Data: Codable, Identifiable { + 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 Images: 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 inAppPurchaseAvailabilities + case inAppPurchaseImages } public init(type: `Type`, id: String) { @@ -545,25 +441,28 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") - self.data = try values.decodeIfPresent(Data.self, forKey: "data") + 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(inAppPurchaseLocalizations: InAppPurchaseLocalizations? = nil, pricePoints: PricePoints? = nil, content: Content? = nil, appStoreReviewScreenshot: AppStoreReviewScreenshot? = nil, promotedPurchase: PromotedPurchase? = nil, iapPriceSchedule: IapPriceSchedule? = nil, inAppPurchaseAvailability: InAppPurchaseAvailability? = nil) { + public init(inAppPurchaseLocalizations: InAppPurchaseLocalizations? = nil, pricePoints: PricePoints? = nil, content: Content? = nil, appStoreReviewScreenshot: AppStoreReviewScreenshot? = nil, promotedPurchase: PromotedPurchase? = nil, iapPriceSchedule: IapPriceSchedule? = nil, inAppPurchaseAvailability: InAppPurchaseAvailability? = nil, images: Images? = nil) { self.inAppPurchaseLocalizations = inAppPurchaseLocalizations self.pricePoints = pricePoints self.content = content @@ -571,6 +470,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { self.promotedPurchase = promotedPurchase self.iapPriceSchedule = iapPriceSchedule self.inAppPurchaseAvailability = inAppPurchaseAvailability + self.images = images } public init(from decoder: Decoder) throws { @@ -582,6 +482,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { self.promotedPurchase = try values.decodeIfPresent(PromotedPurchase.self, forKey: "promotedPurchase") self.iapPriceSchedule = try values.decodeIfPresent(IapPriceSchedule.self, forKey: "iapPriceSchedule") self.inAppPurchaseAvailability = try values.decodeIfPresent(InAppPurchaseAvailability.self, forKey: "inAppPurchaseAvailability") + self.images = try values.decodeIfPresent(Images.self, forKey: "images") } public func encode(to encoder: Encoder) throws { @@ -593,6 +494,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { try values.encodeIfPresent(promotedPurchase, forKey: "promotedPurchase") try values.encodeIfPresent(iapPriceSchedule, forKey: "iapPriceSchedule") try values.encodeIfPresent(inAppPurchaseAvailability, forKey: "inAppPurchaseAvailability") + try values.encodeIfPresent(images, forKey: "images") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2Response.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2Response.swift index 1d442981..01ba166b 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2Response.swift @@ -17,6 +17,7 @@ public struct InAppPurchaseV2Response: Codable { case promotedPurchase(PromotedPurchase) case inAppPurchasePriceSchedule(InAppPurchasePriceSchedule) case inAppPurchaseAvailability(InAppPurchaseAvailability) + case inAppPurchaseImage(InAppPurchaseImage) public init(from decoder: Decoder) throws { let container = try decoder.singleValueContainer() @@ -34,10 +35,12 @@ public struct InAppPurchaseV2Response: Codable { self = .inAppPurchasePriceSchedule(value) } else if let value = try? container.decode(InAppPurchaseAvailability.self) { self = .inAppPurchaseAvailability(value) + } else if let value = try? container.decode(InAppPurchaseImage.self) { + self = .inAppPurchaseImage(value) } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (InAppPurchaseLocalization, InAppPurchasePricePoint, InAppPurchaseContent, InAppPurchaseAppStoreReviewScreenshot, PromotedPurchase, InAppPurchasePriceSchedule, InAppPurchaseAvailability)." + debugDescription: "Data could not be decoded as any of the expected types (InAppPurchaseLocalization, InAppPurchasePricePoint, InAppPurchaseContent, InAppPurchaseAppStoreReviewScreenshot, PromotedPurchase, InAppPurchasePriceSchedule, InAppPurchaseAvailability, InAppPurchaseImage)." ) } } @@ -52,6 +55,7 @@ public struct InAppPurchaseV2Response: Codable { case .promotedPurchase(let value): try container.encode(value) case .inAppPurchasePriceSchedule(let value): try container.encode(value) case .inAppPurchaseAvailability(let value): try container.encode(value) + case .inAppPurchaseImage(let value): try container.encode(value) } } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasesV2Response.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasesV2Response.swift index 9cb5c719..6973048a 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasesV2Response.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasesV2Response.swift @@ -17,6 +17,7 @@ public struct InAppPurchasesV2Response: Codable { case promotedPurchase(PromotedPurchase) case inAppPurchasePriceSchedule(InAppPurchasePriceSchedule) case inAppPurchaseAvailability(InAppPurchaseAvailability) + case inAppPurchaseImage(InAppPurchaseImage) public init(from decoder: Decoder) throws { let container = try decoder.singleValueContainer() @@ -34,10 +35,12 @@ public struct InAppPurchasesV2Response: Codable { self = .inAppPurchasePriceSchedule(value) } else if let value = try? container.decode(InAppPurchaseAvailability.self) { self = .inAppPurchaseAvailability(value) + } else if let value = try? container.decode(InAppPurchaseImage.self) { + self = .inAppPurchaseImage(value) } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (InAppPurchaseLocalization, InAppPurchasePricePoint, InAppPurchaseContent, InAppPurchaseAppStoreReviewScreenshot, PromotedPurchase, InAppPurchasePriceSchedule, InAppPurchaseAvailability)." + debugDescription: "Data could not be decoded as any of the expected types (InAppPurchaseLocalization, InAppPurchasePricePoint, InAppPurchaseContent, InAppPurchaseAppStoreReviewScreenshot, PromotedPurchase, InAppPurchasePriceSchedule, InAppPurchaseAvailability, InAppPurchaseImage)." ) } } @@ -52,6 +55,7 @@ public struct InAppPurchasesV2Response: Codable { case .promotedPurchase(let value): try container.encode(value) case .inAppPurchasePriceSchedule(let value): try container.encode(value) case .inAppPurchaseAvailability(let value): try container.encode(value) + case .inAppPurchaseImage(let value): try container.encode(value) } } } diff --git a/Sources/OpenAPI/Generated/Entities/IntegerRange.swift b/Sources/OpenAPI/Generated/Entities/IntegerRange.swift new file mode 100644 index 00000000..7161bd10 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/IntegerRange.swift @@ -0,0 +1,26 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct IntegerRange: Codable { + public var minimum: Int? + public var maximum: Int? + + public init(minimum: Int? = nil, maximum: Int? = nil) { + self.minimum = minimum + self.maximum = maximum + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.minimum = try values.decodeIfPresent(Int.self, forKey: "minimum") + self.maximum = try values.decodeIfPresent(Int.self, forKey: "maximum") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(minimum, forKey: "minimum") + try values.encodeIfPresent(maximum, forKey: "maximum") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/PrereleaseVersion.swift b/Sources/OpenAPI/Generated/Entities/PrereleaseVersion.swift index b5045020..5cb10e94 100644 --- a/Sources/OpenAPI/Generated/Entities/PrereleaseVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/PrereleaseVersion.swift @@ -41,32 +41,10 @@ public struct PrereleaseVersion: Codable, Identifiable { public var app: App? public struct Builds: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -93,7 +71,7 @@ public struct PrereleaseVersion: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -101,7 +79,7 @@ public struct PrereleaseVersion: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -115,31 +93,9 @@ public struct PrereleaseVersion: Codable, Identifiable { } public struct App: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -166,14 +122,14 @@ public struct PrereleaseVersion: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } diff --git a/Sources/OpenAPI/Generated/Entities/Profile.swift b/Sources/OpenAPI/Generated/Entities/Profile.swift index 6952f124..1163786b 100644 --- a/Sources/OpenAPI/Generated/Entities/Profile.swift +++ b/Sources/OpenAPI/Generated/Entities/Profile.swift @@ -88,31 +88,9 @@ public struct Profile: Codable, Identifiable { public var certificates: Certificates? public struct BundleID: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -139,14 +117,14 @@ public struct Profile: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -158,32 +136,10 @@ public struct Profile: Codable, Identifiable { } public struct Devices: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -210,7 +166,7 @@ public struct Profile: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -218,7 +174,7 @@ public struct Profile: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -232,32 +188,10 @@ public struct Profile: Codable, Identifiable { } public struct Certificates: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -284,7 +218,7 @@ public struct Profile: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -292,7 +226,7 @@ public struct Profile: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchase.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchase.swift index 2ea6d947..dfacfcd0 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchase.swift @@ -50,34 +50,12 @@ public struct PromotedPurchase: Codable, Identifiable { public struct Relationships: Codable { public var inAppPurchaseV2: InAppPurchaseV2? public var subscription: Subscription? + /// - warning: Deprecated. public var promotionImages: PromotionImages? public struct InAppPurchaseV2: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -104,50 +82,24 @@ public struct PromotedPurchase: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Subscription: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -174,51 +126,27 @@ public struct PromotedPurchase: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } + @available(*, deprecated, message: "Deprecated") public struct PromotionImages: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -245,7 +173,7 @@ public struct PromotedPurchase: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -253,7 +181,7 @@ public struct PromotedPurchase: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImage.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImage.swift index c8ccd142..d09252da 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImage.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImage.swift @@ -3,6 +3,7 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct PromotedPurchaseImage: Codable, Identifiable { public var type: `Type` public var id: String @@ -74,31 +75,8 @@ public struct PromotedPurchaseImage: Codable, Identifiable { public var promotedPurchase: PromotedPurchase? public struct PromotedPurchase: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -125,20 +103,17 @@ public struct PromotedPurchaseImage: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageCreateRequest.swift index 04407968..3b91dc5c 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageCreateRequest.swift @@ -3,6 +3,7 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct PromotedPurchaseImageCreateRequest: Codable { public var data: Data diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageResponse.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageResponse.swift index 6e7fd04a..58f09b92 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageResponse.swift @@ -3,8 +3,11 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct PromotedPurchaseImageResponse: Codable { /// PromotedPurchaseImage + /// + /// - warning: Deprecated. public var data: PromotedPurchaseImage public var included: [PromotedPurchase]? public var links: DocumentLinks diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageUpdateRequest.swift index 6a4dedaa..bb5e3a9a 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImageUpdateRequest.swift @@ -3,6 +3,7 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct PromotedPurchaseImageUpdateRequest: Codable { public var data: Data diff --git a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImagesResponse.swift b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImagesResponse.swift index 6a941df9..c804449e 100644 --- a/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImagesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/PromotedPurchaseImagesResponse.swift @@ -3,6 +3,7 @@ import Foundation +@available(*, deprecated, message: "Deprecated") public struct PromotedPurchaseImagesResponse: Codable { public var data: [PromotedPurchaseImage] public var included: [PromotedPurchase]? diff --git a/Sources/OpenAPI/Generated/Entities/RelationshipLinks.swift b/Sources/OpenAPI/Generated/Entities/RelationshipLinks.swift new file mode 100644 index 00000000..49ced9d1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/RelationshipLinks.swift @@ -0,0 +1,26 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct RelationshipLinks: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmission.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmission.swift index c0b5705c..b08bddb6 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmission.swift @@ -58,31 +58,8 @@ public struct ReviewSubmission: Codable, Identifiable { public var lastUpdatedByActor: LastUpdatedByActor? public struct App: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -109,51 +86,26 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Items: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -180,7 +132,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -188,7 +140,7 @@ public struct ReviewSubmission: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -202,31 +154,8 @@ public struct ReviewSubmission: Codable, Identifiable { } public struct AppStoreVersionForReview: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -253,50 +182,24 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 SubmittedByActor: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -323,50 +226,24 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 LastUpdatedByActor: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -393,20 +270,17 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItem.swift b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItem.swift index ce40c4b7..e26ac175 100644 --- a/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItem.swift +++ b/Sources/OpenAPI/Generated/Entities/ReviewSubmissionItem.swift @@ -48,31 +48,8 @@ public struct ReviewSubmissionItem: Codable, Identifiable { public var appEvent: AppEvent? public struct AppStoreVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -99,50 +76,24 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppCustomProductPageVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -169,50 +120,24 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppStoreVersionExperiment: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -239,50 +164,24 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppStoreVersionExperimentV2: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -309,50 +208,24 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AppEvent: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -379,20 +252,17 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverage.swift b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverage.swift index 913eb502..83d96dfe 100644 --- a/Sources/OpenAPI/Generated/Entities/RoutingAppCoverage.swift +++ b/Sources/OpenAPI/Generated/Entities/RoutingAppCoverage.swift @@ -52,31 +52,8 @@ public struct RoutingAppCoverage: Codable, Identifiable { public var appStoreVersion: AppStoreVersion? public struct AppStoreVersion: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -103,20 +80,17 @@ public struct RoutingAppCoverage: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/ScmGitReference.swift b/Sources/OpenAPI/Generated/Entities/ScmGitReference.swift index 979bbf27..e03ef30b 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmGitReference.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmGitReference.swift @@ -48,31 +48,8 @@ public struct ScmGitReference: Codable, Identifiable { public var repository: Repository? public struct Repository: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -99,20 +76,17 @@ public struct ScmGitReference: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/ScmProvider.swift b/Sources/OpenAPI/Generated/Entities/ScmProvider.swift index 85de25dc..423eb052 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmProvider.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmProvider.swift @@ -7,6 +7,7 @@ public struct ScmProvider: 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 { @@ -35,10 +36,47 @@ public struct ScmProvider: Codable, Identifiable { } } - public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + public struct Relationships: Codable { + public var repositories: Repositories? + + public struct Repositories: 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(repositories: Repositories? = nil) { + self.repositories = repositories + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.repositories = try values.decodeIfPresent(Repositories.self, forKey: "repositories") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(repositories, forKey: "repositories") + } + } + + 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 } @@ -47,6 +85,7 @@ public struct ScmProvider: Codable, Identifiable { 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") } @@ -55,6 +94,7 @@ public struct ScmProvider: Codable, Identifiable { 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/ScmPullRequest.swift b/Sources/OpenAPI/Generated/Entities/ScmPullRequest.swift index 85834fe8..444ce1ee 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmPullRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmPullRequest.swift @@ -76,31 +76,8 @@ public struct ScmPullRequest: Codable, Identifiable { public var repository: Repository? public struct Repository: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -127,20 +104,17 @@ public struct ScmPullRequest: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/ScmRepository.swift b/Sources/OpenAPI/Generated/Entities/ScmRepository.swift index 34b7d2f3..e0958466 100644 --- a/Sources/OpenAPI/Generated/Entities/ScmRepository.swift +++ b/Sources/OpenAPI/Generated/Entities/ScmRepository.swift @@ -51,33 +51,12 @@ public struct ScmRepository: Codable, Identifiable { public struct Relationships: Codable { public var scmProvider: ScmProvider? public var defaultBranch: DefaultBranch? + public var gitReferences: GitReferences? + public var pullRequests: PullRequests? public struct ScmProvider: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -104,50 +83,24 @@ public struct ScmRepository: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 DefaultBranch: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -174,39 +127,78 @@ public struct ScmRepository: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 init(scmProvider: ScmProvider? = nil, defaultBranch: DefaultBranch? = nil) { + public struct GitReferences: 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 PullRequests: 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(scmProvider: ScmProvider? = nil, defaultBranch: DefaultBranch? = nil, gitReferences: GitReferences? = nil, pullRequests: PullRequests? = nil) { self.scmProvider = scmProvider self.defaultBranch = defaultBranch + self.gitReferences = gitReferences + self.pullRequests = pullRequests } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.scmProvider = try values.decodeIfPresent(ScmProvider.self, forKey: "scmProvider") self.defaultBranch = try values.decodeIfPresent(DefaultBranch.self, forKey: "defaultBranch") + self.gitReferences = try values.decodeIfPresent(GitReferences.self, forKey: "gitReferences") + self.pullRequests = try values.decodeIfPresent(PullRequests.self, forKey: "pullRequests") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(scmProvider, forKey: "scmProvider") try values.encodeIfPresent(defaultBranch, forKey: "defaultBranch") + try values.encodeIfPresent(gitReferences, forKey: "gitReferences") + try values.encodeIfPresent(pullRequests, forKey: "pullRequests") } } diff --git a/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift b/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift index 12220753..34ff72d7 100644 --- a/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift +++ b/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift @@ -19,6 +19,7 @@ public enum ScreenshotDisplayType: String, Codable, CaseIterable { case appIpad97 = "APP_IPAD_97" case appDesktop = "APP_DESKTOP" case appWatchUltra = "APP_WATCH_ULTRA" + case appWatchSeries10 = "APP_WATCH_SERIES_10" case appWatchSeries7 = "APP_WATCH_SERIES_7" case appWatchSeries4 = "APP_WATCH_SERIES_4" case appWatchSeries3 = "APP_WATCH_SERIES_3" diff --git a/Sources/OpenAPI/Generated/Entities/Subscription.swift b/Sources/OpenAPI/Generated/Entities/Subscription.swift index 4e1b90df..6f8ccf33 100644 --- a/Sources/OpenAPI/Generated/Entities/Subscription.swift +++ b/Sources/OpenAPI/Generated/Entities/Subscription.swift @@ -86,36 +86,17 @@ public struct Subscription: Codable, Identifiable { public var promotionalOffers: PromotionalOffers? public var offerCodes: OfferCodes? public var prices: Prices? + public var pricePoints: PricePoints? public var promotedPurchase: PromotedPurchase? public var subscriptionAvailability: SubscriptionAvailability? + public var winBackOffers: WinBackOffers? + public var images: Images? public struct SubscriptionLocalizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -142,7 +123,7 @@ public struct Subscription: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -150,7 +131,7 @@ public struct Subscription: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -164,31 +145,9 @@ public struct Subscription: Codable, Identifiable { } public struct AppStoreReviewScreenshot: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -215,14 +174,14 @@ public struct Subscription: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -234,31 +193,8 @@ public struct Subscription: Codable, Identifiable { } public struct Group: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -285,51 +221,26 @@ public struct Subscription: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 IntroductoryOffers: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -356,7 +267,7 @@ public struct Subscription: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -364,7 +275,7 @@ public struct Subscription: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -378,32 +289,10 @@ public struct Subscription: Codable, Identifiable { } public struct PromotionalOffers: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -430,7 +319,7 @@ public struct Subscription: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -438,7 +327,7 @@ public struct Subscription: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -452,32 +341,10 @@ public struct Subscription: Codable, Identifiable { } public struct OfferCodes: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -504,7 +371,7 @@ public struct Subscription: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -512,7 +379,7 @@ public struct Subscription: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -526,32 +393,10 @@ public struct Subscription: Codable, Identifiable { } public struct Prices: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -578,7 +423,7 @@ public struct Subscription: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -586,7 +431,7 @@ public struct Subscription: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -599,38 +444,82 @@ public struct Subscription: Codable, Identifiable { } } + public struct PricePoints: 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 PromotedPurchase: Codable { - public var links: Links? + public var links: RelationshipLinks? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related + public enum `Type`: String, Codable, CaseIterable { + case promotedPurchases + } + + 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.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") + 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.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") + 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 SubscriptionAvailability: 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 promotedPurchases + case subscriptionAvailabilities } public init(type: `Type`, id: String) { @@ -651,14 +540,14 @@ public struct Subscription: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") + self.links = try values.decodeIfPresent(RelationshipLinks.self, forKey: "links") self.data = try values.decodeIfPresent(Data.self, forKey: "data") } @@ -669,38 +558,69 @@ public struct Subscription: Codable, Identifiable { } } - public struct SubscriptionAvailability: Codable { - public var links: Links? - public var data: Data? + public struct WinBackOffers: 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 struct Links: Codable { - public var this: String? - public var related: String? + public enum `Type`: String, Codable, CaseIterable { + case winBackOffers + } - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related + 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.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") + 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.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") } } - public struct Data: Codable, Identifiable { + 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 struct Images: 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 subscriptionAvailabilities + case subscriptionImages } public init(type: `Type`, id: String) { @@ -721,25 +641,28 @@ public struct Subscription: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { + 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(Links.self, forKey: "links") - self.data = try values.decodeIfPresent(Data.self, forKey: "data") + 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(subscriptionLocalizations: SubscriptionLocalizations? = nil, appStoreReviewScreenshot: AppStoreReviewScreenshot? = nil, group: Group? = nil, introductoryOffers: IntroductoryOffers? = nil, promotionalOffers: PromotionalOffers? = nil, offerCodes: OfferCodes? = nil, prices: Prices? = nil, promotedPurchase: PromotedPurchase? = nil, subscriptionAvailability: SubscriptionAvailability? = nil) { + public init(subscriptionLocalizations: SubscriptionLocalizations? = nil, appStoreReviewScreenshot: AppStoreReviewScreenshot? = nil, group: Group? = nil, introductoryOffers: IntroductoryOffers? = nil, promotionalOffers: PromotionalOffers? = nil, offerCodes: OfferCodes? = nil, prices: Prices? = nil, pricePoints: PricePoints? = nil, promotedPurchase: PromotedPurchase? = nil, subscriptionAvailability: SubscriptionAvailability? = nil, winBackOffers: WinBackOffers? = nil, images: Images? = nil) { self.subscriptionLocalizations = subscriptionLocalizations self.appStoreReviewScreenshot = appStoreReviewScreenshot self.group = group @@ -747,8 +670,11 @@ public struct Subscription: Codable, Identifiable { self.promotionalOffers = promotionalOffers self.offerCodes = offerCodes self.prices = prices + self.pricePoints = pricePoints self.promotedPurchase = promotedPurchase self.subscriptionAvailability = subscriptionAvailability + self.winBackOffers = winBackOffers + self.images = images } public init(from decoder: Decoder) throws { @@ -760,8 +686,11 @@ public struct Subscription: Codable, Identifiable { self.promotionalOffers = try values.decodeIfPresent(PromotionalOffers.self, forKey: "promotionalOffers") self.offerCodes = try values.decodeIfPresent(OfferCodes.self, forKey: "offerCodes") self.prices = try values.decodeIfPresent(Prices.self, forKey: "prices") + self.pricePoints = try values.decodeIfPresent(PricePoints.self, forKey: "pricePoints") self.promotedPurchase = try values.decodeIfPresent(PromotedPurchase.self, forKey: "promotedPurchase") self.subscriptionAvailability = try values.decodeIfPresent(SubscriptionAvailability.self, forKey: "subscriptionAvailability") + self.winBackOffers = try values.decodeIfPresent(WinBackOffers.self, forKey: "winBackOffers") + self.images = try values.decodeIfPresent(Images.self, forKey: "images") } public func encode(to encoder: Encoder) throws { @@ -773,8 +702,11 @@ public struct Subscription: Codable, Identifiable { try values.encodeIfPresent(promotionalOffers, forKey: "promotionalOffers") try values.encodeIfPresent(offerCodes, forKey: "offerCodes") try values.encodeIfPresent(prices, forKey: "prices") + try values.encodeIfPresent(pricePoints, forKey: "pricePoints") try values.encodeIfPresent(promotedPurchase, forKey: "promotedPurchase") try values.encodeIfPresent(subscriptionAvailability, forKey: "subscriptionAvailability") + try values.encodeIfPresent(winBackOffers, forKey: "winBackOffers") + try values.encodeIfPresent(images, forKey: "images") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshot.swift index 76697f5a..86f13cfc 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAppStoreReviewScreenshot.swift @@ -64,31 +64,8 @@ public struct SubscriptionAppStoreReviewScreenshot: Codable, Identifiable { public var subscription: Subscription? public struct Subscription: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -115,20 +92,17 @@ public struct SubscriptionAppStoreReviewScreenshot: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift index 5ac52f3f..46ac0c1e 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionAvailability.swift @@ -37,31 +37,8 @@ public struct SubscriptionAvailability: Codable, Identifiable { public var availableTerritories: AvailableTerritories? public struct Subscription: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -88,51 +65,26 @@ public struct SubscriptionAvailability: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 AvailableTerritories: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -159,7 +111,7 @@ public struct SubscriptionAvailability: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -167,7 +119,7 @@ public struct SubscriptionAvailability: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroup.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroup.swift index ab8878c1..c8214462 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroup.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroup.swift @@ -37,32 +37,10 @@ public struct SubscriptionGroup: Codable, Identifiable { public var subscriptionGroupLocalizations: SubscriptionGroupLocalizations? public struct Subscriptions: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -89,7 +67,7 @@ public struct SubscriptionGroup: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -97,7 +75,7 @@ public struct SubscriptionGroup: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -111,32 +89,10 @@ public struct SubscriptionGroup: Codable, Identifiable { } public struct SubscriptionGroupLocalizations: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -163,7 +119,7 @@ public struct SubscriptionGroup: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -171,7 +127,7 @@ public struct SubscriptionGroup: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalization.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalization.swift index 487cdae2..8a1e0607 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionGroupLocalization.swift @@ -55,31 +55,8 @@ public struct SubscriptionGroupLocalization: Codable, Identifiable { public var subscriptionGroup: SubscriptionGroup? public struct SubscriptionGroup: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -106,20 +83,17 @@ public struct SubscriptionGroupLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionImage.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionImage.swift new file mode 100644 index 00000000..f6c6a7bd --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionImage.swift @@ -0,0 +1,156 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct SubscriptionImage: 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 subscriptionImages + } + + public struct Attributes: Codable { + public var fileSize: Int? + public var fileName: String? + public var sourceFileChecksum: String? + public var assetToken: String? + public var imageAsset: ImageAsset? + public var uploadOperations: [UploadOperation]? + public var state: State? + + public enum State: String, Codable, CaseIterable { + case awaitingUpload = "AWAITING_UPLOAD" + case uploadComplete = "UPLOAD_COMPLETE" + case failed = "FAILED" + case prepareForSubmission = "PREPARE_FOR_SUBMISSION" + case waitingForReview = "WAITING_FOR_REVIEW" + case approved = "APPROVED" + case rejected = "REJECTED" + } + + public init(fileSize: Int? = nil, fileName: String? = nil, sourceFileChecksum: String? = nil, assetToken: String? = nil, imageAsset: ImageAsset? = nil, uploadOperations: [UploadOperation]? = nil, state: State? = nil) { + self.fileSize = fileSize + self.fileName = fileName + self.sourceFileChecksum = sourceFileChecksum + self.assetToken = assetToken + self.imageAsset = imageAsset + self.uploadOperations = uploadOperations + self.state = state + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.fileSize = try values.decodeIfPresent(Int.self, forKey: "fileSize") + self.fileName = try values.decodeIfPresent(String.self, forKey: "fileName") + self.sourceFileChecksum = try values.decodeIfPresent(String.self, forKey: "sourceFileChecksum") + self.assetToken = try values.decodeIfPresent(String.self, forKey: "assetToken") + self.imageAsset = try values.decodeIfPresent(ImageAsset.self, forKey: "imageAsset") + self.uploadOperations = try values.decodeIfPresent([UploadOperation].self, forKey: "uploadOperations") + 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(fileSize, forKey: "fileSize") + try values.encodeIfPresent(fileName, forKey: "fileName") + try values.encodeIfPresent(sourceFileChecksum, forKey: "sourceFileChecksum") + try values.encodeIfPresent(assetToken, forKey: "assetToken") + try values.encodeIfPresent(imageAsset, forKey: "imageAsset") + try values.encodeIfPresent(uploadOperations, forKey: "uploadOperations") + try values.encodeIfPresent(state, forKey: "state") + } + } + + public struct Relationships: Codable { + public var subscription: Subscription? + + 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 init(subscription: Subscription? = nil) { + self.subscription = subscription + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.subscription = try values.decodeIfPresent(Subscription.self, forKey: "subscription") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(subscription, forKey: "subscription") + } + } + + 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/SubscriptionImageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionImageCreateRequest.swift new file mode 100644 index 00000000..3f4c99ea --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionImageCreateRequest.swift @@ -0,0 +1,136 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct SubscriptionImageCreateRequest: 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 subscriptionImages + } + + public struct Attributes: Codable { + public var fileSize: Int + public var fileName: String + + public init(fileSize: Int, fileName: String) { + self.fileSize = fileSize + self.fileName = fileName + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.fileSize = try values.decode(Int.self, forKey: "fileSize") + self.fileName = try values.decode(String.self, forKey: "fileName") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(fileSize, forKey: "fileSize") + try values.encode(fileName, forKey: "fileName") + } + } + + public struct Relationships: Codable { + public var subscription: Subscription + + 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) { + 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(subscription: Subscription) { + self.subscription = subscription + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.subscription = try values.decode(Subscription.self, forKey: "subscription") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(subscription, forKey: "subscription") + } + } + + 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/SubscriptionImageResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionImageResponse.swift new file mode 100644 index 00000000..e41df83a --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionImageResponse.swift @@ -0,0 +1,31 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct SubscriptionImageResponse: Codable { + /// SubscriptionImage + public var data: SubscriptionImage + public var included: [Subscription]? + public var links: DocumentLinks + + public init(data: SubscriptionImage, included: [Subscription]? = 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(SubscriptionImage.self, forKey: "data") + self.included = try values.decodeIfPresent([Subscription].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/SubscriptionImageUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionImageUpdateRequest.swift new file mode 100644 index 00000000..d6f57816 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionImageUpdateRequest.swift @@ -0,0 +1,74 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct SubscriptionImageUpdateRequest: 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 subscriptionImages + } + + public struct Attributes: Codable { + public var sourceFileChecksum: String? + public var isUploaded: Bool? + + public init(sourceFileChecksum: String? = nil, isUploaded: Bool? = nil) { + self.sourceFileChecksum = sourceFileChecksum + self.isUploaded = isUploaded + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.sourceFileChecksum = try values.decodeIfPresent(String.self, forKey: "sourceFileChecksum") + self.isUploaded = try values.decodeIfPresent(Bool.self, forKey: "uploaded") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(sourceFileChecksum, forKey: "sourceFileChecksum") + try values.encodeIfPresent(isUploaded, forKey: "uploaded") + } + } + + 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/SubscriptionImagesResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionImagesResponse.swift new file mode 100644 index 00000000..f6863183 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionImagesResponse.swift @@ -0,0 +1,34 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct SubscriptionImagesResponse: Codable { + public var data: [SubscriptionImage] + public var included: [Subscription]? + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public init(data: [SubscriptionImage], included: [Subscription]? = nil, links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.included = included + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([SubscriptionImage].self, forKey: "data") + self.included = try values.decodeIfPresent([Subscription].self, forKey: "included") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + 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") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffer.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffer.swift index bf83afba..938102bd 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffer.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionIntroductoryOffer.swift @@ -54,31 +54,8 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { public var subscriptionPricePoint: SubscriptionPricePoint? public struct Subscription: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -105,50 +82,24 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Territory: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -175,50 +126,24 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 SubscriptionPricePoint: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -245,20 +170,17 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalization.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalization.swift index 32943a58..743e97df 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionLocalization.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionLocalization.swift @@ -55,31 +55,8 @@ public struct SubscriptionLocalization: Codable, Identifiable { public var subscription: Subscription? public struct Subscription: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -106,20 +83,17 @@ public struct SubscriptionLocalization: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCode.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCode.swift index b5be6284..d66aaabe 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCode.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCode.swift @@ -67,31 +67,8 @@ public struct SubscriptionOfferCode: Codable, Identifiable { public var prices: Prices? public struct Subscription: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -118,51 +95,26 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 OneTimeUseCodes: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -189,7 +141,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -197,7 +149,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -211,32 +163,10 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } public struct CustomCodes: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -263,7 +193,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -271,7 +201,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } @@ -285,32 +215,10 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } public struct Prices: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -337,7 +245,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -345,7 +253,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCode.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCode.swift index 5748d497..5bb352d6 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCode.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeCustomCode.swift @@ -52,31 +52,8 @@ public struct SubscriptionOfferCodeCustomCode: Codable, Identifiable { public var offerCode: OfferCode? public struct OfferCode: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -103,20 +80,17 @@ public struct SubscriptionOfferCodeCustomCode: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCode.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCode.swift index 2b1269ca..c11a7b80 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCode.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodeOneTimeUseCode.swift @@ -46,33 +46,11 @@ public struct SubscriptionOfferCodeOneTimeUseCode: Codable, Identifiable { public struct Relationships: Codable { public var offerCode: OfferCode? + public var values: Values? public struct OfferCode: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -99,36 +77,54 @@ public struct SubscriptionOfferCodeOneTimeUseCode: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 init(offerCode: OfferCode? = nil) { + public struct Values: 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(offerCode: OfferCode? = nil, values: Values? = nil) { self.offerCode = offerCode + self.values = values } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.offerCode = try values.decodeIfPresent(OfferCode.self, forKey: "offerCode") + self.values = try values.decodeIfPresent(Values.self, forKey: "values") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(offerCode, forKey: "offerCode") + try values.encodeIfPresent(self.values, forKey: "values") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePrice.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePrice.swift index 6e491d0d..dce0321a 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePrice.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferCodePrice.swift @@ -18,31 +18,8 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { public var subscriptionPricePoint: SubscriptionPricePoint? public struct Territory: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -69,50 +46,24 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 SubscriptionPricePoint: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -139,20 +90,17 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferDuration.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferDuration.swift index 1a1970ee..bc0396bb 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionOfferDuration.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionOfferDuration.swift @@ -4,7 +4,6 @@ import Foundation public enum SubscriptionOfferDuration: String, Codable, CaseIterable { - case oneDay = "ONE_DAY" case threeDays = "THREE_DAYS" case oneWeek = "ONE_WEEK" case twoWeeks = "TWO_WEEKS" diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPrice.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPrice.swift index ac172109..7c7741c6 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPrice.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPrice.swift @@ -41,31 +41,8 @@ public struct SubscriptionPrice: Codable, Identifiable { public var subscriptionPricePoint: SubscriptionPricePoint? public struct Territory: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -92,50 +69,24 @@ public struct SubscriptionPrice: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 SubscriptionPricePoint: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -162,20 +113,17 @@ public struct SubscriptionPrice: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPricePoint.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPricePoint.swift index 6337a8c4..7475bbf5 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPricePoint.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPricePoint.swift @@ -42,33 +42,11 @@ public struct SubscriptionPricePoint: Codable, Identifiable { public struct Relationships: Codable { public var territory: Territory? + public var equalizations: Equalizations? public struct Territory: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -95,36 +73,54 @@ public struct SubscriptionPricePoint: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 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/SubscriptionPromotionalOffer.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffer.swift index 55da04fd..6ce0f07e 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffer.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOffer.swift @@ -53,31 +53,8 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { public var prices: Prices? public struct Subscription: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -104,51 +81,26 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 Prices: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -175,7 +127,7 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -183,7 +135,7 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPrice.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPrice.swift index 2d6cae0b..579f82bf 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPrice.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionPromotionalOfferPrice.swift @@ -18,31 +18,8 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { public var subscriptionPricePoint: SubscriptionPricePoint? public struct Territory: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -69,50 +46,24 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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 SubscriptionPricePoint: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -139,20 +90,17 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionResponse.swift index c58d0e7c..d9b5fd07 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionResponse.swift @@ -19,6 +19,8 @@ public struct SubscriptionResponse: Codable { case subscriptionPrice(SubscriptionPrice) case promotedPurchase(PromotedPurchase) case subscriptionAvailability(SubscriptionAvailability) + case winBackOffer(WinBackOffer) + case subscriptionImage(SubscriptionImage) public init(from decoder: Decoder) throws { let container = try decoder.singleValueContainer() @@ -40,10 +42,14 @@ public struct SubscriptionResponse: Codable { self = .promotedPurchase(value) } else if let value = try? container.decode(SubscriptionAvailability.self) { self = .subscriptionAvailability(value) + } else if let value = try? container.decode(WinBackOffer.self) { + self = .winBackOffer(value) + } else if let value = try? container.decode(SubscriptionImage.self) { + self = .subscriptionImage(value) } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (SubscriptionLocalization, SubscriptionAppStoreReviewScreenshot, SubscriptionGroup, SubscriptionIntroductoryOffer, SubscriptionPromotionalOffer, SubscriptionOfferCode, SubscriptionPrice, PromotedPurchase, SubscriptionAvailability)." + debugDescription: "Data could not be decoded as any of the expected types (SubscriptionLocalization, SubscriptionAppStoreReviewScreenshot, SubscriptionGroup, SubscriptionIntroductoryOffer, SubscriptionPromotionalOffer, SubscriptionOfferCode, SubscriptionPrice, PromotedPurchase, SubscriptionAvailability, WinBackOffer, SubscriptionImage)." ) } } @@ -60,6 +66,8 @@ public struct SubscriptionResponse: Codable { case .subscriptionPrice(let value): try container.encode(value) case .promotedPurchase(let value): try container.encode(value) case .subscriptionAvailability(let value): try container.encode(value) + case .winBackOffer(let value): try container.encode(value) + case .subscriptionImage(let value): try container.encode(value) } } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionStatusURLVersion.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionStatusURLVersion.swift index 5fdaf90a..3fe61d88 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionStatusURLVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionStatusURLVersion.swift @@ -6,6 +6,4 @@ import Foundation public enum SubscriptionStatusURLVersion: String, Codable, CaseIterable { case v1 = "V1" case v2 = "V2" - case v12 = "v1" - case v22 = "v2" } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionSubmission.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionSubmission.swift index 678b0432..b4d450d0 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionSubmission.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionSubmission.swift @@ -17,31 +17,8 @@ public struct SubscriptionSubmission: Codable, Identifiable { public var subscription: Subscription? public struct Subscription: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -68,20 +45,17 @@ public struct SubscriptionSubmission: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionsResponse.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionsResponse.swift index ce6dc0e7..4e14338c 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionsResponse.swift @@ -19,6 +19,8 @@ public struct SubscriptionsResponse: Codable { case subscriptionPrice(SubscriptionPrice) case promotedPurchase(PromotedPurchase) case subscriptionAvailability(SubscriptionAvailability) + case winBackOffer(WinBackOffer) + case subscriptionImage(SubscriptionImage) public init(from decoder: Decoder) throws { let container = try decoder.singleValueContainer() @@ -40,10 +42,14 @@ public struct SubscriptionsResponse: Codable { self = .promotedPurchase(value) } else if let value = try? container.decode(SubscriptionAvailability.self) { self = .subscriptionAvailability(value) + } else if let value = try? container.decode(WinBackOffer.self) { + self = .winBackOffer(value) + } else if let value = try? container.decode(SubscriptionImage.self) { + self = .subscriptionImage(value) } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (SubscriptionLocalization, SubscriptionAppStoreReviewScreenshot, SubscriptionGroup, SubscriptionIntroductoryOffer, SubscriptionPromotionalOffer, SubscriptionOfferCode, SubscriptionPrice, PromotedPurchase, SubscriptionAvailability)." + debugDescription: "Data could not be decoded as any of the expected types (SubscriptionLocalization, SubscriptionAppStoreReviewScreenshot, SubscriptionGroup, SubscriptionIntroductoryOffer, SubscriptionPromotionalOffer, SubscriptionOfferCode, SubscriptionPrice, PromotedPurchase, SubscriptionAvailability, WinBackOffer, SubscriptionImage)." ) } } @@ -60,6 +66,8 @@ public struct SubscriptionsResponse: Codable { case .subscriptionPrice(let value): try container.encode(value) case .promotedPurchase(let value): try container.encode(value) case .subscriptionAvailability(let value): try container.encode(value) + case .winBackOffer(let value): try container.encode(value) + case .subscriptionImage(let value): try container.encode(value) } } } diff --git a/Sources/OpenAPI/Generated/Entities/TerritoryAvailability.swift b/Sources/OpenAPI/Generated/Entities/TerritoryAvailability.swift index 7577be72..1a52b802 100644 --- a/Sources/OpenAPI/Generated/Entities/TerritoryAvailability.swift +++ b/Sources/OpenAPI/Generated/Entities/TerritoryAvailability.swift @@ -35,6 +35,8 @@ public struct TerritoryAvailability: Codable, Identifiable { case brazilRequiredTaxID = "BRAZIL_REQUIRED_TAX_ID" case missingGrn = "MISSING_GRN" case unverifiedGrn = "UNVERIFIED_GRN" + case icpNumberInvalid = "ICP_NUMBER_INVALID" + case icpNumberMissing = "ICP_NUMBER_MISSING" case cannotSellSeventeenPlusApps = "CANNOT_SELL_SEVENTEEN_PLUS_APPS" case cannotSellSexuallyExplicit = "CANNOT_SELL_SEXUALLY_EXPLICIT" case cannotSellNonIosGames = "CANNOT_SELL_NON_IOS_GAMES" @@ -88,31 +90,8 @@ public struct TerritoryAvailability: Codable, Identifiable { public var territory: Territory? public struct Territory: Codable { - public var links: Links? public var data: Data? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Data: Codable, Identifiable { public var type: `Type` public var id: String @@ -139,20 +118,17 @@ public struct TerritoryAvailability: Codable, Identifiable { } } - public init(links: Links? = nil, data: Data? = nil) { - self.links = links + public init(data: Data? = nil) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.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") } } diff --git a/Sources/OpenAPI/Generated/Entities/User.swift b/Sources/OpenAPI/Generated/Entities/User.swift index bfb6747c..e829f9d5 100644 --- a/Sources/OpenAPI/Generated/Entities/User.swift +++ b/Sources/OpenAPI/Generated/Entities/User.swift @@ -56,32 +56,10 @@ public struct User: Codable, Identifiable { public var visibleApps: VisibleApps? public struct VisibleApps: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -108,7 +86,7 @@ public struct User: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -116,7 +94,7 @@ public struct User: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/UserInvitation.swift b/Sources/OpenAPI/Generated/Entities/UserInvitation.swift index 8a69622c..46e4c117 100644 --- a/Sources/OpenAPI/Generated/Entities/UserInvitation.swift +++ b/Sources/OpenAPI/Generated/Entities/UserInvitation.swift @@ -60,32 +60,10 @@ public struct UserInvitation: Codable, Identifiable { public var visibleApps: VisibleApps? public struct VisibleApps: Codable { - public var links: Links? + public var links: RelationshipLinks? public var meta: PagingInformation? public var data: [Datum]? - public struct Links: Codable { - public var this: String? - public var related: String? - - public init(this: String? = nil, related: String? = nil) { - self.this = this - self.related = related - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.this = try values.decodeIfPresent(String.self, forKey: "self") - self.related = try values.decodeIfPresent(String.self, forKey: "related") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(this, forKey: "self") - try values.encodeIfPresent(related, forKey: "related") - } - } - public struct Datum: Codable, Identifiable { public var type: `Type` public var id: String @@ -112,7 +90,7 @@ public struct UserInvitation: Codable, Identifiable { } } - public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + public init(links: RelationshipLinks? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { self.links = links self.meta = meta self.data = data @@ -120,7 +98,7 @@ public struct UserInvitation: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.links = try values.decodeIfPresent(Links.self, forKey: "links") + 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") } diff --git a/Sources/OpenAPI/Generated/Entities/WinBackOffer.swift b/Sources/OpenAPI/Generated/Entities/WinBackOffer.swift new file mode 100644 index 00000000..00215037 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/WinBackOffer.swift @@ -0,0 +1,184 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct WinBackOffer: 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 winBackOffers + } + + public struct Attributes: Codable { + public var referenceName: String? + public var offerID: String? + public var duration: SubscriptionOfferDuration? + public var offerMode: SubscriptionOfferMode? + public var periodCount: Int? + public var customerEligibilityPaidSubscriptionDurationInMonths: Int? + public var customerEligibilityTimeSinceLastSubscribedInMonths: IntegerRange? + public var customerEligibilityWaitBetweenOffersInMonths: Int? + public var startDate: String? + public var endDate: String? + public var priority: Priority? + public var promotionIntent: PromotionIntent? + + public enum Priority: String, Codable, CaseIterable { + case high = "HIGH" + case normal = "NORMAL" + } + + public enum PromotionIntent: String, Codable, CaseIterable { + case notPromoted = "NOT_PROMOTED" + case useAutoGeneratedAssets = "USE_AUTO_GENERATED_ASSETS" + } + + public init(referenceName: String? = nil, offerID: String? = nil, duration: SubscriptionOfferDuration? = nil, offerMode: SubscriptionOfferMode? = nil, periodCount: Int? = nil, customerEligibilityPaidSubscriptionDurationInMonths: Int? = nil, customerEligibilityTimeSinceLastSubscribedInMonths: IntegerRange? = nil, customerEligibilityWaitBetweenOffersInMonths: Int? = nil, startDate: String? = nil, endDate: String? = nil, priority: Priority? = nil, promotionIntent: PromotionIntent? = nil) { + self.referenceName = referenceName + self.offerID = offerID + self.duration = duration + self.offerMode = offerMode + self.periodCount = periodCount + self.customerEligibilityPaidSubscriptionDurationInMonths = customerEligibilityPaidSubscriptionDurationInMonths + self.customerEligibilityTimeSinceLastSubscribedInMonths = customerEligibilityTimeSinceLastSubscribedInMonths + self.customerEligibilityWaitBetweenOffersInMonths = customerEligibilityWaitBetweenOffersInMonths + self.startDate = startDate + self.endDate = endDate + self.priority = priority + self.promotionIntent = promotionIntent + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.referenceName = try values.decodeIfPresent(String.self, forKey: "referenceName") + self.offerID = try values.decodeIfPresent(String.self, forKey: "offerId") + self.duration = try values.decodeIfPresent(SubscriptionOfferDuration.self, forKey: "duration") + self.offerMode = try values.decodeIfPresent(SubscriptionOfferMode.self, forKey: "offerMode") + self.periodCount = try values.decodeIfPresent(Int.self, forKey: "periodCount") + self.customerEligibilityPaidSubscriptionDurationInMonths = try values.decodeIfPresent(Int.self, forKey: "customerEligibilityPaidSubscriptionDurationInMonths") + self.customerEligibilityTimeSinceLastSubscribedInMonths = try values.decodeIfPresent(IntegerRange.self, forKey: "customerEligibilityTimeSinceLastSubscribedInMonths") + self.customerEligibilityWaitBetweenOffersInMonths = try values.decodeIfPresent(Int.self, forKey: "customerEligibilityWaitBetweenOffersInMonths") + self.startDate = try values.decodeIfPresent(String.self, forKey: "startDate") + self.endDate = try values.decodeIfPresent(String.self, forKey: "endDate") + self.priority = try values.decodeIfPresent(Priority.self, forKey: "priority") + self.promotionIntent = try values.decodeIfPresent(PromotionIntent.self, forKey: "promotionIntent") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(referenceName, forKey: "referenceName") + try values.encodeIfPresent(offerID, forKey: "offerId") + try values.encodeIfPresent(duration, forKey: "duration") + try values.encodeIfPresent(offerMode, forKey: "offerMode") + try values.encodeIfPresent(periodCount, forKey: "periodCount") + try values.encodeIfPresent(customerEligibilityPaidSubscriptionDurationInMonths, forKey: "customerEligibilityPaidSubscriptionDurationInMonths") + try values.encodeIfPresent(customerEligibilityTimeSinceLastSubscribedInMonths, forKey: "customerEligibilityTimeSinceLastSubscribedInMonths") + try values.encodeIfPresent(customerEligibilityWaitBetweenOffersInMonths, forKey: "customerEligibilityWaitBetweenOffersInMonths") + try values.encodeIfPresent(startDate, forKey: "startDate") + try values.encodeIfPresent(endDate, forKey: "endDate") + try values.encodeIfPresent(priority, forKey: "priority") + try values.encodeIfPresent(promotionIntent, forKey: "promotionIntent") + } + } + + public struct Relationships: Codable { + public var prices: Prices? + + public struct Prices: 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 winBackOfferPrices + } + + 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(prices: Prices? = nil) { + self.prices = prices + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.prices = try values.decodeIfPresent(Prices.self, forKey: "prices") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(prices, forKey: "prices") + } + } + + 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/WinBackOfferCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/WinBackOfferCreateRequest.swift new file mode 100644 index 00000000..27c33a7b --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/WinBackOfferCreateRequest.swift @@ -0,0 +1,238 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct WinBackOfferCreateRequest: Codable { + public var data: Data + public var included: [WinBackOfferPriceInlineCreate]? + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + public var relationships: Relationships + + public enum `Type`: String, Codable, CaseIterable { + case winBackOffers + } + + public struct Attributes: Codable { + public var referenceName: String + public var offerID: String + public var duration: SubscriptionOfferDuration + public var offerMode: SubscriptionOfferMode + public var periodCount: Int + public var customerEligibilityPaidSubscriptionDurationInMonths: Int + public var customerEligibilityTimeSinceLastSubscribedInMonths: IntegerRange + public var customerEligibilityWaitBetweenOffersInMonths: Int? + public var startDate: String + public var endDate: String? + public var priority: Priority + public var promotionIntent: PromotionIntent? + + public enum Priority: String, Codable, CaseIterable { + case high = "HIGH" + case normal = "NORMAL" + } + + public enum PromotionIntent: String, Codable, CaseIterable { + case notPromoted = "NOT_PROMOTED" + case useAutoGeneratedAssets = "USE_AUTO_GENERATED_ASSETS" + } + + public init(referenceName: String, offerID: String, duration: SubscriptionOfferDuration, offerMode: SubscriptionOfferMode, periodCount: Int, customerEligibilityPaidSubscriptionDurationInMonths: Int, customerEligibilityTimeSinceLastSubscribedInMonths: IntegerRange, customerEligibilityWaitBetweenOffersInMonths: Int? = nil, startDate: String, endDate: String? = nil, priority: Priority, promotionIntent: PromotionIntent? = nil) { + self.referenceName = referenceName + self.offerID = offerID + self.duration = duration + self.offerMode = offerMode + self.periodCount = periodCount + self.customerEligibilityPaidSubscriptionDurationInMonths = customerEligibilityPaidSubscriptionDurationInMonths + self.customerEligibilityTimeSinceLastSubscribedInMonths = customerEligibilityTimeSinceLastSubscribedInMonths + self.customerEligibilityWaitBetweenOffersInMonths = customerEligibilityWaitBetweenOffersInMonths + self.startDate = startDate + self.endDate = endDate + self.priority = priority + self.promotionIntent = promotionIntent + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.referenceName = try values.decode(String.self, forKey: "referenceName") + self.offerID = try values.decode(String.self, forKey: "offerId") + self.duration = try values.decode(SubscriptionOfferDuration.self, forKey: "duration") + self.offerMode = try values.decode(SubscriptionOfferMode.self, forKey: "offerMode") + self.periodCount = try values.decode(Int.self, forKey: "periodCount") + self.customerEligibilityPaidSubscriptionDurationInMonths = try values.decode(Int.self, forKey: "customerEligibilityPaidSubscriptionDurationInMonths") + self.customerEligibilityTimeSinceLastSubscribedInMonths = try values.decode(IntegerRange.self, forKey: "customerEligibilityTimeSinceLastSubscribedInMonths") + self.customerEligibilityWaitBetweenOffersInMonths = try values.decodeIfPresent(Int.self, forKey: "customerEligibilityWaitBetweenOffersInMonths") + self.startDate = try values.decode(String.self, forKey: "startDate") + self.endDate = try values.decodeIfPresent(String.self, forKey: "endDate") + self.priority = try values.decode(Priority.self, forKey: "priority") + self.promotionIntent = try values.decodeIfPresent(PromotionIntent.self, forKey: "promotionIntent") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(referenceName, forKey: "referenceName") + try values.encode(offerID, forKey: "offerId") + try values.encode(duration, forKey: "duration") + try values.encode(offerMode, forKey: "offerMode") + try values.encode(periodCount, forKey: "periodCount") + try values.encode(customerEligibilityPaidSubscriptionDurationInMonths, forKey: "customerEligibilityPaidSubscriptionDurationInMonths") + try values.encode(customerEligibilityTimeSinceLastSubscribedInMonths, forKey: "customerEligibilityTimeSinceLastSubscribedInMonths") + try values.encodeIfPresent(customerEligibilityWaitBetweenOffersInMonths, forKey: "customerEligibilityWaitBetweenOffersInMonths") + try values.encode(startDate, forKey: "startDate") + try values.encodeIfPresent(endDate, forKey: "endDate") + try values.encode(priority, forKey: "priority") + try values.encodeIfPresent(promotionIntent, forKey: "promotionIntent") + } + } + + public struct Relationships: Codable { + public var subscription: Subscription + public var prices: Prices + + 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) { + 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 Prices: 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 winBackOfferPrices + } + + 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(subscription: Subscription, prices: Prices) { + self.subscription = subscription + self.prices = prices + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.subscription = try values.decode(Subscription.self, forKey: "subscription") + self.prices = try values.decode(Prices.self, forKey: "prices") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(subscription, forKey: "subscription") + try values.encode(prices, forKey: "prices") + } + } + + 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, included: [WinBackOfferPriceInlineCreate]? = nil) { + self.data = data + self.included = included + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + self.included = try values.decodeIfPresent([WinBackOfferPriceInlineCreate].self, forKey: "included") + } + + 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") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/WinBackOfferPrice.swift b/Sources/OpenAPI/Generated/Entities/WinBackOfferPrice.swift new file mode 100644 index 00000000..f1dea3e1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/WinBackOfferPrice.swift @@ -0,0 +1,148 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct WinBackOfferPrice: Codable, Identifiable { + public var type: `Type` + public var id: String + public var relationships: Relationships? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case winBackOfferPrices + } + + public struct Relationships: Codable { + public var territory: Territory? + public var subscriptionPricePoint: SubscriptionPricePoint? + + public struct Territory: 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 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: 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 SubscriptionPricePoint: 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 subscriptionPricePoints + } + + 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(territory: Territory? = nil, subscriptionPricePoint: SubscriptionPricePoint? = nil) { + self.territory = territory + self.subscriptionPricePoint = subscriptionPricePoint + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.territory = try values.decodeIfPresent(Territory.self, forKey: "territory") + self.subscriptionPricePoint = try values.decodeIfPresent(SubscriptionPricePoint.self, forKey: "subscriptionPricePoint") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(territory, forKey: "territory") + try values.encodeIfPresent(subscriptionPricePoint, forKey: "subscriptionPricePoint") + } + } + + public init(type: `Type`, id: String, relationships: Relationships? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + 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.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(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/WinBackOfferPriceInlineCreate.swift b/Sources/OpenAPI/Generated/Entities/WinBackOfferPriceInlineCreate.swift new file mode 100644 index 00000000..80b7e395 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/WinBackOfferPriceInlineCreate.swift @@ -0,0 +1,30 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct WinBackOfferPriceInlineCreate: Codable, Identifiable { + public var type: `Type` + public var id: String? + + public enum `Type`: String, Codable, CaseIterable { + case winBackOfferPrices + } + + public init(type: `Type`, id: String? = nil) { + 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.decodeIfPresent(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.encodeIfPresent(id, forKey: "id") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/WinBackOfferPricesResponse.swift b/Sources/OpenAPI/Generated/Entities/WinBackOfferPricesResponse.swift new file mode 100644 index 00000000..767b3e4a --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/WinBackOfferPricesResponse.swift @@ -0,0 +1,61 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct WinBackOfferPricesResponse: Codable { + public var data: [WinBackOfferPrice] + public var included: [IncludedItem]? + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public enum IncludedItem: Codable { + case territory(Territory) + case subscriptionPricePoint(SubscriptionPricePoint) + + public init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let value = try? container.decode(Territory.self) { + self = .territory(value) + } else if let value = try? container.decode(SubscriptionPricePoint.self) { + self = .subscriptionPricePoint(value) + } else { + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (Territory, SubscriptionPricePoint)." + ) + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .territory(let value): try container.encode(value) + case .subscriptionPricePoint(let value): try container.encode(value) + } + } + } + + public init(data: [WinBackOfferPrice], included: [IncludedItem]? = nil, links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.included = included + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([WinBackOfferPrice].self, forKey: "data") + self.included = try values.decodeIfPresent([IncludedItem].self, forKey: "included") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + 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") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/WinBackOfferResponse.swift b/Sources/OpenAPI/Generated/Entities/WinBackOfferResponse.swift new file mode 100644 index 00000000..beb7e445 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/WinBackOfferResponse.swift @@ -0,0 +1,31 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct WinBackOfferResponse: Codable { + /// WinBackOffer + public var data: WinBackOffer + public var included: [WinBackOfferPrice]? + public var links: DocumentLinks + + public init(data: WinBackOffer, included: [WinBackOfferPrice]? = 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(WinBackOffer.self, forKey: "data") + self.included = try values.decodeIfPresent([WinBackOfferPrice].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/WinBackOfferUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/WinBackOfferUpdateRequest.swift new file mode 100644 index 00000000..f77ac852 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/WinBackOfferUpdateRequest.swift @@ -0,0 +1,104 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct WinBackOfferUpdateRequest: 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 winBackOffers + } + + public struct Attributes: Codable { + public var customerEligibilityPaidSubscriptionDurationInMonths: Int? + public var customerEligibilityTimeSinceLastSubscribedInMonths: IntegerRange? + public var customerEligibilityWaitBetweenOffersInMonths: Int? + public var startDate: String? + public var endDate: String? + public var priority: Priority? + public var promotionIntent: PromotionIntent? + + public enum Priority: String, Codable, CaseIterable { + case high = "HIGH" + case normal = "NORMAL" + } + + public enum PromotionIntent: String, Codable, CaseIterable { + case notPromoted = "NOT_PROMOTED" + case useAutoGeneratedAssets = "USE_AUTO_GENERATED_ASSETS" + } + + public init(customerEligibilityPaidSubscriptionDurationInMonths: Int? = nil, customerEligibilityTimeSinceLastSubscribedInMonths: IntegerRange? = nil, customerEligibilityWaitBetweenOffersInMonths: Int? = nil, startDate: String? = nil, endDate: String? = nil, priority: Priority? = nil, promotionIntent: PromotionIntent? = nil) { + self.customerEligibilityPaidSubscriptionDurationInMonths = customerEligibilityPaidSubscriptionDurationInMonths + self.customerEligibilityTimeSinceLastSubscribedInMonths = customerEligibilityTimeSinceLastSubscribedInMonths + self.customerEligibilityWaitBetweenOffersInMonths = customerEligibilityWaitBetweenOffersInMonths + self.startDate = startDate + self.endDate = endDate + self.priority = priority + self.promotionIntent = promotionIntent + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.customerEligibilityPaidSubscriptionDurationInMonths = try values.decodeIfPresent(Int.self, forKey: "customerEligibilityPaidSubscriptionDurationInMonths") + self.customerEligibilityTimeSinceLastSubscribedInMonths = try values.decodeIfPresent(IntegerRange.self, forKey: "customerEligibilityTimeSinceLastSubscribedInMonths") + self.customerEligibilityWaitBetweenOffersInMonths = try values.decodeIfPresent(Int.self, forKey: "customerEligibilityWaitBetweenOffersInMonths") + self.startDate = try values.decodeIfPresent(String.self, forKey: "startDate") + self.endDate = try values.decodeIfPresent(String.self, forKey: "endDate") + self.priority = try values.decodeIfPresent(Priority.self, forKey: "priority") + self.promotionIntent = try values.decodeIfPresent(PromotionIntent.self, forKey: "promotionIntent") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(customerEligibilityPaidSubscriptionDurationInMonths, forKey: "customerEligibilityPaidSubscriptionDurationInMonths") + try values.encodeIfPresent(customerEligibilityTimeSinceLastSubscribedInMonths, forKey: "customerEligibilityTimeSinceLastSubscribedInMonths") + try values.encodeIfPresent(customerEligibilityWaitBetweenOffersInMonths, forKey: "customerEligibilityWaitBetweenOffersInMonths") + try values.encodeIfPresent(startDate, forKey: "startDate") + try values.encodeIfPresent(endDate, forKey: "endDate") + try values.encodeIfPresent(priority, forKey: "priority") + try values.encodeIfPresent(promotionIntent, forKey: "promotionIntent") + } + } + + 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/WinBackOffersResponse.swift b/Sources/OpenAPI/Generated/Entities/WinBackOffersResponse.swift new file mode 100644 index 00000000..d4481dce --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/WinBackOffersResponse.swift @@ -0,0 +1,34 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct WinBackOffersResponse: Codable { + public var data: [WinBackOffer] + public var included: [WinBackOfferPrice]? + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public init(data: [WinBackOffer], included: [WinBackOfferPrice]? = nil, links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.included = included + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([WinBackOffer].self, forKey: "data") + self.included = try values.decodeIfPresent([WinBackOfferPrice].self, forKey: "included") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + 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") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Actors.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Actors.swift index cc4ecfc2..e02eac30 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Actors.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Actors.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "actors-get_collection") + Request(path: path, method: "GET", query: parameters.asQuery, id: "actors_getCollection") } public struct GetParameters { @@ -24,10 +24,10 @@ extension APIEndpoint.V1 { public enum FieldsActors: String, Codable, CaseIterable { case actorType - case apiKeyID = "apiKeyId" - case userEmail case userFirstName case userLastName + case userEmail + case apiKeyID = "apiKeyId" } public init(filterID: [String], fieldsActors: [FieldsActors]? = nil, limit: Int? = nil) { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ActorsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ActorsWithID.swift index 0b418b4b..3c05fdeb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ActorsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ActorsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Actors { public let path: String public func get(fieldsActors: [FieldsActors]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsActors), id: "actors-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsActors), id: "actors_getInstance") } private func makeGetQuery(_ fieldsActors: [FieldsActors]?) -> [(String, String?)] { @@ -25,10 +25,10 @@ extension APIEndpoint.V1.Actors { public enum FieldsActors: String, Codable, CaseIterable { case actorType - case apiKeyID = "apiKeyId" - case userEmail case userFirstName case userLastName + case userEmail + case apiKeyID = "apiKeyId" } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarationsWithID.swift index 4985fafa..741b0ab1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarationsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AgeRatingDeclarations { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.AgeRatingDeclarationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "ageRatingDeclarations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "ageRatingDeclarations_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionDomains.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionDomains.swift index d9ff4798..e17d151d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionDomains.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionDomains.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(fieldsAlternativeDistributionDomains: [FieldsAlternativeDistributionDomains]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionDomains, limit), id: "alternativeDistributionDomains-get_collection") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionDomains, limit), id: "alternativeDistributionDomains_getCollection") } private func makeGetQuery(_ fieldsAlternativeDistributionDomains: [FieldsAlternativeDistributionDomains]?, _ limit: Int?) -> [(String, String?)] { @@ -25,13 +25,13 @@ extension APIEndpoint.V1 { } public enum FieldsAlternativeDistributionDomains: String, Codable, CaseIterable { - case createdDate case domain case referenceName + case createdDate } public func post(_ body: AppStoreConnect_Swift_SDK.AlternativeDistributionDomainCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "alternativeDistributionDomains-create_instance") + Request(path: path, method: "POST", body: body, id: "alternativeDistributionDomains_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionDomainsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionDomainsWithID.swift index 1d25f152..3d27fdb6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionDomainsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionDomainsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AlternativeDistributionDomains { public let path: String public func get(fieldsAlternativeDistributionDomains: [FieldsAlternativeDistributionDomains]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionDomains), id: "alternativeDistributionDomains-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionDomains), id: "alternativeDistributionDomains_getInstance") } private func makeGetQuery(_ fieldsAlternativeDistributionDomains: [FieldsAlternativeDistributionDomains]?) -> [(String, String?)] { @@ -24,13 +24,13 @@ extension APIEndpoint.V1.AlternativeDistributionDomains { } public enum FieldsAlternativeDistributionDomains: String, Codable, CaseIterable { - case createdDate case domain case referenceName + case createdDate } public var delete: Request { - Request(path: path, method: "DELETE", id: "alternativeDistributionDomains-delete_instance") + Request(path: path, method: "DELETE", id: "alternativeDistributionDomains_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift index beab9ce4..6b48b86c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionKeys-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionKeys_getCollection") } public struct GetParameters { @@ -23,8 +23,8 @@ extension APIEndpoint.V1 { public var limit: Int? public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { - case app case publicKey + case app } public init(isExistsApp: Bool? = nil, fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? = nil, limit: Int? = nil) { @@ -43,7 +43,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.AlternativeDistributionKeyCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "alternativeDistributionKeys-create_instance") + Request(path: path, method: "POST", body: body, id: "alternativeDistributionKeys_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift index 770d8879..a31ed0c3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AlternativeDistributionKeys { public let path: String public func get(fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionKeys), id: "alternativeDistributionKeys-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionKeys), id: "alternativeDistributionKeys_getInstance") } private func makeGetQuery(_ fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]?) -> [(String, String?)] { @@ -24,12 +24,12 @@ extension APIEndpoint.V1.AlternativeDistributionKeys { } public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { - case app case publicKey + case app } public var delete: Request { - Request(path: path, method: "DELETE", id: "alternativeDistributionKeys-delete_instance") + Request(path: path, method: "DELETE", id: "alternativeDistributionKeys_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltasWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltasWithID.swift index 49ed0e45..81b08106 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltasWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltasWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AlternativeDistributionPackageDeltas { public let path: String public func get(fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageDeltas), id: "alternativeDistributionPackageDeltas-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageDeltas), id: "alternativeDistributionPackageDeltas_getInstance") } private func makeGetQuery(_ fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]?) -> [(String, String?)] { @@ -24,10 +24,10 @@ extension APIEndpoint.V1.AlternativeDistributionPackageDeltas { } public enum FieldsAlternativeDistributionPackageDeltas: String, Codable, CaseIterable { - case alternativeDistributionKeyBlob - case fileChecksum case url case urlExpirationDate + case alternativeDistributionKeyBlob + case fileChecksum } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariantsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariantsWithID.swift index 51cc6c83..a013809a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariantsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariantsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AlternativeDistributionPackageVariants { public let path: String public func get(fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageVariants), id: "alternativeDistributionPackageVariants-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageVariants), id: "alternativeDistributionPackageVariants_getInstance") } private func makeGetQuery(_ fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]?) -> [(String, String?)] { @@ -24,10 +24,10 @@ extension APIEndpoint.V1.AlternativeDistributionPackageVariants { } public enum FieldsAlternativeDistributionPackageVariants: String, Codable, CaseIterable { - case alternativeDistributionKeyBlob - case fileChecksum case url case urlExpirationDate + case alternativeDistributionKeyBlob + case fileChecksum } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithID.swift index 40fa25d7..9ca74561 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithID.swift @@ -14,53 +14,53 @@ extension APIEndpoint.V1.AlternativeDistributionPackageVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionPackageVersions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionPackageVersions_getInstance") } public struct GetParameters { public var fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? - public var include: [Include]? public var fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? public var fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? + public var include: [Include]? public var limitDeltas: Int? public var limitVariants: Int? public enum FieldsAlternativeDistributionPackageVersions: String, Codable, CaseIterable { - case alternativeDistributionPackage - case deltas - case fileChecksum - case state case url case urlExpirationDate - case variants case version - } - - public enum Include: String, Codable, CaseIterable { - case alternativeDistributionPackage - case deltas + case fileChecksum + case state case variants + case deltas + case alternativeDistributionPackage } public enum FieldsAlternativeDistributionPackageVariants: String, Codable, CaseIterable { - case alternativeDistributionKeyBlob - case fileChecksum case url case urlExpirationDate + case alternativeDistributionKeyBlob + case fileChecksum } public enum FieldsAlternativeDistributionPackageDeltas: String, Codable, CaseIterable { - case alternativeDistributionKeyBlob - case fileChecksum case url case urlExpirationDate + case alternativeDistributionKeyBlob + case fileChecksum } - public init(fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, include: [Include]? = nil, fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? = nil, fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? = nil, limitDeltas: Int? = nil, limitVariants: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case variants + case deltas + case alternativeDistributionPackage + } + + public init(fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? = nil, fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? = nil, include: [Include]? = nil, limitDeltas: Int? = nil, limitVariants: Int? = nil) { self.fieldsAlternativeDistributionPackageVersions = fieldsAlternativeDistributionPackageVersions - self.include = include self.fieldsAlternativeDistributionPackageVariants = fieldsAlternativeDistributionPackageVariants self.fieldsAlternativeDistributionPackageDeltas = fieldsAlternativeDistributionPackageDeltas + self.include = include self.limitDeltas = limitDeltas self.limitVariants = limitVariants } @@ -68,9 +68,9 @@ extension APIEndpoint.V1.AlternativeDistributionPackageVersions { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAlternativeDistributionPackageVersions, forKey: "fields[alternativeDistributionPackageVersions]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAlternativeDistributionPackageVariants, forKey: "fields[alternativeDistributionPackageVariants]") encoder.encode(fieldsAlternativeDistributionPackageDeltas, forKey: "fields[alternativeDistributionPackageDeltas]") + encoder.encode(include, forKey: "include") encoder.encode(limitDeltas, forKey: "limit[deltas]") encoder.encode(limitVariants, forKey: "limit[variants]") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDDeltas.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDDeltas.swift index 6432fb70..1b686dcd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDDeltas.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDDeltas.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AlternativeDistributionPackageVersions.WithID { public let path: String public func get(fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageDeltas, limit), id: "alternativeDistributionPackageVersions-deltas-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageDeltas, limit), id: "alternativeDistributionPackageVersions_deltas_getToManyRelated") } private func makeGetQuery(_ fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]?, _ limit: Int?) -> [(String, String?)] { @@ -25,10 +25,10 @@ extension APIEndpoint.V1.AlternativeDistributionPackageVersions.WithID { } public enum FieldsAlternativeDistributionPackageDeltas: String, Codable, CaseIterable { - case alternativeDistributionKeyBlob - case fileChecksum case url case urlExpirationDate + case alternativeDistributionKeyBlob + case fileChecksum } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDVariants.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDVariants.swift index 705218b6..4a77a250 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDVariants.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDVariants.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AlternativeDistributionPackageVersions.WithID { public let path: String public func get(fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageVariants, limit), id: "alternativeDistributionPackageVersions-variants-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageVariants, limit), id: "alternativeDistributionPackageVersions_variants_getToManyRelated") } private func makeGetQuery(_ fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]?, _ limit: Int?) -> [(String, String?)] { @@ -25,10 +25,10 @@ extension APIEndpoint.V1.AlternativeDistributionPackageVersions.WithID { } public enum FieldsAlternativeDistributionPackageVariants: String, Codable, CaseIterable { - case alternativeDistributionKeyBlob - case fileChecksum case url case urlExpirationDate + case alternativeDistributionKeyBlob + case fileChecksum } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackages.swift index ef59d208..5b695ad7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackages.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AlternativeDistributionPackageCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "alternativeDistributionPackages-create_instance") + Request(path: path, method: "POST", body: body, id: "alternativeDistributionPackages_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift index 1f4426d0..007bfe29 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift @@ -14,13 +14,13 @@ extension APIEndpoint.V1.AlternativeDistributionPackages { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionPackages-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionPackages_getInstance") } public struct GetParameters { public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? - public var include: [Include]? public var fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? + public var include: [Include]? public var limitVersions: Int? public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { @@ -28,33 +28,33 @@ extension APIEndpoint.V1.AlternativeDistributionPackages { case versions } - public enum Include: String, Codable, CaseIterable { - case versions - } - public enum FieldsAlternativeDistributionPackageVersions: String, Codable, CaseIterable { - case alternativeDistributionPackage - case deltas - case fileChecksum - case state case url case urlExpirationDate - case variants case version + case fileChecksum + case state + case variants + case deltas + case alternativeDistributionPackage + } + + public enum Include: String, Codable, CaseIterable { + case versions } - public init(fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, include: [Include]? = nil, fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, limitVersions: Int? = nil) { + public init(fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, include: [Include]? = nil, limitVersions: Int? = nil) { self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages - self.include = include self.fieldsAlternativeDistributionPackageVersions = fieldsAlternativeDistributionPackageVersions + self.include = include self.limitVersions = limitVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAlternativeDistributionPackageVersions, forKey: "fields[alternativeDistributionPackageVersions]") + encoder.encode(include, forKey: "include") encoder.encode(limitVersions, forKey: "limit[versions]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift index 60972212..49936858 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift @@ -14,84 +14,84 @@ extension APIEndpoint.V1.AlternativeDistributionPackages.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionPackages-versions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionPackages_versions_getToManyRelated") } public struct GetParameters { public var filterState: [FilterState]? - public var fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? - public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? + public var fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? public var fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var limit: Int? + public var include: [Include]? public var limitVariants: Int? public var limitDeltas: Int? - public var include: [Include]? public enum FilterState: String, Codable, CaseIterable { case completed = "COMPLETED" case replaced = "REPLACED" } - public enum FieldsAlternativeDistributionPackageVariants: String, Codable, CaseIterable { - case alternativeDistributionKeyBlob - case fileChecksum + public enum FieldsAlternativeDistributionPackageVersions: String, Codable, CaseIterable { case url case urlExpirationDate - } - - public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { - case appStoreVersion - case versions - } - - public enum FieldsAlternativeDistributionPackageVersions: String, Codable, CaseIterable { - case alternativeDistributionPackage - case deltas + case version case fileChecksum case state - case url - case urlExpirationDate case variants - case version + case deltas + case alternativeDistributionPackage } - public enum FieldsAlternativeDistributionPackageDeltas: String, Codable, CaseIterable { + public enum FieldsAlternativeDistributionPackageVariants: String, Codable, CaseIterable { + case url + case urlExpirationDate case alternativeDistributionKeyBlob case fileChecksum + } + + public enum FieldsAlternativeDistributionPackageDeltas: String, Codable, CaseIterable { case url case urlExpirationDate + case alternativeDistributionKeyBlob + case fileChecksum + } + + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + case appStoreVersion + case versions } public enum Include: String, Codable, CaseIterable { - case alternativeDistributionPackage - case deltas case variants + case deltas + case alternativeDistributionPackage } - public init(filterState: [FilterState]? = nil, fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? = nil, limit: Int? = nil, limitVariants: Int? = nil, limitDeltas: Int? = nil, include: [Include]? = nil) { + public init(filterState: [FilterState]? = nil, fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? = nil, fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, limit: Int? = nil, include: [Include]? = nil, limitVariants: Int? = nil, limitDeltas: Int? = nil) { self.filterState = filterState - self.fieldsAlternativeDistributionPackageVariants = fieldsAlternativeDistributionPackageVariants - self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages self.fieldsAlternativeDistributionPackageVersions = fieldsAlternativeDistributionPackageVersions + self.fieldsAlternativeDistributionPackageVariants = fieldsAlternativeDistributionPackageVariants self.fieldsAlternativeDistributionPackageDeltas = fieldsAlternativeDistributionPackageDeltas + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages self.limit = limit + self.include = include self.limitVariants = limitVariants self.limitDeltas = limitDeltas - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterState, forKey: "filter[state]") - encoder.encode(fieldsAlternativeDistributionPackageVariants, forKey: "fields[alternativeDistributionPackageVariants]") - encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsAlternativeDistributionPackageVersions, forKey: "fields[alternativeDistributionPackageVersions]") + encoder.encode(fieldsAlternativeDistributionPackageVariants, forKey: "fields[alternativeDistributionPackageVariants]") encoder.encode(fieldsAlternativeDistributionPackageDeltas, forKey: "fields[alternativeDistributionPackageDeltas]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitVariants, forKey: "limit[variants]") encoder.encode(limitDeltas, forKey: "limit[deltas]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportInstancesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportInstancesWithID.swift index a5577dd2..369913a8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportInstancesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportInstancesWithID.swift @@ -13,14 +13,13 @@ extension APIEndpoint.V1.AnalyticsReportInstances { /// Path: `/v1/analyticsReportInstances/{id}` public let path: String - public func get(fieldsAnalyticsReportInstances: [FieldsAnalyticsReportInstances]? = nil, fieldsAnalyticsReportSegments: [FieldsAnalyticsReportSegments]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAnalyticsReportInstances, fieldsAnalyticsReportSegments), id: "analyticsReportInstances-get_instance") + public func get(fieldsAnalyticsReportInstances: [FieldsAnalyticsReportInstances]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsAnalyticsReportInstances), id: "analyticsReportInstances_getInstance") } - private func makeGetQuery(_ fieldsAnalyticsReportInstances: [FieldsAnalyticsReportInstances]?, _ fieldsAnalyticsReportSegments: [FieldsAnalyticsReportSegments]?) -> [(String, String?)] { - let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAnalyticsReportInstances, forKey: "fields[analyticsReportInstances]") - encoder.encode(fieldsAnalyticsReportSegments, forKey: "fields[analyticsReportSegments]") + private func makeGetQuery(_ fieldsAnalyticsReportInstances: [FieldsAnalyticsReportInstances]?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsAnalyticsReportInstances, forKey: "fields[analyticsReportInstances]", explode: false) return encoder.items } @@ -29,11 +28,5 @@ extension APIEndpoint.V1.AnalyticsReportInstances { case processingDate case segments } - - public enum FieldsAnalyticsReportSegments: String, Codable, CaseIterable { - case checksum - case sizeInBytes - case url - } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportInstancesWithIDSegments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportInstancesWithIDSegments.swift index 5708857f..81dfeab0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportInstancesWithIDSegments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportInstancesWithIDSegments.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AnalyticsReportInstances.WithID { public let path: String public func get(fieldsAnalyticsReportSegments: [FieldsAnalyticsReportSegments]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAnalyticsReportSegments, limit), id: "analyticsReportInstances-segments-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAnalyticsReportSegments, limit), id: "analyticsReportInstances_segments_getToManyRelated") } private func makeGetQuery(_ fieldsAnalyticsReportSegments: [FieldsAnalyticsReportSegments]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequests.swift index e6c11432..4b71795f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequests.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AnalyticsReportRequestCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "analyticsReportRequests-create_instance") + Request(path: path, method: "POST", body: body, id: "analyticsReportRequests_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithID.swift index 7054d662..95bf5e60 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithID.swift @@ -14,51 +14,51 @@ extension APIEndpoint.V1.AnalyticsReportRequests { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "analyticsReportRequests-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "analyticsReportRequests_getInstance") } public struct GetParameters { public var fieldsAnalyticsReportRequests: [FieldsAnalyticsReportRequests]? - public var include: [Include]? public var fieldsAnalyticsReports: [FieldsAnalyticsReports]? + public var include: [Include]? public var limitReports: Int? public enum FieldsAnalyticsReportRequests: String, Codable, CaseIterable { case accessType - case app - case reports case stoppedDueToInactivity - } - - public enum Include: String, Codable, CaseIterable { + case app case reports } public enum FieldsAnalyticsReports: String, Codable, CaseIterable { + case name case category case instances - case name } - public init(fieldsAnalyticsReportRequests: [FieldsAnalyticsReportRequests]? = nil, include: [Include]? = nil, fieldsAnalyticsReports: [FieldsAnalyticsReports]? = nil, limitReports: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case reports + } + + public init(fieldsAnalyticsReportRequests: [FieldsAnalyticsReportRequests]? = nil, fieldsAnalyticsReports: [FieldsAnalyticsReports]? = nil, include: [Include]? = nil, limitReports: Int? = nil) { self.fieldsAnalyticsReportRequests = fieldsAnalyticsReportRequests - self.include = include self.fieldsAnalyticsReports = fieldsAnalyticsReports + self.include = include self.limitReports = limitReports } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAnalyticsReportRequests, forKey: "fields[analyticsReportRequests]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAnalyticsReports, forKey: "fields[analyticsReports]") + encoder.encode(include, forKey: "include") encoder.encode(limitReports, forKey: "limit[reports]") return encoder.items } } public var delete: Request { - Request(path: path, method: "DELETE", id: "analyticsReportRequests-delete_instance") + Request(path: path, method: "DELETE", id: "analyticsReportRequests_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithIDReports.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithIDReports.swift index 85059186..4c6457dc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithIDReports.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithIDReports.swift @@ -14,12 +14,12 @@ extension APIEndpoint.V1.AnalyticsReportRequests.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "analyticsReportRequests-reports-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "analyticsReportRequests_reports_getToManyRelated") } public struct GetParameters { - public var filterCategory: [FilterCategory]? public var filterName: [String]? + public var filterCategory: [FilterCategory]? public var fieldsAnalyticsReports: [FieldsAnalyticsReports]? public var limit: Int? @@ -32,22 +32,22 @@ extension APIEndpoint.V1.AnalyticsReportRequests.WithID { } public enum FieldsAnalyticsReports: String, Codable, CaseIterable { + case name case category case instances - case name } - public init(filterCategory: [FilterCategory]? = nil, filterName: [String]? = nil, fieldsAnalyticsReports: [FieldsAnalyticsReports]? = nil, limit: Int? = nil) { - self.filterCategory = filterCategory + public init(filterName: [String]? = nil, filterCategory: [FilterCategory]? = nil, fieldsAnalyticsReports: [FieldsAnalyticsReports]? = nil, limit: Int? = nil) { self.filterName = filterName + self.filterCategory = filterCategory self.fieldsAnalyticsReports = fieldsAnalyticsReports self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterCategory, forKey: "filter[category]") encoder.encode(filterName, forKey: "filter[name]") + encoder.encode(filterCategory, forKey: "filter[category]") encoder.encode(fieldsAnalyticsReports, forKey: "fields[analyticsReports]") encoder.encode(limit, forKey: "limit") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportSegmentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportSegmentsWithID.swift index f269d0c1..e784f70a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportSegmentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportSegmentsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AnalyticsReportSegments { public let path: String public func get(fieldsAnalyticsReportSegments: [FieldsAnalyticsReportSegments]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAnalyticsReportSegments), id: "analyticsReportSegments-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAnalyticsReportSegments), id: "analyticsReportSegments_getInstance") } private func makeGetQuery(_ fieldsAnalyticsReportSegments: [FieldsAnalyticsReportSegments]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportsWithID.swift index 371bb9f2..453d986a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportsWithID.swift @@ -13,27 +13,20 @@ extension APIEndpoint.V1.AnalyticsReports { /// Path: `/v1/analyticsReports/{id}` public let path: String - public func get(fieldsAnalyticsReports: [FieldsAnalyticsReports]? = nil, fieldsAnalyticsReportInstances: [FieldsAnalyticsReportInstances]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAnalyticsReports, fieldsAnalyticsReportInstances), id: "analyticsReports-get_instance") + public func get(fieldsAnalyticsReports: [FieldsAnalyticsReports]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsAnalyticsReports), id: "analyticsReports_getInstance") } - private func makeGetQuery(_ fieldsAnalyticsReports: [FieldsAnalyticsReports]?, _ fieldsAnalyticsReportInstances: [FieldsAnalyticsReportInstances]?) -> [(String, String?)] { - let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAnalyticsReports, forKey: "fields[analyticsReports]") - encoder.encode(fieldsAnalyticsReportInstances, forKey: "fields[analyticsReportInstances]") + private func makeGetQuery(_ fieldsAnalyticsReports: [FieldsAnalyticsReports]?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsAnalyticsReports, forKey: "fields[analyticsReports]", explode: false) return encoder.items } public enum FieldsAnalyticsReports: String, Codable, CaseIterable { + case name case category case instances - case name - } - - public enum FieldsAnalyticsReportInstances: String, Codable, CaseIterable { - case granularity - case processingDate - case segments } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportsWithIDInstances.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportsWithIDInstances.swift index b318fb34..892a7945 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportsWithIDInstances.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportsWithIDInstances.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AnalyticsReports.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "analyticsReports-instances-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "analyticsReports_instances_getToManyRelated") } public struct GetParameters { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift index cdadb045..4903548a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilities.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1 { @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.AppAvailabilityCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appAvailabilities-create_instance") + 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 index 6112535d..e410ba13 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithID.swift @@ -15,22 +15,17 @@ extension APIEndpoint.V1.AppAvailabilities { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appAvailabilities-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appAvailabilities_getInstance") } public struct GetParameters { public var fieldsAppAvailabilities: [FieldsAppAvailabilities]? - public var include: [Include]? public var fieldsTerritories: [FieldsTerritories]? + public var include: [Include]? public var limitAvailableTerritories: Int? public enum FieldsAppAvailabilities: String, Codable, CaseIterable { - case app case availableInNewTerritories - case availableTerritories - } - - public enum Include: String, Codable, CaseIterable { case app case availableTerritories } @@ -39,18 +34,23 @@ extension APIEndpoint.V1.AppAvailabilities { case currency } - public init(fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, include: [Include]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitAvailableTerritories: Int? = nil) { + 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.include = include 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(include, forKey: "include") 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 index d3019ccc..17dd2037 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppAvailabilitiesWithIDAvailableTerritories.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.AppAvailabilities.WithID { @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-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "appAvailabilities_availableTerritories_getToManyRelated") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift index 3f39690b..2ea04759 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCategories-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCategories_getCollection") } public struct GetParameters { @@ -33,14 +33,14 @@ extension APIEndpoint.V1 { } public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent } public enum Include: String, Codable, CaseIterable { - case parent case subcategories + case parent } public init(filterPlatforms: [FilterPlatforms]? = nil, isExistsParent: Bool? = nil, fieldsAppCategories: [FieldsAppCategories]? = nil, limit: Int? = nil, include: [Include]? = nil, limitSubcategories: Int? = nil) { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithID.swift index f23b71be..0af0b842 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppCategories { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCategories-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCategories_getInstance") } public struct GetParameters { @@ -23,14 +23,14 @@ extension APIEndpoint.V1.AppCategories { public var limitSubcategories: Int? public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent } public enum Include: String, Codable, CaseIterable { - case parent case subcategories + case parent } public init(fieldsAppCategories: [FieldsAppCategories]? = nil, include: [Include]? = nil, limitSubcategories: Int? = nil) { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDParent.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDParent.swift index a2ac55b0..5d6bab73 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDParent.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDParent.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppCategories.WithID { public let path: String public func get(fieldsAppCategories: [FieldsAppCategories]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppCategories), id: "appCategories-parent-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppCategories), id: "appCategories_parent_getToOneRelated") } private func makeGetQuery(_ fieldsAppCategories: [FieldsAppCategories]?) -> [(String, String?)] { @@ -24,9 +24,9 @@ extension APIEndpoint.V1.AppCategories.WithID { } public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDSubcategories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDSubcategories.swift index b53d37c3..52cb6aa7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDSubcategories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDSubcategories.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppCategories.WithID { public let path: String public func get(fieldsAppCategories: [FieldsAppCategories]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppCategories, limit), id: "appCategories-subcategories-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppCategories, limit), id: "appCategories_subcategories_getToManyRelated") } private func makeGetQuery(_ fieldsAppCategories: [FieldsAppCategories]?, _ limit: Int?) -> [(String, String?)] { @@ -25,9 +25,9 @@ extension APIEndpoint.V1.AppCategories.WithID { } public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImages.swift index 13412177..2870ab11 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImages.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipAdvancedExperienceImageCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appClipAdvancedExperienceImages-create_instance") + Request(path: path, method: "POST", body: body, id: "appClipAdvancedExperienceImages_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift index c851edde..092d151f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperienceImagesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppClipAdvancedExperienceImages { public let path: String public func get(fieldsAppClipAdvancedExperienceImages: [FieldsAppClipAdvancedExperienceImages]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipAdvancedExperienceImages), id: "appClipAdvancedExperienceImages-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipAdvancedExperienceImages), id: "appClipAdvancedExperienceImages_getInstance") } private func makeGetQuery(_ fieldsAppClipAdvancedExperienceImages: [FieldsAppClipAdvancedExperienceImages]?) -> [(String, String?)] { @@ -24,17 +24,17 @@ extension APIEndpoint.V1.AppClipAdvancedExperienceImages { } public enum FieldsAppClipAdvancedExperienceImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset case uploadOperations + case assetDeliveryState case uploaded } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipAdvancedExperienceImageUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appClipAdvancedExperienceImages-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appClipAdvancedExperienceImages_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiences.swift index d0400ebe..85c00ab2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiences.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipAdvancedExperienceCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appClipAdvancedExperiences-create_instance") + Request(path: path, method: "POST", body: body, id: "appClipAdvancedExperiences_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift index 5d82dc43..ac3a177e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAdvancedExperiencesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppClipAdvancedExperiences { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipAdvancedExperiences-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipAdvancedExperiences_getInstance") } public struct GetParameters { @@ -23,19 +23,19 @@ extension APIEndpoint.V1.AppClipAdvancedExperiences { public var limitLocalizations: Int? public enum FieldsAppClipAdvancedExperiences: String, Codable, CaseIterable { + case link + case version + case status case action - case appClip - case businessCategory - case defaultLanguage - case headerImage case isPoweredBy - case link - case localizations case place case placeStatus + case businessCategory + case defaultLanguage case removed - case status - case version + case appClip + case headerImage + case localizations } public enum Include: String, Codable, CaseIterable { @@ -60,7 +60,7 @@ extension APIEndpoint.V1.AppClipAdvancedExperiences { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipAdvancedExperienceUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appClipAdvancedExperiences-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appClipAdvancedExperiences_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetails.swift index 0a781654..3f5d83af 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetails.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipAppStoreReviewDetailCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appClipAppStoreReviewDetails-create_instance") + Request(path: path, method: "POST", body: body, id: "appClipAppStoreReviewDetails_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetailsWithID.swift index 006a246e..e0740503 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipAppStoreReviewDetailsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppClipAppStoreReviewDetails { public let path: String public func get(fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipAppStoreReviewDetails, include), id: "appClipAppStoreReviewDetails-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipAppStoreReviewDetails, include), id: "appClipAppStoreReviewDetails_getInstance") } private func makeGetQuery(_ fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,8 +25,8 @@ extension APIEndpoint.V1.AppClipAppStoreReviewDetails { } public enum FieldsAppClipAppStoreReviewDetails: String, Codable, CaseIterable { - case appClipDefaultExperience case invocationURLs = "invocationUrls" + case appClipDefaultExperience } public enum Include: String, Codable, CaseIterable { @@ -34,7 +34,7 @@ extension APIEndpoint.V1.AppClipAppStoreReviewDetails { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipAppStoreReviewDetailUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appClipAppStoreReviewDetails-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appClipAppStoreReviewDetails_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizations.swift index 31ca8bf0..007f6403 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appClipDefaultExperienceLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "appClipDefaultExperienceLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift index a6cb181d..dd0a6bfa 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithID.swift @@ -14,58 +14,58 @@ extension APIEndpoint.V1.AppClipDefaultExperienceLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperienceLocalizations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperienceLocalizations_getInstance") } public struct GetParameters { public var fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? - public var include: [Include]? public var fieldsAppClipHeaderImages: [FieldsAppClipHeaderImages]? + public var include: [Include]? public enum FieldsAppClipDefaultExperienceLocalizations: String, Codable, CaseIterable { - case appClipDefaultExperience - case appClipHeaderImage case locale case subtitle - } - - public enum Include: String, Codable, CaseIterable { case appClipDefaultExperience case appClipHeaderImage } public enum FieldsAppClipHeaderImages: String, Codable, CaseIterable { - case appClipDefaultExperienceLocalization - case assetDeliveryState - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case appClipDefaultExperienceLocalization + } + + public enum Include: String, Codable, CaseIterable { + case appClipDefaultExperience + case appClipHeaderImage } - public init(fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? = nil, include: [Include]? = nil, fieldsAppClipHeaderImages: [FieldsAppClipHeaderImages]? = nil) { + public init(fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? = nil, fieldsAppClipHeaderImages: [FieldsAppClipHeaderImages]? = nil, include: [Include]? = nil) { self.fieldsAppClipDefaultExperienceLocalizations = fieldsAppClipDefaultExperienceLocalizations - self.include = include self.fieldsAppClipHeaderImages = fieldsAppClipHeaderImages + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppClipDefaultExperienceLocalizations, forKey: "fields[appClipDefaultExperienceLocalizations]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppClipHeaderImages, forKey: "fields[appClipHeaderImages]") + encoder.encode(include, forKey: "include") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appClipDefaultExperienceLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appClipDefaultExperienceLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appClipDefaultExperienceLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "appClipDefaultExperienceLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift index 558d72d8..34cfef8d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDAppClipHeaderImage.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppClipDefaultExperienceLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperienceLocalizations-appClipHeaderImage-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperienceLocalizations_appClipHeaderImage_getToOneRelated") } public struct GetParameters { @@ -23,21 +23,21 @@ extension APIEndpoint.V1.AppClipDefaultExperienceLocalizations.WithID { public var include: [Include]? public enum FieldsAppClipHeaderImages: String, Codable, CaseIterable { - case appClipDefaultExperienceLocalization - case assetDeliveryState - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case appClipDefaultExperienceLocalization } public enum FieldsAppClipDefaultExperienceLocalizations: String, Codable, CaseIterable { - case appClipDefaultExperience - case appClipHeaderImage case locale case subtitle + case appClipDefaultExperience + case appClipHeaderImage } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiences.swift index b2a1fee2..346c12b3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiences.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appClipDefaultExperiences-create_instance") + Request(path: path, method: "POST", body: body, id: "appClipDefaultExperiences_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift index 7de3619c..a7596ddf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift @@ -14,98 +14,99 @@ extension APIEndpoint.V1.AppClipDefaultExperiences { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences_getInstance") } public struct GetParameters { public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? - public var include: [Include]? - public var fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? + public var fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? + public var include: [Include]? public var limitAppClipDefaultExperienceLocalizations: Int? public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { case action case appClip - case appClipAppStoreReviewDetail - case appClipDefaultExperienceLocalizations - case appClipDefaultExperienceTemplate case releaseWithAppStoreVersion - } - - public enum Include: String, Codable, CaseIterable { - case appClip - case appClipAppStoreReviewDetail case appClipDefaultExperienceLocalizations - case releaseWithAppStoreVersion - } - - public enum FieldsAppClipAppStoreReviewDetails: String, Codable, CaseIterable { - case appClipDefaultExperience - case invocationURLs = "invocationUrls" + case appClipAppStoreReviewDetail + case appClipDefaultExperienceTemplate } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } public enum FieldsAppClipDefaultExperienceLocalizations: String, Codable, CaseIterable { - case appClipDefaultExperience - case appClipHeaderImage case locale case subtitle + case appClipDefaultExperience + case appClipHeaderImage } - public init(fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, include: [Include]? = nil, fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? = nil, limitAppClipDefaultExperienceLocalizations: Int? = nil) { + public enum FieldsAppClipAppStoreReviewDetails: String, Codable, CaseIterable { + case invocationURLs = "invocationUrls" + case appClipDefaultExperience + } + + public enum Include: String, Codable, CaseIterable { + case appClip + case releaseWithAppStoreVersion + case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail + } + + public init(fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? = nil, fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? = nil, include: [Include]? = nil, limitAppClipDefaultExperienceLocalizations: Int? = nil) { self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences - self.include = include - self.fieldsAppClipAppStoreReviewDetails = fieldsAppClipAppStoreReviewDetails self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsAppClipDefaultExperienceLocalizations = fieldsAppClipDefaultExperienceLocalizations + self.fieldsAppClipAppStoreReviewDetails = fieldsAppClipAppStoreReviewDetails + self.include = include self.limitAppClipDefaultExperienceLocalizations = limitAppClipDefaultExperienceLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsAppClipAppStoreReviewDetails, forKey: "fields[appClipAppStoreReviewDetails]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsAppClipDefaultExperienceLocalizations, forKey: "fields[appClipDefaultExperienceLocalizations]") + encoder.encode(fieldsAppClipAppStoreReviewDetails, forKey: "fields[appClipAppStoreReviewDetails]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppClipDefaultExperienceLocalizations, forKey: "limit[appClipDefaultExperienceLocalizations]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appClipDefaultExperiences-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appClipDefaultExperiences_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appClipDefaultExperiences-delete_instance") + Request(path: path, method: "DELETE", id: "appClipDefaultExperiences_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift index f96e2d0a..a7e1db9f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipAppStoreReviewDetail.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences-appClipAppStoreReviewDetail-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences_appClipAppStoreReviewDetail_getToOneRelated") } public struct GetParameters { @@ -23,17 +23,17 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { public var include: [Include]? public enum FieldsAppClipAppStoreReviewDetails: String, Codable, CaseIterable { - case appClipDefaultExperience case invocationURLs = "invocationUrls" + case appClipDefaultExperience } public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { case action case appClip - case appClipAppStoreReviewDetail + case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift index c1140c97..20c9a163 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDAppClipDefaultExperienceLocalizations.swift @@ -14,42 +14,42 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences-appClipDefaultExperienceLocalizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences_appClipDefaultExperienceLocalizations_getToManyRelated") } public struct GetParameters { public var filterLocale: [String]? - public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? + public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var fieldsAppClipHeaderImages: [FieldsAppClipHeaderImages]? public var limit: Int? public var include: [Include]? + public enum FieldsAppClipDefaultExperienceLocalizations: String, Codable, CaseIterable { + case locale + case subtitle + case appClipDefaultExperience + case appClipHeaderImage + } + public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { case action case appClip - case appClipAppStoreReviewDetail + case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion - } - - public enum FieldsAppClipDefaultExperienceLocalizations: String, Codable, CaseIterable { - case appClipDefaultExperience - case appClipHeaderImage - case locale - case subtitle } public enum FieldsAppClipHeaderImages: String, Codable, CaseIterable { - case appClipDefaultExperienceLocalization - case assetDeliveryState - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case appClipDefaultExperienceLocalization } public enum Include: String, Codable, CaseIterable { @@ -57,10 +57,10 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case appClipHeaderImage } - public init(filterLocale: [String]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? = nil, fieldsAppClipHeaderImages: [FieldsAppClipHeaderImages]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterLocale: [String]? = nil, fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppClipHeaderImages: [FieldsAppClipHeaderImages]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterLocale = filterLocale - self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.fieldsAppClipDefaultExperienceLocalizations = fieldsAppClipDefaultExperienceLocalizations + self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.fieldsAppClipHeaderImages = fieldsAppClipHeaderImages self.limit = limit self.include = include @@ -69,8 +69,8 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterLocale, forKey: "filter[locale]") - encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(fieldsAppClipDefaultExperienceLocalizations, forKey: "fields[appClipDefaultExperienceLocalizations]") + encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(fieldsAppClipHeaderImages, forKey: "fields[appClipHeaderImages]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsReleaseWithAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsReleaseWithAppStoreVersion.swift index 20887ec8..88db5541 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsReleaseWithAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationshipsReleaseWithAppStoreVersion.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID.Relationships { public let path: String public var get: Request { - Request(path: path, method: "GET", id: "appClipDefaultExperiences-releaseWithAppStoreVersion-get_to_one_relationship") + Request(path: path, method: "GET", id: "appClipDefaultExperiences_releaseWithAppStoreVersion_getToOneRelationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appClipDefaultExperiences-releaseWithAppStoreVersion-update_to_one_relationship") + Request(path: path, method: "PATCH", body: body, id: "appClipDefaultExperiences_releaseWithAppStoreVersion_updateToOneRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift index 8dfbbdbd..4d2bf9a5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift @@ -14,277 +14,292 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences-releaseWithAppStoreVersion-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClipDefaultExperiences_releaseWithAppStoreVersion_getToOneRelated") } public struct GetParameters { - public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? - public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? - public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsApps: [FieldsApps]? + public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? + public var fieldsBuilds: [FieldsBuilds]? + public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? + public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? public var fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? + public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? + public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? - public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? - public var fieldsBuilds: [FieldsBuilds]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? + public var include: [Include]? public var limitAppStoreVersionLocalizations: Int? public var limitAppStoreVersionExperiments: Int? public var limitAppStoreVersionExperimentsV2: Int? - public var include: [Include]? + + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + 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 FieldsAgeRatingDeclarations: String, Codable, CaseIterable { - case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests - case gambling case gamblingAndContests + case gambling case gamblingSimulated - case horrorOrFearThemes case kidsAgeBand - case matureOrSuggestiveThemes + case lootBox case medicalOrTreatmentInformation case profanityOrCrudeHumor - case seventeenPlus case sexualContentGraphicAndNudity case sexualContentOrNudity + case horrorOrFearThemes + case matureOrSuggestiveThemes case unrestrictedWebAccess case violenceCartoonOrFantasy - case violenceRealistic case violenceRealisticProlongedGraphicOrSadistic - } - - public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { - case appStoreReviewAttachments - case appStoreVersion - case contactEmail - case contactFirstName - case contactLastName - case contactPhone - case demoAccountName - case demoAccountPassword - case demoAccountRequired - case notes + case violenceRealistic + case ageRatingOverride + case koreaAgeRatingOverride + case seventeenPlus } public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion case description - case keywords case locale + case keywords case marketingURL = "marketingUrl" case promotionalText case supportURL = "supportUrl" case whatsNew + case appStoreVersion + case appScreenshotSets + case appPreviewSets } - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission case app + case buildBetaDetail case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { + case phasedReleaseState + case startDate + case totalPauseDuration + case currentDayNumber case appStoreVersion } - public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions case appStoreVersion - case versions - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString - } - - public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages - case appEncryptionDeclarations - case appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 - case appStoreVersions - case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters - case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews - case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions - case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name - case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale - case promotedPurchases - case reviewSubmissions - case sku - case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" } public enum FieldsRoutingAppCoverages: String, Codable, CaseIterable { - case appStoreVersion - case assetDeliveryState - case fileName case fileSize + case fileName case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded + case appStoreVersion + } + + public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { + case contactFirstName + case contactLastName + case contactPhone + case contactEmail + case demoAccountName + case demoAccountPassword + case demoAccountRequired + case notes + case appStoreVersion + case appStoreReviewAttachments + } + + public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + case appStoreVersion } public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { case action case appClip - case appClipAppStoreReviewDetail + case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion } - public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { - case appStoreVersion - case currentDayNumber - case phasedReleaseState + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case name + case trafficProportion + case state + case reviewRequired case startDate - case totalPauseDuration + case endDate + case started + case appStoreVersion + case appStoreVersionExperimentTreatments + case platform + case app + case latestControlVersion + case controlVersions } - public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version + case versions } public enum Include: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 + case ageRatingDeclaration case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case alternativeDistributionPackage } - public init(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { - self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations - self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions - self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages + public init(fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, include: [Include]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil) { self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsApps = fieldsApps + self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations + self.fieldsBuilds = fieldsBuilds + self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases + self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions self.fieldsRoutingAppCoverages = fieldsRoutingAppCoverages + self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails + self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences - self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases - self.fieldsBuilds = fieldsBuilds + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages + self.include = include self.limitAppStoreVersionLocalizations = limitAppStoreVersionLocalizations self.limitAppStoreVersionExperiments = limitAppStoreVersionExperiments self.limitAppStoreVersionExperimentsV2 = limitAppStoreVersionExperimentsV2 - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") - encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") - encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") + encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") encoder.encode(fieldsRoutingAppCoverages, forKey: "fields[routingAppCoverages]") + encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") + encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") - encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppStoreVersionLocalizations, forKey: "limit[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionExperiments, forKey: "limit[appStoreVersionExperiments]") encoder.encode(limitAppStoreVersionExperimentsV2, forKey: "limit[appStoreVersionExperimentsV2]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImages.swift index 32b0868f..ea85b637 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImages.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppClipHeaderImageCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appClipHeaderImages-create_instance") + Request(path: path, method: "POST", body: body, id: "appClipHeaderImages_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift index f4dd06ea..31bc5b03 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImagesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppClipHeaderImages { public let path: String public func get(fieldsAppClipHeaderImages: [FieldsAppClipHeaderImages]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipHeaderImages, include), id: "appClipHeaderImages-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipHeaderImages, include), id: "appClipHeaderImages_getInstance") } private func makeGetQuery(_ fieldsAppClipHeaderImages: [FieldsAppClipHeaderImages]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,14 +25,14 @@ extension APIEndpoint.V1.AppClipHeaderImages { } public enum FieldsAppClipHeaderImages: String, Codable, CaseIterable { - case appClipDefaultExperienceLocalization - case assetDeliveryState - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case appClipDefaultExperienceLocalization } public enum Include: String, Codable, CaseIterable { @@ -40,11 +40,11 @@ extension APIEndpoint.V1.AppClipHeaderImages { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppClipHeaderImageUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appClipHeaderImages-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appClipHeaderImages_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appClipHeaderImages-delete_instance") + Request(path: path, method: "DELETE", id: "appClipHeaderImages_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift index 7a51b296..ea17d145 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithID.swift @@ -14,67 +14,48 @@ extension APIEndpoint.V1.AppClips { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClips-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClips_getInstance") } public struct GetParameters { public var fieldsAppClips: [FieldsAppClips]? - public var include: [Include]? - public var fieldsAppClipAdvancedExperiences: [FieldsAppClipAdvancedExperiences]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? + public var include: [Include]? public var limitAppClipDefaultExperiences: Int? public enum FieldsAppClips: String, Codable, CaseIterable { - case app - case appClipAdvancedExperiences - case appClipDefaultExperiences case bundleID = "bundleId" - } - - public enum Include: String, Codable, CaseIterable { case app case appClipDefaultExperiences - } - - public enum FieldsAppClipAdvancedExperiences: String, Codable, CaseIterable { - case action - case appClip - case businessCategory - case defaultLanguage - case headerImage - case isPoweredBy - case link - case localizations - case place - case placeStatus - case removed - case status - case version + case appClipAdvancedExperiences } public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { case action case appClip - case appClipAppStoreReviewDetail + case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion } - public init(fieldsAppClips: [FieldsAppClips]? = nil, include: [Include]? = nil, fieldsAppClipAdvancedExperiences: [FieldsAppClipAdvancedExperiences]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, limitAppClipDefaultExperiences: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case app + case appClipDefaultExperiences + } + + public init(fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, include: [Include]? = nil, limitAppClipDefaultExperiences: Int? = nil) { self.fieldsAppClips = fieldsAppClips - self.include = include - self.fieldsAppClipAdvancedExperiences = fieldsAppClipAdvancedExperiences self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences + self.include = include self.limitAppClipDefaultExperiences = limitAppClipDefaultExperiences } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppClips, forKey: "fields[appClips]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsAppClipAdvancedExperiences, forKey: "fields[appClipAdvancedExperiences]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppClipDefaultExperiences, forKey: "limit[appClipDefaultExperiences]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift index ae800796..9332d563 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipAdvancedExperiences.swift @@ -14,25 +14,25 @@ extension APIEndpoint.V1.AppClips.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClips-appClipAdvancedExperiences-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClips_appClipAdvancedExperiences_getToManyRelated") } public struct GetParameters { - public var filterAction: [FilterAction]? - public var filterPlaceStatus: [FilterPlaceStatus]? public var filterStatus: [FilterStatus]? + public var filterPlaceStatus: [FilterPlaceStatus]? + public var filterAction: [FilterAction]? public var fieldsAppClipAdvancedExperiences: [FieldsAppClipAdvancedExperiences]? public var fieldsAppClips: [FieldsAppClips]? public var fieldsAppClipAdvancedExperienceImages: [FieldsAppClipAdvancedExperienceImages]? public var fieldsAppClipAdvancedExperienceLocalizations: [FieldsAppClipAdvancedExperienceLocalizations]? public var limit: Int? - public var limitLocalizations: Int? public var include: [Include]? + public var limitLocalizations: Int? - public enum FilterAction: String, Codable, CaseIterable { - case `open` = "OPEN" - case view = "VIEW" - case play = "PLAY" + public enum FilterStatus: String, Codable, CaseIterable { + case received = "RECEIVED" + case deactivated = "DEACTIVATED" + case appTransferInProgress = "APP_TRANSFER_IN_PROGRESS" } public enum FilterPlaceStatus: String, Codable, CaseIterable { @@ -41,49 +41,49 @@ extension APIEndpoint.V1.AppClips.WithID { case noMatch = "NO_MATCH" } - public enum FilterStatus: String, Codable, CaseIterable { - case received = "RECEIVED" - case deactivated = "DEACTIVATED" - case appTransferInProgress = "APP_TRANSFER_IN_PROGRESS" + public enum FilterAction: String, Codable, CaseIterable { + case `open` = "OPEN" + case view = "VIEW" + case play = "PLAY" } public enum FieldsAppClipAdvancedExperiences: String, Codable, CaseIterable { + case link + case version + case status case action - case appClip - case businessCategory - case defaultLanguage - case headerImage case isPoweredBy - case link - case localizations case place case placeStatus + case businessCategory + case defaultLanguage case removed - case status - case version + case appClip + case headerImage + case localizations } public enum FieldsAppClips: String, Codable, CaseIterable { + case bundleID = "bundleId" case app - case appClipAdvancedExperiences case appClipDefaultExperiences - case bundleID = "bundleId" + case appClipAdvancedExperiences } public enum FieldsAppClipAdvancedExperienceImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset case uploadOperations + case assetDeliveryState case uploaded } public enum FieldsAppClipAdvancedExperienceLocalizations: String, Codable, CaseIterable { case language - case subtitle case title + case subtitle } public enum Include: String, Codable, CaseIterable { @@ -92,31 +92,31 @@ extension APIEndpoint.V1.AppClips.WithID { case localizations } - public init(filterAction: [FilterAction]? = nil, filterPlaceStatus: [FilterPlaceStatus]? = nil, filterStatus: [FilterStatus]? = nil, fieldsAppClipAdvancedExperiences: [FieldsAppClipAdvancedExperiences]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppClipAdvancedExperienceImages: [FieldsAppClipAdvancedExperienceImages]? = nil, fieldsAppClipAdvancedExperienceLocalizations: [FieldsAppClipAdvancedExperienceLocalizations]? = nil, limit: Int? = nil, limitLocalizations: Int? = nil, include: [Include]? = nil) { - self.filterAction = filterAction - self.filterPlaceStatus = filterPlaceStatus + public init(filterStatus: [FilterStatus]? = nil, filterPlaceStatus: [FilterPlaceStatus]? = nil, filterAction: [FilterAction]? = nil, fieldsAppClipAdvancedExperiences: [FieldsAppClipAdvancedExperiences]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppClipAdvancedExperienceImages: [FieldsAppClipAdvancedExperienceImages]? = nil, fieldsAppClipAdvancedExperienceLocalizations: [FieldsAppClipAdvancedExperienceLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil) { self.filterStatus = filterStatus + self.filterPlaceStatus = filterPlaceStatus + self.filterAction = filterAction self.fieldsAppClipAdvancedExperiences = fieldsAppClipAdvancedExperiences self.fieldsAppClips = fieldsAppClips self.fieldsAppClipAdvancedExperienceImages = fieldsAppClipAdvancedExperienceImages self.fieldsAppClipAdvancedExperienceLocalizations = fieldsAppClipAdvancedExperienceLocalizations self.limit = limit - self.limitLocalizations = limitLocalizations self.include = include + self.limitLocalizations = limitLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterAction, forKey: "filter[action]") - encoder.encode(filterPlaceStatus, forKey: "filter[placeStatus]") encoder.encode(filterStatus, forKey: "filter[status]") + encoder.encode(filterPlaceStatus, forKey: "filter[placeStatus]") + encoder.encode(filterAction, forKey: "filter[action]") encoder.encode(fieldsAppClipAdvancedExperiences, forKey: "fields[appClipAdvancedExperiences]") encoder.encode(fieldsAppClips, forKey: "fields[appClips]") encoder.encode(fieldsAppClipAdvancedExperienceImages, forKey: "fields[appClipAdvancedExperienceImages]") encoder.encode(fieldsAppClipAdvancedExperienceLocalizations, forKey: "fields[appClipAdvancedExperienceLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(include, forKey: "include") + encoder.encode(limitLocalizations, forKey: "limit[localizations]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift index 222e79f2..3c6c9c4e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift @@ -14,104 +14,105 @@ extension APIEndpoint.V1.AppClips.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClips-appClipDefaultExperiences-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appClips_appClipDefaultExperiences_getToManyRelated") } public struct GetParameters { public var isExistsReleaseWithAppStoreVersion: Bool? + public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var fieldsAppClips: [FieldsAppClips]? - public var fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? - public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? + public var fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? public var limit: Int? - public var limitAppClipDefaultExperienceLocalizations: Int? public var include: [Include]? + public var limitAppClipDefaultExperienceLocalizations: Int? + + public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { + case action + case appClip + case releaseWithAppStoreVersion + case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail + case appClipDefaultExperienceTemplate + } public enum FieldsAppClips: String, Codable, CaseIterable { + case bundleID = "bundleId" case app - case appClipAdvancedExperiences case appClipDefaultExperiences - case bundleID = "bundleId" - } - - public enum FieldsAppClipAppStoreReviewDetails: String, Codable, CaseIterable { - case appClipDefaultExperience - case invocationURLs = "invocationUrls" + case appClipAdvancedExperiences } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString - } - - public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { - case action - case appClip - case appClipAppStoreReviewDetail - case appClipDefaultExperienceLocalizations - case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } public enum FieldsAppClipDefaultExperienceLocalizations: String, Codable, CaseIterable { - case appClipDefaultExperience - case appClipHeaderImage case locale case subtitle + case appClipDefaultExperience + case appClipHeaderImage + } + + public enum FieldsAppClipAppStoreReviewDetails: String, Codable, CaseIterable { + case invocationURLs = "invocationUrls" + case appClipDefaultExperience } public enum Include: String, Codable, CaseIterable { case appClip - case appClipAppStoreReviewDetail - case appClipDefaultExperienceLocalizations case releaseWithAppStoreVersion + case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail } - public init(isExistsReleaseWithAppStoreVersion: Bool? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? = nil, limit: Int? = nil, limitAppClipDefaultExperienceLocalizations: Int? = nil, include: [Include]? = nil) { + public init(isExistsReleaseWithAppStoreVersion: Bool? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? = nil, fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppClipDefaultExperienceLocalizations: Int? = nil) { self.isExistsReleaseWithAppStoreVersion = isExistsReleaseWithAppStoreVersion + self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.fieldsAppClips = fieldsAppClips - self.fieldsAppClipAppStoreReviewDetails = fieldsAppClipAppStoreReviewDetails self.fieldsAppStoreVersions = fieldsAppStoreVersions - self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.fieldsAppClipDefaultExperienceLocalizations = fieldsAppClipDefaultExperienceLocalizations + self.fieldsAppClipAppStoreReviewDetails = fieldsAppClipAppStoreReviewDetails self.limit = limit - self.limitAppClipDefaultExperienceLocalizations = limitAppClipDefaultExperienceLocalizations self.include = include + self.limitAppClipDefaultExperienceLocalizations = limitAppClipDefaultExperienceLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(isExistsReleaseWithAppStoreVersion, forKey: "exists[releaseWithAppStoreVersion]") + encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(fieldsAppClips, forKey: "fields[appClips]") - encoder.encode(fieldsAppClipAppStoreReviewDetails, forKey: "fields[appClipAppStoreReviewDetails]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") - encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(fieldsAppClipDefaultExperienceLocalizations, forKey: "fields[appClipDefaultExperienceLocalizations]") + encoder.encode(fieldsAppClipAppStoreReviewDetails, forKey: "fields[appClipAppStoreReviewDetails]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppClipDefaultExperienceLocalizations, forKey: "limit[appClipDefaultExperienceLocalizations]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppClipDefaultExperienceLocalizations, forKey: "limit[appClipDefaultExperienceLocalizations]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizations.swift index b863f478..17f72f4e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appCustomProductPageLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "appCustomProductPageLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithID.swift index 969dd79e..9f7b0d3a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithID.swift @@ -14,52 +14,52 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageLocalizations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageLocalizations_getInstance") } public struct GetParameters { public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? - public var include: [Include]? public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? + public var include: [Include]? public var limitAppPreviewSets: Int? public var limitAppScreenshotSets: Int? public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appPreviewSets - case appScreenshotSets case locale case promotionalText - } - - public enum Include: String, Codable, CaseIterable { case appCustomProductPageVersion - case appPreviewSets case appScreenshotSets + case appPreviewSets } public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { + case screenshotDisplayType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appScreenshots case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case screenshotDisplayType + case appScreenshots } public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + case previewType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case previewType + case appPreviews + } + + public enum Include: String, Codable, CaseIterable { + case appCustomProductPageVersion + case appScreenshotSets + case appPreviewSets } - public init(fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, include: [Include]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, limitAppPreviewSets: Int? = nil, limitAppScreenshotSets: Int? = nil) { + public init(fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, include: [Include]? = nil, limitAppPreviewSets: Int? = nil, limitAppScreenshotSets: Int? = nil) { self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations - self.include = include self.fieldsAppScreenshotSets = fieldsAppScreenshotSets self.fieldsAppPreviewSets = fieldsAppPreviewSets + self.include = include self.limitAppPreviewSets = limitAppPreviewSets self.limitAppScreenshotSets = limitAppScreenshotSets } @@ -67,9 +67,9 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppPreviewSets, forKey: "limit[appPreviewSets]") encoder.encode(limitAppScreenshotSets, forKey: "limit[appScreenshotSets]") return encoder.items @@ -77,11 +77,11 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appCustomProductPageLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appCustomProductPageLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appCustomProductPageLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "appCustomProductPageLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift index 6d912a8e..70d12d3c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift @@ -14,21 +14,21 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageLocalizations-appPreviewSets-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageLocalizations_appPreviewSets_getToManyRelated") } public struct GetParameters { public var filterPreviewType: [FilterPreviewType]? - public var filterAppStoreVersionExperimentTreatmentLocalization: [String]? public var filterAppStoreVersionLocalization: [String]? + public var filterAppStoreVersionExperimentTreatmentLocalization: [String]? + public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? public var fieldsAppPreviews: [FieldsAppPreviews]? - public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limit: Int? - public var limitAppPreviews: Int? public var include: [Include]? + public var limitAppPreviews: Int? public enum FilterPreviewType: String, Codable, CaseIterable { case iphone67 = "IPHONE_67" @@ -49,90 +49,90 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { case appleVisionPro = "APPLE_VISION_PRO" } - public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appPreviewSets + public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + case previewType + case appStoreVersionLocalization + case appCustomProductPageLocalization + case appStoreVersionExperimentTreatmentLocalization + case appPreviews + } + + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case description + case locale + case keywords + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + case appStoreVersion case appScreenshotSets + case appPreviewSets + } + + public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { case locale case promotionalText + case appCustomProductPageVersion + case appScreenshotSets + case appPreviewSets } public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment case locale + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } public enum FieldsAppPreviews: String, Codable, CaseIterable { - case appPreviewSet - case assetDeliveryState - case fileName case fileSize - case mimeType + case fileName + case sourceFileChecksum case previewFrameTimeCode + case mimeType + case videoURL = "videoUrl" case previewImage - case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded - case videoURL = "videoUrl" - } - - public enum FieldsAppPreviewSets: String, Codable, CaseIterable { - case appCustomProductPageLocalization - case appPreviews - case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case previewType - } - - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew + case appPreviewSet } public enum Include: String, Codable, CaseIterable { + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization + case appPreviews } - public init(filterPreviewType: [FilterPreviewType]? = nil, filterAppStoreVersionExperimentTreatmentLocalization: [String]? = nil, filterAppStoreVersionLocalization: [String]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppPreviews: [FieldsAppPreviews]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limit: Int? = nil, limitAppPreviews: Int? = nil, include: [Include]? = nil) { + public init(filterPreviewType: [FilterPreviewType]? = nil, filterAppStoreVersionLocalization: [String]? = nil, filterAppStoreVersionExperimentTreatmentLocalization: [String]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppPreviews: [FieldsAppPreviews]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppPreviews: Int? = nil) { self.filterPreviewType = filterPreviewType - self.filterAppStoreVersionExperimentTreatmentLocalization = filterAppStoreVersionExperimentTreatmentLocalization self.filterAppStoreVersionLocalization = filterAppStoreVersionLocalization + self.filterAppStoreVersionExperimentTreatmentLocalization = filterAppStoreVersionExperimentTreatmentLocalization + self.fieldsAppPreviewSets = fieldsAppPreviewSets + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations self.fieldsAppPreviews = fieldsAppPreviews - self.fieldsAppPreviewSets = fieldsAppPreviewSets - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limit = limit - self.limitAppPreviews = limitAppPreviews self.include = include + self.limitAppPreviews = limitAppPreviews } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterPreviewType, forKey: "filter[previewType]") - encoder.encode(filterAppStoreVersionExperimentTreatmentLocalization, forKey: "filter[appStoreVersionExperimentTreatmentLocalization]") encoder.encode(filterAppStoreVersionLocalization, forKey: "filter[appStoreVersionLocalization]") + encoder.encode(filterAppStoreVersionExperimentTreatmentLocalization, forKey: "filter[appStoreVersionExperimentTreatmentLocalization]") + encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") encoder.encode(fieldsAppPreviews, forKey: "fields[appPreviews]") - encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppPreviews, forKey: "limit[appPreviews]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppPreviews, forKey: "limit[appPreviews]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift index 927ac631..699771ff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift @@ -14,21 +14,21 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageLocalizations-appScreenshotSets-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageLocalizations_appScreenshotSets_getToManyRelated") } public struct GetParameters { public var filterScreenshotDisplayType: [FilterScreenshotDisplayType]? - public var filterAppStoreVersionExperimentTreatmentLocalization: [String]? public var filterAppStoreVersionLocalization: [String]? + public var filterAppStoreVersionExperimentTreatmentLocalization: [String]? public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? public var fieldsAppScreenshots: [FieldsAppScreenshots]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limit: Int? - public var limitAppScreenshots: Int? public var include: [Include]? + public var limitAppScreenshots: Int? public enum FilterScreenshotDisplayType: String, Codable, CaseIterable { case appIphone67 = "APP_IPHONE_67" @@ -46,6 +46,7 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { case appIpad97 = "APP_IPAD_97" case appDesktop = "APP_DESKTOP" case appWatchUltra = "APP_WATCH_ULTRA" + case appWatchSeries10 = "APP_WATCH_SERIES_10" case appWatchSeries7 = "APP_WATCH_SERIES_7" case appWatchSeries4 = "APP_WATCH_SERIES_4" case appWatchSeries3 = "APP_WATCH_SERIES_3" @@ -66,88 +67,88 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { } public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { + case screenshotDisplayType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appScreenshots case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case screenshotDisplayType + case appScreenshots } - public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appPreviewSets + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case description + case locale + case keywords + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + case appStoreVersion case appScreenshotSets + case appPreviewSets + } + + public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { case locale case promotionalText + case appCustomProductPageVersion + case appScreenshotSets + case appPreviewSets } public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment case locale + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } public enum FieldsAppScreenshots: String, Codable, CaseIterable { - case appScreenshotSet - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded - } - - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew + case appScreenshotSet } public enum Include: String, Codable, CaseIterable { + case appStoreVersionLocalization case appCustomProductPageLocalization - case appScreenshots case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization + case appScreenshots } - public init(filterScreenshotDisplayType: [FilterScreenshotDisplayType]? = nil, filterAppStoreVersionExperimentTreatmentLocalization: [String]? = nil, filterAppStoreVersionLocalization: [String]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limit: Int? = nil, limitAppScreenshots: Int? = nil, include: [Include]? = nil) { + public init(filterScreenshotDisplayType: [FilterScreenshotDisplayType]? = nil, filterAppStoreVersionLocalization: [String]? = nil, filterAppStoreVersionExperimentTreatmentLocalization: [String]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppScreenshots: Int? = nil) { self.filterScreenshotDisplayType = filterScreenshotDisplayType - self.filterAppStoreVersionExperimentTreatmentLocalization = filterAppStoreVersionExperimentTreatmentLocalization self.filterAppStoreVersionLocalization = filterAppStoreVersionLocalization + self.filterAppStoreVersionExperimentTreatmentLocalization = filterAppStoreVersionExperimentTreatmentLocalization self.fieldsAppScreenshotSets = fieldsAppScreenshotSets + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations self.fieldsAppScreenshots = fieldsAppScreenshots - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limit = limit - self.limitAppScreenshots = limitAppScreenshots self.include = include + self.limitAppScreenshots = limitAppScreenshots } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterScreenshotDisplayType, forKey: "filter[screenshotDisplayType]") - encoder.encode(filterAppStoreVersionExperimentTreatmentLocalization, forKey: "filter[appStoreVersionExperimentTreatmentLocalization]") encoder.encode(filterAppStoreVersionLocalization, forKey: "filter[appStoreVersionLocalization]") + encoder.encode(filterAppStoreVersionExperimentTreatmentLocalization, forKey: "filter[appStoreVersionExperimentTreatmentLocalization]") encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") encoder.encode(fieldsAppScreenshots, forKey: "fields[appScreenshots]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppScreenshots, forKey: "limit[appScreenshots]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppScreenshots, forKey: "limit[appScreenshots]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersions.swift index 1f1367b2..99c115b0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageVersionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appCustomProductPageVersions-create_instance") + Request(path: path, method: "POST", body: body, id: "appCustomProductPageVersions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithID.swift index 51ae4a63..42f0cc8e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithID.swift @@ -14,55 +14,55 @@ extension APIEndpoint.V1.AppCustomProductPageVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageVersions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageVersions_getInstance") } public struct GetParameters { public var fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? - public var include: [Include]? public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? + public var include: [Include]? public var limitAppCustomProductPageLocalizations: Int? public enum FieldsAppCustomProductPageVersions: String, Codable, CaseIterable { - case appCustomProductPage - case appCustomProductPageLocalizations - case deepLink - case state case version - } - - public enum Include: String, Codable, CaseIterable { + case state + case deepLink case appCustomProductPage case appCustomProductPageLocalizations } public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appPreviewSets - case appScreenshotSets case locale case promotionalText + case appCustomProductPageVersion + case appScreenshotSets + case appPreviewSets } - public init(fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, include: [Include]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, limitAppCustomProductPageLocalizations: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case appCustomProductPage + case appCustomProductPageLocalizations + } + + public init(fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, include: [Include]? = nil, limitAppCustomProductPageLocalizations: Int? = nil) { self.fieldsAppCustomProductPageVersions = fieldsAppCustomProductPageVersions - self.include = include self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations + self.include = include self.limitAppCustomProductPageLocalizations = limitAppCustomProductPageLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppCustomProductPageVersions, forKey: "fields[appCustomProductPageVersions]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppCustomProductPageLocalizations, forKey: "limit[appCustomProductPageLocalizations]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageVersionUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appCustomProductPageVersions-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appCustomProductPageVersions_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDAppCustomProductPageLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDAppCustomProductPageLocalizations.swift index f0b2af70..356005aa 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDAppCustomProductPageLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDAppCustomProductPageLocalizations.swift @@ -14,81 +14,81 @@ extension APIEndpoint.V1.AppCustomProductPageVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageVersions-appCustomProductPageLocalizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPageVersions_appCustomProductPageLocalizations_getToManyRelated") } public struct GetParameters { public var filterLocale: [String]? - public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? public var fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? + public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? public var limit: Int? + public var include: [Include]? public var limitAppScreenshotSets: Int? public var limitAppPreviewSets: Int? - public var include: [Include]? - - public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { - case appCustomProductPageLocalization - case appScreenshots - case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case screenshotDisplayType - } public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appPreviewSets - case appScreenshotSets case locale case promotionalText + case appCustomProductPageVersion + case appScreenshotSets + case appPreviewSets } public enum FieldsAppCustomProductPageVersions: String, Codable, CaseIterable { + case version + case state + case deepLink case appCustomProductPage case appCustomProductPageLocalizations - case deepLink - case state - case version } - public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { + case screenshotDisplayType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization + case appScreenshots + } + + public enum FieldsAppPreviewSets: String, Codable, CaseIterable { case previewType + case appStoreVersionLocalization + case appCustomProductPageLocalization + case appStoreVersionExperimentTreatmentLocalization + case appPreviews } public enum Include: String, Codable, CaseIterable { case appCustomProductPageVersion - case appPreviewSets case appScreenshotSets + case appPreviewSets } - public init(filterLocale: [String]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, limit: Int? = nil, limitAppScreenshotSets: Int? = nil, limitAppPreviewSets: Int? = nil, include: [Include]? = nil) { + public init(filterLocale: [String]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppScreenshotSets: Int? = nil, limitAppPreviewSets: Int? = nil) { self.filterLocale = filterLocale - self.fieldsAppScreenshotSets = fieldsAppScreenshotSets self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations self.fieldsAppCustomProductPageVersions = fieldsAppCustomProductPageVersions + self.fieldsAppScreenshotSets = fieldsAppScreenshotSets self.fieldsAppPreviewSets = fieldsAppPreviewSets self.limit = limit + self.include = include self.limitAppScreenshotSets = limitAppScreenshotSets self.limitAppPreviewSets = limitAppPreviewSets - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterLocale, forKey: "filter[locale]") - encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") encoder.encode(fieldsAppCustomProductPageVersions, forKey: "fields[appCustomProductPageVersions]") + encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitAppScreenshotSets, forKey: "limit[appScreenshotSets]") encoder.encode(limitAppPreviewSets, forKey: "limit[appPreviewSets]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPages.swift index bcc74b31..d042b331 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPages.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appCustomProductPages-create_instance") + Request(path: path, method: "POST", body: body, id: "appCustomProductPages_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift index 4b63d2b2..879e7c1e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithID.swift @@ -14,61 +14,61 @@ extension APIEndpoint.V1.AppCustomProductPages { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPages-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPages_getInstance") } public struct GetParameters { public var fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? - public var include: [Include]? public var fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? + public var include: [Include]? public var limitAppCustomProductPageVersions: Int? public enum FieldsAppCustomProductPages: String, Codable, CaseIterable { - case app - case appCustomProductPageVersions - case appStoreVersionTemplate - case customProductPageTemplate case name case url case visible - } - - public enum Include: String, Codable, CaseIterable { case app case appCustomProductPageVersions + case appStoreVersionTemplate + case customProductPageTemplate } public enum FieldsAppCustomProductPageVersions: String, Codable, CaseIterable { + case version + case state + case deepLink case appCustomProductPage case appCustomProductPageLocalizations - case deepLink - case state - case version } - public init(fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, include: [Include]? = nil, fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, limitAppCustomProductPageVersions: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case app + case appCustomProductPageVersions + } + + public init(fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, include: [Include]? = nil, limitAppCustomProductPageVersions: Int? = nil) { self.fieldsAppCustomProductPages = fieldsAppCustomProductPages - self.include = include self.fieldsAppCustomProductPageVersions = fieldsAppCustomProductPageVersions + self.include = include self.limitAppCustomProductPageVersions = limitAppCustomProductPageVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppCustomProductPages, forKey: "fields[appCustomProductPages]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppCustomProductPageVersions, forKey: "fields[appCustomProductPageVersions]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppCustomProductPageVersions, forKey: "limit[appCustomProductPageVersions]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appCustomProductPages-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appCustomProductPages_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appCustomProductPages-delete_instance") + Request(path: path, method: "DELETE", id: "appCustomProductPages_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift index 10a7e60e..0eb03b45 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDAppCustomProductPageVersions.swift @@ -14,17 +14,17 @@ extension APIEndpoint.V1.AppCustomProductPages.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPages-appCustomProductPageVersions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appCustomProductPages_appCustomProductPageVersions_getToManyRelated") } public struct GetParameters { public var filterState: [FilterState]? - public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? public var fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? public var fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? + public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? public var limit: Int? - public var limitAppCustomProductPageLocalizations: Int? public var include: [Include]? + public var limitAppCustomProductPageLocalizations: Int? public enum FilterState: String, Codable, CaseIterable { case prepareForSubmission = "PREPARE_FOR_SUBMISSION" @@ -37,30 +37,30 @@ extension APIEndpoint.V1.AppCustomProductPages.WithID { case rejected = "REJECTED" } - public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appPreviewSets - case appScreenshotSets - case locale - case promotionalText - } - public enum FieldsAppCustomProductPageVersions: String, Codable, CaseIterable { + case version + case state + case deepLink case appCustomProductPage case appCustomProductPageLocalizations - case deepLink - case state - case version } public enum FieldsAppCustomProductPages: String, Codable, CaseIterable { + case name + case url + case visible case app case appCustomProductPageVersions case appStoreVersionTemplate case customProductPageTemplate - case name - case url - case visible + } + + public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { + case locale + case promotionalText + case appCustomProductPageVersion + case appScreenshotSets + case appPreviewSets } public enum Include: String, Codable, CaseIterable { @@ -68,25 +68,25 @@ extension APIEndpoint.V1.AppCustomProductPages.WithID { case appCustomProductPageLocalizations } - public init(filterState: [FilterState]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, limit: Int? = nil, limitAppCustomProductPageLocalizations: Int? = nil, include: [Include]? = nil) { + public init(filterState: [FilterState]? = nil, fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppCustomProductPageLocalizations: Int? = nil) { self.filterState = filterState - self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations self.fieldsAppCustomProductPageVersions = fieldsAppCustomProductPageVersions self.fieldsAppCustomProductPages = fieldsAppCustomProductPages + self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations self.limit = limit - self.limitAppCustomProductPageLocalizations = limitAppCustomProductPageLocalizations self.include = include + self.limitAppCustomProductPageLocalizations = limitAppCustomProductPageLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterState, forKey: "filter[state]") - encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") encoder.encode(fieldsAppCustomProductPageVersions, forKey: "fields[appCustomProductPageVersions]") encoder.encode(fieldsAppCustomProductPages, forKey: "fields[appCustomProductPages]") + encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppCustomProductPageLocalizations, forKey: "limit[appCustomProductPageLocalizations]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppCustomProductPageLocalizations, forKey: "limit[appCustomProductPageLocalizations]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocuments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocuments.swift index ef0c5a1b..c3c16b4c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocuments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocuments.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppEncryptionDeclarationDocumentCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appEncryptionDeclarationDocuments-create_instance") + Request(path: path, method: "POST", body: body, id: "appEncryptionDeclarationDocuments_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift index 050f23a5..9c18c3f7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationDocumentsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarationDocuments { public let path: String public func get(fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEncryptionDeclarationDocuments), id: "appEncryptionDeclarationDocuments-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEncryptionDeclarationDocuments), id: "appEncryptionDeclarationDocuments_getInstance") } private func makeGetQuery(_ fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]?) -> [(String, String?)] { @@ -24,19 +24,19 @@ extension APIEndpoint.V1.AppEncryptionDeclarationDocuments { } public enum FieldsAppEncryptionDeclarationDocuments: String, Codable, CaseIterable { - case appEncryptionDeclaration - case assetDeliveryState + case fileSize + case fileName case assetToken case downloadURL = "downloadUrl" - case fileName - case fileSize case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded + case appEncryptionDeclaration } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEncryptionDeclarationDocumentUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appEncryptionDeclarationDocuments-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appEncryptionDeclarationDocuments_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift index bc2d5154..a449afaf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEncryptionDeclarations-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEncryptionDeclarations_getCollection") } public struct GetParameters { @@ -22,10 +22,10 @@ extension APIEndpoint.V1 { public var filterApp: [String]? public var filterBuilds: [String]? public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? + public var fieldsApps: [FieldsApps]? + public var fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? public var limit: Int? public var include: [Include]? - public var fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? - public var fieldsApps: [FieldsApps]? public var limitBuilds: Int? public enum FilterPlatform: String, Codable, CaseIterable { @@ -36,98 +36,100 @@ extension APIEndpoint.V1 { } public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { - case app case appDescription - case appEncryptionDeclarationDocument - case appEncryptionDeclarationState - case availableOnFrenchStore - case builds - case codeValue - case containsProprietaryCryptography - case containsThirdPartyCryptography case createdDate - case documentName - case documentType - case documentURL = "documentUrl" + case usesEncryption case exempt + case containsProprietaryCryptography + case containsThirdPartyCryptography + case availableOnFrenchStore case platform case uploadedDate - case usesEncryption - } - - public enum Include: String, Codable, CaseIterable { + case documentURL = "documentUrl" + case documentName + case documentType + case appEncryptionDeclarationState + case codeValue case app - case appEncryptionDeclarationDocument case builds - } - - public enum FieldsAppEncryptionDeclarationDocuments: String, Codable, CaseIterable { - case appEncryptionDeclaration - case assetDeliveryState - case assetToken - case downloadURL = "downloadUrl" - case fileName - case fileSize - case sourceFileChecksum - case uploadOperations - case uploaded + case appEncryptionDeclarationDocument } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum FieldsAppEncryptionDeclarationDocuments: String, Codable, CaseIterable { + case fileSize + case fileName + case assetToken + case downloadURL = "downloadUrl" + case sourceFileChecksum + case uploadOperations + case assetDeliveryState + case uploaded + case appEncryptionDeclaration } - public init(filterPlatform: [FilterPlatform]? = nil, filterApp: [String]? = nil, filterBuilds: [String]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? = nil, fieldsApps: [FieldsApps]? = nil, limitBuilds: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case app + case builds + case appEncryptionDeclarationDocument + } + + public init(filterPlatform: [FilterPlatform]? = nil, filterApp: [String]? = nil, filterBuilds: [String]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? = nil, limit: Int? = nil, include: [Include]? = nil, limitBuilds: Int? = nil) { self.filterPlatform = filterPlatform self.filterApp = filterApp self.filterBuilds = filterBuilds self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations + self.fieldsApps = fieldsApps + self.fieldsAppEncryptionDeclarationDocuments = fieldsAppEncryptionDeclarationDocuments self.limit = limit self.include = include - self.fieldsAppEncryptionDeclarationDocuments = fieldsAppEncryptionDeclarationDocuments - self.fieldsApps = fieldsApps self.limitBuilds = limitBuilds } @@ -137,13 +139,17 @@ extension APIEndpoint.V1 { encoder.encode(filterApp, forKey: "filter[app]") encoder.encode(filterBuilds, forKey: "filter[builds]") encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") + encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAppEncryptionDeclarationDocuments, forKey: "fields[appEncryptionDeclarationDocuments]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsAppEncryptionDeclarationDocuments, forKey: "fields[appEncryptionDeclarationDocuments]") - encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items } } + + public func post(_ body: AppStoreConnect_Swift_SDK.AppEncryptionDeclarationCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "appEncryptionDeclarations_createInstance") + } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift index 5cfd8bfd..f4181c1a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift @@ -14,114 +14,116 @@ extension APIEndpoint.V1.AppEncryptionDeclarations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEncryptionDeclarations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEncryptionDeclarations_getInstance") } public struct GetParameters { public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? - public var include: [Include]? - public var fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? public var fieldsApps: [FieldsApps]? + public var fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? + public var include: [Include]? public var limitBuilds: Int? public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { - case app case appDescription - case appEncryptionDeclarationDocument - case appEncryptionDeclarationState - case availableOnFrenchStore - case builds - case codeValue - case containsProprietaryCryptography - case containsThirdPartyCryptography case createdDate - case documentName - case documentType - case documentURL = "documentUrl" + case usesEncryption case exempt + case containsProprietaryCryptography + case containsThirdPartyCryptography + case availableOnFrenchStore case platform case uploadedDate - case usesEncryption - } - - public enum Include: String, Codable, CaseIterable { + case documentURL = "documentUrl" + case documentName + case documentType + case appEncryptionDeclarationState + case codeValue case app - case appEncryptionDeclarationDocument case builds - } - - public enum FieldsAppEncryptionDeclarationDocuments: String, Codable, CaseIterable { - case appEncryptionDeclaration - case assetDeliveryState - case assetToken - case downloadURL = "downloadUrl" - case fileName - case fileSize - case sourceFileChecksum - case uploadOperations - case uploaded + case appEncryptionDeclarationDocument } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public init(fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, include: [Include]? = nil, fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? = nil, fieldsApps: [FieldsApps]? = nil, limitBuilds: Int? = nil) { + public enum FieldsAppEncryptionDeclarationDocuments: String, Codable, CaseIterable { + case fileSize + case fileName + case assetToken + case downloadURL = "downloadUrl" + case sourceFileChecksum + case uploadOperations + case assetDeliveryState + case uploaded + case appEncryptionDeclaration + } + + public enum Include: String, Codable, CaseIterable { + case app + case builds + case appEncryptionDeclarationDocument + } + + public init(fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? = nil, include: [Include]? = nil, limitBuilds: Int? = nil) { self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations - self.include = include - self.fieldsAppEncryptionDeclarationDocuments = fieldsAppEncryptionDeclarationDocuments self.fieldsApps = fieldsApps + self.fieldsAppEncryptionDeclarationDocuments = fieldsAppEncryptionDeclarationDocuments + self.include = include self.limitBuilds = limitBuilds } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsAppEncryptionDeclarationDocuments, forKey: "fields[appEncryptionDeclarationDocuments]") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAppEncryptionDeclarationDocuments, forKey: "fields[appEncryptionDeclarationDocuments]") + encoder.encode(include, forKey: "include") encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift index 4c2f1f70..35190dda 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift @@ -13,8 +13,9 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { /// Path: `/v1/appEncryptionDeclarations/{id}/app` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "appEncryptionDeclarations-app-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "appEncryptionDeclarations_app_getToOneRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { @@ -24,49 +25,51 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift index 78ab9f00..98635f90 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDAppEncryptionDeclarationDocument.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { public let path: String public func get(fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEncryptionDeclarationDocuments), id: "appEncryptionDeclarations-appEncryptionDeclarationDocument-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEncryptionDeclarationDocuments), id: "appEncryptionDeclarations_appEncryptionDeclarationDocument_getToOneRelated") } private func makeGetQuery(_ fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]?) -> [(String, String?)] { @@ -24,15 +24,15 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { } public enum FieldsAppEncryptionDeclarationDocuments: String, Codable, CaseIterable { - case appEncryptionDeclaration - case assetDeliveryState + case fileSize + case fileName case assetToken case downloadURL = "downloadUrl" - case fileName - case fileSize case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded + case appEncryptionDeclaration } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsBuilds.swift index 26094b1a..56f2fe05 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsBuilds.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID.Relationships { @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.AppEncryptionDeclarationBuildsLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appEncryptionDeclarations-builds-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "appEncryptionDeclarations_builds_createToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizations.swift index 32cbbf82..0135a099 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppEventLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appEventLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "appEventLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift index aed471e5..5ffdc5f4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithID.swift @@ -14,63 +14,63 @@ extension APIEndpoint.V1.AppEventLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEventLocalizations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEventLocalizations_getInstance") } public struct GetParameters { public var fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? - public var include: [Include]? public var fieldsAppEventScreenshots: [FieldsAppEventScreenshots]? public var fieldsAppEventVideoClips: [FieldsAppEventVideoClips]? + public var include: [Include]? public var limitAppEventScreenshots: Int? public var limitAppEventVideoClips: Int? public enum FieldsAppEventLocalizations: String, Codable, CaseIterable { - case appEvent - case appEventScreenshots - case appEventVideoClips case locale - case longDescription case name case shortDescription - } - - public enum Include: String, Codable, CaseIterable { + case longDescription case appEvent case appEventScreenshots case appEventVideoClips } public enum FieldsAppEventScreenshots: String, Codable, CaseIterable { - case appEventAssetType - case appEventLocalization - case assetDeliveryState - case assetToken - case fileName case fileSize + case fileName case imageAsset + case assetToken case uploadOperations + case assetDeliveryState case uploaded + case appEventAssetType + case appEventLocalization } public enum FieldsAppEventVideoClips: String, Codable, CaseIterable { - case appEventAssetType - case appEventLocalization - case assetDeliveryState - case fileName case fileSize + case fileName case previewFrameTimeCode + case videoURL = "videoUrl" case previewImage case uploadOperations + case assetDeliveryState case uploaded - case videoURL = "videoUrl" + case appEventAssetType + case appEventLocalization } - public init(fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? = nil, include: [Include]? = nil, fieldsAppEventScreenshots: [FieldsAppEventScreenshots]? = nil, fieldsAppEventVideoClips: [FieldsAppEventVideoClips]? = nil, limitAppEventScreenshots: Int? = nil, limitAppEventVideoClips: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case appEvent + case appEventScreenshots + case appEventVideoClips + } + + public init(fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? = nil, fieldsAppEventScreenshots: [FieldsAppEventScreenshots]? = nil, fieldsAppEventVideoClips: [FieldsAppEventVideoClips]? = nil, include: [Include]? = nil, limitAppEventScreenshots: Int? = nil, limitAppEventVideoClips: Int? = nil) { self.fieldsAppEventLocalizations = fieldsAppEventLocalizations - self.include = include self.fieldsAppEventScreenshots = fieldsAppEventScreenshots self.fieldsAppEventVideoClips = fieldsAppEventVideoClips + self.include = include self.limitAppEventScreenshots = limitAppEventScreenshots self.limitAppEventVideoClips = limitAppEventVideoClips } @@ -78,9 +78,9 @@ extension APIEndpoint.V1.AppEventLocalizations { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppEventLocalizations, forKey: "fields[appEventLocalizations]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppEventScreenshots, forKey: "fields[appEventScreenshots]") encoder.encode(fieldsAppEventVideoClips, forKey: "fields[appEventVideoClips]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppEventScreenshots, forKey: "limit[appEventScreenshots]") encoder.encode(limitAppEventVideoClips, forKey: "limit[appEventVideoClips]") return encoder.items @@ -88,11 +88,11 @@ extension APIEndpoint.V1.AppEventLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEventLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appEventLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appEventLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appEventLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "appEventLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift index d7269008..976f004f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventScreenshots.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppEventLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEventLocalizations-appEventScreenshots-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEventLocalizations_appEventScreenshots_getToManyRelated") } public struct GetParameters { @@ -24,25 +24,25 @@ extension APIEndpoint.V1.AppEventLocalizations.WithID { public var include: [Include]? public enum FieldsAppEventScreenshots: String, Codable, CaseIterable { - case appEventAssetType - case appEventLocalization - case assetDeliveryState - case assetToken - case fileName case fileSize + case fileName case imageAsset + case assetToken case uploadOperations + case assetDeliveryState case uploaded + case appEventAssetType + case appEventLocalization } public enum FieldsAppEventLocalizations: String, Codable, CaseIterable { - case appEvent - case appEventScreenshots - case appEventVideoClips case locale - case longDescription case name case shortDescription + case longDescription + case appEvent + case appEventScreenshots + case appEventVideoClips } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift index d32bccf3..587af6e6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDAppEventVideoClips.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppEventLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEventLocalizations-appEventVideoClips-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEventLocalizations_appEventVideoClips_getToManyRelated") } public struct GetParameters { @@ -24,26 +24,26 @@ extension APIEndpoint.V1.AppEventLocalizations.WithID { public var include: [Include]? public enum FieldsAppEventVideoClips: String, Codable, CaseIterable { - case appEventAssetType - case appEventLocalization - case assetDeliveryState - case fileName case fileSize + case fileName case previewFrameTimeCode + case videoURL = "videoUrl" case previewImage case uploadOperations + case assetDeliveryState case uploaded - case videoURL = "videoUrl" + case appEventAssetType + case appEventLocalization } public enum FieldsAppEventLocalizations: String, Codable, CaseIterable { - case appEvent - case appEventScreenshots - case appEventVideoClips case locale - case longDescription case name case shortDescription + case longDescription + case appEvent + case appEventScreenshots + case appEventVideoClips } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshots.swift index 6c063f6c..7f960ce4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshots.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppEventScreenshotCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appEventScreenshots-create_instance") + Request(path: path, method: "POST", body: body, id: "appEventScreenshots_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift index 91d240b5..04bc5115 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshotsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppEventScreenshots { public let path: String public func get(fieldsAppEventScreenshots: [FieldsAppEventScreenshots]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEventScreenshots, include), id: "appEventScreenshots-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEventScreenshots, include), id: "appEventScreenshots_getInstance") } private func makeGetQuery(_ fieldsAppEventScreenshots: [FieldsAppEventScreenshots]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,15 +25,15 @@ extension APIEndpoint.V1.AppEventScreenshots { } public enum FieldsAppEventScreenshots: String, Codable, CaseIterable { - case appEventAssetType - case appEventLocalization - case assetDeliveryState - case assetToken - case fileName case fileSize + case fileName case imageAsset + case assetToken case uploadOperations + case assetDeliveryState case uploaded + case appEventAssetType + case appEventLocalization } public enum Include: String, Codable, CaseIterable { @@ -41,11 +41,11 @@ extension APIEndpoint.V1.AppEventScreenshots { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEventScreenshotUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appEventScreenshots-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appEventScreenshots_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appEventScreenshots-delete_instance") + Request(path: path, method: "DELETE", id: "appEventScreenshots_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClips.swift index b3ac3325..1cc2abb6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClips.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppEventVideoClipCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appEventVideoClips-create_instance") + Request(path: path, method: "POST", body: body, id: "appEventVideoClips_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift index 7c8ae260..2f79a68d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClipsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppEventVideoClips { public let path: String public func get(fieldsAppEventVideoClips: [FieldsAppEventVideoClips]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEventVideoClips, include), id: "appEventVideoClips-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEventVideoClips, include), id: "appEventVideoClips_getInstance") } private func makeGetQuery(_ fieldsAppEventVideoClips: [FieldsAppEventVideoClips]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,16 +25,16 @@ extension APIEndpoint.V1.AppEventVideoClips { } public enum FieldsAppEventVideoClips: String, Codable, CaseIterable { - case appEventAssetType - case appEventLocalization - case assetDeliveryState - case fileName case fileSize + case fileName case previewFrameTimeCode + case videoURL = "videoUrl" case previewImage case uploadOperations + case assetDeliveryState case uploaded - case videoURL = "videoUrl" + case appEventAssetType + case appEventLocalization } public enum Include: String, Codable, CaseIterable { @@ -42,11 +42,11 @@ extension APIEndpoint.V1.AppEventVideoClips { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEventVideoClipUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appEventVideoClips-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appEventVideoClips_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appEventVideoClips-delete_instance") + Request(path: path, method: "DELETE", id: "appEventVideoClips_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEvents.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEvents.swift index 49ad7f99..cfcb4e0b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEvents.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEvents.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppEventCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appEvents-create_instance") + Request(path: path, method: "POST", body: body, id: "appEvents_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift index d6a52a0e..e043e529 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithID.swift @@ -14,67 +14,67 @@ extension APIEndpoint.V1.AppEvents { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEvents-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEvents_getInstance") } public struct GetParameters { public var fieldsAppEvents: [FieldsAppEvents]? - public var include: [Include]? public var fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? + public var include: [Include]? public var limitLocalizations: Int? public enum FieldsAppEvents: String, Codable, CaseIterable { - case app - case archivedTerritorySchedules + case referenceName case badge - case deepLink case eventState - case localizations + case deepLink + case purchaseRequirement case primaryLocale case priority - case purchaseRequirement case purpose - case referenceName case territorySchedules - } - - public enum Include: String, Codable, CaseIterable { + case archivedTerritorySchedules + case app case localizations } public enum FieldsAppEventLocalizations: String, Codable, CaseIterable { - case appEvent - case appEventScreenshots - case appEventVideoClips case locale - case longDescription case name case shortDescription + case longDescription + case appEvent + case appEventScreenshots + case appEventVideoClips } - public init(fieldsAppEvents: [FieldsAppEvents]? = nil, include: [Include]? = nil, fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? = nil, limitLocalizations: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case localizations + } + + public init(fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil) { self.fieldsAppEvents = fieldsAppEvents - self.include = include self.fieldsAppEventLocalizations = fieldsAppEventLocalizations + self.include = include self.limitLocalizations = limitLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppEventLocalizations, forKey: "fields[appEventLocalizations]") + encoder.encode(include, forKey: "include") encoder.encode(limitLocalizations, forKey: "limit[localizations]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.AppEventUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appEvents-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appEvents_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appEvents-delete_instance") + Request(path: path, method: "DELETE", id: "appEvents_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift index d37e7dd2..85373218 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDLocalizations.swift @@ -14,67 +14,67 @@ extension APIEndpoint.V1.AppEvents.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEvents-localizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appEvents_localizations_getToManyRelated") } public struct GetParameters { - public var fieldsAppEventScreenshots: [FieldsAppEventScreenshots]? - public var fieldsAppEventVideoClips: [FieldsAppEventVideoClips]? public var fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? public var fieldsAppEvents: [FieldsAppEvents]? + public var fieldsAppEventScreenshots: [FieldsAppEventScreenshots]? + public var fieldsAppEventVideoClips: [FieldsAppEventVideoClips]? public var limit: Int? + public var include: [Include]? public var limitAppEventScreenshots: Int? public var limitAppEventVideoClips: Int? - public var include: [Include]? - - public enum FieldsAppEventScreenshots: String, Codable, CaseIterable { - case appEventAssetType - case appEventLocalization - case assetDeliveryState - case assetToken - case fileName - case fileSize - case imageAsset - case uploadOperations - case uploaded - } - - public enum FieldsAppEventVideoClips: String, Codable, CaseIterable { - case appEventAssetType - case appEventLocalization - case assetDeliveryState - case fileName - case fileSize - case previewFrameTimeCode - case previewImage - case uploadOperations - case uploaded - case videoURL = "videoUrl" - } public enum FieldsAppEventLocalizations: String, Codable, CaseIterable { - case appEvent - case appEventScreenshots - case appEventVideoClips case locale - case longDescription case name case shortDescription + case longDescription + case appEvent + case appEventScreenshots + case appEventVideoClips } public enum FieldsAppEvents: String, Codable, CaseIterable { - case app - case archivedTerritorySchedules + case referenceName case badge - case deepLink case eventState - case localizations + case deepLink + case purchaseRequirement case primaryLocale case priority - case purchaseRequirement case purpose - case referenceName case territorySchedules + case archivedTerritorySchedules + case app + case localizations + } + + public enum FieldsAppEventScreenshots: String, Codable, CaseIterable { + case fileSize + case fileName + case imageAsset + case assetToken + case uploadOperations + case assetDeliveryState + case uploaded + case appEventAssetType + case appEventLocalization + } + + public enum FieldsAppEventVideoClips: String, Codable, CaseIterable { + case fileSize + case fileName + case previewFrameTimeCode + case videoURL = "videoUrl" + case previewImage + case uploadOperations + case assetDeliveryState + case uploaded + case appEventAssetType + case appEventLocalization } public enum Include: String, Codable, CaseIterable { @@ -83,27 +83,27 @@ extension APIEndpoint.V1.AppEvents.WithID { case appEventVideoClips } - public init(fieldsAppEventScreenshots: [FieldsAppEventScreenshots]? = nil, fieldsAppEventVideoClips: [FieldsAppEventVideoClips]? = nil, fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, limit: Int? = nil, limitAppEventScreenshots: Int? = nil, limitAppEventVideoClips: Int? = nil, include: [Include]? = nil) { - self.fieldsAppEventScreenshots = fieldsAppEventScreenshots - self.fieldsAppEventVideoClips = fieldsAppEventVideoClips + public init(fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsAppEventScreenshots: [FieldsAppEventScreenshots]? = nil, fieldsAppEventVideoClips: [FieldsAppEventVideoClips]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppEventScreenshots: Int? = nil, limitAppEventVideoClips: Int? = nil) { self.fieldsAppEventLocalizations = fieldsAppEventLocalizations self.fieldsAppEvents = fieldsAppEvents + self.fieldsAppEventScreenshots = fieldsAppEventScreenshots + self.fieldsAppEventVideoClips = fieldsAppEventVideoClips self.limit = limit + self.include = include self.limitAppEventScreenshots = limitAppEventScreenshots self.limitAppEventVideoClips = limitAppEventVideoClips - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppEventScreenshots, forKey: "fields[appEventScreenshots]") - encoder.encode(fieldsAppEventVideoClips, forKey: "fields[appEventVideoClips]") encoder.encode(fieldsAppEventLocalizations, forKey: "fields[appEventLocalizations]") encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") + encoder.encode(fieldsAppEventScreenshots, forKey: "fields[appEventScreenshots]") + encoder.encode(fieldsAppEventVideoClips, forKey: "fields[appEventVideoClips]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitAppEventScreenshots, forKey: "limit[appEventScreenshots]") encoder.encode(limitAppEventVideoClips, forKey: "limit[appEventVideoClips]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizations.swift index fe577102..ac1fe83f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppInfoLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appInfoLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "appInfoLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizationsWithID.swift index 1783be17..12471987 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizationsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppInfoLocalizations { public let path: String public func get(fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppInfoLocalizations, include), id: "appInfoLocalizations-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppInfoLocalizations, include), id: "appInfoLocalizations_getInstance") } private func makeGetQuery(_ fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,13 +25,13 @@ extension APIEndpoint.V1.AppInfoLocalizations { } public enum FieldsAppInfoLocalizations: String, Codable, CaseIterable { - case appInfo case locale case name + case subtitle + case privacyPolicyURL = "privacyPolicyUrl" case privacyChoicesURL = "privacyChoicesUrl" case privacyPolicyText - case privacyPolicyURL = "privacyPolicyUrl" - case subtitle + case appInfo } public enum Include: String, Codable, CaseIterable { @@ -39,11 +39,11 @@ extension APIEndpoint.V1.AppInfoLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppInfoLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appInfoLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appInfoLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appInfoLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "appInfoLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift index acab9052..202064ef 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift @@ -14,38 +14,28 @@ extension APIEndpoint.V1.AppInfos { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos_getInstance") } public struct GetParameters { public var fieldsAppInfos: [FieldsAppInfos]? - public var include: [Include]? public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? public var fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? public var fieldsAppCategories: [FieldsAppCategories]? + public var include: [Include]? public var limitAppInfoLocalizations: Int? public enum FieldsAppInfos: String, Codable, CaseIterable { - case ageRatingDeclaration - case app - case appInfoLocalizations - case appStoreAgeRating case appStoreState + case state + case appStoreAgeRating + case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case koreaAgeRating case kidsAgeBand - case primaryCategory - case primarySubcategoryOne - case primarySubcategoryTwo - case secondaryCategory - case secondarySubcategoryOne - case secondarySubcategoryTwo - case state - } - - public enum Include: String, Codable, CaseIterable { - case ageRatingDeclaration case app + case ageRatingDeclaration case appInfoLocalizations case primaryCategory case primarySubcategoryOne @@ -56,65 +46,79 @@ extension APIEndpoint.V1.AppInfos { } public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { - case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests - case gambling case gamblingAndContests + case gambling case gamblingSimulated - case horrorOrFearThemes case kidsAgeBand - case matureOrSuggestiveThemes + case lootBox case medicalOrTreatmentInformation case profanityOrCrudeHumor - case seventeenPlus case sexualContentGraphicAndNudity case sexualContentOrNudity + case horrorOrFearThemes + case matureOrSuggestiveThemes case unrestrictedWebAccess case violenceCartoonOrFantasy - case violenceRealistic case violenceRealisticProlongedGraphicOrSadistic + case violenceRealistic + case ageRatingOverride + case koreaAgeRatingOverride + case seventeenPlus } public enum FieldsAppInfoLocalizations: String, Codable, CaseIterable { - case appInfo case locale case name + case subtitle + case privacyPolicyURL = "privacyPolicyUrl" case privacyChoicesURL = "privacyChoicesUrl" case privacyPolicyText - case privacyPolicyURL = "privacyPolicyUrl" - case subtitle + case appInfo } public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent + } + + public enum Include: String, Codable, CaseIterable { + case app + case ageRatingDeclaration + case appInfoLocalizations + case primaryCategory + case primarySubcategoryOne + case primarySubcategoryTwo + case secondaryCategory + case secondarySubcategoryOne + case secondarySubcategoryTwo } - public init(fieldsAppInfos: [FieldsAppInfos]? = nil, include: [Include]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? = nil, fieldsAppCategories: [FieldsAppCategories]? = nil, limitAppInfoLocalizations: Int? = nil) { + public init(fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? = nil, fieldsAppCategories: [FieldsAppCategories]? = nil, include: [Include]? = nil, limitAppInfoLocalizations: Int? = nil) { self.fieldsAppInfos = fieldsAppInfos - self.include = include self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations self.fieldsAppInfoLocalizations = fieldsAppInfoLocalizations self.fieldsAppCategories = fieldsAppCategories + self.include = include self.limitAppInfoLocalizations = limitAppInfoLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") encoder.encode(fieldsAppInfoLocalizations, forKey: "fields[appInfoLocalizations]") encoder.encode(fieldsAppCategories, forKey: "fields[appCategories]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppInfoLocalizations, forKey: "limit[appInfoLocalizations]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.AppInfoUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appInfos-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appInfos_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift index 16d5972e..89ac8bc9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAgeRatingDeclarations), id: "appInfos-ageRatingDeclaration-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAgeRatingDeclarations), id: "appInfos_ageRatingDeclaration_getToOneRelated") } private func makeGetQuery(_ fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]?) -> [(String, String?)] { @@ -24,24 +24,26 @@ extension APIEndpoint.V1.AppInfos.WithID { } public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { - case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests - case gambling case gamblingAndContests + case gambling case gamblingSimulated - case horrorOrFearThemes case kidsAgeBand - case matureOrSuggestiveThemes + case lootBox case medicalOrTreatmentInformation case profanityOrCrudeHumor - case seventeenPlus case sexualContentGraphicAndNudity case sexualContentOrNudity + case horrorOrFearThemes + case matureOrSuggestiveThemes case unrestrictedWebAccess case violenceCartoonOrFantasy - case violenceRealistic case violenceRealisticProlongedGraphicOrSadistic + case violenceRealistic + case ageRatingOverride + case koreaAgeRatingOverride + case seventeenPlus } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift index 7aa6ed50..71b72cf3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift @@ -14,52 +14,54 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-appInfoLocalizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos_appInfoLocalizations_getToManyRelated") } public struct GetParameters { public var filterLocale: [String]? - public var fieldsAppInfos: [FieldsAppInfos]? public var fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? + public var fieldsAppInfos: [FieldsAppInfos]? public var limit: Int? public var include: [Include]? + public enum FieldsAppInfoLocalizations: String, Codable, CaseIterable { + case locale + case name + case subtitle + case privacyPolicyURL = "privacyPolicyUrl" + case privacyChoicesURL = "privacyChoicesUrl" + case privacyPolicyText + case appInfo + } + public enum FieldsAppInfos: String, Codable, CaseIterable { - case ageRatingDeclaration - case app - case appInfoLocalizations - case appStoreAgeRating case appStoreState + case state + case appStoreAgeRating + case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case koreaAgeRating case kidsAgeBand + case app + case ageRatingDeclaration + case appInfoLocalizations case primaryCategory case primarySubcategoryOne case primarySubcategoryTwo case secondaryCategory case secondarySubcategoryOne case secondarySubcategoryTwo - case state - } - - public enum FieldsAppInfoLocalizations: String, Codable, CaseIterable { - case appInfo - case locale - case name - case privacyChoicesURL = "privacyChoicesUrl" - case privacyPolicyText - case privacyPolicyURL = "privacyPolicyUrl" - case subtitle } public enum Include: String, Codable, CaseIterable { case appInfo } - public init(filterLocale: [String]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterLocale: [String]? = nil, fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterLocale = filterLocale - self.fieldsAppInfos = fieldsAppInfos self.fieldsAppInfoLocalizations = fieldsAppInfoLocalizations + self.fieldsAppInfos = fieldsAppInfos self.limit = limit self.include = include } @@ -67,8 +69,8 @@ extension APIEndpoint.V1.AppInfos.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterLocale, forKey: "filter[locale]") - encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") encoder.encode(fieldsAppInfoLocalizations, forKey: "fields[appInfoLocalizations]") + encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimaryCategory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimaryCategory.swift index a33244f6..d2b954c8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimaryCategory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimaryCategory.swift @@ -14,36 +14,36 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-primaryCategory-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos_primaryCategory_getToOneRelated") } public struct GetParameters { public var fieldsAppCategories: [FieldsAppCategories]? - public var limitSubcategories: Int? public var include: [Include]? + public var limitSubcategories: Int? public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent } public enum Include: String, Codable, CaseIterable { - case parent case subcategories + case parent } - public init(fieldsAppCategories: [FieldsAppCategories]? = nil, limitSubcategories: Int? = nil, include: [Include]? = nil) { + public init(fieldsAppCategories: [FieldsAppCategories]? = nil, include: [Include]? = nil, limitSubcategories: Int? = nil) { self.fieldsAppCategories = fieldsAppCategories - self.limitSubcategories = limitSubcategories self.include = include + self.limitSubcategories = limitSubcategories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppCategories, forKey: "fields[appCategories]") - encoder.encode(limitSubcategories, forKey: "limit[subcategories]") encoder.encode(include, forKey: "include") + encoder.encode(limitSubcategories, forKey: "limit[subcategories]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryOne.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryOne.swift index 1d4e9f97..076a1192 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryOne.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryOne.swift @@ -14,36 +14,36 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-primarySubcategoryOne-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos_primarySubcategoryOne_getToOneRelated") } public struct GetParameters { public var fieldsAppCategories: [FieldsAppCategories]? - public var limitSubcategories: Int? public var include: [Include]? + public var limitSubcategories: Int? public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent } public enum Include: String, Codable, CaseIterable { - case parent case subcategories + case parent } - public init(fieldsAppCategories: [FieldsAppCategories]? = nil, limitSubcategories: Int? = nil, include: [Include]? = nil) { + public init(fieldsAppCategories: [FieldsAppCategories]? = nil, include: [Include]? = nil, limitSubcategories: Int? = nil) { self.fieldsAppCategories = fieldsAppCategories - self.limitSubcategories = limitSubcategories self.include = include + self.limitSubcategories = limitSubcategories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppCategories, forKey: "fields[appCategories]") - encoder.encode(limitSubcategories, forKey: "limit[subcategories]") encoder.encode(include, forKey: "include") + encoder.encode(limitSubcategories, forKey: "limit[subcategories]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryTwo.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryTwo.swift index e96a0885..81397102 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryTwo.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDPrimarySubcategoryTwo.swift @@ -14,36 +14,36 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-primarySubcategoryTwo-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos_primarySubcategoryTwo_getToOneRelated") } public struct GetParameters { public var fieldsAppCategories: [FieldsAppCategories]? - public var limitSubcategories: Int? public var include: [Include]? + public var limitSubcategories: Int? public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent } public enum Include: String, Codable, CaseIterable { - case parent case subcategories + case parent } - public init(fieldsAppCategories: [FieldsAppCategories]? = nil, limitSubcategories: Int? = nil, include: [Include]? = nil) { + public init(fieldsAppCategories: [FieldsAppCategories]? = nil, include: [Include]? = nil, limitSubcategories: Int? = nil) { self.fieldsAppCategories = fieldsAppCategories - self.limitSubcategories = limitSubcategories self.include = include + self.limitSubcategories = limitSubcategories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppCategories, forKey: "fields[appCategories]") - encoder.encode(limitSubcategories, forKey: "limit[subcategories]") encoder.encode(include, forKey: "include") + encoder.encode(limitSubcategories, forKey: "limit[subcategories]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondaryCategory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondaryCategory.swift index 06c9c37e..64b17995 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondaryCategory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondaryCategory.swift @@ -14,36 +14,36 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-secondaryCategory-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos_secondaryCategory_getToOneRelated") } public struct GetParameters { public var fieldsAppCategories: [FieldsAppCategories]? - public var limitSubcategories: Int? public var include: [Include]? + public var limitSubcategories: Int? public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent } public enum Include: String, Codable, CaseIterable { - case parent case subcategories + case parent } - public init(fieldsAppCategories: [FieldsAppCategories]? = nil, limitSubcategories: Int? = nil, include: [Include]? = nil) { + public init(fieldsAppCategories: [FieldsAppCategories]? = nil, include: [Include]? = nil, limitSubcategories: Int? = nil) { self.fieldsAppCategories = fieldsAppCategories - self.limitSubcategories = limitSubcategories self.include = include + self.limitSubcategories = limitSubcategories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppCategories, forKey: "fields[appCategories]") - encoder.encode(limitSubcategories, forKey: "limit[subcategories]") encoder.encode(include, forKey: "include") + encoder.encode(limitSubcategories, forKey: "limit[subcategories]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryOne.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryOne.swift index caa573c9..3a18b809 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryOne.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryOne.swift @@ -14,36 +14,36 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-secondarySubcategoryOne-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos_secondarySubcategoryOne_getToOneRelated") } public struct GetParameters { public var fieldsAppCategories: [FieldsAppCategories]? - public var limitSubcategories: Int? public var include: [Include]? + public var limitSubcategories: Int? public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent } public enum Include: String, Codable, CaseIterable { - case parent case subcategories + case parent } - public init(fieldsAppCategories: [FieldsAppCategories]? = nil, limitSubcategories: Int? = nil, include: [Include]? = nil) { + public init(fieldsAppCategories: [FieldsAppCategories]? = nil, include: [Include]? = nil, limitSubcategories: Int? = nil) { self.fieldsAppCategories = fieldsAppCategories - self.limitSubcategories = limitSubcategories self.include = include + self.limitSubcategories = limitSubcategories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppCategories, forKey: "fields[appCategories]") - encoder.encode(limitSubcategories, forKey: "limit[subcategories]") encoder.encode(include, forKey: "include") + encoder.encode(limitSubcategories, forKey: "limit[subcategories]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryTwo.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryTwo.swift index d53c688b..d19f14f5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryTwo.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDSecondarySubcategoryTwo.swift @@ -14,36 +14,36 @@ extension APIEndpoint.V1.AppInfos.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos-secondarySubcategoryTwo-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appInfos_secondarySubcategoryTwo_getToOneRelated") } public struct GetParameters { public var fieldsAppCategories: [FieldsAppCategories]? - public var limitSubcategories: Int? public var include: [Include]? + public var limitSubcategories: Int? public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories + case parent } public enum Include: String, Codable, CaseIterable { - case parent case subcategories + case parent } - public init(fieldsAppCategories: [FieldsAppCategories]? = nil, limitSubcategories: Int? = nil, include: [Include]? = nil) { + public init(fieldsAppCategories: [FieldsAppCategories]? = nil, include: [Include]? = nil, limitSubcategories: Int? = nil) { self.fieldsAppCategories = fieldsAppCategories - self.limitSubcategories = limitSubcategories self.include = include + self.limitSubcategories = limitSubcategories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppCategories, forKey: "fields[appCategories]") - encoder.encode(limitSubcategories, forKey: "limit[subcategories]") encoder.encode(include, forKey: "include") + encoder.encode(limitSubcategories, forKey: "limit[subcategories]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift index f3054e4f..6567a531 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrders.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1 { @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.AppPreOrderCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appPreOrders-create_instance") + 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 index af24d655..9f56b4f5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrdersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreOrdersWithID.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.AppPreOrders { @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-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPreOrders, include), id: "appPreOrders_getInstance") } private func makeGetQuery(_ fieldsAppPreOrders: [FieldsAppPreOrders]?, _ include: [Include]?) -> [(String, String?)] { @@ -26,9 +26,9 @@ extension APIEndpoint.V1.AppPreOrders { } public enum FieldsAppPreOrders: String, Codable, CaseIterable { - case app - case appReleaseDate case preOrderAvailableDate + case appReleaseDate + case app } public enum Include: String, Codable, CaseIterable { @@ -37,12 +37,12 @@ extension APIEndpoint.V1.AppPreOrders { @available(*, deprecated, message: "Deprecated") public func patch(_ body: AppStoreConnect_Swift_SDK.AppPreOrderUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appPreOrders-update_instance") + 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-delete_instance") + Request(path: path, method: "DELETE", id: "appPreOrders_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSets.swift index e722d3ff..b2f13530 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSets.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppPreviewSetCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appPreviewSets-create_instance") + Request(path: path, method: "POST", body: body, id: "appPreviewSets_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift index 7250d9d1..5d3b9017 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithID.swift @@ -14,63 +14,63 @@ extension APIEndpoint.V1.AppPreviewSets { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPreviewSets-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPreviewSets_getInstance") } public struct GetParameters { public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? - public var include: [Include]? public var fieldsAppPreviews: [FieldsAppPreviews]? + public var include: [Include]? public var limitAppPreviews: Int? public enum FieldsAppPreviewSets: String, Codable, CaseIterable { - case appCustomProductPageLocalization - case appPreviews - case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization case previewType - } - - public enum Include: String, Codable, CaseIterable { + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization + case appPreviews } public enum FieldsAppPreviews: String, Codable, CaseIterable { - case appPreviewSet - case assetDeliveryState - case fileName case fileSize - case mimeType + case fileName + case sourceFileChecksum case previewFrameTimeCode + case mimeType + case videoURL = "videoUrl" case previewImage - case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded - case videoURL = "videoUrl" + case appPreviewSet + } + + public enum Include: String, Codable, CaseIterable { + case appStoreVersionLocalization + case appCustomProductPageLocalization + case appStoreVersionExperimentTreatmentLocalization + case appPreviews } - public init(fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, include: [Include]? = nil, fieldsAppPreviews: [FieldsAppPreviews]? = nil, limitAppPreviews: Int? = nil) { + public init(fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, fieldsAppPreviews: [FieldsAppPreviews]? = nil, include: [Include]? = nil, limitAppPreviews: Int? = nil) { self.fieldsAppPreviewSets = fieldsAppPreviewSets - self.include = include self.fieldsAppPreviews = fieldsAppPreviews + self.include = include self.limitAppPreviews = limitAppPreviews } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppPreviews, forKey: "fields[appPreviews]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppPreviews, forKey: "limit[appPreviews]") return encoder.items } } public var delete: Request { - Request(path: path, method: "DELETE", id: "appPreviewSets-delete_instance") + Request(path: path, method: "DELETE", id: "appPreviewSets_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift index 1ffd2cae..e4f812eb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDAppPreviews.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppPreviewSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPreviewSets-appPreviews-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPreviewSets_appPreviews_getToManyRelated") } public struct GetParameters { @@ -24,25 +24,25 @@ extension APIEndpoint.V1.AppPreviewSets.WithID { public var include: [Include]? public enum FieldsAppPreviews: String, Codable, CaseIterable { - case appPreviewSet - case assetDeliveryState - case fileName case fileSize - case mimeType + case fileName + case sourceFileChecksum case previewFrameTimeCode + case mimeType + case videoURL = "videoUrl" case previewImage - case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded - case videoURL = "videoUrl" + case appPreviewSet } public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + case previewType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case previewType + case appPreviews } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationshipsAppPreviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationshipsAppPreviews.swift index a8f56263..52f6b8fc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationshipsAppPreviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationshipsAppPreviews.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppPreviewSets.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "appPreviewSets-appPreviews-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "appPreviewSets_appPreviews_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.AppPreviewSets.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppPreviewSetAppPreviewsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appPreviewSets-appPreviews-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "appPreviewSets_appPreviews_replaceToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviews.swift index 657831f9..3ffa4142 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviews.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppPreviewCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appPreviews-create_instance") + Request(path: path, method: "POST", body: body, id: "appPreviews_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift index 1b39be28..8ffe0a21 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppPreviews { public let path: String public func get(fieldsAppPreviews: [FieldsAppPreviews]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPreviews, include), id: "appPreviews-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPreviews, include), id: "appPreviews_getInstance") } private func makeGetQuery(_ fieldsAppPreviews: [FieldsAppPreviews]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,17 +25,17 @@ extension APIEndpoint.V1.AppPreviews { } public enum FieldsAppPreviews: String, Codable, CaseIterable { - case appPreviewSet - case assetDeliveryState - case fileName case fileSize - case mimeType + case fileName + case sourceFileChecksum case previewFrameTimeCode + case mimeType + case videoURL = "videoUrl" case previewImage - case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded - case videoURL = "videoUrl" + case appPreviewSet } public enum Include: String, Codable, CaseIterable { @@ -43,11 +43,11 @@ extension APIEndpoint.V1.AppPreviews { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppPreviewUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appPreviews-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appPreviews_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appPreviews-delete_instance") + Request(path: path, method: "DELETE", id: "appPreviews_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedules.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedules.swift index 36dd4d15..6f752988 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedules.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedules.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppPriceScheduleCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appPriceSchedules-create_instance") + Request(path: path, method: "POST", body: body, id: "appPriceSchedules_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithID.swift index b3dcade8..703e3735 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithID.swift @@ -14,48 +14,48 @@ extension APIEndpoint.V1.AppPriceSchedules { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceSchedules-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceSchedules_getInstance") } public struct GetParameters { public var fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? - public var include: [Include]? - public var fieldsAppPrices: [FieldsAppPrices]? public var fieldsTerritories: [FieldsTerritories]? + public var fieldsAppPrices: [FieldsAppPrices]? + public var include: [Include]? public var limitAutomaticPrices: Int? public var limitManualPrices: Int? public enum FieldsAppPriceSchedules: String, Codable, CaseIterable { case app - case automaticPrices case baseTerritory case manualPrices + case automaticPrices } - public enum Include: String, Codable, CaseIterable { - case app - case automaticPrices - case baseTerritory - case manualPrices + public enum FieldsTerritories: String, Codable, CaseIterable { + case currency } public enum FieldsAppPrices: String, Codable, CaseIterable { - case appPricePoint - case endDate case manual case startDate + case endDate + case appPricePoint case territory } - public enum FieldsTerritories: String, Codable, CaseIterable { - case currency + public enum Include: String, Codable, CaseIterable { + case app + case baseTerritory + case manualPrices + case automaticPrices } - public init(fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? = nil, include: [Include]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitAutomaticPrices: Int? = nil, limitManualPrices: Int? = nil) { + public init(fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, include: [Include]? = nil, limitAutomaticPrices: Int? = nil, limitManualPrices: Int? = nil) { self.fieldsAppPriceSchedules = fieldsAppPriceSchedules - self.include = include - self.fieldsAppPrices = fieldsAppPrices self.fieldsTerritories = fieldsTerritories + self.fieldsAppPrices = fieldsAppPrices + self.include = include self.limitAutomaticPrices = limitAutomaticPrices self.limitManualPrices = limitManualPrices } @@ -63,9 +63,9 @@ extension APIEndpoint.V1.AppPriceSchedules { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppPriceSchedules, forKey: "fields[appPriceSchedules]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsAppPrices, forKey: "fields[appPrices]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") + encoder.encode(fieldsAppPrices, forKey: "fields[appPrices]") + encoder.encode(include, forKey: "include") encoder.encode(limitAutomaticPrices, forKey: "limit[automaticPrices]") encoder.encode(limitManualPrices, forKey: "limit[manualPrices]") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDAutomaticPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDAutomaticPrices.swift index 67f19e6d..0db9e849 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDAutomaticPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDAutomaticPrices.swift @@ -14,12 +14,12 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceSchedules-automaticPrices-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceSchedules_automaticPrices_getToManyRelated") } public struct GetParameters { - public var filterEndDate: [String]? public var filterStartDate: [String]? + public var filterEndDate: [String]? public var filterTerritory: [String]? public var fieldsAppPrices: [FieldsAppPrices]? public var fieldsAppPricePoints: [FieldsAppPricePoints]? @@ -28,18 +28,18 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { public var include: [Include]? public enum FieldsAppPrices: String, Codable, CaseIterable { - case appPricePoint - case endDate case manual case startDate + case endDate + case appPricePoint case territory } public enum FieldsAppPricePoints: String, Codable, CaseIterable { - case app case customerPrice - case equalizations case proceeds + case app + case equalizations case territory } @@ -52,9 +52,9 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { case territory } - public init(filterEndDate: [String]? = nil, filterStartDate: [String]? = nil, filterTerritory: [String]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.filterEndDate = filterEndDate + public init(filterStartDate: [String]? = nil, filterEndDate: [String]? = nil, filterTerritory: [String]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterStartDate = filterStartDate + self.filterEndDate = filterEndDate self.filterTerritory = filterTerritory self.fieldsAppPrices = fieldsAppPrices self.fieldsAppPricePoints = fieldsAppPricePoints @@ -65,8 +65,8 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterEndDate, forKey: "filter[endDate]") encoder.encode(filterStartDate, forKey: "filter[startDate]") + encoder.encode(filterEndDate, forKey: "filter[endDate]") encoder.encode(filterTerritory, forKey: "filter[territory]") encoder.encode(fieldsAppPrices, forKey: "fields[appPrices]") encoder.encode(fieldsAppPricePoints, forKey: "fields[appPricePoints]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDBaseTerritory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDBaseTerritory.swift index 1fd22a39..06f6941f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDBaseTerritory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDBaseTerritory.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories), id: "appPriceSchedules-baseTerritory-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories), id: "appPriceSchedules_baseTerritory_getToOneRelated") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDManualPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDManualPrices.swift index c0cf1298..8122d3ca 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDManualPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDManualPrices.swift @@ -14,12 +14,12 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceSchedules-manualPrices-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPriceSchedules_manualPrices_getToManyRelated") } public struct GetParameters { - public var filterEndDate: [String]? public var filterStartDate: [String]? + public var filterEndDate: [String]? public var filterTerritory: [String]? public var fieldsAppPrices: [FieldsAppPrices]? public var fieldsAppPricePoints: [FieldsAppPricePoints]? @@ -28,18 +28,18 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { public var include: [Include]? public enum FieldsAppPrices: String, Codable, CaseIterable { - case appPricePoint - case endDate case manual case startDate + case endDate + case appPricePoint case territory } public enum FieldsAppPricePoints: String, Codable, CaseIterable { - case app case customerPrice - case equalizations case proceeds + case app + case equalizations case territory } @@ -52,9 +52,9 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { case territory } - public init(filterEndDate: [String]? = nil, filterStartDate: [String]? = nil, filterTerritory: [String]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.filterEndDate = filterEndDate + public init(filterStartDate: [String]? = nil, filterEndDate: [String]? = nil, filterTerritory: [String]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterStartDate = filterStartDate + self.filterEndDate = filterEndDate self.filterTerritory = filterTerritory self.fieldsAppPrices = fieldsAppPrices self.fieldsAppPricePoints = fieldsAppPricePoints @@ -65,8 +65,8 @@ extension APIEndpoint.V1.AppPriceSchedules.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterEndDate, forKey: "filter[endDate]") encoder.encode(filterStartDate, forKey: "filter[startDate]") + encoder.encode(filterEndDate, forKey: "filter[endDate]") encoder.encode(filterTerritory, forKey: "filter[territory]") encoder.encode(fieldsAppPrices, forKey: "fields[appPrices]") encoder.encode(fieldsAppPricePoints, forKey: "fields[appPricePoints]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSets.swift index ffbb6454..910895e3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSets.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppScreenshotSetCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appScreenshotSets-create_instance") + Request(path: path, method: "POST", body: body, id: "appScreenshotSets_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift index 1957042a..e9443ddc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithID.swift @@ -14,62 +14,62 @@ extension APIEndpoint.V1.AppScreenshotSets { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appScreenshotSets-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appScreenshotSets_getInstance") } public struct GetParameters { public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? - public var include: [Include]? public var fieldsAppScreenshots: [FieldsAppScreenshots]? + public var include: [Include]? public var limitAppScreenshots: Int? public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { - case appCustomProductPageLocalization - case appScreenshots - case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization case screenshotDisplayType - } - - public enum Include: String, Codable, CaseIterable { + case appStoreVersionLocalization case appCustomProductPageLocalization - case appScreenshots case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization + case appScreenshots } public enum FieldsAppScreenshots: String, Codable, CaseIterable { - case appScreenshotSet - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded + case appScreenshotSet + } + + public enum Include: String, Codable, CaseIterable { + case appStoreVersionLocalization + case appCustomProductPageLocalization + case appStoreVersionExperimentTreatmentLocalization + case appScreenshots } - public init(fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, include: [Include]? = nil, fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, limitAppScreenshots: Int? = nil) { + public init(fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, include: [Include]? = nil, limitAppScreenshots: Int? = nil) { self.fieldsAppScreenshotSets = fieldsAppScreenshotSets - self.include = include self.fieldsAppScreenshots = fieldsAppScreenshots + self.include = include self.limitAppScreenshots = limitAppScreenshots } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppScreenshots, forKey: "fields[appScreenshots]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppScreenshots, forKey: "limit[appScreenshots]") return encoder.items } } public var delete: Request { - Request(path: path, method: "DELETE", id: "appScreenshotSets-delete_instance") + Request(path: path, method: "DELETE", id: "appScreenshotSets_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift index a70af7a6..2db2d2f5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDAppScreenshots.swift @@ -14,51 +14,51 @@ extension APIEndpoint.V1.AppScreenshotSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appScreenshotSets-appScreenshots-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appScreenshotSets_appScreenshots_getToManyRelated") } public struct GetParameters { - public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? public var fieldsAppScreenshots: [FieldsAppScreenshots]? + public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? public var limit: Int? public var include: [Include]? - public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { - case appCustomProductPageLocalization - case appScreenshots - case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case screenshotDisplayType - } - public enum FieldsAppScreenshots: String, Codable, CaseIterable { - case appScreenshotSet - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded + case appScreenshotSet + } + + public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { + case screenshotDisplayType + case appStoreVersionLocalization + case appCustomProductPageLocalization + case appStoreVersionExperimentTreatmentLocalization + case appScreenshots } public enum Include: String, Codable, CaseIterable { case appScreenshotSet } - public init(fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.fieldsAppScreenshotSets = fieldsAppScreenshotSets + public init(fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsAppScreenshots = fieldsAppScreenshots + self.fieldsAppScreenshotSets = fieldsAppScreenshotSets self.limit = limit self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") encoder.encode(fieldsAppScreenshots, forKey: "fields[appScreenshots]") + encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationshipsAppScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationshipsAppScreenshots.swift index b2ef790c..4ae67877 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationshipsAppScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationshipsAppScreenshots.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppScreenshotSets.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "appScreenshotSets-appScreenshots-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "appScreenshotSets_appScreenshots_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.AppScreenshotSets.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppScreenshotSetAppScreenshotsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appScreenshotSets-appScreenshots-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "appScreenshotSets_appScreenshots_replaceToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshots.swift index 3c41890b..4e303b2a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshots.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppScreenshotCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appScreenshots-create_instance") + Request(path: path, method: "POST", body: body, id: "appScreenshots_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift index 8bee7e17..ddfe5fc2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppScreenshots { public let path: String public func get(fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppScreenshots, include), id: "appScreenshots-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppScreenshots, include), id: "appScreenshots_getInstance") } private func makeGetQuery(_ fieldsAppScreenshots: [FieldsAppScreenshots]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,16 +25,16 @@ extension APIEndpoint.V1.AppScreenshots { } public enum FieldsAppScreenshots: String, Codable, CaseIterable { - case appScreenshotSet - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded + case appScreenshotSet } public enum Include: String, Codable, CaseIterable { @@ -42,11 +42,11 @@ extension APIEndpoint.V1.AppScreenshots { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppScreenshotUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appScreenshots-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appScreenshots_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appScreenshots-delete_instance") + Request(path: path, method: "DELETE", id: "appScreenshots_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachments.swift index d59e25bd..6ad2a4ec 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachments.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreReviewAttachmentCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreReviewAttachments-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreReviewAttachments_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift index 3edfa2d4..84da358b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachmentsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppStoreReviewAttachments { public let path: String public func get(fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppStoreReviewAttachments, include), id: "appStoreReviewAttachments-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppStoreReviewAttachments, include), id: "appStoreReviewAttachments_getInstance") } private func makeGetQuery(_ fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,13 +25,13 @@ extension APIEndpoint.V1.AppStoreReviewAttachments { } public enum FieldsAppStoreReviewAttachments: String, Codable, CaseIterable { - case appStoreReviewDetail - case assetDeliveryState - case fileName case fileSize + case fileName case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded + case appStoreReviewDetail } public enum Include: String, Codable, CaseIterable { @@ -39,11 +39,11 @@ extension APIEndpoint.V1.AppStoreReviewAttachments { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreReviewAttachmentUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appStoreReviewAttachments-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appStoreReviewAttachments_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appStoreReviewAttachments-delete_instance") + Request(path: path, method: "DELETE", id: "appStoreReviewAttachments_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetails.swift index 8625acba..a80aa1d5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetails.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreReviewDetailCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreReviewDetails-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreReviewDetails_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift index 017ce070..b268843e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithID.swift @@ -14,62 +14,62 @@ extension APIEndpoint.V1.AppStoreReviewDetails { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreReviewDetails-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreReviewDetails_getInstance") } public struct GetParameters { public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? - public var include: [Include]? public var fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? + public var include: [Include]? public var limitAppStoreReviewAttachments: Int? public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { - case appStoreReviewAttachments - case appStoreVersion - case contactEmail case contactFirstName case contactLastName case contactPhone + case contactEmail case demoAccountName case demoAccountPassword case demoAccountRequired case notes - } - - public enum Include: String, Codable, CaseIterable { - case appStoreReviewAttachments case appStoreVersion + case appStoreReviewAttachments } public enum FieldsAppStoreReviewAttachments: String, Codable, CaseIterable { - case appStoreReviewDetail - case assetDeliveryState - case fileName case fileSize + case fileName case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded + case appStoreReviewDetail } - public init(fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, include: [Include]? = nil, fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? = nil, limitAppStoreReviewAttachments: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case appStoreVersion + case appStoreReviewAttachments + } + + public init(fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? = nil, include: [Include]? = nil, limitAppStoreReviewAttachments: Int? = nil) { self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails - self.include = include self.fieldsAppStoreReviewAttachments = fieldsAppStoreReviewAttachments + self.include = include self.limitAppStoreReviewAttachments = limitAppStoreReviewAttachments } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppStoreReviewAttachments, forKey: "fields[appStoreReviewAttachments]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppStoreReviewAttachments, forKey: "limit[appStoreReviewAttachments]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreReviewDetailUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appStoreReviewDetails-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appStoreReviewDetails_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift index de22f7f8..bf1b0c70 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDAppStoreReviewAttachments.swift @@ -14,53 +14,53 @@ extension APIEndpoint.V1.AppStoreReviewDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreReviewDetails-appStoreReviewAttachments-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreReviewDetails_appStoreReviewAttachments_getToManyRelated") } public struct GetParameters { - public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? public var fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? + public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? public var limit: Int? public var include: [Include]? + public enum FieldsAppStoreReviewAttachments: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case uploadOperations + case assetDeliveryState + case uploaded + case appStoreReviewDetail + } + public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { - case appStoreReviewAttachments - case appStoreVersion - case contactEmail case contactFirstName case contactLastName case contactPhone + case contactEmail case demoAccountName case demoAccountPassword case demoAccountRequired case notes - } - - public enum FieldsAppStoreReviewAttachments: String, Codable, CaseIterable { - case appStoreReviewDetail - case assetDeliveryState - case fileName - case fileSize - case sourceFileChecksum - case uploadOperations - case uploaded + case appStoreVersion + case appStoreReviewAttachments } public enum Include: String, Codable, CaseIterable { case appStoreReviewDetail } - public init(fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails + public init(fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsAppStoreReviewAttachments = fieldsAppStoreReviewAttachments + self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails self.limit = limit self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") encoder.encode(fieldsAppStoreReviewAttachments, forKey: "fields[appStoreReviewAttachments]") + encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizations.swift index 89d58a4a..243f385e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentTreatmentLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreVersionExperimentTreatmentLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreVersionExperimentTreatmentLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithID.swift index 52f4c0f3..de4a1586 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithID.swift @@ -14,51 +14,51 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatmentLocalizations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatmentLocalizations_getInstance") } public struct GetParameters { public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? - public var include: [Include]? public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? + public var include: [Include]? public var limitAppPreviewSets: Int? public var limitAppScreenshotSets: Int? public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment case locale - } - - public enum Include: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { + case screenshotDisplayType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appScreenshots case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case screenshotDisplayType + case appScreenshots } public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + case previewType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case previewType + case appPreviews } - public init(fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, include: [Include]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, limitAppPreviewSets: Int? = nil, limitAppScreenshotSets: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets + } + + public init(fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, include: [Include]? = nil, limitAppPreviewSets: Int? = nil, limitAppScreenshotSets: Int? = nil) { self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations - self.include = include self.fieldsAppScreenshotSets = fieldsAppScreenshotSets self.fieldsAppPreviewSets = fieldsAppPreviewSets + self.include = include self.limitAppPreviewSets = limitAppPreviewSets self.limitAppScreenshotSets = limitAppScreenshotSets } @@ -66,9 +66,9 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppPreviewSets, forKey: "limit[appPreviewSets]") encoder.encode(limitAppScreenshotSets, forKey: "limit[appScreenshotSets]") return encoder.items @@ -76,7 +76,7 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations { } public var delete: Request { - Request(path: path, method: "DELETE", id: "appStoreVersionExperimentTreatmentLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "appStoreVersionExperimentTreatmentLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift index 8feb7f13..6f152368 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift @@ -14,21 +14,21 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatmentLocalizations-appPreviewSets-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatmentLocalizations_appPreviewSets_getToManyRelated") } public struct GetParameters { public var filterPreviewType: [FilterPreviewType]? - public var filterAppCustomProductPageLocalization: [String]? public var filterAppStoreVersionLocalization: [String]? + public var filterAppCustomProductPageLocalization: [String]? + public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? public var fieldsAppPreviews: [FieldsAppPreviews]? - public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limit: Int? - public var limitAppPreviews: Int? public var include: [Include]? + public var limitAppPreviews: Int? public enum FilterPreviewType: String, Codable, CaseIterable { case iphone67 = "IPHONE_67" @@ -49,90 +49,90 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID case appleVisionPro = "APPLE_VISION_PRO" } - public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appPreviewSets + public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + case previewType + case appStoreVersionLocalization + case appCustomProductPageLocalization + case appStoreVersionExperimentTreatmentLocalization + case appPreviews + } + + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case description + case locale + case keywords + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + case appStoreVersion case appScreenshotSets + case appPreviewSets + } + + public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { case locale case promotionalText + case appCustomProductPageVersion + case appScreenshotSets + case appPreviewSets } public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment case locale + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } public enum FieldsAppPreviews: String, Codable, CaseIterable { - case appPreviewSet - case assetDeliveryState - case fileName case fileSize - case mimeType + case fileName + case sourceFileChecksum case previewFrameTimeCode + case mimeType + case videoURL = "videoUrl" case previewImage - case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded - case videoURL = "videoUrl" - } - - public enum FieldsAppPreviewSets: String, Codable, CaseIterable { - case appCustomProductPageLocalization - case appPreviews - case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case previewType - } - - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew + case appPreviewSet } public enum Include: String, Codable, CaseIterable { + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization + case appPreviews } - public init(filterPreviewType: [FilterPreviewType]? = nil, filterAppCustomProductPageLocalization: [String]? = nil, filterAppStoreVersionLocalization: [String]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppPreviews: [FieldsAppPreviews]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limit: Int? = nil, limitAppPreviews: Int? = nil, include: [Include]? = nil) { + public init(filterPreviewType: [FilterPreviewType]? = nil, filterAppStoreVersionLocalization: [String]? = nil, filterAppCustomProductPageLocalization: [String]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppPreviews: [FieldsAppPreviews]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppPreviews: Int? = nil) { self.filterPreviewType = filterPreviewType - self.filterAppCustomProductPageLocalization = filterAppCustomProductPageLocalization self.filterAppStoreVersionLocalization = filterAppStoreVersionLocalization + self.filterAppCustomProductPageLocalization = filterAppCustomProductPageLocalization + self.fieldsAppPreviewSets = fieldsAppPreviewSets + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations self.fieldsAppPreviews = fieldsAppPreviews - self.fieldsAppPreviewSets = fieldsAppPreviewSets - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limit = limit - self.limitAppPreviews = limitAppPreviews self.include = include + self.limitAppPreviews = limitAppPreviews } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterPreviewType, forKey: "filter[previewType]") - encoder.encode(filterAppCustomProductPageLocalization, forKey: "filter[appCustomProductPageLocalization]") encoder.encode(filterAppStoreVersionLocalization, forKey: "filter[appStoreVersionLocalization]") + encoder.encode(filterAppCustomProductPageLocalization, forKey: "filter[appCustomProductPageLocalization]") + encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") encoder.encode(fieldsAppPreviews, forKey: "fields[appPreviews]") - encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppPreviews, forKey: "limit[appPreviews]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppPreviews, forKey: "limit[appPreviews]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift index 49b02122..174d6f99 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift @@ -14,21 +14,21 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatmentLocalizations-appScreenshotSets-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatmentLocalizations_appScreenshotSets_getToManyRelated") } public struct GetParameters { public var filterScreenshotDisplayType: [FilterScreenshotDisplayType]? - public var filterAppCustomProductPageLocalization: [String]? public var filterAppStoreVersionLocalization: [String]? + public var filterAppCustomProductPageLocalization: [String]? public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? public var fieldsAppScreenshots: [FieldsAppScreenshots]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limit: Int? - public var limitAppScreenshots: Int? public var include: [Include]? + public var limitAppScreenshots: Int? public enum FilterScreenshotDisplayType: String, Codable, CaseIterable { case appIphone67 = "APP_IPHONE_67" @@ -46,6 +46,7 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID case appIpad97 = "APP_IPAD_97" case appDesktop = "APP_DESKTOP" case appWatchUltra = "APP_WATCH_ULTRA" + case appWatchSeries10 = "APP_WATCH_SERIES_10" case appWatchSeries7 = "APP_WATCH_SERIES_7" case appWatchSeries4 = "APP_WATCH_SERIES_4" case appWatchSeries3 = "APP_WATCH_SERIES_3" @@ -66,88 +67,88 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID } public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { + case screenshotDisplayType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appScreenshots case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case screenshotDisplayType + case appScreenshots } - public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appPreviewSets + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case description + case locale + case keywords + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + case appStoreVersion case appScreenshotSets + case appPreviewSets + } + + public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { case locale case promotionalText + case appCustomProductPageVersion + case appScreenshotSets + case appPreviewSets } public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment case locale + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } public enum FieldsAppScreenshots: String, Codable, CaseIterable { - case appScreenshotSet - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded - } - - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew + case appScreenshotSet } public enum Include: String, Codable, CaseIterable { + case appStoreVersionLocalization case appCustomProductPageLocalization - case appScreenshots case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization + case appScreenshots } - public init(filterScreenshotDisplayType: [FilterScreenshotDisplayType]? = nil, filterAppCustomProductPageLocalization: [String]? = nil, filterAppStoreVersionLocalization: [String]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limit: Int? = nil, limitAppScreenshots: Int? = nil, include: [Include]? = nil) { + public init(filterScreenshotDisplayType: [FilterScreenshotDisplayType]? = nil, filterAppStoreVersionLocalization: [String]? = nil, filterAppCustomProductPageLocalization: [String]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppScreenshots: Int? = nil) { self.filterScreenshotDisplayType = filterScreenshotDisplayType - self.filterAppCustomProductPageLocalization = filterAppCustomProductPageLocalization self.filterAppStoreVersionLocalization = filterAppStoreVersionLocalization + self.filterAppCustomProductPageLocalization = filterAppCustomProductPageLocalization self.fieldsAppScreenshotSets = fieldsAppScreenshotSets + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations self.fieldsAppScreenshots = fieldsAppScreenshots - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limit = limit - self.limitAppScreenshots = limitAppScreenshots self.include = include + self.limitAppScreenshots = limitAppScreenshots } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterScreenshotDisplayType, forKey: "filter[screenshotDisplayType]") - encoder.encode(filterAppCustomProductPageLocalization, forKey: "filter[appCustomProductPageLocalization]") encoder.encode(filterAppStoreVersionLocalization, forKey: "filter[appStoreVersionLocalization]") + encoder.encode(filterAppCustomProductPageLocalization, forKey: "filter[appCustomProductPageLocalization]") encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") encoder.encode(fieldsAppScreenshots, forKey: "fields[appScreenshots]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppScreenshots, forKey: "limit[appScreenshots]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppScreenshots, forKey: "limit[appScreenshots]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatments.swift index 68bc20fc..94e89aff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatments.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentTreatmentCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreVersionExperimentTreatments-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreVersionExperimentTreatments_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithID.swift index 7a70b557..6c6ccbc4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithID.swift @@ -14,61 +14,61 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatments { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatments-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatments_getInstance") } public struct GetParameters { public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? - public var include: [Include]? public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? + public var include: [Include]? public var limitAppStoreVersionExperimentTreatmentLocalizations: Int? public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { + case name case appIcon case appIconName - case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations - case appStoreVersionExperimentV2 - case name case promotedDate - } - - public enum Include: String, Codable, CaseIterable { case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations case appStoreVersionExperimentV2 + case appStoreVersionExperimentTreatmentLocalizations } public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment case locale + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets + } + + public enum Include: String, Codable, CaseIterable { + case appStoreVersionExperiment + case appStoreVersionExperimentV2 + case appStoreVersionExperimentTreatmentLocalizations } - public init(fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, include: [Include]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, limitAppStoreVersionExperimentTreatmentLocalizations: Int? = nil) { + public init(fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, include: [Include]? = nil, limitAppStoreVersionExperimentTreatmentLocalizations: Int? = nil) { self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments - self.include = include self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations + self.include = include self.limitAppStoreVersionExperimentTreatmentLocalizations = limitAppStoreVersionExperimentTreatmentLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppStoreVersionExperimentTreatmentLocalizations, forKey: "limit[appStoreVersionExperimentTreatmentLocalizations]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentTreatmentUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appStoreVersionExperimentTreatments-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appStoreVersionExperimentTreatments_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appStoreVersionExperimentTreatments-delete_instance") + Request(path: path, method: "DELETE", id: "appStoreVersionExperimentTreatments_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDAppStoreVersionExperimentTreatmentLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDAppStoreVersionExperimentTreatmentLocalizations.swift index 4e8160bc..37deff79 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDAppStoreVersionExperimentTreatmentLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDAppStoreVersionExperimentTreatmentLocalizations.swift @@ -14,82 +14,82 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatments.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatments-appStoreVersionExperimentTreatmentLocalizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentTreatments_appStoreVersionExperimentTreatmentLocalizations_getToManyRelated") } public struct GetParameters { public var filterLocale: [String]? - public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? - public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? + public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? + public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? public var limit: Int? + public var include: [Include]? public var limitAppScreenshotSets: Int? public var limitAppPreviewSets: Int? - public var include: [Include]? - public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { - case appCustomProductPageLocalization - case appScreenshots - case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case screenshotDisplayType + public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { + case locale + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { + case name case appIcon case appIconName + case promotedDate case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations case appStoreVersionExperimentV2 - case name - case promotedDate + case appStoreVersionExperimentTreatmentLocalizations } - public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment - case locale + public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { + case screenshotDisplayType + case appStoreVersionLocalization + case appCustomProductPageLocalization + case appStoreVersionExperimentTreatmentLocalization + case appScreenshots } public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + case previewType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case previewType + case appPreviews } public enum Include: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } - public init(filterLocale: [String]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, limit: Int? = nil, limitAppScreenshotSets: Int? = nil, limitAppPreviewSets: Int? = nil, include: [Include]? = nil) { + public init(filterLocale: [String]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppScreenshotSets: Int? = nil, limitAppPreviewSets: Int? = nil) { self.filterLocale = filterLocale - self.fieldsAppScreenshotSets = fieldsAppScreenshotSets - self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations + self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments + self.fieldsAppScreenshotSets = fieldsAppScreenshotSets self.fieldsAppPreviewSets = fieldsAppPreviewSets self.limit = limit + self.include = include self.limitAppScreenshotSets = limitAppScreenshotSets self.limitAppPreviewSets = limitAppPreviewSets - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterLocale, forKey: "filter[locale]") - encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") - encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") + encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") + encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitAppScreenshotSets, forKey: "limit[appScreenshotSets]") encoder.encode(limitAppPreviewSets, forKey: "limit[appPreviewSets]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperiments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperiments.swift index 6604847b..02ab9892 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperiments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperiments.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1 { @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreVersionExperiments-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreVersionExperiments_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift index 7e8a83f5..fe132bf6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithID.swift @@ -15,54 +15,54 @@ extension APIEndpoint.V1.AppStoreVersionExperiments { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperiments-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperiments_getInstance") } public struct GetParameters { public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var include: [Include]? public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? + public var include: [Include]? public var limitAppStoreVersionExperimentTreatments: Int? public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case appStoreVersion - case appStoreVersionExperimentTreatments - case endDate case name + case trafficProportion + case state case reviewRequired case startDate + case endDate case started - case state - case trafficProportion - } - - public enum Include: String, Codable, CaseIterable { case appStoreVersion case appStoreVersionExperimentTreatments } public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { + case name case appIcon case appIconName + case promotedDate case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations case appStoreVersionExperimentV2 - case name - case promotedDate + case appStoreVersionExperimentTreatmentLocalizations + } + + public enum Include: String, Codable, CaseIterable { + case appStoreVersion + case appStoreVersionExperimentTreatments } - public init(fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, include: [Include]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, limitAppStoreVersionExperimentTreatments: Int? = nil) { + public init(fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, include: [Include]? = nil, limitAppStoreVersionExperimentTreatments: Int? = nil) { self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.include = include self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments + self.include = include self.limitAppStoreVersionExperimentTreatments = limitAppStoreVersionExperimentTreatments } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppStoreVersionExperimentTreatments, forKey: "limit[appStoreVersionExperimentTreatments]") return encoder.items } @@ -70,12 +70,12 @@ extension APIEndpoint.V1.AppStoreVersionExperiments { @available(*, deprecated, message: "Deprecated") public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appStoreVersionExperiments-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appStoreVersionExperiments_updateInstance") } @available(*, deprecated, message: "Deprecated") public var delete: Request { - Request(path: path, method: "DELETE", id: "appStoreVersionExperiments-delete_instance") + Request(path: path, method: "DELETE", id: "appStoreVersionExperiments_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift index 1023ad6d..60e13326 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift @@ -15,73 +15,73 @@ extension APIEndpoint.V1.AppStoreVersionExperiments.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperiments-appStoreVersionExperimentTreatments-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperiments_appStoreVersionExperimentTreatments_getToManyRelated") } public struct GetParameters { - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? public var limit: Int? - public var limitAppStoreVersionExperimentTreatmentLocalizations: Int? public var include: [Include]? - - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion - } + public var limitAppStoreVersionExperimentTreatmentLocalizations: Int? public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { + case name case appIcon case appIconName + case promotedDate case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations case appStoreVersionExperimentV2 + case appStoreVersionExperimentTreatmentLocalizations + } + + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { case name - case promotedDate + case trafficProportion + case state + case reviewRequired + case startDate + case endDate + case started + case appStoreVersion + case appStoreVersionExperimentTreatments + case platform + case app + case latestControlVersion + case controlVersions } public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment case locale + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } public enum Include: String, Codable, CaseIterable { case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations case appStoreVersionExperimentV2 + case appStoreVersionExperimentTreatmentLocalizations } - public init(fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, limit: Int? = nil, limitAppStoreVersionExperimentTreatmentLocalizations: Int? = nil, include: [Include]? = nil) { - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + public init(fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppStoreVersionExperimentTreatmentLocalizations: Int? = nil) { self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations self.limit = limit - self.limitAppStoreVersionExperimentTreatmentLocalizations = limitAppStoreVersionExperimentTreatmentLocalizations self.include = include + self.limitAppStoreVersionExperimentTreatmentLocalizations = limitAppStoreVersionExperimentTreatmentLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppStoreVersionExperimentTreatmentLocalizations, forKey: "limit[appStoreVersionExperimentTreatmentLocalizations]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppStoreVersionExperimentTreatmentLocalizations, forKey: "limit[appStoreVersionExperimentTreatmentLocalizations]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizations.swift index 65ec4652..7d98b86f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreVersionLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreVersionLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithID.swift index 68b8fbac..38b21698 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithID.swift @@ -14,57 +14,57 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionLocalizations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionLocalizations_getInstance") } public struct GetParameters { public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? - public var include: [Include]? public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? + public var include: [Include]? public var limitAppPreviewSets: Int? public var limitAppScreenshotSets: Int? public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion case description - case keywords case locale + case keywords case marketingURL = "marketingUrl" case promotionalText case supportURL = "supportUrl" case whatsNew - } - - public enum Include: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets case appStoreVersion + case appScreenshotSets + case appPreviewSets } public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { + case screenshotDisplayType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appScreenshots case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case screenshotDisplayType + case appScreenshots } public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + case previewType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case previewType + case appPreviews + } + + public enum Include: String, Codable, CaseIterable { + case appStoreVersion + case appScreenshotSets + case appPreviewSets } - public init(fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, include: [Include]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, limitAppPreviewSets: Int? = nil, limitAppScreenshotSets: Int? = nil) { + public init(fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, include: [Include]? = nil, limitAppPreviewSets: Int? = nil, limitAppScreenshotSets: Int? = nil) { self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations - self.include = include self.fieldsAppScreenshotSets = fieldsAppScreenshotSets self.fieldsAppPreviewSets = fieldsAppPreviewSets + self.include = include self.limitAppPreviewSets = limitAppPreviewSets self.limitAppScreenshotSets = limitAppScreenshotSets } @@ -72,9 +72,9 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppPreviewSets, forKey: "limit[appPreviewSets]") encoder.encode(limitAppScreenshotSets, forKey: "limit[appScreenshotSets]") return encoder.items @@ -82,11 +82,11 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appStoreVersionLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appStoreVersionLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appStoreVersionLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "appStoreVersionLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift index 6c6c83e9..9e29f23b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift @@ -14,21 +14,21 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionLocalizations-appPreviewSets-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionLocalizations_appPreviewSets_getToManyRelated") } public struct GetParameters { public var filterPreviewType: [FilterPreviewType]? public var filterAppCustomProductPageLocalization: [String]? public var filterAppStoreVersionExperimentTreatmentLocalization: [String]? + public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? public var fieldsAppPreviews: [FieldsAppPreviews]? - public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limit: Int? - public var limitAppPreviews: Int? public var include: [Include]? + public var limitAppPreviews: Int? public enum FilterPreviewType: String, Codable, CaseIterable { case iphone67 = "IPHONE_67" @@ -49,75 +49,75 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { case appleVisionPro = "APPLE_VISION_PRO" } - public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appPreviewSets + public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + case previewType + case appStoreVersionLocalization + case appCustomProductPageLocalization + case appStoreVersionExperimentTreatmentLocalization + case appPreviews + } + + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case description + case locale + case keywords + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + case appStoreVersion case appScreenshotSets + case appPreviewSets + } + + public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { case locale case promotionalText + case appCustomProductPageVersion + case appScreenshotSets + case appPreviewSets } public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment case locale + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } public enum FieldsAppPreviews: String, Codable, CaseIterable { - case appPreviewSet - case assetDeliveryState - case fileName case fileSize - case mimeType + case fileName + case sourceFileChecksum case previewFrameTimeCode + case mimeType + case videoURL = "videoUrl" case previewImage - case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded - case videoURL = "videoUrl" - } - - public enum FieldsAppPreviewSets: String, Codable, CaseIterable { - case appCustomProductPageLocalization - case appPreviews - case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case previewType - } - - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew + case appPreviewSet } public enum Include: String, Codable, CaseIterable { + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization + case appPreviews } - public init(filterPreviewType: [FilterPreviewType]? = nil, filterAppCustomProductPageLocalization: [String]? = nil, filterAppStoreVersionExperimentTreatmentLocalization: [String]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppPreviews: [FieldsAppPreviews]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limit: Int? = nil, limitAppPreviews: Int? = nil, include: [Include]? = nil) { + public init(filterPreviewType: [FilterPreviewType]? = nil, filterAppCustomProductPageLocalization: [String]? = nil, filterAppStoreVersionExperimentTreatmentLocalization: [String]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppPreviews: [FieldsAppPreviews]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppPreviews: Int? = nil) { self.filterPreviewType = filterPreviewType self.filterAppCustomProductPageLocalization = filterAppCustomProductPageLocalization self.filterAppStoreVersionExperimentTreatmentLocalization = filterAppStoreVersionExperimentTreatmentLocalization + self.fieldsAppPreviewSets = fieldsAppPreviewSets + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations self.fieldsAppPreviews = fieldsAppPreviews - self.fieldsAppPreviewSets = fieldsAppPreviewSets - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limit = limit - self.limitAppPreviews = limitAppPreviews self.include = include + self.limitAppPreviews = limitAppPreviews } public var asQuery: [(String, String?)] { @@ -125,14 +125,14 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { encoder.encode(filterPreviewType, forKey: "filter[previewType]") encoder.encode(filterAppCustomProductPageLocalization, forKey: "filter[appCustomProductPageLocalization]") encoder.encode(filterAppStoreVersionExperimentTreatmentLocalization, forKey: "filter[appStoreVersionExperimentTreatmentLocalization]") + encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") encoder.encode(fieldsAppPreviews, forKey: "fields[appPreviews]") - encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppPreviews, forKey: "limit[appPreviews]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppPreviews, forKey: "limit[appPreviews]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift index 5cecab17..40a391a5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionLocalizations-appScreenshotSets-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionLocalizations_appScreenshotSets_getToManyRelated") } public struct GetParameters { @@ -22,13 +22,13 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { public var filterAppCustomProductPageLocalization: [String]? public var filterAppStoreVersionExperimentTreatmentLocalization: [String]? public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? public var fieldsAppScreenshots: [FieldsAppScreenshots]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limit: Int? - public var limitAppScreenshots: Int? public var include: [Include]? + public var limitAppScreenshots: Int? public enum FilterScreenshotDisplayType: String, Codable, CaseIterable { case appIphone67 = "APP_IPHONE_67" @@ -46,6 +46,7 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { case appIpad97 = "APP_IPAD_97" case appDesktop = "APP_DESKTOP" case appWatchUltra = "APP_WATCH_ULTRA" + case appWatchSeries10 = "APP_WATCH_SERIES_10" case appWatchSeries7 = "APP_WATCH_SERIES_7" case appWatchSeries4 = "APP_WATCH_SERIES_4" case appWatchSeries3 = "APP_WATCH_SERIES_3" @@ -66,73 +67,73 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { } public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { + case screenshotDisplayType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appScreenshots case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case screenshotDisplayType + case appScreenshots } - public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appPreviewSets + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case description + case locale + case keywords + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + case appStoreVersion case appScreenshotSets + case appPreviewSets + } + + public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { case locale case promotionalText + case appCustomProductPageVersion + case appScreenshotSets + case appPreviewSets } public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment case locale + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } public enum FieldsAppScreenshots: String, Codable, CaseIterable { - case appScreenshotSet - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded - } - - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew + case appScreenshotSet } public enum Include: String, Codable, CaseIterable { + case appStoreVersionLocalization case appCustomProductPageLocalization - case appScreenshots case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization + case appScreenshots } - public init(filterScreenshotDisplayType: [FilterScreenshotDisplayType]? = nil, filterAppCustomProductPageLocalization: [String]? = nil, filterAppStoreVersionExperimentTreatmentLocalization: [String]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limit: Int? = nil, limitAppScreenshots: Int? = nil, include: [Include]? = nil) { + public init(filterScreenshotDisplayType: [FilterScreenshotDisplayType]? = nil, filterAppCustomProductPageLocalization: [String]? = nil, filterAppStoreVersionExperimentTreatmentLocalization: [String]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppCustomProductPageLocalizations: [FieldsAppCustomProductPageLocalizations]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, fieldsAppScreenshots: [FieldsAppScreenshots]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppScreenshots: Int? = nil) { self.filterScreenshotDisplayType = filterScreenshotDisplayType self.filterAppCustomProductPageLocalization = filterAppCustomProductPageLocalization self.filterAppStoreVersionExperimentTreatmentLocalization = filterAppStoreVersionExperimentTreatmentLocalization self.fieldsAppScreenshotSets = fieldsAppScreenshotSets + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.fieldsAppCustomProductPageLocalizations = fieldsAppCustomProductPageLocalizations self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations self.fieldsAppScreenshots = fieldsAppScreenshots - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limit = limit - self.limitAppScreenshots = limitAppScreenshots self.include = include + self.limitAppScreenshots = limitAppScreenshots } public var asQuery: [(String, String?)] { @@ -141,13 +142,13 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { encoder.encode(filterAppCustomProductPageLocalization, forKey: "filter[appCustomProductPageLocalization]") encoder.encode(filterAppStoreVersionExperimentTreatmentLocalization, forKey: "filter[appStoreVersionExperimentTreatmentLocalization]") encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(fieldsAppCustomProductPageLocalizations, forKey: "fields[appCustomProductPageLocalizations]") encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") encoder.encode(fieldsAppScreenshots, forKey: "fields[appScreenshots]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppScreenshots, forKey: "limit[appScreenshots]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppScreenshots, forKey: "limit[appScreenshots]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleases.swift index 0f55461f..975ca9ea 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleases.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionPhasedReleaseCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreVersionPhasedReleases-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreVersionPhasedReleases_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleasesWithID.swift index 890f4757..8a3d1d86 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPhasedReleasesWithID.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.AppStoreVersionPhasedReleases { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionPhasedReleaseUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appStoreVersionPhasedReleases-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appStoreVersionPhasedReleases_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appStoreVersionPhasedReleases-delete_instance") + Request(path: path, method: "DELETE", id: "appStoreVersionPhasedReleases_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPromotions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPromotions.swift index accb8c59..0008f8ed 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPromotions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPromotions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionPromotionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreVersionPromotions-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreVersionPromotions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionReleaseRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionReleaseRequests.swift index c6759943..5a99cf06 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionReleaseRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionReleaseRequests.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionReleaseRequestCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreVersionReleaseRequests-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreVersionReleaseRequests_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissions.swift index 92f73115..685e6305 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissions.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1 { @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionSubmissionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreVersionSubmissions-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreVersionSubmissions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissionsWithID.swift index 64c3e576..ac553ad8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissionsWithID.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.AppStoreVersionSubmissions { @available(*, deprecated, message: "Deprecated") public var delete: Request { - Request(path: path, method: "DELETE", id: "appStoreVersionSubmissions-delete_instance") + Request(path: path, method: "DELETE", id: "appStoreVersionSubmissions_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersions.swift index e281d66d..33b0cfc8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreVersions-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreVersions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift index 72935634..2c7e2955 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift @@ -14,218 +14,218 @@ extension APIEndpoint.V1.AppStoreVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions_getInstance") } public struct GetParameters { public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? - public var include: [Include]? - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? - public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? - public var fieldsCustomerReviews: [FieldsCustomerReviews]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? + public var fieldsBuilds: [FieldsBuilds]? + public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? + public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? + public var fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? + public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? - public var fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? - public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? - public var fieldsBuilds: [FieldsBuilds]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? + public var include: [Include]? public var limitAppStoreVersionExperiments: Int? public var limitAppStoreVersionExperimentsV2: Int? public var limitAppStoreVersionLocalizations: Int? public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType - case routingAppCoverage - case versionString - } - - public enum Include: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage + case releaseType + case earliestReleaseDate + case downloadable + case createdDate case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 + case ageRatingDeclaration case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - } - - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion - } - - public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { - case appStoreVersion + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { - case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests - case gambling case gamblingAndContests + case gambling case gamblingSimulated - case horrorOrFearThemes case kidsAgeBand - case matureOrSuggestiveThemes + case lootBox case medicalOrTreatmentInformation case profanityOrCrudeHumor - case seventeenPlus case sexualContentGraphicAndNudity case sexualContentOrNudity + case horrorOrFearThemes + case matureOrSuggestiveThemes case unrestrictedWebAccess case violenceCartoonOrFantasy - case violenceRealistic case violenceRealisticProlongedGraphicOrSadistic + case violenceRealistic + case ageRatingOverride + case koreaAgeRatingOverride + case seventeenPlus } - public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case description + case locale + case keywords + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew case appStoreVersion - case versions + case appScreenshotSets + case appPreviewSets } - public enum FieldsCustomerReviews: String, Codable, CaseIterable { - case body - case createdDate - case rating - case response - case reviewerNickname - case territory - case title + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { - case appStoreReviewAttachments + public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { + case phasedReleaseState + case startDate + case totalPauseDuration + case currentDayNumber case appStoreVersion - case contactEmail + } + + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions + case appStoreVersion + } + + public enum FieldsRoutingAppCoverages: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case uploadOperations + case assetDeliveryState + case uploaded + case appStoreVersion + } + + public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { case contactFirstName case contactLastName case contactPhone + case contactEmail case demoAccountName case demoAccountPassword case demoAccountRequired case notes + case appStoreVersion + case appStoreReviewAttachments + } + + public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + case appStoreVersion } public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { case action case appClip - case appClipAppStoreReviewDetail + case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion } - public enum FieldsRoutingAppCoverages: String, Codable, CaseIterable { + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case name + case trafficProportion + case state + case reviewRequired + case startDate + case endDate + case started case appStoreVersion - case assetDeliveryState - case fileName - case fileSize - case sourceFileChecksum - case uploadOperations - case uploaded + case appStoreVersionExperimentTreatments + case platform + case app + case latestControlVersion + case controlVersions } - public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { case appStoreVersion - case currentDayNumber - case phasedReleaseState - case startDate - case totalPauseDuration + case versions } - public enum FieldsBuilds: String, Codable, CaseIterable { + public enum Include: String, Codable, CaseIterable { case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version - } - - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case alternativeDistributionPackage } - public init(fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, include: [Include]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersionLocalizations: Int? = nil) { + public init(fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, include: [Include]? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersionLocalizations: Int? = nil) { self.fieldsAppStoreVersions = fieldsAppStoreVersions - self.include = include - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations - self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages - self.fieldsCustomerReviews = fieldsCustomerReviews + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations + self.fieldsBuilds = fieldsBuilds + self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases + self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions + self.fieldsRoutingAppCoverages = fieldsRoutingAppCoverages self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails + self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences - self.fieldsRoutingAppCoverages = fieldsRoutingAppCoverages - self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases - self.fieldsBuilds = fieldsBuilds - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages + self.include = include self.limitAppStoreVersionExperiments = limitAppStoreVersionExperiments self.limitAppStoreVersionExperimentsV2 = limitAppStoreVersionExperimentsV2 self.limitAppStoreVersionLocalizations = limitAppStoreVersionLocalizations @@ -234,18 +234,18 @@ extension APIEndpoint.V1.AppStoreVersions { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") - encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") - encoder.encode(fieldsCustomerReviews, forKey: "fields[customerReviews]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") + encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") + encoder.encode(fieldsRoutingAppCoverages, forKey: "fields[routingAppCoverages]") encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") + encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") - encoder.encode(fieldsRoutingAppCoverages, forKey: "fields[routingAppCoverages]") - encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppStoreVersionExperiments, forKey: "limit[appStoreVersionExperiments]") encoder.encode(limitAppStoreVersionExperimentsV2, forKey: "limit[appStoreVersionExperimentsV2]") encoder.encode(limitAppStoreVersionLocalizations, forKey: "limit[appStoreVersionLocalizations]") @@ -254,11 +254,11 @@ extension APIEndpoint.V1.AppStoreVersions { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appStoreVersions-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appStoreVersions_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appStoreVersions-delete_instance") + Request(path: path, method: "DELETE", id: "appStoreVersions_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift index 562bf578..94c67dd8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { @available(*, deprecated, message: "Deprecated") public func get(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAgeRatingDeclarations), id: "appStoreVersions-ageRatingDeclaration-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAgeRatingDeclarations), id: "appStoreVersions_ageRatingDeclaration_getToOneRelated") } private func makeGetQuery(_ fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]?) -> [(String, String?)] { @@ -25,24 +25,26 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { } public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { - case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests - case gambling case gamblingAndContests + case gambling case gamblingSimulated - case horrorOrFearThemes case kidsAgeBand - case matureOrSuggestiveThemes + case lootBox case medicalOrTreatmentInformation case profanityOrCrudeHumor - case seventeenPlus case sexualContentGraphicAndNudity case sexualContentOrNudity + case horrorOrFearThemes + case matureOrSuggestiveThemes case unrestrictedWebAccess case violenceCartoonOrFantasy - case violenceRealistic case violenceRealisticProlongedGraphicOrSadistic + case violenceRealistic + case ageRatingOverride + case koreaAgeRatingOverride + case seventeenPlus } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift index 08076bb2..5fd261f6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift @@ -14,14 +14,14 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-alternativeDistributionPackage-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions_alternativeDistributionPackage_getToOneRelated") } public struct GetParameters { public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? - public var limitVersions: Int? public var include: [Include]? + public var limitVersions: Int? public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { case appStoreVersion @@ -29,33 +29,33 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { } public enum FieldsAlternativeDistributionPackageVersions: String, Codable, CaseIterable { - case alternativeDistributionPackage - case deltas - case fileChecksum - case state case url case urlExpirationDate - case variants case version + case fileChecksum + case state + case variants + case deltas + case alternativeDistributionPackage } public enum Include: String, Codable, CaseIterable { case versions } - public init(fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, limitVersions: Int? = nil, include: [Include]? = nil) { + public init(fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, include: [Include]? = nil, limitVersions: Int? = nil) { self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages self.fieldsAlternativeDistributionPackageVersions = fieldsAlternativeDistributionPackageVersions - self.limitVersions = limitVersions self.include = include + self.limitVersions = limitVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsAlternativeDistributionPackageVersions, forKey: "fields[alternativeDistributionPackageVersions]") - encoder.encode(limitVersions, forKey: "limit[versions]") encoder.encode(include, forKey: "include") + encoder.encode(limitVersions, forKey: "limit[versions]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift index e8a4005e..59faf602 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift @@ -14,98 +14,99 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appClipDefaultExperience-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions_appClipDefaultExperience_getToOneRelated") } public struct GetParameters { + public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var fieldsAppClips: [FieldsAppClips]? - public var fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? - public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? - public var limitAppClipDefaultExperienceLocalizations: Int? + public var fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? public var include: [Include]? + public var limitAppClipDefaultExperienceLocalizations: Int? + + public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { + case action + case appClip + case releaseWithAppStoreVersion + case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail + case appClipDefaultExperienceTemplate + } public enum FieldsAppClips: String, Codable, CaseIterable { + case bundleID = "bundleId" case app - case appClipAdvancedExperiences case appClipDefaultExperiences - case bundleID = "bundleId" - } - - public enum FieldsAppClipAppStoreReviewDetails: String, Codable, CaseIterable { - case appClipDefaultExperience - case invocationURLs = "invocationUrls" + case appClipAdvancedExperiences } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString - } - - public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { - case action - case appClip - case appClipAppStoreReviewDetail - case appClipDefaultExperienceLocalizations - case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } public enum FieldsAppClipDefaultExperienceLocalizations: String, Codable, CaseIterable { - case appClipDefaultExperience - case appClipHeaderImage case locale case subtitle + case appClipDefaultExperience + case appClipHeaderImage + } + + public enum FieldsAppClipAppStoreReviewDetails: String, Codable, CaseIterable { + case invocationURLs = "invocationUrls" + case appClipDefaultExperience } public enum Include: String, Codable, CaseIterable { case appClip - case appClipAppStoreReviewDetail - case appClipDefaultExperienceLocalizations case releaseWithAppStoreVersion + case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail } - public init(fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? = nil, limitAppClipDefaultExperienceLocalizations: Int? = nil, include: [Include]? = nil) { + public init(fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppClipDefaultExperienceLocalizations: [FieldsAppClipDefaultExperienceLocalizations]? = nil, fieldsAppClipAppStoreReviewDetails: [FieldsAppClipAppStoreReviewDetails]? = nil, include: [Include]? = nil, limitAppClipDefaultExperienceLocalizations: Int? = nil) { + self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.fieldsAppClips = fieldsAppClips - self.fieldsAppClipAppStoreReviewDetails = fieldsAppClipAppStoreReviewDetails self.fieldsAppStoreVersions = fieldsAppStoreVersions - self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.fieldsAppClipDefaultExperienceLocalizations = fieldsAppClipDefaultExperienceLocalizations - self.limitAppClipDefaultExperienceLocalizations = limitAppClipDefaultExperienceLocalizations + self.fieldsAppClipAppStoreReviewDetails = fieldsAppClipAppStoreReviewDetails self.include = include + self.limitAppClipDefaultExperienceLocalizations = limitAppClipDefaultExperienceLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(fieldsAppClips, forKey: "fields[appClips]") - encoder.encode(fieldsAppClipAppStoreReviewDetails, forKey: "fields[appClipAppStoreReviewDetails]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") - encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(fieldsAppClipDefaultExperienceLocalizations, forKey: "fields[appClipDefaultExperienceLocalizations]") - encoder.encode(limitAppClipDefaultExperienceLocalizations, forKey: "limit[appClipDefaultExperienceLocalizations]") + encoder.encode(fieldsAppClipAppStoreReviewDetails, forKey: "fields[appClipAppStoreReviewDetails]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppClipDefaultExperienceLocalizations, forKey: "limit[appClipDefaultExperienceLocalizations]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift index 6c5b2388..e4e0d6bb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift @@ -14,76 +14,77 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appStoreReviewDetail-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions_appStoreReviewDetail_getToOneRelated") } public struct GetParameters { public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? - public var limitAppStoreReviewAttachments: Int? public var include: [Include]? + public var limitAppStoreReviewAttachments: Int? public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { - case appStoreReviewAttachments - case appStoreVersion - case contactEmail case contactFirstName case contactLastName case contactPhone + case contactEmail case demoAccountName case demoAccountPassword case demoAccountRequired case notes + case appStoreVersion + case appStoreReviewAttachments } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } public enum FieldsAppStoreReviewAttachments: String, Codable, CaseIterable { - case appStoreReviewDetail - case assetDeliveryState - case fileName case fileSize + case fileName case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded + case appStoreReviewDetail } public enum Include: String, Codable, CaseIterable { - case appStoreReviewAttachments case appStoreVersion + case appStoreReviewAttachments } - public init(fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? = nil, limitAppStoreReviewAttachments: Int? = nil, include: [Include]? = nil) { + public init(fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppStoreReviewAttachments: [FieldsAppStoreReviewAttachments]? = nil, include: [Include]? = nil, limitAppStoreReviewAttachments: Int? = nil) { self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsAppStoreReviewAttachments = fieldsAppStoreReviewAttachments - self.limitAppStoreReviewAttachments = limitAppStoreReviewAttachments self.include = include + self.limitAppStoreReviewAttachments = limitAppStoreReviewAttachments } public var asQuery: [(String, String?)] { @@ -91,8 +92,8 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsAppStoreReviewAttachments, forKey: "fields[appStoreReviewAttachments]") - encoder.encode(limitAppStoreReviewAttachments, forKey: "limit[appStoreReviewAttachments]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppStoreReviewAttachments, forKey: "limit[appStoreReviewAttachments]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift index a34b4ac7..05e01ea3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift @@ -15,17 +15,17 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appStoreVersionExperiments-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions_appStoreVersionExperiments_getToManyRelated") } public struct GetParameters { public var filterState: [FilterState]? public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? public var limit: Int? - public var limitAppStoreVersionExperimentTreatments: Int? public var include: [Include]? + public var limitAppStoreVersionExperimentTreatments: Int? public enum FilterState: String, Codable, CaseIterable { case prepareForSubmission = "PREPARE_FOR_SUBMISSION" @@ -40,51 +40,52 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { } public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case appStoreVersion - case appStoreVersionExperimentTreatments - case endDate case name + case trafficProportion + case state case reviewRequired case startDate + case endDate case started - case state - case trafficProportion - } - - public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { - case appIcon - case appIconName - case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations - case appStoreVersionExperimentV2 - case name - case promotedDate + case appStoreVersion + case appStoreVersionExperimentTreatments } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { + case name + case appIcon + case appIconName + case promotedDate + case appStoreVersionExperiment + case appStoreVersionExperimentV2 + case appStoreVersionExperimentTreatmentLocalizations } public enum Include: String, Codable, CaseIterable { @@ -92,25 +93,25 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case appStoreVersionExperimentTreatments } - public init(filterState: [FilterState]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, limit: Int? = nil, limitAppStoreVersionExperimentTreatments: Int? = nil, include: [Include]? = nil) { + public init(filterState: [FilterState]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppStoreVersionExperimentTreatments: Int? = nil) { self.filterState = filterState self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments self.limit = limit - self.limitAppStoreVersionExperimentTreatments = limitAppStoreVersionExperimentTreatments self.include = include + self.limitAppStoreVersionExperimentTreatments = limitAppStoreVersionExperimentTreatments } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterState, forKey: "filter[state]") encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppStoreVersionExperimentTreatments, forKey: "limit[appStoreVersionExperimentTreatments]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppStoreVersionExperimentTreatments, forKey: "limit[appStoreVersionExperimentTreatments]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift index b7f31299..eec7652b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift @@ -14,19 +14,19 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appStoreVersionExperimentsV2-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions_appStoreVersionExperimentsV2_getToManyRelated") } public struct GetParameters { public var filterState: [FilterState]? public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? - public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsApps: [FieldsApps]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? public var limit: Int? + public var include: [Include]? public var limitControlVersions: Int? public var limitAppStoreVersionExperimentTreatments: Int? - public var include: [Include]? public enum FilterState: String, Codable, CaseIterable { case prepareForSubmission = "PREPARE_FOR_SUBMISSION" @@ -41,132 +41,135 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { } public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion case name case platform + case trafficProportion + case state case reviewRequired case startDate + case endDate case started - case state - case trafficProportion - } - - public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { - case appIcon - case appIconName - case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations - case appStoreVersionExperimentV2 - case name - case promotedDate - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString + case latestControlVersion + case controlVersions + case appStoreVersionExperimentTreatments } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { + case name + case appIcon + case appIconName + case promotedDate + case appStoreVersionExperiment + case appStoreVersionExperimentV2 + case appStoreVersionExperimentTreatmentLocalizations } public enum Include: String, Codable, CaseIterable { case app - case appStoreVersionExperimentTreatments - case controlVersions case latestControlVersion + case controlVersions + case appStoreVersionExperimentTreatments } - public init(filterState: [FilterState]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, limitControlVersions: Int? = nil, limitAppStoreVersionExperimentTreatments: Int? = nil, include: [Include]? = nil) { + public init(filterState: [FilterState]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, limit: Int? = nil, include: [Include]? = nil, limitControlVersions: Int? = nil, limitAppStoreVersionExperimentTreatments: Int? = nil) { self.filterState = filterState self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments - self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsApps = fieldsApps + self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments self.limit = limit + self.include = include self.limitControlVersions = limitControlVersions self.limitAppStoreVersionExperimentTreatments = limitAppStoreVersionExperimentTreatments - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterState, forKey: "filter[state]") encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") - encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitControlVersions, forKey: "limit[controlVersions]") encoder.encode(limitAppStoreVersionExperimentTreatments, forKey: "limit[appStoreVersionExperimentTreatments]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionLocalizations.swift index debda8bd..156da179 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionLocalizations.swift @@ -14,104 +14,105 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appStoreVersionLocalizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions_appStoreVersionLocalizations_getToManyRelated") } public struct GetParameters { public var filterLocale: [String]? - public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? public var fieldsAppPreviewSets: [FieldsAppPreviewSets]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limit: Int? + public var include: [Include]? public var limitAppScreenshotSets: Int? public var limitAppPreviewSets: Int? - public var include: [Include]? - public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { - case appCustomProductPageLocalization - case appScreenshots - case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case screenshotDisplayType + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case description + case locale + case keywords + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + case appStoreVersion + case appScreenshotSets + case appPreviewSets } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } - public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + public enum FieldsAppScreenshotSets: String, Codable, CaseIterable { + case screenshotDisplayType + case appStoreVersionLocalization case appCustomProductPageLocalization - case appPreviews case appStoreVersionExperimentTreatmentLocalization - case appStoreVersionLocalization - case previewType + case appScreenshots } - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew + public enum FieldsAppPreviewSets: String, Codable, CaseIterable { + case previewType + case appStoreVersionLocalization + case appCustomProductPageLocalization + case appStoreVersionExperimentTreatmentLocalization + case appPreviews } public enum Include: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets case appStoreVersion + case appScreenshotSets + case appPreviewSets } - public init(filterLocale: [String]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limit: Int? = nil, limitAppScreenshotSets: Int? = nil, limitAppPreviewSets: Int? = nil, include: [Include]? = nil) { + public init(filterLocale: [String]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppScreenshotSets: [FieldsAppScreenshotSets]? = nil, fieldsAppPreviewSets: [FieldsAppPreviewSets]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppScreenshotSets: Int? = nil, limitAppPreviewSets: Int? = nil) { self.filterLocale = filterLocale - self.fieldsAppScreenshotSets = fieldsAppScreenshotSets + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.fieldsAppScreenshotSets = fieldsAppScreenshotSets self.fieldsAppPreviewSets = fieldsAppPreviewSets - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limit = limit + self.include = include self.limitAppScreenshotSets = limitAppScreenshotSets self.limitAppPreviewSets = limitAppPreviewSets - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterLocale, forKey: "filter[locale]") - encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(fieldsAppScreenshotSets, forKey: "fields[appScreenshotSets]") encoder.encode(fieldsAppPreviewSets, forKey: "fields[appPreviewSets]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitAppScreenshotSets, forKey: "limit[appScreenshotSets]") encoder.encode(limitAppPreviewSets, forKey: "limit[appPreviewSets]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift index e6134c72..f0d12982 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionPhasedRelease.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppStoreVersionPhasedReleases), id: "appStoreVersions-appStoreVersionPhasedRelease-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppStoreVersionPhasedReleases), id: "appStoreVersions_appStoreVersionPhasedRelease_getToOneRelated") } private func makeGetQuery(_ fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]?) -> [(String, String?)] { @@ -24,11 +24,11 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { } public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { - case appStoreVersion - case currentDayNumber case phasedReleaseState case startDate case totalPauseDuration + case currentDayNumber + case appStoreVersion } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift index dfc0f771..62d90941 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-appStoreVersionSubmission-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions_appStoreVersionSubmission_getToOneRelated") } public struct GetParameters { @@ -28,29 +28,30 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDBuild.swift index 2d013777..1379d4de 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDBuild.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "appStoreVersions-build-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "appStoreVersions_build_getToOneRelated") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?) -> [(String, String?)] { @@ -24,30 +24,30 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift index 94c38314..1a168a2b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDCustomerReviews.swift @@ -14,12 +14,12 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-customerReviews-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions_customerReviews_getToManyRelated") } public struct GetParameters { - public var filterRating: [String]? public var filterTerritory: [FilterTerritory]? + public var filterRating: [String]? public var isExistsPublishedResponse: Bool? public var sort: [Sort]? public var fieldsCustomerReviews: [FieldsCustomerReviews]? @@ -263,36 +263,36 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { } public enum Sort: String, Codable, CaseIterable { - case createdDate - case minuscreatedDate = "-createdDate" case rating case minusrating = "-rating" + case createdDate + case minuscreatedDate = "-createdDate" } public enum FieldsCustomerReviews: String, Codable, CaseIterable { - case body - case createdDate case rating - case response + case title + case body case reviewerNickname + case createdDate case territory - case title + case response } public enum FieldsCustomerReviewResponses: String, Codable, CaseIterable { - case lastModifiedDate case responseBody - case review + case lastModifiedDate case state + case review } public enum Include: String, Codable, CaseIterable { case response } - public init(filterRating: [String]? = nil, filterTerritory: [FilterTerritory]? = nil, isExistsPublishedResponse: Bool? = nil, sort: [Sort]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.filterRating = filterRating + public init(filterTerritory: [FilterTerritory]? = nil, filterRating: [String]? = nil, isExistsPublishedResponse: Bool? = nil, sort: [Sort]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterTerritory = filterTerritory + self.filterRating = filterRating self.isExistsPublishedResponse = isExistsPublishedResponse self.sort = sort self.fieldsCustomerReviews = fieldsCustomerReviews @@ -303,8 +303,8 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterRating, forKey: "filter[rating]") encoder.encode(filterTerritory, forKey: "filter[territory]") + encoder.encode(filterRating, forKey: "filter[rating]") encoder.encode(isExistsPublishedResponse, forKey: "exists[publishedResponse]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsCustomerReviews, forKey: "fields[customerReviews]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDGameCenterAppVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDGameCenterAppVersion.swift new file mode 100644 index 00000000..233ab35c --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDGameCenterAppVersion.swift @@ -0,0 +1,81 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AppStoreVersions.WithID { + public var gameCenterAppVersion: GameCenterAppVersion { + GameCenterAppVersion(path: path + "/gameCenterAppVersion") + } + + public struct GameCenterAppVersion { + /// Path: `/v1/appStoreVersions/{id}/gameCenterAppVersion` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions_gameCenterAppVersion_getToOneRelated") + } + + public struct GetParameters { + public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var include: [Include]? + public var limitCompatibilityVersions: Int? + + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions + case appStoreVersion + } + + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + public enum Include: String, Codable, CaseIterable { + case compatibilityVersions + case appStoreVersion + } + + public init(fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, include: [Include]? = nil, limitCompatibilityVersions: Int? = nil) { + self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions + self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.include = include + self.limitCompatibilityVersions = limitCompatibilityVersions + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(include, forKey: "include") + encoder.encode(limitCompatibilityVersions, forKey: "limit[compatibilityVersions]") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppClipDefaultExperience.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppClipDefaultExperience.swift index 2a583f20..52d5eb9c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppClipDefaultExperience.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAppClipDefaultExperience.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.AppStoreVersions.WithID.Relationships { public let path: String public var get: Request { - Request(path: path, method: "GET", id: "appStoreVersions-appClipDefaultExperience-get_to_one_relationship") + Request(path: path, method: "GET", id: "appStoreVersions_appClipDefaultExperience_getToOneRelationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionAppClipDefaultExperienceLinkageRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appStoreVersions-appClipDefaultExperience-update_to_one_relationship") + Request(path: path, method: "PATCH", body: body, id: "appStoreVersions_appClipDefaultExperience_updateToOneRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsBuild.swift index 0b166393..60998e1d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsBuild.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.AppStoreVersions.WithID.Relationships { public let path: String public var get: Request { - Request(path: path, method: "GET", id: "appStoreVersions-build-get_to_one_relationship") + Request(path: path, method: "GET", id: "appStoreVersions_build_getToOneRelationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionBuildLinkageRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appStoreVersions-build-update_to_one_relationship") + Request(path: path, method: "PATCH", body: body, id: "appStoreVersions_build_updateToOneRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift index 407ddfcd..2ca5a048 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRoutingAppCoverage.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public let path: String public func get(fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsRoutingAppCoverages), id: "appStoreVersions-routingAppCoverage-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsRoutingAppCoverages), id: "appStoreVersions_routingAppCoverage_getToOneRelated") } private func makeGetQuery(_ fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]?) -> [(String, String?)] { @@ -24,13 +24,13 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { } public enum FieldsRoutingAppCoverages: String, Codable, CaseIterable { - case appStoreVersion - case assetDeliveryState - case fileName case fileSize + case fileName 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 c5054033..681c68bd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift @@ -14,54 +14,48 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_getCollection") } public struct GetParameters { - public var filterAppStoreVersionsAppStoreState: [FilterAppStoreVersionsAppStoreState]? - public var filterAppStoreVersionsAppVersionState: [FilterAppStoreVersionsAppVersionState]? - public var filterAppStoreVersionsPlatform: [FilterAppStoreVersionsPlatform]? - public var filterBundleID: [String]? public var filterName: [String]? + public var filterBundleID: [String]? public var filterSku: [String]? + public var filterAppStoreVersionsAppStoreState: [FilterAppStoreVersionsAppStoreState]? + public var filterAppStoreVersionsPlatform: [FilterAppStoreVersionsPlatform]? + public var filterAppStoreVersionsAppVersionState: [FilterAppStoreVersionsAppVersionState]? + public var filterReviewSubmissionsState: [FilterReviewSubmissionsState]? + public var filterReviewSubmissionsPlatform: [FilterReviewSubmissionsPlatform]? public var filterAppStoreVersions: [String]? public var filterID: [String]? public var isExistsGameCenterEnabledVersions: Bool? public var sort: [Sort]? public var fieldsApps: [FieldsApps]? - public var limit: Int? - public var include: [Include]? - public var fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? - public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? - public var fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? + public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? public var fieldsCiProducts: [FieldsCiProducts]? - public var fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? - public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? public var fieldsBetaGroups: [FieldsBetaGroups]? - public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var fieldsAppAvailabilities: [FieldsAppAvailabilities]? - public var fieldsCustomerReviews: [FieldsCustomerReviews]? - public var fieldsAppEvents: [FieldsAppEvents]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? + public var fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? public var fieldsBuilds: [FieldsBuilds]? public var fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? - public var fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]? - public var fieldsAppClips: [FieldsAppClips]? + public var fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? public var fieldsAppInfos: [FieldsAppInfos]? - public var fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? - public var fieldsAppPricePoints: [FieldsAppPricePoints]? + public var fieldsAppClips: [FieldsAppClips]? + public var fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? + public var fieldsAppPreOrders: [FieldsAppPreOrders]? public var fieldsInAppPurchases: [FieldsInAppPurchases]? - public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? - public var fieldsAnalyticsReportRequests: [FieldsAnalyticsReportRequests]? - public var fieldsAppPreOrders: [FieldsAppPreOrders]? - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? - public var fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? - public var fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? - public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? - public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? - public var fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? + public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? + public var fieldsAppEvents: [FieldsAppEvents]? + public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? + public var fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? + public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var limit: Int? + public var include: [Include]? public var limitAppClips: Int? public var limitAppCustomProductPages: Int? public var limitAppEncryptionDeclarations: Int? @@ -103,6 +97,13 @@ extension APIEndpoint.V1 { case notApplicable = "NOT_APPLICABLE" } + public enum FilterAppStoreVersionsPlatform: String, Codable, CaseIterable { + case ios = "IOS" + case macOs = "MAC_OS" + case tvOs = "TV_OS" + case visionOs = "VISION_OS" + } + public enum FilterAppStoreVersionsAppVersionState: String, Codable, CaseIterable { case accepted = "ACCEPTED" case developerRejected = "DEVELOPER_REJECTED" @@ -121,7 +122,17 @@ extension APIEndpoint.V1 { case waitingForReview = "WAITING_FOR_REVIEW" } - public enum FilterAppStoreVersionsPlatform: String, Codable, CaseIterable { + public enum FilterReviewSubmissionsState: String, Codable, CaseIterable { + case readyForReview = "READY_FOR_REVIEW" + case waitingForReview = "WAITING_FOR_REVIEW" + case inReview = "IN_REVIEW" + case unresolvedIssues = "UNRESOLVED_ISSUES" + case canceling = "CANCELING" + case completing = "COMPLETING" + case complete = "COMPLETE" + } + + public enum FilterReviewSubmissionsPlatform: String, Codable, CaseIterable { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" @@ -129,235 +140,180 @@ extension APIEndpoint.V1 { } public enum Sort: String, Codable, CaseIterable { - case bundleID = "bundleId" - case minusbundleID = "-bundleId" case name case minusname = "-name" + case bundleID = "bundleId" + case minusbundleID = "-bundleId" case sku case minussku = "-sku" } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages - case appEncryptionDeclarations - case appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 - case appStoreVersions - case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters - case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews - case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions - case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail case name - case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale - case promotedPurchases - case reviewSubmissions + case bundleID = "bundleId" case sku - case subscriptionGracePeriod - case subscriptionGroups + case primaryLocale + case isOrEverWasMadeForKids case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" + case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" - } - - public enum Include: String, Codable, CaseIterable { - case appClips - case appCustomProductPages + case contentRightsDeclaration + case streamlinedPurchasingEnabled case appEncryptionDeclarations - case appEvents - case appInfos - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement case builds - case ciProduct + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases + case subscriptionGroups + case gameCenterEnabledVersions + case perfPowerMetrics + case appCustomProductPages case inAppPurchasesV2 - case preOrder - case preReleaseVersions case promotedPurchases + case appEvents case reviewSubmissions case subscriptionGracePeriod - case subscriptionGroups - } - - public enum FieldsBetaAppReviewDetails: String, Codable, CaseIterable { - case app - case contactEmail - case contactFirstName - case contactLastName - case contactPhone - case demoAccountName - case demoAccountPassword - case demoAccountRequired - case notes - } - - public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app - case arcadeEnabled - case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements - case gameCenterAppVersions - case gameCenterGroup - case gameCenterLeaderboardSets - case gameCenterLeaderboards - case leaderboardReleases - case leaderboardSetReleases + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsAppPriceSchedules: String, Codable, CaseIterable { + public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { + case appDescription + case createdDate + case usesEncryption + case exempt + case containsProprietaryCryptography + case containsThirdPartyCryptography + case availableOnFrenchStore + case platform + case uploadedDate + case documentURL = "documentUrl" + case documentName + case documentType + case appEncryptionDeclarationState + case codeValue case app - case automaticPrices - case baseTerritory - case manualPrices + case builds + case appEncryptionDeclarationDocument } public enum FieldsCiProducts: String, Codable, CaseIterable { - case additionalRepositories - case app - case buildRuns - case bundleID = "bundleId" - case createdDate case name - case primaryRepositories + case createdDate case productType - case workflows - } - - public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { - case app - case publicKey - } - - public enum FieldsReviewSubmissions: String, Codable, CaseIterable { case app - case appStoreVersionForReview - case canceled - case items - case lastUpdatedByActor - case platform - case state - case submitted - case submittedByActor - case submittedDate + case bundleID = "bundleId" + case workflows + case primaryRepositories + case additionalRepositories + case buildRuns } public enum FieldsBetaGroups: String, Codable, CaseIterable { - case app - case betaTesters - case builds + case name case createdDate - case feedbackEnabled - case hasAccessToAllBuilds - case iosBuildsAvailableForAppleSiliconMac case isInternalGroup - case name - case publicLink + case hasAccessToAllBuilds case publicLinkEnabled case publicLinkID = "publicLinkId" - case publicLinkLimit case publicLinkLimitEnabled - } - - public enum FieldsPromotedPurchases: String, Codable, CaseIterable { - case app - case enabled - case inAppPurchaseV2 - case promotionImages - case state - case subscription - case visibleForAllUsers - } - - public enum FieldsAppAvailabilities: String, Codable, CaseIterable { + case publicLinkLimit + case publicLink + case feedbackEnabled + case iosBuildsAvailableForAppleSiliconMac case app - case availableInNewTerritories - case availableTerritories + case builds + case betaTesters } - public enum FieldsCustomerReviews: String, Codable, CaseIterable { - case body + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable case createdDate - case rating - case response - case reviewerNickname - case territory - case title - } - - public enum FieldsAppEvents: String, Codable, CaseIterable { case app - case archivedTerritorySchedules - case badge - case deepLink - case eventState - case localizations - case primaryLocale - case priority - case purchaseRequirement - case purpose - case referenceName - case territorySchedules + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } - public enum FieldsBuilds: String, Codable, CaseIterable { + public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { + case version + case platform + case builds case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + } + + public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { + case feedbackEmail + case marketingURL = "marketingUrl" + case privacyPolicyURL = "privacyPolicyUrl" + case tvOsPrivacyPolicy + case description + case locale + case app + } + + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } public enum FieldsBetaLicenseAgreements: String, Codable, CaseIterable { @@ -365,244 +321,245 @@ extension APIEndpoint.V1 { case app } - public enum FieldsMarketplaceSearchDetails: String, Codable, CaseIterable { + public enum FieldsBetaAppReviewDetails: String, Codable, CaseIterable { + case contactFirstName + case contactLastName + case contactPhone + case contactEmail + case demoAccountName + case demoAccountPassword + case demoAccountRequired + case notes case app - case catalogURL = "catalogUrl" - } - - public enum FieldsAppClips: String, Codable, CaseIterable { - case app - case appClipAdvancedExperiences - case appClipDefaultExperiences - case bundleID = "bundleId" } public enum FieldsAppInfos: String, Codable, CaseIterable { - case ageRatingDeclaration - case app - case appInfoLocalizations - case appStoreAgeRating case appStoreState + case state + case appStoreAgeRating + case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case koreaAgeRating case kidsAgeBand + case app + case ageRatingDeclaration + case appInfoLocalizations case primaryCategory case primarySubcategoryOne case primarySubcategoryTwo case secondaryCategory case secondarySubcategoryOne case secondarySubcategoryTwo - case state } - public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { + public enum FieldsAppClips: String, Codable, CaseIterable { + case bundleID = "bundleId" case app - case description - case feedbackEmail - case locale - case marketingURL = "marketingUrl" - case privacyPolicyURL = "privacyPolicyUrl" - case tvOsPrivacyPolicy + case appClipDefaultExperiences + case appClipAdvancedExperiences + } + + public enum FieldsEndUserLicenseAgreements: String, Codable, CaseIterable { + case agreementText + case app + case territories } - public enum FieldsAppPricePoints: String, Codable, CaseIterable { + public enum FieldsAppPreOrders: String, Codable, CaseIterable { + case preOrderAvailableDate + case appReleaseDate case app - case customerPrice - case equalizations - case proceeds - case territory } public enum FieldsInAppPurchases: String, Codable, CaseIterable { - case app - case appStoreReviewScreenshot + case referenceName + case productID = "productId" + case inAppPurchaseType + case state case apps - case content - case contentHosting + case name + case reviewNote case familySharable - case iapPriceSchedule - case inAppPurchaseAvailability + case contentHosting + case app case inAppPurchaseLocalizations - case inAppPurchaseType - case name case pricePoints - case productID = "productId" + case content + case appStoreReviewScreenshot case promotedPurchase - case referenceName - case reviewNote - case state - } - - public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { - case app - case builds - case platform - case version + case iapPriceSchedule + case inAppPurchaseAvailability + case images } public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { - case app case referenceName - case subscriptionGroupLocalizations + case app case subscriptions + case subscriptionGroupLocalizations } - public enum FieldsAnalyticsReportRequests: String, Codable, CaseIterable { - case accessType + public enum FieldsGameCenterEnabledVersions: String, Codable, CaseIterable { + case platform + case versionString + case iconAsset + case compatibleVersions case app - case reports - case stoppedDueToInactivity } - public enum FieldsAppPreOrders: String, Codable, CaseIterable { + public enum FieldsAppCustomProductPages: String, Codable, CaseIterable { + case name + case url + case visible case app - case appReleaseDate - case preOrderAvailableDate + case appCustomProductPageVersions + case appStoreVersionTemplate + case customProductPageTemplate } - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started + public enum FieldsPromotedPurchases: String, Codable, CaseIterable { + case visibleForAllUsers + case enabled case state - case trafficProportion + case app + case inAppPurchaseV2 + case subscription + case promotionImages } - public enum FieldsGameCenterEnabledVersions: String, Codable, CaseIterable { + public enum FieldsAppEvents: String, Codable, CaseIterable { + case referenceName + case badge + case eventState + case deepLink + case purchaseRequirement + case primaryLocale + case priority + case purpose + case territorySchedules + case archivedTerritorySchedules case app - case compatibleVersions - case iconAsset + case localizations + } + + public enum FieldsReviewSubmissions: String, Codable, CaseIterable { case platform - case versionString + case submittedDate + case state + case submitted + case canceled + case app + case items + case appStoreVersionForReview + case submittedByActor + case lastUpdatedByActor } public enum FieldsSubscriptionGracePeriods: String, Codable, CaseIterable { - case duration case optIn - case renewalType case sandboxOptIn + case duration + case renewalType } - public enum FieldsEndUserLicenseAgreements: String, Codable, CaseIterable { - case agreementText + public enum FieldsGameCenterDetails: String, Codable, CaseIterable { + case arcadeEnabled + case challengeEnabled case app - case territories + case gameCenterAppVersions + case gameCenterGroup + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases + case leaderboardReleases + case leaderboardSetReleases } - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case name case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString - } - - public enum FieldsAppCustomProductPages: String, Codable, CaseIterable { + case trafficProportion + case state + case reviewRequired + case startDate + case endDate + case started case app - case appCustomProductPageVersions - case appStoreVersionTemplate - case customProductPageTemplate - case name - case url - case visible + case latestControlVersion + case controlVersions + case appStoreVersionExperimentTreatments } - public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { - case app - case appDescription - case appEncryptionDeclarationDocument - case appEncryptionDeclarationState - case availableOnFrenchStore + public enum Include: String, Codable, CaseIterable { + case appEncryptionDeclarations + case ciProduct + case betaGroups + case appStoreVersions + case preReleaseVersions + case betaAppLocalizations case builds - case codeValue - case containsProprietaryCryptography - case containsThirdPartyCryptography - case createdDate - case documentName - case documentType - case documentURL = "documentUrl" - case exempt - case platform - case uploadedDate - case usesEncryption - } - - public enum FieldsPerfPowerMetrics: String, Codable, CaseIterable { - case deviceType - case metricType - case platform + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case endUserLicenseAgreement + case preOrder + case inAppPurchases + case subscriptionGroups + case gameCenterEnabledVersions + case appCustomProductPages + case inAppPurchasesV2 + case promotedPurchases + case appEvents + case reviewSubmissions + case subscriptionGracePeriod + case gameCenterDetail + case appStoreVersionExperimentsV2 } - public init(filterAppStoreVersionsAppStoreState: [FilterAppStoreVersionsAppStoreState]? = nil, filterAppStoreVersionsAppVersionState: [FilterAppStoreVersionsAppVersionState]? = nil, filterAppStoreVersionsPlatform: [FilterAppStoreVersionsPlatform]? = nil, filterBundleID: [String]? = nil, filterName: [String]? = nil, filterSku: [String]? = nil, filterAppStoreVersions: [String]? = nil, filterID: [String]? = nil, isExistsGameCenterEnabledVersions: Bool? = nil, sort: [Sort]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsAnalyticsReportRequests: [FieldsAnalyticsReportRequests]? = nil, fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? = 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.filterAppStoreVersionsAppStoreState = filterAppStoreVersionsAppStoreState - self.filterAppStoreVersionsAppVersionState = filterAppStoreVersionsAppVersionState - self.filterAppStoreVersionsPlatform = filterAppStoreVersionsPlatform - self.filterBundleID = filterBundleID + 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) { self.filterName = filterName + self.filterBundleID = filterBundleID self.filterSku = filterSku + self.filterAppStoreVersionsAppStoreState = filterAppStoreVersionsAppStoreState + self.filterAppStoreVersionsPlatform = filterAppStoreVersionsPlatform + self.filterAppStoreVersionsAppVersionState = filterAppStoreVersionsAppVersionState + self.filterReviewSubmissionsState = filterReviewSubmissionsState + self.filterReviewSubmissionsPlatform = filterReviewSubmissionsPlatform self.filterAppStoreVersions = filterAppStoreVersions self.filterID = filterID self.isExistsGameCenterEnabledVersions = isExistsGameCenterEnabledVersions self.sort = sort self.fieldsApps = fieldsApps - self.limit = limit - self.include = include - self.fieldsBetaAppReviewDetails = fieldsBetaAppReviewDetails - self.fieldsGameCenterDetails = fieldsGameCenterDetails - self.fieldsAppPriceSchedules = fieldsAppPriceSchedules + self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations self.fieldsCiProducts = fieldsCiProducts - self.fieldsAlternativeDistributionKeys = fieldsAlternativeDistributionKeys - self.fieldsReviewSubmissions = fieldsReviewSubmissions self.fieldsBetaGroups = fieldsBetaGroups - self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.fieldsAppAvailabilities = fieldsAppAvailabilities - self.fieldsCustomerReviews = fieldsCustomerReviews - self.fieldsAppEvents = fieldsAppEvents + self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.fieldsPreReleaseVersions = fieldsPreReleaseVersions + self.fieldsBetaAppLocalizations = fieldsBetaAppLocalizations self.fieldsBuilds = fieldsBuilds self.fieldsBetaLicenseAgreements = fieldsBetaLicenseAgreements - self.fieldsMarketplaceSearchDetails = fieldsMarketplaceSearchDetails - self.fieldsAppClips = fieldsAppClips + self.fieldsBetaAppReviewDetails = fieldsBetaAppReviewDetails self.fieldsAppInfos = fieldsAppInfos - self.fieldsBetaAppLocalizations = fieldsBetaAppLocalizations - self.fieldsAppPricePoints = fieldsAppPricePoints + self.fieldsAppClips = fieldsAppClips + self.fieldsEndUserLicenseAgreements = fieldsEndUserLicenseAgreements + self.fieldsAppPreOrders = fieldsAppPreOrders self.fieldsInAppPurchases = fieldsInAppPurchases - self.fieldsPreReleaseVersions = fieldsPreReleaseVersions self.fieldsSubscriptionGroups = fieldsSubscriptionGroups - self.fieldsAnalyticsReportRequests = fieldsAnalyticsReportRequests - self.fieldsAppPreOrders = fieldsAppPreOrders - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments self.fieldsGameCenterEnabledVersions = fieldsGameCenterEnabledVersions - self.fieldsSubscriptionGracePeriods = fieldsSubscriptionGracePeriods - self.fieldsEndUserLicenseAgreements = fieldsEndUserLicenseAgreements - self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsAppCustomProductPages = fieldsAppCustomProductPages - self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations - self.fieldsPerfPowerMetrics = fieldsPerfPowerMetrics + self.fieldsPromotedPurchases = fieldsPromotedPurchases + self.fieldsAppEvents = fieldsAppEvents + self.fieldsReviewSubmissions = fieldsReviewSubmissions + self.fieldsSubscriptionGracePeriods = fieldsSubscriptionGracePeriods + self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.limit = limit + self.include = include self.limitAppClips = limitAppClips self.limitAppCustomProductPages = limitAppCustomProductPages self.limitAppEncryptionDeclarations = limitAppEncryptionDeclarations @@ -624,50 +581,44 @@ extension APIEndpoint.V1 { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterAppStoreVersionsAppStoreState, forKey: "filter[appStoreVersions.appStoreState]") - encoder.encode(filterAppStoreVersionsAppVersionState, forKey: "filter[appStoreVersions.appVersionState]") - encoder.encode(filterAppStoreVersionsPlatform, forKey: "filter[appStoreVersions.platform]") - encoder.encode(filterBundleID, forKey: "filter[bundleId]") encoder.encode(filterName, forKey: "filter[name]") + encoder.encode(filterBundleID, forKey: "filter[bundleId]") encoder.encode(filterSku, forKey: "filter[sku]") + encoder.encode(filterAppStoreVersionsAppStoreState, forKey: "filter[appStoreVersions.appStoreState]") + encoder.encode(filterAppStoreVersionsPlatform, forKey: "filter[appStoreVersions.platform]") + encoder.encode(filterAppStoreVersionsAppVersionState, forKey: "filter[appStoreVersions.appVersionState]") + encoder.encode(filterReviewSubmissionsState, forKey: "filter[reviewSubmissions.state]") + encoder.encode(filterReviewSubmissionsPlatform, forKey: "filter[reviewSubmissions.platform]") encoder.encode(filterAppStoreVersions, forKey: "filter[appStoreVersions]") encoder.encode(filterID, forKey: "filter[id]") encoder.encode(isExistsGameCenterEnabledVersions, forKey: "exists[gameCenterEnabledVersions]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(limit, forKey: "limit") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsBetaAppReviewDetails, forKey: "fields[betaAppReviewDetails]") - encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") - encoder.encode(fieldsAppPriceSchedules, forKey: "fields[appPriceSchedules]") + encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") - encoder.encode(fieldsAlternativeDistributionKeys, forKey: "fields[alternativeDistributionKeys]") - encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") - encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(fieldsAppAvailabilities, forKey: "fields[appAvailabilities]") - encoder.encode(fieldsCustomerReviews, forKey: "fields[customerReviews]") - encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") + encoder.encode(fieldsBetaAppLocalizations, forKey: "fields[betaAppLocalizations]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsBetaLicenseAgreements, forKey: "fields[betaLicenseAgreements]") - encoder.encode(fieldsMarketplaceSearchDetails, forKey: "fields[marketplaceSearchDetails]") - encoder.encode(fieldsAppClips, forKey: "fields[appClips]") + encoder.encode(fieldsBetaAppReviewDetails, forKey: "fields[betaAppReviewDetails]") encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") - encoder.encode(fieldsBetaAppLocalizations, forKey: "fields[betaAppLocalizations]") - encoder.encode(fieldsAppPricePoints, forKey: "fields[appPricePoints]") + 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(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") encoder.encode(fieldsSubscriptionGroups, forKey: "fields[subscriptionGroups]") - encoder.encode(fieldsAnalyticsReportRequests, forKey: "fields[analyticsReportRequests]") - encoder.encode(fieldsAppPreOrders, forKey: "fields[appPreOrders]") - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsGameCenterEnabledVersions, forKey: "fields[gameCenterEnabledVersions]") - encoder.encode(fieldsSubscriptionGracePeriods, forKey: "fields[subscriptionGracePeriods]") - encoder.encode(fieldsEndUserLicenseAgreements, forKey: "fields[endUserLicenseAgreements]") - encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsAppCustomProductPages, forKey: "fields[appCustomProductPages]") - encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") - encoder.encode(fieldsPerfPowerMetrics, forKey: "fields[perfPowerMetrics]") + encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") + encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") + encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") + encoder.encode(fieldsSubscriptionGracePeriods, forKey: "fields[subscriptionGracePeriods]") + encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitAppClips, forKey: "limit[appClips]") encoder.encode(limitAppCustomProductPages, forKey: "limit[appCustomProductPages]") encoder.encode(limitAppEncryptionDeclarations, forKey: "limit[appEncryptionDeclarations]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift index e9b834c2..e1664313 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift @@ -14,43 +14,35 @@ extension APIEndpoint.V1.Apps { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_getInstance") } public struct GetParameters { public var fieldsApps: [FieldsApps]? - public var include: [Include]? - public var fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? - public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? - public var fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? + public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? public var fieldsCiProducts: [FieldsCiProducts]? - public var fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? - public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? public var fieldsBetaGroups: [FieldsBetaGroups]? - public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var fieldsAppAvailabilities: [FieldsAppAvailabilities]? - public var fieldsCustomerReviews: [FieldsCustomerReviews]? - public var fieldsAppEvents: [FieldsAppEvents]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? + public var fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? public var fieldsBuilds: [FieldsBuilds]? public var fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? - public var fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]? - public var fieldsAppClips: [FieldsAppClips]? + public var fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? public var fieldsAppInfos: [FieldsAppInfos]? - public var fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? - public var fieldsAppPricePoints: [FieldsAppPricePoints]? + public var fieldsAppClips: [FieldsAppClips]? + public var fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? + public var fieldsAppPreOrders: [FieldsAppPreOrders]? public var fieldsInAppPurchases: [FieldsInAppPurchases]? - public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? - public var fieldsAnalyticsReportRequests: [FieldsAnalyticsReportRequests]? - public var fieldsAppPreOrders: [FieldsAppPreOrders]? - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? - public var fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? - public var fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? - public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? - public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? - public var fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? + public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? + public var fieldsAppEvents: [FieldsAppEvents]? + public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? + public var fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? + public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var include: [Include]? public var limitAppClips: Int? public var limitAppCustomProductPages: Int? public var limitAppEncryptionDeclarations: Int? @@ -70,226 +62,171 @@ extension APIEndpoint.V1.Apps { public var limitSubscriptionGroups: Int? public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages - case appEncryptionDeclarations - case appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 - case appStoreVersions - case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters - case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews - case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions - case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail case name - case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale - case promotedPurchases - case reviewSubmissions + case bundleID = "bundleId" case sku - case subscriptionGracePeriod - case subscriptionGroups + case primaryLocale + case isOrEverWasMadeForKids case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" + case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" - } - - public enum Include: String, Codable, CaseIterable { - case appClips - case appCustomProductPages + case contentRightsDeclaration + case streamlinedPurchasingEnabled case appEncryptionDeclarations - case appEvents - case appInfos - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement case builds - case ciProduct + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases + case subscriptionGroups + case gameCenterEnabledVersions + case perfPowerMetrics + case appCustomProductPages case inAppPurchasesV2 - case preOrder - case preReleaseVersions case promotedPurchases + case appEvents case reviewSubmissions case subscriptionGracePeriod - case subscriptionGroups - } - - public enum FieldsBetaAppReviewDetails: String, Codable, CaseIterable { - case app - case contactEmail - case contactFirstName - case contactLastName - case contactPhone - case demoAccountName - case demoAccountPassword - case demoAccountRequired - case notes - } - - public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app - case arcadeEnabled - case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements - case gameCenterAppVersions - case gameCenterGroup - case gameCenterLeaderboardSets - case gameCenterLeaderboards - case leaderboardReleases - case leaderboardSetReleases + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsAppPriceSchedules: String, Codable, CaseIterable { + public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { + case appDescription + case createdDate + case usesEncryption + case exempt + case containsProprietaryCryptography + case containsThirdPartyCryptography + case availableOnFrenchStore + case platform + case uploadedDate + case documentURL = "documentUrl" + case documentName + case documentType + case appEncryptionDeclarationState + case codeValue case app - case automaticPrices - case baseTerritory - case manualPrices + case builds + case appEncryptionDeclarationDocument } public enum FieldsCiProducts: String, Codable, CaseIterable { - case additionalRepositories - case app - case buildRuns - case bundleID = "bundleId" - case createdDate case name - case primaryRepositories + case createdDate case productType - case workflows - } - - public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { - case app - case publicKey - } - - public enum FieldsReviewSubmissions: String, Codable, CaseIterable { case app - case appStoreVersionForReview - case canceled - case items - case lastUpdatedByActor - case platform - case state - case submitted - case submittedByActor - case submittedDate + case bundleID = "bundleId" + case workflows + case primaryRepositories + case additionalRepositories + case buildRuns } public enum FieldsBetaGroups: String, Codable, CaseIterable { - case app - case betaTesters - case builds + case name case createdDate - case feedbackEnabled - case hasAccessToAllBuilds - case iosBuildsAvailableForAppleSiliconMac case isInternalGroup - case name - case publicLink + case hasAccessToAllBuilds case publicLinkEnabled case publicLinkID = "publicLinkId" - case publicLinkLimit case publicLinkLimitEnabled - } - - public enum FieldsPromotedPurchases: String, Codable, CaseIterable { + case publicLinkLimit + case publicLink + case feedbackEnabled + case iosBuildsAvailableForAppleSiliconMac case app - case enabled - case inAppPurchaseV2 - case promotionImages - case state - case subscription - case visibleForAllUsers + case builds + case betaTesters } - public enum FieldsAppAvailabilities: String, Codable, CaseIterable { + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate case app - case availableInNewTerritories - case availableTerritories + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } - public enum FieldsCustomerReviews: String, Codable, CaseIterable { - case body - case createdDate - case rating - case response - case reviewerNickname - case territory - case title + public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { + case version + case platform + case builds + case app } - public enum FieldsAppEvents: String, Codable, CaseIterable { + public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { + case feedbackEmail + case marketingURL = "marketingUrl" + case privacyPolicyURL = "privacyPolicyUrl" + case tvOsPrivacyPolicy + case description + case locale case app - case archivedTerritorySchedules - case badge - case deepLink - case eventState - case localizations - case primaryLocale - case priority - case purchaseRequirement - case purpose - case referenceName - case territorySchedules } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } public enum FieldsBetaLicenseAgreements: String, Codable, CaseIterable { @@ -297,233 +234,232 @@ extension APIEndpoint.V1.Apps { case app } - public enum FieldsMarketplaceSearchDetails: String, Codable, CaseIterable { - case app - case catalogURL = "catalogUrl" - } - - public enum FieldsAppClips: String, Codable, CaseIterable { + public enum FieldsBetaAppReviewDetails: String, Codable, CaseIterable { + case contactFirstName + case contactLastName + case contactPhone + case contactEmail + case demoAccountName + case demoAccountPassword + case demoAccountRequired + case notes case app - case appClipAdvancedExperiences - case appClipDefaultExperiences - case bundleID = "bundleId" } public enum FieldsAppInfos: String, Codable, CaseIterable { - case ageRatingDeclaration - case app - case appInfoLocalizations - case appStoreAgeRating case appStoreState + case state + case appStoreAgeRating + case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case koreaAgeRating case kidsAgeBand + case app + case ageRatingDeclaration + case appInfoLocalizations case primaryCategory case primarySubcategoryOne case primarySubcategoryTwo case secondaryCategory case secondarySubcategoryOne case secondarySubcategoryTwo - case state } - public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { + public enum FieldsAppClips: String, Codable, CaseIterable { + case bundleID = "bundleId" case app - case description - case feedbackEmail - case locale - case marketingURL = "marketingUrl" - case privacyPolicyURL = "privacyPolicyUrl" - case tvOsPrivacyPolicy + case appClipDefaultExperiences + case appClipAdvancedExperiences } - public enum FieldsAppPricePoints: String, Codable, CaseIterable { + public enum FieldsEndUserLicenseAgreements: String, Codable, CaseIterable { + case agreementText case app - case customerPrice - case equalizations - case proceeds - case territory + case territories } - public enum FieldsInAppPurchases: String, Codable, CaseIterable { + public enum FieldsAppPreOrders: String, Codable, CaseIterable { + case preOrderAvailableDate + case appReleaseDate case app - case appStoreReviewScreenshot - case apps - case content - case contentHosting - case familySharable - case iapPriceSchedule - case inAppPurchaseAvailability - case inAppPurchaseLocalizations + } + + public enum FieldsInAppPurchases: String, Codable, CaseIterable { + case referenceName + case productID = "productId" case inAppPurchaseType + case state + case apps case name - case pricePoints - case productID = "productId" - case promotedPurchase - case referenceName case reviewNote - case state - } - - public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { + case familySharable + case contentHosting case app - case builds - case platform - case version + case inAppPurchaseLocalizations + case pricePoints + case content + case appStoreReviewScreenshot + case promotedPurchase + case iapPriceSchedule + case inAppPurchaseAvailability + case images } public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { - case app case referenceName - case subscriptionGroupLocalizations + case app case subscriptions + case subscriptionGroupLocalizations } - public enum FieldsAnalyticsReportRequests: String, Codable, CaseIterable { - case accessType + public enum FieldsGameCenterEnabledVersions: String, Codable, CaseIterable { + case platform + case versionString + case iconAsset + case compatibleVersions case app - case reports - case stoppedDueToInactivity } - public enum FieldsAppPreOrders: String, Codable, CaseIterable { + public enum FieldsAppCustomProductPages: String, Codable, CaseIterable { + case name + case url + case visible case app - case appReleaseDate - case preOrderAvailableDate + case appCustomProductPageVersions + case appStoreVersionTemplate + case customProductPageTemplate } - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started + public enum FieldsPromotedPurchases: String, Codable, CaseIterable { + case visibleForAllUsers + case enabled case state - case trafficProportion + case app + case inAppPurchaseV2 + case subscription + case promotionImages } - public enum FieldsGameCenterEnabledVersions: String, Codable, CaseIterable { + public enum FieldsAppEvents: String, Codable, CaseIterable { + case referenceName + case badge + case eventState + case deepLink + case purchaseRequirement + case primaryLocale + case priority + case purpose + case territorySchedules + case archivedTerritorySchedules case app - case compatibleVersions - case iconAsset + case localizations + } + + public enum FieldsReviewSubmissions: String, Codable, CaseIterable { case platform - case versionString + case submittedDate + case state + case submitted + case canceled + case app + case items + case appStoreVersionForReview + case submittedByActor + case lastUpdatedByActor } public enum FieldsSubscriptionGracePeriods: String, Codable, CaseIterable { - case duration case optIn - case renewalType case sandboxOptIn + case duration + case renewalType } - public enum FieldsEndUserLicenseAgreements: String, Codable, CaseIterable { - case agreementText + public enum FieldsGameCenterDetails: String, Codable, CaseIterable { + case arcadeEnabled + case challengeEnabled case app - case territories + case gameCenterAppVersions + case gameCenterGroup + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases + case leaderboardReleases + case leaderboardSetReleases } - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case name case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString - } - - public enum FieldsAppCustomProductPages: String, Codable, CaseIterable { + case trafficProportion + case state + case reviewRequired + case startDate + case endDate + case started case app - case appCustomProductPageVersions - case appStoreVersionTemplate - case customProductPageTemplate - case name - case url - case visible + case latestControlVersion + case controlVersions + case appStoreVersionExperimentTreatments } - public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { - case app - case appDescription - case appEncryptionDeclarationDocument - case appEncryptionDeclarationState - case availableOnFrenchStore + public enum Include: String, Codable, CaseIterable { + case appEncryptionDeclarations + case ciProduct + case betaGroups + case appStoreVersions + case preReleaseVersions + case betaAppLocalizations case builds - case codeValue - case containsProprietaryCryptography - case containsThirdPartyCryptography - case createdDate - case documentName - case documentType - case documentURL = "documentUrl" - case exempt - case platform - case uploadedDate - case usesEncryption - } - - public enum FieldsPerfPowerMetrics: String, Codable, CaseIterable { - case deviceType - case metricType - case platform + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case endUserLicenseAgreement + case preOrder + case inAppPurchases + case subscriptionGroups + case gameCenterEnabledVersions + case appCustomProductPages + case inAppPurchasesV2 + case promotedPurchases + case appEvents + case reviewSubmissions + case subscriptionGracePeriod + case gameCenterDetail + case appStoreVersionExperimentsV2 } - public init(fieldsApps: [FieldsApps]? = nil, include: [Include]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsAnalyticsReportRequests: [FieldsAnalyticsReportRequests]? = nil, fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? = 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, 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) { self.fieldsApps = fieldsApps - self.include = include - self.fieldsBetaAppReviewDetails = fieldsBetaAppReviewDetails - self.fieldsGameCenterDetails = fieldsGameCenterDetails - self.fieldsAppPriceSchedules = fieldsAppPriceSchedules + self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations self.fieldsCiProducts = fieldsCiProducts - self.fieldsAlternativeDistributionKeys = fieldsAlternativeDistributionKeys - self.fieldsReviewSubmissions = fieldsReviewSubmissions self.fieldsBetaGroups = fieldsBetaGroups - self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.fieldsAppAvailabilities = fieldsAppAvailabilities - self.fieldsCustomerReviews = fieldsCustomerReviews - self.fieldsAppEvents = fieldsAppEvents + self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.fieldsPreReleaseVersions = fieldsPreReleaseVersions + self.fieldsBetaAppLocalizations = fieldsBetaAppLocalizations self.fieldsBuilds = fieldsBuilds self.fieldsBetaLicenseAgreements = fieldsBetaLicenseAgreements - self.fieldsMarketplaceSearchDetails = fieldsMarketplaceSearchDetails - self.fieldsAppClips = fieldsAppClips + self.fieldsBetaAppReviewDetails = fieldsBetaAppReviewDetails self.fieldsAppInfos = fieldsAppInfos - self.fieldsBetaAppLocalizations = fieldsBetaAppLocalizations - self.fieldsAppPricePoints = fieldsAppPricePoints + self.fieldsAppClips = fieldsAppClips + self.fieldsEndUserLicenseAgreements = fieldsEndUserLicenseAgreements + self.fieldsAppPreOrders = fieldsAppPreOrders self.fieldsInAppPurchases = fieldsInAppPurchases - self.fieldsPreReleaseVersions = fieldsPreReleaseVersions self.fieldsSubscriptionGroups = fieldsSubscriptionGroups - self.fieldsAnalyticsReportRequests = fieldsAnalyticsReportRequests - self.fieldsAppPreOrders = fieldsAppPreOrders - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments self.fieldsGameCenterEnabledVersions = fieldsGameCenterEnabledVersions - self.fieldsSubscriptionGracePeriods = fieldsSubscriptionGracePeriods - self.fieldsEndUserLicenseAgreements = fieldsEndUserLicenseAgreements - self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsAppCustomProductPages = fieldsAppCustomProductPages - self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations - self.fieldsPerfPowerMetrics = fieldsPerfPowerMetrics + self.fieldsPromotedPurchases = fieldsPromotedPurchases + self.fieldsAppEvents = fieldsAppEvents + self.fieldsReviewSubmissions = fieldsReviewSubmissions + self.fieldsSubscriptionGracePeriods = fieldsSubscriptionGracePeriods + self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.include = include self.limitAppClips = limitAppClips self.limitAppCustomProductPages = limitAppCustomProductPages self.limitAppEncryptionDeclarations = limitAppEncryptionDeclarations @@ -546,38 +482,30 @@ extension APIEndpoint.V1.Apps { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsBetaAppReviewDetails, forKey: "fields[betaAppReviewDetails]") - encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") - encoder.encode(fieldsAppPriceSchedules, forKey: "fields[appPriceSchedules]") + encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") - encoder.encode(fieldsAlternativeDistributionKeys, forKey: "fields[alternativeDistributionKeys]") - encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") - encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(fieldsAppAvailabilities, forKey: "fields[appAvailabilities]") - encoder.encode(fieldsCustomerReviews, forKey: "fields[customerReviews]") - encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") + encoder.encode(fieldsBetaAppLocalizations, forKey: "fields[betaAppLocalizations]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsBetaLicenseAgreements, forKey: "fields[betaLicenseAgreements]") - encoder.encode(fieldsMarketplaceSearchDetails, forKey: "fields[marketplaceSearchDetails]") - encoder.encode(fieldsAppClips, forKey: "fields[appClips]") + encoder.encode(fieldsBetaAppReviewDetails, forKey: "fields[betaAppReviewDetails]") encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") - encoder.encode(fieldsBetaAppLocalizations, forKey: "fields[betaAppLocalizations]") - encoder.encode(fieldsAppPricePoints, forKey: "fields[appPricePoints]") + 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(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") encoder.encode(fieldsSubscriptionGroups, forKey: "fields[subscriptionGroups]") - encoder.encode(fieldsAnalyticsReportRequests, forKey: "fields[analyticsReportRequests]") - encoder.encode(fieldsAppPreOrders, forKey: "fields[appPreOrders]") - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsGameCenterEnabledVersions, forKey: "fields[gameCenterEnabledVersions]") - encoder.encode(fieldsSubscriptionGracePeriods, forKey: "fields[subscriptionGracePeriods]") - encoder.encode(fieldsEndUserLicenseAgreements, forKey: "fields[endUserLicenseAgreements]") - encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsAppCustomProductPages, forKey: "fields[appCustomProductPages]") - encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") - encoder.encode(fieldsPerfPowerMetrics, forKey: "fields[perfPowerMetrics]") + encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") + encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") + encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") + encoder.encode(fieldsSubscriptionGracePeriods, forKey: "fields[subscriptionGracePeriods]") + encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppClips, forKey: "limit[appClips]") encoder.encode(limitAppCustomProductPages, forKey: "limit[appCustomProductPages]") encoder.encode(limitAppEncryptionDeclarations, forKey: "limit[appEncryptionDeclarations]") @@ -600,7 +528,7 @@ extension APIEndpoint.V1.Apps { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "apps-update_instance") + Request(path: path, method: "PATCH", body: body, id: "apps_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift index 74a191d2..c0a9b0d8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionKeys), id: "apps-alternativeDistributionKey-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionKeys), id: "apps_alternativeDistributionKey_getToOneRelated") } private func makeGetQuery(_ fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]?) -> [(String, String?)] { @@ -24,8 +24,8 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { - case app case publicKey + case app } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAnalyticsReportRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAnalyticsReportRequests.swift index 8904e460..8eddf214 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAnalyticsReportRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAnalyticsReportRequests.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-analyticsReportRequests-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_analyticsReportRequests_getToManyRelated") } public struct GetParameters { @@ -22,8 +22,8 @@ extension APIEndpoint.V1.Apps.WithID { public var fieldsAnalyticsReportRequests: [FieldsAnalyticsReportRequests]? public var fieldsAnalyticsReports: [FieldsAnalyticsReports]? public var limit: Int? - public var limitReports: Int? public var include: [Include]? + public var limitReports: Int? public enum FilterAccessType: String, Codable, CaseIterable { case oneTimeSnapshot = "ONE_TIME_SNAPSHOT" @@ -32,28 +32,28 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsAnalyticsReportRequests: String, Codable, CaseIterable { case accessType + case stoppedDueToInactivity case app case reports - case stoppedDueToInactivity } public enum FieldsAnalyticsReports: String, Codable, CaseIterable { + case name case category case instances - case name } public enum Include: String, Codable, CaseIterable { case reports } - public init(filterAccessType: [FilterAccessType]? = nil, fieldsAnalyticsReportRequests: [FieldsAnalyticsReportRequests]? = nil, fieldsAnalyticsReports: [FieldsAnalyticsReports]? = nil, limit: Int? = nil, limitReports: Int? = nil, include: [Include]? = nil) { + public init(filterAccessType: [FilterAccessType]? = nil, fieldsAnalyticsReportRequests: [FieldsAnalyticsReportRequests]? = nil, fieldsAnalyticsReports: [FieldsAnalyticsReports]? = nil, limit: Int? = nil, include: [Include]? = nil, limitReports: Int? = nil) { self.filterAccessType = filterAccessType self.fieldsAnalyticsReportRequests = fieldsAnalyticsReportRequests self.fieldsAnalyticsReports = fieldsAnalyticsReports self.limit = limit - self.limitReports = limitReports self.include = include + self.limitReports = limitReports } public var asQuery: [(String, String?)] { @@ -62,8 +62,8 @@ extension APIEndpoint.V1.Apps.WithID { encoder.encode(fieldsAnalyticsReportRequests, forKey: "fields[analyticsReportRequests]") encoder.encode(fieldsAnalyticsReports, forKey: "fields[analyticsReports]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitReports, forKey: "limit[reports]") encoder.encode(include, forKey: "include") + encoder.encode(limitReports, forKey: "limit[reports]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift index 6ed0cb2a..a51163fd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift @@ -15,66 +15,68 @@ extension APIEndpoint.V1.Apps.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appAvailability-get_to_one_related") + 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 limitAvailableTerritories: Int? public var include: [Include]? + public var limitAvailableTerritories: Int? public enum FieldsAppAvailabilities: String, Codable, CaseIterable { - case app case availableInNewTerritories + case app case availableTerritories } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum FieldsTerritories: String, Codable, CaseIterable { @@ -86,12 +88,12 @@ extension APIEndpoint.V1.Apps.WithID { case availableTerritories } - public init(fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitAvailableTerritories: Int? = nil, include: [Include]? = nil) { + 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.limitAvailableTerritories = limitAvailableTerritories self.include = include + self.limitAvailableTerritories = limitAvailableTerritories } public var asQuery: [(String, String?)] { @@ -99,8 +101,8 @@ extension APIEndpoint.V1.Apps.WithID { encoder.encode(fieldsAppAvailabilities, forKey: "fields[appAvailabilities]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") - encoder.encode(limitAvailableTerritories, forKey: "limit[availableTerritories]") 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 new file mode 100644 index 00000000..5d875afc --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailabilityV2.swift @@ -0,0 +1,62 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Apps.WithID { + public var appAvailabilityV2: AppAvailabilityV2 { + AppAvailabilityV2(path: path + "/appAvailabilityV2") + } + + public struct AppAvailabilityV2 { + /// Path: `/v1/apps/{id}/appAvailabilityV2` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appAvailabilityV2_getToOneRelated") + } + + public struct GetParameters { + public var fieldsAppAvailabilities: [FieldsAppAvailabilities]? + public var fieldsTerritoryAvailabilities: [FieldsTerritoryAvailabilities]? + public var include: [Include]? + public var limitTerritoryAvailabilities: Int? + + public enum FieldsAppAvailabilities: String, Codable, CaseIterable { + case availableInNewTerritories + case app + case territoryAvailabilities + } + + public enum FieldsTerritoryAvailabilities: String, Codable, CaseIterable { + case available + case releaseDate + case preOrderEnabled + case preOrderPublishDate + case contentStatuses + case territory + } + + public enum Include: String, Codable, CaseIterable { + case territoryAvailabilities + } + + public init(fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsTerritoryAvailabilities: [FieldsTerritoryAvailabilities]? = nil, include: [Include]? = nil, limitTerritoryAvailabilities: Int? = nil) { + self.fieldsAppAvailabilities = fieldsAppAvailabilities + self.fieldsTerritoryAvailabilities = fieldsTerritoryAvailabilities + self.include = include + self.limitTerritoryAvailabilities = limitTerritoryAvailabilities + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsAppAvailabilities, forKey: "fields[appAvailabilities]") + encoder.encode(fieldsTerritoryAvailabilities, forKey: "fields[territoryAvailabilities]") + encoder.encode(include, forKey: "include") + encoder.encode(limitTerritoryAvailabilities, forKey: "limit[territoryAvailabilities]") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift index 9285e986..62b6fb2a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appClips-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appClips_getToManyRelated") } public struct GetParameters { @@ -23,69 +23,71 @@ extension APIEndpoint.V1.Apps.WithID { public var fieldsApps: [FieldsApps]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var limit: Int? - public var limitAppClipDefaultExperiences: Int? public var include: [Include]? + public var limitAppClipDefaultExperiences: Int? public enum FieldsAppClips: String, Codable, CaseIterable { + case bundleID = "bundleId" case app - case appClipAdvancedExperiences case appClipDefaultExperiences - case bundleID = "bundleId" + case appClipAdvancedExperiences } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { case action case appClip - case appClipAppStoreReviewDetail + case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion } public enum Include: String, Codable, CaseIterable { @@ -93,14 +95,14 @@ extension APIEndpoint.V1.Apps.WithID { case appClipDefaultExperiences } - public init(filterBundleID: [String]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, limit: Int? = nil, limitAppClipDefaultExperiences: Int? = nil, include: [Include]? = nil) { + public init(filterBundleID: [String]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppClipDefaultExperiences: Int? = nil) { self.filterBundleID = filterBundleID self.fieldsAppClips = fieldsAppClips self.fieldsApps = fieldsApps self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.limit = limit - self.limitAppClipDefaultExperiences = limitAppClipDefaultExperiences self.include = include + self.limitAppClipDefaultExperiences = limitAppClipDefaultExperiences } public var asQuery: [(String, String?)] { @@ -110,8 +112,8 @@ extension APIEndpoint.V1.Apps.WithID { encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppClipDefaultExperiences, forKey: "limit[appClipDefaultExperiences]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppClipDefaultExperiences, forKey: "limit[appClipDefaultExperiences]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift index 84912956..d5108ed3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift @@ -14,80 +14,82 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appCustomProductPages-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appCustomProductPages_getToManyRelated") } public struct GetParameters { public var filterVisible: [String]? public var fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? - public var fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? public var fieldsApps: [FieldsApps]? + public var fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? public var limit: Int? - public var limitAppCustomProductPageVersions: Int? public var include: [Include]? + public var limitAppCustomProductPageVersions: Int? public enum FieldsAppCustomProductPages: String, Codable, CaseIterable { + case name + case url + case visible case app case appCustomProductPageVersions case appStoreVersionTemplate case customProductPageTemplate - case name - case url - case visible - } - - public enum FieldsAppCustomProductPageVersions: String, Codable, CaseIterable { - case appCustomProductPage - case appCustomProductPageLocalizations - case deepLink - case state - case version } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum FieldsAppCustomProductPageVersions: String, Codable, CaseIterable { + case version + case state + case deepLink + case appCustomProductPage + case appCustomProductPageLocalizations } public enum Include: String, Codable, CaseIterable { @@ -95,25 +97,25 @@ extension APIEndpoint.V1.Apps.WithID { case appCustomProductPageVersions } - public init(filterVisible: [String]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, limitAppCustomProductPageVersions: Int? = nil, include: [Include]? = nil) { + public init(filterVisible: [String]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppCustomProductPageVersions: Int? = nil) { self.filterVisible = filterVisible self.fieldsAppCustomProductPages = fieldsAppCustomProductPages - self.fieldsAppCustomProductPageVersions = fieldsAppCustomProductPageVersions self.fieldsApps = fieldsApps + self.fieldsAppCustomProductPageVersions = fieldsAppCustomProductPageVersions self.limit = limit - self.limitAppCustomProductPageVersions = limitAppCustomProductPageVersions self.include = include + self.limitAppCustomProductPageVersions = limitAppCustomProductPageVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterVisible, forKey: "filter[visible]") encoder.encode(fieldsAppCustomProductPages, forKey: "fields[appCustomProductPages]") - encoder.encode(fieldsAppCustomProductPageVersions, forKey: "fields[appCustomProductPageVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAppCustomProductPageVersions, forKey: "fields[appCustomProductPageVersions]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppCustomProductPageVersions, forKey: "limit[appCustomProductPageVersions]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppCustomProductPageVersions, forKey: "limit[appCustomProductPageVersions]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift index a6338eb6..3a736b86 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appEncryptionDeclarations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appEncryptionDeclarations_getToManyRelated") } public struct GetParameters { @@ -22,11 +22,11 @@ extension APIEndpoint.V1.Apps.WithID { public var filterBuilds: [String]? public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? public var fieldsApps: [FieldsApps]? - public var fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? public var fieldsBuilds: [FieldsBuilds]? + public var fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? public var limit: Int? - public var limitBuilds: Int? public var include: [Include]? + public var limitBuilds: Int? public enum FilterPlatform: String, Codable, CaseIterable { case ios = "IOS" @@ -36,126 +36,128 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { - case app case appDescription - case appEncryptionDeclarationDocument - case appEncryptionDeclarationState - case availableOnFrenchStore - case builds - case codeValue - case containsProprietaryCryptography - case containsThirdPartyCryptography case createdDate - case documentName - case documentType - case documentURL = "documentUrl" + case usesEncryption case exempt + case containsProprietaryCryptography + case containsThirdPartyCryptography + case availableOnFrenchStore case platform case uploadedDate - case usesEncryption + case documentURL = "documentUrl" + case documentName + case documentType + case appEncryptionDeclarationState + case codeValue + case app + case builds + case appEncryptionDeclarationDocument } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsAppEncryptionDeclarationDocuments: String, Codable, CaseIterable { + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations case appEncryptionDeclaration - case assetDeliveryState + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures + } + + public enum FieldsAppEncryptionDeclarationDocuments: String, Codable, CaseIterable { + case fileSize + case fileName case assetToken case downloadURL = "downloadUrl" - case fileName - case fileSize case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded - } - - public enum FieldsBuilds: String, Codable, CaseIterable { - case app case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version } public enum Include: String, Codable, CaseIterable { case app - case appEncryptionDeclarationDocument case builds + case appEncryptionDeclarationDocument } - public init(filterPlatform: [FilterPlatform]? = nil, filterBuilds: [String]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, limitBuilds: Int? = nil, include: [Include]? = nil) { + public init(filterPlatform: [FilterPlatform]? = nil, filterBuilds: [String]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppEncryptionDeclarationDocuments: [FieldsAppEncryptionDeclarationDocuments]? = nil, limit: Int? = nil, include: [Include]? = nil, limitBuilds: Int? = nil) { self.filterPlatform = filterPlatform self.filterBuilds = filterBuilds self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations self.fieldsApps = fieldsApps - self.fieldsAppEncryptionDeclarationDocuments = fieldsAppEncryptionDeclarationDocuments self.fieldsBuilds = fieldsBuilds + self.fieldsAppEncryptionDeclarationDocuments = fieldsAppEncryptionDeclarationDocuments self.limit = limit - self.limitBuilds = limitBuilds self.include = include + self.limitBuilds = limitBuilds } public var asQuery: [(String, String?)] { @@ -164,11 +166,11 @@ extension APIEndpoint.V1.Apps.WithID { encoder.encode(filterBuilds, forKey: "filter[builds]") encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsAppEncryptionDeclarationDocuments, forKey: "fields[appEncryptionDeclarationDocuments]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsAppEncryptionDeclarationDocuments, forKey: "fields[appEncryptionDeclarationDocuments]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitBuilds, forKey: "limit[builds]") encoder.encode(include, forKey: "include") + encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift index d1a406ac..f55e75df 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEvents.swift @@ -14,17 +14,17 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appEvents-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appEvents_getToManyRelated") } public struct GetParameters { public var filterEventState: [FilterEventState]? public var filterID: [String]? - public var fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? public var fieldsAppEvents: [FieldsAppEvents]? + public var fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? public var limit: Int? - public var limitLocalizations: Int? public var include: [Include]? + public var limitLocalizations: Int? public enum FilterEventState: String, Codable, CaseIterable { case draft = "DRAFT" @@ -39,54 +39,54 @@ extension APIEndpoint.V1.Apps.WithID { case archived = "ARCHIVED" } - public enum FieldsAppEventLocalizations: String, Codable, CaseIterable { - case appEvent - case appEventScreenshots - case appEventVideoClips - case locale - case longDescription - case name - case shortDescription - } - public enum FieldsAppEvents: String, Codable, CaseIterable { - case app - case archivedTerritorySchedules + case referenceName case badge - case deepLink case eventState - case localizations + case deepLink + case purchaseRequirement case primaryLocale case priority - case purchaseRequirement case purpose - case referenceName case territorySchedules + case archivedTerritorySchedules + case app + case localizations + } + + public enum FieldsAppEventLocalizations: String, Codable, CaseIterable { + case locale + case name + case shortDescription + case longDescription + case appEvent + case appEventScreenshots + case appEventVideoClips } public enum Include: String, Codable, CaseIterable { case localizations } - public init(filterEventState: [FilterEventState]? = nil, filterID: [String]? = nil, fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, limit: Int? = nil, limitLocalizations: Int? = nil, include: [Include]? = nil) { + public init(filterEventState: [FilterEventState]? = nil, filterID: [String]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsAppEventLocalizations: [FieldsAppEventLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil) { self.filterEventState = filterEventState self.filterID = filterID - self.fieldsAppEventLocalizations = fieldsAppEventLocalizations self.fieldsAppEvents = fieldsAppEvents + self.fieldsAppEventLocalizations = fieldsAppEventLocalizations self.limit = limit - self.limitLocalizations = limitLocalizations self.include = include + self.limitLocalizations = limitLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterEventState, forKey: "filter[eventState]") encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsAppEventLocalizations, forKey: "fields[appEventLocalizations]") encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") + encoder.encode(fieldsAppEventLocalizations, forKey: "fields[appEventLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(include, forKey: "include") + encoder.encode(limitLocalizations, forKey: "limit[localizations]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift index 55e2f799..7ad05162 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift @@ -14,123 +14,129 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appInfos-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appInfos_getToManyRelated") } public struct GetParameters { - public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? public var fieldsAppInfos: [FieldsAppInfos]? + public var fieldsApps: [FieldsApps]? + public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? public var fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? public var fieldsAppCategories: [FieldsAppCategories]? - public var fieldsApps: [FieldsApps]? public var limit: Int? - public var limitAppInfoLocalizations: Int? public var include: [Include]? + public var limitAppInfoLocalizations: Int? + + public enum FieldsAppInfos: String, Codable, CaseIterable { + case appStoreState + case state + case appStoreAgeRating + case australiaAgeRating + case brazilAgeRating + case brazilAgeRatingV2 + case koreaAgeRating + case kidsAgeBand + case app + case ageRatingDeclaration + case appInfoLocalizations + case primaryCategory + case primarySubcategoryOne + case primarySubcategoryTwo + case secondaryCategory + case secondarySubcategoryOne + case secondarySubcategoryTwo + } + + 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 FieldsAgeRatingDeclarations: String, Codable, CaseIterable { - case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests - case gambling case gamblingAndContests + case gambling case gamblingSimulated - case horrorOrFearThemes case kidsAgeBand - case matureOrSuggestiveThemes + case lootBox case medicalOrTreatmentInformation case profanityOrCrudeHumor - case seventeenPlus case sexualContentGraphicAndNudity case sexualContentOrNudity + case horrorOrFearThemes + case matureOrSuggestiveThemes case unrestrictedWebAccess case violenceCartoonOrFantasy - case violenceRealistic case violenceRealisticProlongedGraphicOrSadistic - } - - public enum FieldsAppInfos: String, Codable, CaseIterable { - case ageRatingDeclaration - case app - case appInfoLocalizations - case appStoreAgeRating - case appStoreState - case brazilAgeRating - case brazilAgeRatingV2 - case kidsAgeBand - case primaryCategory - case primarySubcategoryOne - case primarySubcategoryTwo - case secondaryCategory - case secondarySubcategoryOne - case secondarySubcategoryTwo - case state + case violenceRealistic + case ageRatingOverride + case koreaAgeRatingOverride + case seventeenPlus } public enum FieldsAppInfoLocalizations: String, Codable, CaseIterable { - case appInfo case locale case name + case subtitle + case privacyPolicyURL = "privacyPolicyUrl" case privacyChoicesURL = "privacyChoicesUrl" case privacyPolicyText - case privacyPolicyURL = "privacyPolicyUrl" - case subtitle + case appInfo } public enum FieldsAppCategories: String, Codable, CaseIterable { - case parent case platforms case subcategories - } - - public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages - case appEncryptionDeclarations - case appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 - case appStoreVersions - case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters - case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews - case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions - case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name - case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale - case promotedPurchases - case reviewSubmissions - case sku - case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case parent } public enum Include: String, Codable, CaseIterable { - case ageRatingDeclaration case app + case ageRatingDeclaration case appInfoLocalizations case primaryCategory case primarySubcategoryOne @@ -140,27 +146,27 @@ extension APIEndpoint.V1.Apps.WithID { case secondarySubcategoryTwo } - public init(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? = nil, fieldsAppCategories: [FieldsAppCategories]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, limitAppInfoLocalizations: Int? = nil, include: [Include]? = nil) { - self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations + public init(fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppInfoLocalizations: [FieldsAppInfoLocalizations]? = nil, fieldsAppCategories: [FieldsAppCategories]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppInfoLocalizations: Int? = nil) { self.fieldsAppInfos = fieldsAppInfos + self.fieldsApps = fieldsApps + self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations self.fieldsAppInfoLocalizations = fieldsAppInfoLocalizations self.fieldsAppCategories = fieldsAppCategories - self.fieldsApps = fieldsApps self.limit = limit - self.limitAppInfoLocalizations = limitAppInfoLocalizations self.include = include + self.limitAppInfoLocalizations = limitAppInfoLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") + encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") encoder.encode(fieldsAppInfoLocalizations, forKey: "fields[appInfoLocalizations]") encoder.encode(fieldsAppCategories, forKey: "fields[appCategories]") - encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppInfoLocalizations, forKey: "limit[appInfoLocalizations]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppInfoLocalizations, forKey: "limit[appInfoLocalizations]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift index 0fea2bae..72687bf8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appPricePoints-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appPricePoints_getToManyRelated") } public struct GetParameters { @@ -26,57 +26,59 @@ extension APIEndpoint.V1.Apps.WithID { public var include: [Include]? public enum FieldsAppPricePoints: String, Codable, CaseIterable { - case app case customerPrice - case equalizations case proceeds + case app + case equalizations case territory } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum FieldsTerritories: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift index f4bdf152..baa4f9d3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift @@ -14,109 +14,111 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appPriceSchedule-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appPriceSchedule_getToOneRelated") } public struct GetParameters { - public var fieldsAppPrices: [FieldsAppPrices]? public var fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? public var fieldsApps: [FieldsApps]? public var fieldsTerritories: [FieldsTerritories]? + public var fieldsAppPrices: [FieldsAppPrices]? + public var include: [Include]? public var limitManualPrices: Int? public var limitAutomaticPrices: Int? - public var include: [Include]? - - public enum FieldsAppPrices: String, Codable, CaseIterable { - case appPricePoint - case endDate - case manual - case startDate - case territory - } public enum FieldsAppPriceSchedules: String, Codable, CaseIterable { case app - case automaticPrices case baseTerritory case manualPrices + case automaticPrices } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum FieldsTerritories: String, Codable, CaseIterable { case currency } + public enum FieldsAppPrices: String, Codable, CaseIterable { + case manual + case startDate + case endDate + case appPricePoint + case territory + } + public enum Include: String, Codable, CaseIterable { case app - case automaticPrices case baseTerritory case manualPrices + case automaticPrices } - public init(fieldsAppPrices: [FieldsAppPrices]? = nil, fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitManualPrices: Int? = nil, limitAutomaticPrices: Int? = nil, include: [Include]? = nil) { - self.fieldsAppPrices = fieldsAppPrices + public init(fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, include: [Include]? = nil, limitManualPrices: Int? = nil, limitAutomaticPrices: Int? = nil) { self.fieldsAppPriceSchedules = fieldsAppPriceSchedules self.fieldsApps = fieldsApps self.fieldsTerritories = fieldsTerritories + self.fieldsAppPrices = fieldsAppPrices + self.include = include self.limitManualPrices = limitManualPrices self.limitAutomaticPrices = limitAutomaticPrices - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppPrices, forKey: "fields[appPrices]") encoder.encode(fieldsAppPriceSchedules, forKey: "fields[appPriceSchedules]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") + encoder.encode(fieldsAppPrices, forKey: "fields[appPrices]") + encoder.encode(include, forKey: "include") encoder.encode(limitManualPrices, forKey: "limit[manualPrices]") encoder.encode(limitAutomaticPrices, forKey: "limit[automaticPrices]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift index f144ebe8..d8cf2488 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift @@ -14,19 +14,19 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appStoreVersionExperimentsV2-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appStoreVersionExperimentsV2_getToManyRelated") } public struct GetParameters { public var filterState: [FilterState]? public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? - public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsApps: [FieldsApps]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? public var limit: Int? + public var include: [Include]? public var limitControlVersions: Int? public var limitAppStoreVersionExperimentTreatments: Int? - public var include: [Include]? public enum FilterState: String, Codable, CaseIterable { case prepareForSubmission = "PREPARE_FOR_SUBMISSION" @@ -41,132 +41,135 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion case name case platform + case trafficProportion + case state case reviewRequired case startDate + case endDate case started - case state - case trafficProportion - } - - public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { - case appIcon - case appIconName - case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations - case appStoreVersionExperimentV2 - case name - case promotedDate - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString + case latestControlVersion + case controlVersions + case appStoreVersionExperimentTreatments } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { + case name + case appIcon + case appIconName + case promotedDate + case appStoreVersionExperiment + case appStoreVersionExperimentV2 + case appStoreVersionExperimentTreatmentLocalizations } public enum Include: String, Codable, CaseIterable { case app - case appStoreVersionExperimentTreatments - case controlVersions case latestControlVersion + case controlVersions + case appStoreVersionExperimentTreatments } - public init(filterState: [FilterState]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, limitControlVersions: Int? = nil, limitAppStoreVersionExperimentTreatments: Int? = nil, include: [Include]? = nil) { + public init(filterState: [FilterState]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, limit: Int? = nil, include: [Include]? = nil, limitControlVersions: Int? = nil, limitAppStoreVersionExperimentTreatments: Int? = nil) { self.filterState = filterState self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments - self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsApps = fieldsApps + self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments self.limit = limit + self.include = include self.limitControlVersions = limitControlVersions self.limitAppStoreVersionExperimentTreatments = limitAppStoreVersionExperimentTreatments - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterState, forKey: "filter[state]") encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") - encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitControlVersions, forKey: "limit[controlVersions]") encoder.encode(limitAppStoreVersionExperimentTreatments, forKey: "limit[appStoreVersionExperimentTreatments]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift index a157d727..e6d7bff0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift @@ -14,32 +14,40 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-appStoreVersions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_appStoreVersions_getToManyRelated") } public struct GetParameters { - public var filterAppStoreState: [FilterAppStoreState]? - public var filterAppVersionState: [FilterAppVersionState]? public var filterPlatform: [FilterPlatform]? public var filterVersionString: [String]? + public var filterAppStoreState: [FilterAppStoreState]? + public var filterAppVersionState: [FilterAppVersionState]? public var filterID: [String]? - public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? - public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? - public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsApps: [FieldsApps]? + public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? + public var fieldsBuilds: [FieldsBuilds]? + public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? + public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? public var fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? + public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? + public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? - public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? - public var fieldsBuilds: [FieldsBuilds]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var limit: Int? + public var include: [Include]? public var limitAppStoreVersionLocalizations: Int? public var limitAppStoreVersionExperiments: Int? public var limitAppStoreVersionExperimentsV2: Int? - public var include: [Include]? + + public enum FilterPlatform: String, Codable, CaseIterable { + case ios = "IOS" + case macOs = "MAC_OS" + case tvOs = "TV_OS" + case visionOs = "VISION_OS" + } public enum FilterAppStoreState: String, Codable, CaseIterable { case accepted = "ACCEPTED" @@ -82,275 +90,282 @@ extension APIEndpoint.V1.Apps.WithID { case waitingForReview = "WAITING_FOR_REVIEW" } - public enum FilterPlatform: String, Codable, CaseIterable { - case ios = "IOS" - case macOs = "MAC_OS" - case tvOs = "TV_OS" - case visionOs = "VISION_OS" + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + 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 FieldsAgeRatingDeclarations: String, Codable, CaseIterable { - case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests - case gambling case gamblingAndContests + case gambling case gamblingSimulated - case horrorOrFearThemes case kidsAgeBand - case matureOrSuggestiveThemes + case lootBox case medicalOrTreatmentInformation case profanityOrCrudeHumor - case seventeenPlus case sexualContentGraphicAndNudity case sexualContentOrNudity + case horrorOrFearThemes + case matureOrSuggestiveThemes case unrestrictedWebAccess case violenceCartoonOrFantasy - case violenceRealistic case violenceRealisticProlongedGraphicOrSadistic - } - - public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { - case appStoreReviewAttachments - case appStoreVersion - case contactEmail - case contactFirstName - case contactLastName - case contactPhone - case demoAccountName - case demoAccountPassword - case demoAccountRequired - case notes + case violenceRealistic + case ageRatingOverride + case koreaAgeRatingOverride + case seventeenPlus } public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion case description - case keywords case locale + case keywords case marketingURL = "marketingUrl" case promotionalText case supportURL = "supportUrl" case whatsNew + case appStoreVersion + case appScreenshotSets + case appPreviewSets } - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission case app + case buildBetaDetail case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { + case phasedReleaseState + case startDate + case totalPauseDuration + case currentDayNumber case appStoreVersion } - public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions case appStoreVersion - case versions - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString - } - - public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages - case appEncryptionDeclarations - case appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 - case appStoreVersions - case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters - case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews - case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions - case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name - case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale - case promotedPurchases - case reviewSubmissions - case sku - case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" } public enum FieldsRoutingAppCoverages: String, Codable, CaseIterable { - case appStoreVersion - case assetDeliveryState - case fileName case fileSize + case fileName case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded + case appStoreVersion + } + + public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { + case contactFirstName + case contactLastName + case contactPhone + case contactEmail + case demoAccountName + case demoAccountPassword + case demoAccountRequired + case notes + case appStoreVersion + case appStoreReviewAttachments + } + + public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + case appStoreVersion } public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { case action case appClip - case appClipAppStoreReviewDetail + case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion } - public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { - case appStoreVersion - case currentDayNumber - case phasedReleaseState + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case name + case trafficProportion + case state + case reviewRequired case startDate - case totalPauseDuration + case endDate + case started + case appStoreVersion + case appStoreVersionExperimentTreatments + case platform + case app + case latestControlVersion + case controlVersions } - public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version + case versions } public enum Include: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 + case ageRatingDeclaration case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case alternativeDistributionPackage } - public init(filterAppStoreState: [FilterAppStoreState]? = nil, filterAppVersionState: [FilterAppVersionState]? = nil, filterPlatform: [FilterPlatform]? = nil, filterVersionString: [String]? = nil, filterID: [String]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { - self.filterAppStoreState = filterAppStoreState - self.filterAppVersionState = filterAppVersionState + public init(filterPlatform: [FilterPlatform]? = nil, filterVersionString: [String]? = nil, filterAppStoreState: [FilterAppStoreState]? = nil, filterAppVersionState: [FilterAppVersionState]? = nil, filterID: [String]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil) { self.filterPlatform = filterPlatform self.filterVersionString = filterVersionString + self.filterAppStoreState = filterAppStoreState + self.filterAppVersionState = filterAppVersionState self.filterID = filterID - self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations - self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions - self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsApps = fieldsApps + self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations + self.fieldsBuilds = fieldsBuilds + self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases + self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions self.fieldsRoutingAppCoverages = fieldsRoutingAppCoverages + self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails + self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences - self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases - self.fieldsBuilds = fieldsBuilds + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages self.limit = limit + self.include = include self.limitAppStoreVersionLocalizations = limitAppStoreVersionLocalizations self.limitAppStoreVersionExperiments = limitAppStoreVersionExperiments self.limitAppStoreVersionExperimentsV2 = limitAppStoreVersionExperimentsV2 - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterAppStoreState, forKey: "filter[appStoreState]") - encoder.encode(filterAppVersionState, forKey: "filter[appVersionState]") encoder.encode(filterPlatform, forKey: "filter[platform]") encoder.encode(filterVersionString, forKey: "filter[versionString]") + encoder.encode(filterAppStoreState, forKey: "filter[appStoreState]") + encoder.encode(filterAppVersionState, forKey: "filter[appVersionState]") encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") - encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") - encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") + encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") encoder.encode(fieldsRoutingAppCoverages, forKey: "fields[routingAppCoverages]") + encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") + encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") - encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitAppStoreVersionLocalizations, forKey: "limit[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionExperiments, forKey: "limit[appStoreVersionExperiments]") encoder.encode(limitAppStoreVersionExperimentsV2, forKey: "limit[appStoreVersionExperimentsV2]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppLocalizations.swift index 870bc8fa..34728fa9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaAppLocalizations, limit), id: "apps-betaAppLocalizations-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaAppLocalizations, limit), id: "apps_betaAppLocalizations_getToManyRelated") } private func makeGetQuery(_ fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]?, _ limit: Int?) -> [(String, String?)] { @@ -25,13 +25,13 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { - case app - case description case feedbackEmail - case locale case marketingURL = "marketingUrl" case privacyPolicyURL = "privacyPolicyUrl" case tvOsPrivacyPolicy + case description + case locale + case app } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppReviewDetail.swift index 223a9f24..5b7aa6f6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaAppReviewDetail.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaAppReviewDetails), id: "apps-betaAppReviewDetail-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaAppReviewDetails), id: "apps_betaAppReviewDetail_getToOneRelated") } private func makeGetQuery(_ fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]?) -> [(String, String?)] { @@ -24,15 +24,15 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsBetaAppReviewDetails: String, Codable, CaseIterable { - case app - case contactEmail case contactFirstName case contactLastName case contactPhone + case contactEmail case demoAccountName case demoAccountPassword case demoAccountRequired case notes + case app } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaGroups.swift index 7c9b23c0..e82702e0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaGroups.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsBetaGroups: [FieldsBetaGroups]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaGroups, limit), id: "apps-betaGroups-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaGroups, limit), id: "apps_betaGroups_getToManyRelated") } private func makeGetQuery(_ fieldsBetaGroups: [FieldsBetaGroups]?, _ limit: Int?) -> [(String, String?)] { @@ -25,20 +25,20 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsBetaGroups: String, Codable, CaseIterable { - case app - case betaTesters - case builds + case name case createdDate - case feedbackEnabled - case hasAccessToAllBuilds - case iosBuildsAvailableForAppleSiliconMac case isInternalGroup - case name - case publicLink + case hasAccessToAllBuilds case publicLinkEnabled case publicLinkID = "publicLinkId" - case publicLinkLimit case publicLinkLimitEnabled + case publicLinkLimit + case publicLink + case feedbackEnabled + case iosBuildsAvailableForAppleSiliconMac + case app + case builds + case betaTesters } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaLicenseAgreement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaLicenseAgreement.swift index 1eca060d..56603657 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaLicenseAgreement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBetaLicenseAgreement.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaLicenseAgreements), id: "apps-betaLicenseAgreement-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaLicenseAgreements), id: "apps_betaLicenseAgreement_getToOneRelated") } private func makeGetQuery(_ fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBuilds.swift index e374eea7..9ca51b5a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDBuilds.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "apps-builds-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "apps_builds_getToManyRelated") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?, _ limit: Int?) -> [(String, String?)] { @@ -25,30 +25,30 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift index 2b38026c..7a48b644 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift @@ -14,95 +14,97 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-ciProduct-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_ciProduct_getToOneRelated") } public struct GetParameters { public var fieldsCiProducts: [FieldsCiProducts]? public var fieldsApps: [FieldsApps]? - public var fieldsScmRepositories: [FieldsScmRepositories]? public var fieldsBundleIDs: [FieldsBundleIDs]? - public var limitPrimaryRepositories: Int? + public var fieldsScmRepositories: [FieldsScmRepositories]? public var include: [Include]? + public var limitPrimaryRepositories: Int? public enum FieldsCiProducts: String, Codable, CaseIterable { - case additionalRepositories - case app - case buildRuns - case bundleID = "bundleId" - case createdDate case name - case primaryRepositories + case createdDate case productType + case app + case bundleID = "bundleId" case workflows + case primaryRepositories + case additionalRepositories + case buildRuns } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum FieldsBundleIDs: String, Codable, CaseIterable { + case name + case platform + case identifier + case seedID = "seedId" + case profiles + case bundleIDCapabilities = "bundleIdCapabilities" + case app } public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" case ownerName - case pullRequests case repositoryName case scmProvider - case sshCloneURL = "sshCloneUrl" - } - - public enum FieldsBundleIDs: String, Codable, CaseIterable { - case app - case bundleIDCapabilities = "bundleIdCapabilities" - case identifier - case name - case platform - case profiles - case seedID = "seedId" + case defaultBranch + case gitReferences + case pullRequests } public enum Include: String, Codable, CaseIterable { @@ -111,23 +113,23 @@ extension APIEndpoint.V1.Apps.WithID { case primaryRepositories } - public init(fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, fieldsBundleIDs: [FieldsBundleIDs]? = nil, limitPrimaryRepositories: Int? = nil, include: [Include]? = nil) { + public init(fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBundleIDs: [FieldsBundleIDs]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, include: [Include]? = nil, limitPrimaryRepositories: Int? = nil) { self.fieldsCiProducts = fieldsCiProducts self.fieldsApps = fieldsApps - self.fieldsScmRepositories = fieldsScmRepositories self.fieldsBundleIDs = fieldsBundleIDs - self.limitPrimaryRepositories = limitPrimaryRepositories + self.fieldsScmRepositories = fieldsScmRepositories self.include = include + self.limitPrimaryRepositories = limitPrimaryRepositories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") encoder.encode(fieldsBundleIDs, forKey: "fields[bundleIds]") - encoder.encode(limitPrimaryRepositories, forKey: "limit[primaryRepositories]") + encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") encoder.encode(include, forKey: "include") + encoder.encode(limitPrimaryRepositories, forKey: "limit[primaryRepositories]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift index 3c51e600..51278dea 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCustomerReviews.swift @@ -14,12 +14,12 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-customerReviews-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_customerReviews_getToManyRelated") } public struct GetParameters { - public var filterRating: [String]? public var filterTerritory: [FilterTerritory]? + public var filterRating: [String]? public var isExistsPublishedResponse: Bool? public var sort: [Sort]? public var fieldsCustomerReviews: [FieldsCustomerReviews]? @@ -263,36 +263,36 @@ extension APIEndpoint.V1.Apps.WithID { } public enum Sort: String, Codable, CaseIterable { - case createdDate - case minuscreatedDate = "-createdDate" case rating case minusrating = "-rating" + case createdDate + case minuscreatedDate = "-createdDate" } public enum FieldsCustomerReviews: String, Codable, CaseIterable { - case body - case createdDate case rating - case response + case title + case body case reviewerNickname + case createdDate case territory - case title + case response } public enum FieldsCustomerReviewResponses: String, Codable, CaseIterable { - case lastModifiedDate case responseBody - case review + case lastModifiedDate case state + case review } public enum Include: String, Codable, CaseIterable { case response } - public init(filterRating: [String]? = nil, filterTerritory: [FilterTerritory]? = nil, isExistsPublishedResponse: Bool? = nil, sort: [Sort]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.filterRating = filterRating + public init(filterTerritory: [FilterTerritory]? = nil, filterRating: [String]? = nil, isExistsPublishedResponse: Bool? = nil, sort: [Sort]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterTerritory = filterTerritory + self.filterRating = filterRating self.isExistsPublishedResponse = isExistsPublishedResponse self.sort = sort self.fieldsCustomerReviews = fieldsCustomerReviews @@ -303,8 +303,8 @@ extension APIEndpoint.V1.Apps.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterRating, forKey: "filter[rating]") encoder.encode(filterTerritory, forKey: "filter[territory]") + encoder.encode(filterRating, forKey: "filter[rating]") encoder.encode(isExistsPublishedResponse, forKey: "exists[publishedResponse]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsCustomerReviews, forKey: "fields[customerReviews]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDEndUserLicenseAgreement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDEndUserLicenseAgreement.swift index a966c01e..4063a602 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDEndUserLicenseAgreement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDEndUserLicenseAgreement.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsEndUserLicenseAgreements), id: "apps-endUserLicenseAgreement-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsEndUserLicenseAgreements), id: "apps_endUserLicenseAgreement_getToOneRelated") } private func makeGetQuery(_ fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift index e6a5acc2..fe877920 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift @@ -14,20 +14,21 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-gameCenterDetail-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_gameCenterDetail_getToOneRelated") } public struct GetParameters { - public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? - public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? - public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsApps: [FieldsApps]? public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? - public var fieldsApps: [FieldsApps]? + public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? + public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? + public var include: [Include]? public var limitGameCenterAppVersions: Int? public var limitGameCenterLeaderboards: Int? public var limitGameCenterLeaderboardSets: Int? @@ -35,172 +36,174 @@ extension APIEndpoint.V1.Apps.WithID { public var limitAchievementReleases: Int? public var limitLeaderboardReleases: Int? public var limitLeaderboardSetReleases: Int? - public var include: [Include]? - public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail - case live + public enum FieldsGameCenterDetails: String, Codable, CaseIterable { + case arcadeEnabled + case challengeEnabled + case app + case gameCenterAppVersions + case gameCenterGroup + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases + case leaderboardReleases + case leaderboardSetReleases } - public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { + 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 gameCenterLeaderboardSet - case live + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet - case localizations - case referenceName - case releases - case vendorIdentifier + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions + case appStoreVersion } public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements + case referenceName case gameCenterDetails - case gameCenterLeaderboardSets case gameCenterLeaderboards - case referenceName - } - - public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app - case arcadeEnabled - case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements - case gameCenterAppVersions - case gameCenterGroup case gameCenterLeaderboardSets - case gameCenterLeaderboards - case leaderboardReleases - case leaderboardSetReleases + case gameCenterAchievements } public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier } - public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { - case appStoreVersion - case compatibilityVersions - case enabled + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case gameCenterDetail + case gameCenterGroup + case groupLeaderboardSet + case localizations + case gameCenterLeaderboards + case releases } public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable case archived case gameCenterDetail case gameCenterGroup case groupAchievement case localizations - case points - case referenceName case releases - case repeatable - case showBeforeEarned - case vendorIdentifier } - public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages - case appEncryptionDeclarations - case appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 - case appStoreVersions - case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters - case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews - case endUserLicenseAgreement + public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { + case live case gameCenterDetail - case gameCenterEnabledVersions - case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name - case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale - case promotedPurchases - case reviewSubmissions - case sku - case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case gameCenterAchievement } public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboard + } + + public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { case live + case gameCenterDetail + case gameCenterLeaderboardSet } public enum Include: String, Codable, CaseIterable { - case achievementReleases case app - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } - public init(fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limitGameCenterAppVersions: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterAchievements: Int? = nil, limitAchievementReleases: Int? = nil, limitLeaderboardReleases: Int? = nil, limitLeaderboardSetReleases: Int? = nil, include: [Include]? = nil) { - self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases - self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups + public init(fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, include: [Include]? = nil, limitGameCenterAppVersions: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterAchievements: Int? = nil, limitAchievementReleases: Int? = nil, limitLeaderboardReleases: Int? = nil, limitLeaderboardSetReleases: Int? = nil) { self.fieldsGameCenterDetails = fieldsGameCenterDetails - self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsApps = fieldsApps self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterAchievements = fieldsGameCenterAchievements - self.fieldsApps = fieldsApps + self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases + self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases + self.include = include self.limitGameCenterAppVersions = limitGameCenterAppVersions self.limitGameCenterLeaderboards = limitGameCenterLeaderboards self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets @@ -208,21 +211,21 @@ extension APIEndpoint.V1.Apps.WithID { self.limitAchievementReleases = limitAchievementReleases self.limitLeaderboardReleases = limitLeaderboardReleases self.limitLeaderboardSetReleases = limitLeaderboardSetReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") - encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") - encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") - encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") + encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterAppVersions, forKey: "limit[gameCenterAppVersions]") encoder.encode(limitGameCenterLeaderboards, forKey: "limit[gameCenterLeaderboards]") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") @@ -230,7 +233,6 @@ extension APIEndpoint.V1.Apps.WithID { encoder.encode(limitAchievementReleases, forKey: "limit[achievementReleases]") encoder.encode(limitLeaderboardReleases, forKey: "limit[leaderboardReleases]") encoder.encode(limitLeaderboardSetReleases, forKey: "limit[leaderboardSetReleases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift index 8eda339e..fa5797b5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.Apps.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-gameCenterEnabledVersions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_gameCenterEnabledVersions_getToManyRelated") } public struct GetParameters { @@ -26,8 +26,8 @@ extension APIEndpoint.V1.Apps.WithID { public var fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? public var fieldsApps: [FieldsApps]? public var limit: Int? - public var limitCompatibleVersions: Int? public var include: [Include]? + public var limitCompatibleVersions: Int? public enum FilterPlatform: String, Codable, CaseIterable { case ios = "IOS" @@ -42,65 +42,67 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsGameCenterEnabledVersions: String, Codable, CaseIterable { - case app - case compatibleVersions - case iconAsset case platform case versionString + case iconAsset + case compatibleVersions + case app } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum Include: String, Codable, CaseIterable { - case app case compatibleVersions + case app } - public init(filterPlatform: [FilterPlatform]? = nil, filterVersionString: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, limitCompatibleVersions: Int? = nil, include: [Include]? = nil) { + public init(filterPlatform: [FilterPlatform]? = nil, filterVersionString: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil, limitCompatibleVersions: Int? = nil) { self.filterPlatform = filterPlatform self.filterVersionString = filterVersionString self.filterID = filterID @@ -108,8 +110,8 @@ extension APIEndpoint.V1.Apps.WithID { self.fieldsGameCenterEnabledVersions = fieldsGameCenterEnabledVersions self.fieldsApps = fieldsApps self.limit = limit - self.limitCompatibleVersions = limitCompatibleVersions self.include = include + self.limitCompatibleVersions = limitCompatibleVersions } public var asQuery: [(String, String?)] { @@ -121,8 +123,8 @@ extension APIEndpoint.V1.Apps.WithID { encoder.encode(fieldsGameCenterEnabledVersions, forKey: "fields[gameCenterEnabledVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitCompatibleVersions, forKey: "limit[compatibleVersions]") encoder.encode(include, forKey: "include") + encoder.encode(limitCompatibleVersions, forKey: "limit[compatibleVersions]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift index 10b0875f..68eb2211 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.Apps.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-inAppPurchases-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_inAppPurchases_getToManyRelated") } public struct GetParameters { @@ -25,8 +25,8 @@ extension APIEndpoint.V1.Apps.WithID { public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var fieldsApps: [FieldsApps]? public var limit: Int? - public var limitApps: Int? public var include: [Include]? + public var limitApps: Int? public enum FilterInAppPurchaseType: String, Codable, CaseIterable { case automaticallyRenewableSubscription = "AUTOMATICALLY_RENEWABLE_SUBSCRIPTION" @@ -37,81 +37,83 @@ extension APIEndpoint.V1.Apps.WithID { } public enum Sort: String, Codable, CaseIterable { - case inAppPurchaseType - case minusinAppPurchaseType = "-inAppPurchaseType" - case productID = "productId" - case minusproductID = "-productId" case referenceName case minusreferenceName = "-referenceName" + case productID = "productId" + case minusproductID = "-productId" + case inAppPurchaseType + case minusinAppPurchaseType = "-inAppPurchaseType" } public enum FieldsInAppPurchases: String, Codable, CaseIterable { - case apps - case inAppPurchaseType - case productID = "productId" case referenceName + case productID = "productId" + case inAppPurchaseType case state + case apps } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum Include: String, Codable, CaseIterable { case apps } - public init(filterInAppPurchaseType: [FilterInAppPurchaseType]? = nil, filterCanBeSubmitted: [String]? = nil, sort: [Sort]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, limitApps: Int? = nil, include: [Include]? = nil) { + public init(filterInAppPurchaseType: [FilterInAppPurchaseType]? = nil, filterCanBeSubmitted: [String]? = nil, sort: [Sort]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil, limitApps: Int? = nil) { self.filterInAppPurchaseType = filterInAppPurchaseType self.filterCanBeSubmitted = filterCanBeSubmitted self.sort = sort self.fieldsInAppPurchases = fieldsInAppPurchases self.fieldsApps = fieldsApps self.limit = limit - self.limitApps = limitApps self.include = include + self.limitApps = limitApps } public var asQuery: [(String, String?)] { @@ -122,8 +124,8 @@ extension APIEndpoint.V1.Apps.WithID { encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitApps, forKey: "limit[apps]") encoder.encode(include, forKey: "include") + encoder.encode(limitApps, forKey: "limit[apps]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift index 20852619..63d675fd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift @@ -14,31 +14,27 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-inAppPurchasesV2-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_inAppPurchasesV2_getToManyRelated") } public struct GetParameters { - public var filterInAppPurchaseType: [FilterInAppPurchaseType]? - public var filterName: [String]? public var filterProductID: [String]? + public var filterName: [String]? public var filterState: [FilterState]? + public var filterInAppPurchaseType: [FilterInAppPurchaseType]? public var sort: [Sort]? + public var fieldsInAppPurchases: [FieldsInAppPurchases]? + public var fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]? + public var fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? public var fieldsInAppPurchaseAppStoreReviewScreenshots: [FieldsInAppPurchaseAppStoreReviewScreenshots]? - public var fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]? - public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? - public var fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? + public var fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? + public var fieldsInAppPurchaseImages: [FieldsInAppPurchaseImages]? public var limit: Int? - public var limitInAppPurchaseLocalizations: Int? public var include: [Include]? - - public enum FilterInAppPurchaseType: String, Codable, CaseIterable { - case consumable = "CONSUMABLE" - case nonConsumable = "NON_CONSUMABLE" - case nonRenewingSubscription = "NON_RENEWING_SUBSCRIPTION" - } + public var limitInAppPurchaseLocalizations: Int? + public var limitImages: Int? public enum FilterState: String, Codable, CaseIterable { case missingMetadata = "MISSING_METADATA" @@ -55,126 +51,151 @@ extension APIEndpoint.V1.Apps.WithID { case rejected = "REJECTED" } + public enum FilterInAppPurchaseType: String, Codable, CaseIterable { + case consumable = "CONSUMABLE" + case nonConsumable = "NON_CONSUMABLE" + case nonRenewingSubscription = "NON_RENEWING_SUBSCRIPTION" + } + public enum Sort: String, Codable, CaseIterable { + case name + case minusname = "-name" case inAppPurchaseType case minusinAppPurchaseType = "-inAppPurchaseType" + } + + public enum FieldsInAppPurchases: String, Codable, CaseIterable { case name - case minusname = "-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 FieldsInAppPurchaseAppStoreReviewScreenshots: String, Codable, CaseIterable { - case assetDeliveryState - case assetToken - case assetType + public enum FieldsInAppPurchaseLocalizations: String, Codable, CaseIterable { + case name + case locale + case description + case state + case inAppPurchaseV2 + } + + public enum FieldsInAppPurchaseContents: String, Codable, CaseIterable { case fileName case fileSize - case imageAsset + case url + case lastModifiedDate case inAppPurchaseV2 + } + + public enum FieldsInAppPurchaseAppStoreReviewScreenshots: String, Codable, CaseIterable { + case fileSize + case fileName case sourceFileChecksum + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded - } - - public enum FieldsInAppPurchaseAvailabilities: String, Codable, CaseIterable { - case availableInNewTerritories - case availableTerritories - case inAppPurchase + case inAppPurchaseV2 } public enum FieldsPromotedPurchases: String, Codable, CaseIterable { - case app - case enabled - case inAppPurchaseV2 - case promotionImages - case state - case subscription case visibleForAllUsers - } - - public enum FieldsInAppPurchaseLocalizations: String, Codable, CaseIterable { - case description - case inAppPurchaseV2 - case locale - case name + case enabled case state - } - - public enum FieldsInAppPurchases: String, Codable, CaseIterable { case app - case appStoreReviewScreenshot - case content - case contentHosting - case familySharable - case iapPriceSchedule - case inAppPurchaseAvailability - case inAppPurchaseLocalizations - case inAppPurchaseType - case name - case productID = "productId" - case promotedPurchase - case reviewNote - case state + case inAppPurchaseV2 + case subscription + case promotionImages } public enum FieldsInAppPurchasePriceSchedules: String, Codable, CaseIterable { - case automaticPrices - case baseTerritory case inAppPurchase + case baseTerritory case manualPrices + case automaticPrices } - public enum FieldsInAppPurchaseContents: String, Codable, CaseIterable { - case fileName + public enum FieldsInAppPurchaseAvailabilities: String, Codable, CaseIterable { + case availableInNewTerritories + case inAppPurchase + case availableTerritories + } + + public enum FieldsInAppPurchaseImages: String, Codable, CaseIterable { case fileSize - case inAppPurchaseV2 - case lastModifiedDate - case url + case fileName + case sourceFileChecksum + case assetToken + case imageAsset + case uploadOperations + case uploaded + case state + case inAppPurchase } public enum Include: String, Codable, CaseIterable { - case appStoreReviewScreenshot + case inAppPurchaseLocalizations case content + case appStoreReviewScreenshot + case promotedPurchase case iapPriceSchedule case inAppPurchaseAvailability - case inAppPurchaseLocalizations - case promotedPurchase + case images } - public init(filterInAppPurchaseType: [FilterInAppPurchaseType]? = nil, filterName: [String]? = nil, filterProductID: [String]? = nil, filterState: [FilterState]? = nil, sort: [Sort]? = nil, fieldsInAppPurchaseAppStoreReviewScreenshots: [FieldsInAppPurchaseAppStoreReviewScreenshots]? = nil, fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? = nil, fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? = nil, limit: Int? = nil, limitInAppPurchaseLocalizations: Int? = nil, include: [Include]? = nil) { - self.filterInAppPurchaseType = filterInAppPurchaseType - self.filterName = filterName + public init(filterProductID: [String]? = nil, filterName: [String]? = nil, filterState: [FilterState]? = nil, filterInAppPurchaseType: [FilterInAppPurchaseType]? = nil, sort: [Sort]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]? = nil, fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? = nil, fieldsInAppPurchaseAppStoreReviewScreenshots: [FieldsInAppPurchaseAppStoreReviewScreenshots]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? = nil, fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? = nil, fieldsInAppPurchaseImages: [FieldsInAppPurchaseImages]? = nil, limit: Int? = nil, include: [Include]? = nil, limitInAppPurchaseLocalizations: Int? = nil, limitImages: Int? = nil) { self.filterProductID = filterProductID + self.filterName = filterName self.filterState = filterState + self.filterInAppPurchaseType = filterInAppPurchaseType self.sort = sort + self.fieldsInAppPurchases = fieldsInAppPurchases + self.fieldsInAppPurchaseLocalizations = fieldsInAppPurchaseLocalizations + self.fieldsInAppPurchaseContents = fieldsInAppPurchaseContents self.fieldsInAppPurchaseAppStoreReviewScreenshots = fieldsInAppPurchaseAppStoreReviewScreenshots - self.fieldsInAppPurchaseAvailabilities = fieldsInAppPurchaseAvailabilities self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.fieldsInAppPurchaseLocalizations = fieldsInAppPurchaseLocalizations - self.fieldsInAppPurchases = fieldsInAppPurchases self.fieldsInAppPurchasePriceSchedules = fieldsInAppPurchasePriceSchedules - self.fieldsInAppPurchaseContents = fieldsInAppPurchaseContents + self.fieldsInAppPurchaseAvailabilities = fieldsInAppPurchaseAvailabilities + self.fieldsInAppPurchaseImages = fieldsInAppPurchaseImages self.limit = limit - self.limitInAppPurchaseLocalizations = limitInAppPurchaseLocalizations self.include = include + self.limitInAppPurchaseLocalizations = limitInAppPurchaseLocalizations + self.limitImages = limitImages } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterInAppPurchaseType, forKey: "filter[inAppPurchaseType]") - encoder.encode(filterName, forKey: "filter[name]") encoder.encode(filterProductID, forKey: "filter[productId]") + encoder.encode(filterName, forKey: "filter[name]") encoder.encode(filterState, forKey: "filter[state]") + encoder.encode(filterInAppPurchaseType, forKey: "filter[inAppPurchaseType]") encoder.encode(sort, forKey: "sort") + encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") + encoder.encode(fieldsInAppPurchaseLocalizations, forKey: "fields[inAppPurchaseLocalizations]") + encoder.encode(fieldsInAppPurchaseContents, forKey: "fields[inAppPurchaseContents]") encoder.encode(fieldsInAppPurchaseAppStoreReviewScreenshots, forKey: "fields[inAppPurchaseAppStoreReviewScreenshots]") - encoder.encode(fieldsInAppPurchaseAvailabilities, forKey: "fields[inAppPurchaseAvailabilities]") encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(fieldsInAppPurchaseLocalizations, forKey: "fields[inAppPurchaseLocalizations]") - encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") encoder.encode(fieldsInAppPurchasePriceSchedules, forKey: "fields[inAppPurchasePriceSchedules]") - encoder.encode(fieldsInAppPurchaseContents, forKey: "fields[inAppPurchaseContents]") + encoder.encode(fieldsInAppPurchaseAvailabilities, forKey: "fields[inAppPurchaseAvailabilities]") + encoder.encode(fieldsInAppPurchaseImages, forKey: "fields[inAppPurchaseImages]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitInAppPurchaseLocalizations, forKey: "limit[inAppPurchaseLocalizations]") encoder.encode(include, forKey: "include") + encoder.encode(limitInAppPurchaseLocalizations, forKey: "limit[inAppPurchaseLocalizations]") + encoder.encode(limitImages, forKey: "limit[images]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift index 2794d29b..4cafce8d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceSearchDetails), id: "apps-marketplaceSearchDetail-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceSearchDetails), id: "apps_marketplaceSearchDetail_getToOneRelated") } private func makeGetQuery(_ fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]?) -> [(String, String?)] { @@ -24,8 +24,8 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsMarketplaceSearchDetails: String, Codable, CaseIterable { - case app case catalogURL = "catalogUrl" + case app } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift index 697de74f..e4979069 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift @@ -14,18 +14,14 @@ extension APIEndpoint.V1.Apps.WithID.Metrics { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-betaTesterUsages-get_metrics") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_betaTesterUsages_getMetrics") } public struct GetParameters { - public var limit: Int? + public var period: Period? public var groupBy: [GroupBy]? public var filterBetaTesters: String? - public var period: Period? - - public enum GroupBy: String, Codable, CaseIterable { - case betaTesters - } + public var limit: Int? public enum Period: String, Codable, CaseIterable { case p7d = "P7D" @@ -34,19 +30,23 @@ extension APIEndpoint.V1.Apps.WithID.Metrics { case p365d = "P365D" } - public init(limit: Int? = nil, groupBy: [GroupBy]? = nil, filterBetaTesters: String? = nil, period: Period? = nil) { - self.limit = limit + public enum GroupBy: String, Codable, CaseIterable { + case betaTesters + } + + public init(period: Period? = nil, groupBy: [GroupBy]? = nil, filterBetaTesters: String? = nil, limit: Int? = nil) { + self.period = period self.groupBy = groupBy self.filterBetaTesters = filterBetaTesters - self.period = period + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") + encoder.encode(period, forKey: "period") encoder.encode(groupBy, forKey: "groupBy") encoder.encode(filterBetaTesters, forKey: "filter[betaTesters]") - encoder.encode(period, forKey: "period") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift index 1b99f94e..258e8052 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPerfPowerMetrics.swift @@ -14,13 +14,17 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-perfPowerMetrics-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_perfPowerMetrics_getToManyRelated") } public struct GetParameters { - public var filterDeviceType: [String]? - public var filterMetricType: [FilterMetricType]? public var filterPlatform: [FilterPlatform]? + public var filterMetricType: [FilterMetricType]? + public var filterDeviceType: [String]? + + public enum FilterPlatform: String, Codable, CaseIterable { + case ios = "IOS" + } public enum FilterMetricType: String, Codable, CaseIterable { case disk = "DISK" @@ -32,21 +36,17 @@ extension APIEndpoint.V1.Apps.WithID { case termination = "TERMINATION" } - public enum FilterPlatform: String, Codable, CaseIterable { - case ios = "IOS" - } - - public init(filterDeviceType: [String]? = nil, filterMetricType: [FilterMetricType]? = nil, filterPlatform: [FilterPlatform]? = nil) { - self.filterDeviceType = filterDeviceType - self.filterMetricType = filterMetricType + public init(filterPlatform: [FilterPlatform]? = nil, filterMetricType: [FilterMetricType]? = nil, filterDeviceType: [String]? = nil) { self.filterPlatform = filterPlatform + self.filterMetricType = filterMetricType + self.filterDeviceType = filterDeviceType } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterDeviceType, forKey: "filter[deviceType]") - encoder.encode(filterMetricType, forKey: "filter[metricType]") encoder.encode(filterPlatform, forKey: "filter[platform]") + encoder.encode(filterMetricType, forKey: "filter[metricType]") + encoder.encode(filterDeviceType, forKey: "filter[deviceType]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift index b03b434c..406c5c42 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreOrder.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.Apps.WithID { @available(*, deprecated, message: "Deprecated") public func get(fieldsAppPreOrders: [FieldsAppPreOrders]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPreOrders), id: "apps-preOrder-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPreOrders), id: "apps_preOrder_getToOneRelated") } private func makeGetQuery(_ fieldsAppPreOrders: [FieldsAppPreOrders]?) -> [(String, String?)] { @@ -25,9 +25,9 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsAppPreOrders: String, Codable, CaseIterable { - case app - case appReleaseDate case preOrderAvailableDate + case appReleaseDate + case app } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreReleaseVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreReleaseVersions.swift index eb75a891..fff7cfdc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreReleaseVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPreReleaseVersions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsPreReleaseVersions, limit), id: "apps-preReleaseVersions-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsPreReleaseVersions, limit), id: "apps_preReleaseVersions_getToManyRelated") } private func makeGetQuery(_ fieldsPreReleaseVersions: [FieldsPreReleaseVersions]?, _ limit: Int?) -> [(String, String?)] { @@ -25,10 +25,10 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { - case app - case builds - case platform case version + case platform + case builds + case app } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift index 43ec0a9a..fc25b0d5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift @@ -14,104 +14,107 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-promotedPurchases-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_promotedPurchases_getToManyRelated") } public struct GetParameters { public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsInAppPurchases: [FieldsInAppPurchases]? + public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? public var limit: Int? - public var limitPromotionImages: Int? public var include: [Include]? + public var limitPromotionImages: Int? public enum FieldsPromotedPurchases: String, Codable, CaseIterable { - case app + case visibleForAllUsers case enabled - case inAppPurchaseV2 - case promotionImages case state + case app + case inAppPurchaseV2 case subscription - case visibleForAllUsers + case promotionImages } - public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot - case familySharable - case group - case groupLevel - case introductoryOffers + public enum FieldsInAppPurchases: String, Codable, CaseIterable { case name - case offerCodes - case pricePoints - case prices case productID = "productId" - case promotedPurchase - case promotionalOffers - case reviewNote + case inAppPurchaseType case state - case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod - } - - public enum FieldsInAppPurchases: String, Codable, CaseIterable { + case reviewNote + case familySharable + case contentHosting case app - case appStoreReviewScreenshot + case inAppPurchaseLocalizations + case pricePoints case content - case contentHosting - case familySharable + case appStoreReviewScreenshot + case promotedPurchase case iapPriceSchedule case inAppPurchaseAvailability - case inAppPurchaseLocalizations - case inAppPurchaseType + case images + } + + public enum FieldsSubscriptions: String, Codable, CaseIterable { case name - case pricePoints case productID = "productId" - case promotedPurchase - case reviewNote + 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 FieldsPromotedPurchaseImages: String, Codable, CaseIterable { - case assetToken - case assetType - case fileName case fileSize - case imageAsset - case promotedPurchase + case fileName case sourceFileChecksum - case state + case assetToken + case imageAsset + case assetType case uploadOperations case uploaded + case state + case promotedPurchase } public enum Include: String, Codable, CaseIterable { case inAppPurchaseV2 - case promotionImages case subscription + case promotionImages } - public init(fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, limit: Int? = nil, limitPromotionImages: Int? = nil, include: [Include]? = nil) { + public init(fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, limit: Int? = nil, include: [Include]? = nil, limitPromotionImages: Int? = nil) { self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.fieldsSubscriptions = fieldsSubscriptions self.fieldsInAppPurchases = fieldsInAppPurchases + self.fieldsSubscriptions = fieldsSubscriptions self.fieldsPromotedPurchaseImages = fieldsPromotedPurchaseImages self.limit = limit - self.limitPromotionImages = limitPromotionImages self.include = include + self.limitPromotionImages = limitPromotionImages } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") + encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsPromotedPurchaseImages, forKey: "fields[promotedPurchaseImages]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitPromotionImages, forKey: "limit[promotionImages]") encoder.encode(include, forKey: "include") + encoder.encode(limitPromotionImages, forKey: "limit[promotionImages]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaTesters.swift index 2ade60be..b93e3474 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaTesters.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID.Relationships { public let path: String public func delete(_ body: AppStoreConnect_Swift_SDK.AppBetaTestersLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "apps-betaTesters-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "apps_betaTesters_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPromotedPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPromotedPurchases.swift index 3ff0ac75..8328c8a3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPromotedPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsPromotedPurchases.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "apps-promotedPurchases-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "apps_promotedPurchases_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.Apps.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppPromotedPurchasesLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "apps-promotedPurchases-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "apps_promotedPurchases_replaceToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift index e46d2223..b15d6ad4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift @@ -14,20 +14,20 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-reviewSubmissions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_reviewSubmissions_getToManyRelated") } public struct GetParameters { public var filterPlatform: [FilterPlatform]? public var filterState: [FilterState]? + public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? + public var fieldsApps: [FieldsApps]? public var fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? - public var fieldsActors: [FieldsActors]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? - public var fieldsApps: [FieldsApps]? - public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? + public var fieldsActors: [FieldsActors]? public var limit: Int? - public var limitItems: Int? public var include: [Include]? + public var limitItems: Int? public enum FilterPlatform: String, Codable, CaseIterable { case ios = "IOS" @@ -46,144 +46,147 @@ extension APIEndpoint.V1.Apps.WithID { case complete = "COMPLETE" } - public enum FieldsReviewSubmissionItems: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appEvent - case appStoreVersion - case appStoreVersionExperiment - case appStoreVersionExperimentV2 - case removed - case resolved - case reviewSubmission + public enum FieldsReviewSubmissions: String, Codable, CaseIterable { + case platform + case submittedDate case state - } - - public enum FieldsActors: String, Codable, CaseIterable { - case actorType - case apiKeyID = "apiKeyId" - case userEmail - case userFirstName - case userLastName - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage + case submitted + case canceled case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString + case items + case appStoreVersionForReview + case submittedByActor + case lastUpdatedByActor } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsReviewSubmissions: String, Codable, CaseIterable { - case app - case appStoreVersionForReview - case canceled - case items - case lastUpdatedByActor - case platform + public enum FieldsReviewSubmissionItems: String, Codable, CaseIterable { case state - case submitted - case submittedByActor - case submittedDate + case resolved + case removed + case reviewSubmission + case appStoreVersion + case appCustomProductPageVersion + case appStoreVersionExperiment + case appStoreVersionExperimentV2 + case appEvent + } + + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + public enum FieldsActors: String, Codable, CaseIterable { + case actorType + case userFirstName + case userLastName + case userEmail + case apiKeyID = "apiKeyId" } public enum Include: String, Codable, CaseIterable { case app - case appStoreVersionForReview case items - case lastUpdatedByActor + case appStoreVersionForReview case submittedByActor + case lastUpdatedByActor } - public init(filterPlatform: [FilterPlatform]? = nil, filterState: [FilterState]? = nil, fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? = nil, fieldsActors: [FieldsActors]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, limit: Int? = nil, limitItems: Int? = nil, include: [Include]? = nil) { + public init(filterPlatform: [FilterPlatform]? = nil, filterState: [FilterState]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsActors: [FieldsActors]? = nil, limit: Int? = nil, include: [Include]? = nil, limitItems: Int? = nil) { self.filterPlatform = filterPlatform self.filterState = filterState + self.fieldsReviewSubmissions = fieldsReviewSubmissions + self.fieldsApps = fieldsApps self.fieldsReviewSubmissionItems = fieldsReviewSubmissionItems - self.fieldsActors = fieldsActors self.fieldsAppStoreVersions = fieldsAppStoreVersions - self.fieldsApps = fieldsApps - self.fieldsReviewSubmissions = fieldsReviewSubmissions + self.fieldsActors = fieldsActors self.limit = limit - self.limitItems = limitItems self.include = include + self.limitItems = limitItems } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterPlatform, forKey: "filter[platform]") encoder.encode(filterState, forKey: "filter[state]") + encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") + encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsReviewSubmissionItems, forKey: "fields[reviewSubmissionItems]") - encoder.encode(fieldsActors, forKey: "fields[actors]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") - encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") + encoder.encode(fieldsActors, forKey: "fields[actors]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitItems, forKey: "limit[items]") encoder.encode(include, forKey: "include") + encoder.encode(limitItems, forKey: "limit[items]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGracePeriod.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGracePeriod.swift index 8d993a96..4d8c71a0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGracePeriod.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGracePeriod.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionGracePeriods), id: "apps-subscriptionGracePeriod-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionGracePeriods), id: "apps_subscriptionGracePeriod_getToOneRelated") } private func makeGetQuery(_ fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]?) -> [(String, String?)] { @@ -24,10 +24,10 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsSubscriptionGracePeriods: String, Codable, CaseIterable { - case duration case optIn - case renewalType case sandboxOptIn + case duration + case renewalType } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift index adc17e66..60d0de96 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift @@ -14,20 +14,20 @@ extension APIEndpoint.V1.Apps.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps-subscriptionGroups-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "apps_subscriptionGroups_getToManyRelated") } public struct GetParameters { public var filterReferenceName: [String]? public var filterSubscriptionsState: [FilterSubscriptionsState]? public var sort: [Sort]? - public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? + public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? public var limit: Int? + public var include: [Include]? public var limitSubscriptions: Int? public var limitSubscriptionGroupLocalizations: Int? - public var include: [Include]? public enum FilterSubscriptionsState: String, Codable, CaseIterable { case missingMetadata = "MISSING_METADATA" @@ -47,57 +47,59 @@ extension APIEndpoint.V1.Apps.WithID { case minusreferenceName = "-referenceName" } + public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { + case referenceName + case app + case subscriptions + case subscriptionGroupLocalizations + } + public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot + case name + case productID = "productId" case familySharable - case group + case state + case subscriptionPeriod + case reviewNote case groupLevel + case subscriptionLocalizations + case appStoreReviewScreenshot + case group case introductoryOffers - case name + case promotionalOffers case offerCodes - case pricePoints case prices - case productID = "productId" + case pricePoints case promotedPurchase - case promotionalOffers - case reviewNote - case state case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod - } - - public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { - case app - case referenceName - case subscriptionGroupLocalizations - case subscriptions + case winBackOffers + case images } public enum FieldsSubscriptionGroupLocalizations: String, Codable, CaseIterable { + case name case customAppName case locale - case name case state case subscriptionGroup } public enum Include: String, Codable, CaseIterable { - case subscriptionGroupLocalizations case subscriptions + case subscriptionGroupLocalizations } - public init(filterReferenceName: [String]? = nil, filterSubscriptionsState: [FilterSubscriptionsState]? = nil, sort: [Sort]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? = nil, limit: Int? = nil, limitSubscriptions: Int? = nil, limitSubscriptionGroupLocalizations: Int? = nil, include: [Include]? = nil) { + public init(filterReferenceName: [String]? = nil, filterSubscriptionsState: [FilterSubscriptionsState]? = nil, sort: [Sort]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil, limitSubscriptions: Int? = nil, limitSubscriptionGroupLocalizations: Int? = nil) { self.filterReferenceName = filterReferenceName self.filterSubscriptionsState = filterSubscriptionsState self.sort = sort - self.fieldsSubscriptions = fieldsSubscriptions self.fieldsSubscriptionGroups = fieldsSubscriptionGroups + self.fieldsSubscriptions = fieldsSubscriptions self.fieldsSubscriptionGroupLocalizations = fieldsSubscriptionGroupLocalizations self.limit = limit + self.include = include self.limitSubscriptions = limitSubscriptions self.limitSubscriptionGroupLocalizations = limitSubscriptionGroupLocalizations - self.include = include } public var asQuery: [(String, String?)] { @@ -105,13 +107,13 @@ extension APIEndpoint.V1.Apps.WithID { encoder.encode(filterReferenceName, forKey: "filter[referenceName]") encoder.encode(filterSubscriptionsState, forKey: "filter[subscriptions.state]") encoder.encode(sort, forKey: "sort") - encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsSubscriptionGroups, forKey: "fields[subscriptionGroups]") + encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsSubscriptionGroupLocalizations, forKey: "fields[subscriptionGroupLocalizations]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitSubscriptions, forKey: "limit[subscriptions]") encoder.encode(limitSubscriptionGroupLocalizations, forKey: "limit[subscriptionGroupLocalizations]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizations.swift index 54f4d248..3603c17c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BetaAppClipInvocationLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaAppClipInvocationLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "betaAppClipInvocationLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizationsWithID.swift index e400e0d5..9763a0ed 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationLocalizationsWithID.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.BetaAppClipInvocationLocalizations { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.BetaAppClipInvocationLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "betaAppClipInvocationLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "betaAppClipInvocationLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "betaAppClipInvocationLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "betaAppClipInvocationLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocations.swift index 8edfe45f..da592c43 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BetaAppClipInvocationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaAppClipInvocations-create_instance") + Request(path: path, method: "POST", body: body, id: "betaAppClipInvocations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift index 7146387a..6fa58ad3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocationsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaAppClipInvocations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppClipInvocations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppClipInvocations_getInstance") } public struct GetParameters { @@ -23,9 +23,9 @@ extension APIEndpoint.V1.BetaAppClipInvocations { public var limitBetaAppClipInvocationLocalizations: Int? public enum FieldsBetaAppClipInvocations: String, Codable, CaseIterable { - case betaAppClipInvocationLocalizations - case buildBundle case url + case buildBundle + case betaAppClipInvocationLocalizations } public enum Include: String, Codable, CaseIterable { @@ -48,11 +48,11 @@ extension APIEndpoint.V1.BetaAppClipInvocations { } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaAppClipInvocationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "betaAppClipInvocations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "betaAppClipInvocations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "betaAppClipInvocations-delete_instance") + Request(path: path, method: "DELETE", id: "betaAppClipInvocations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift index 543df568..596693c4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift @@ -14,84 +14,86 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppLocalizations-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppLocalizations_getCollection") } public struct GetParameters { public var filterLocale: [String]? public var filterApp: [String]? public var fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? + public var fieldsApps: [FieldsApps]? public var limit: Int? public var include: [Include]? - public var fieldsApps: [FieldsApps]? public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { - case app - case description case feedbackEmail - case locale case marketingURL = "marketingUrl" case privacyPolicyURL = "privacyPolicyUrl" case tvOsPrivacyPolicy - } - - public enum Include: String, Codable, CaseIterable { + case description + case locale case app } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum Include: String, Codable, CaseIterable { + case app } - public init(filterLocale: [String]? = nil, filterApp: [String]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil) { + public init(filterLocale: [String]? = nil, filterApp: [String]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterLocale = filterLocale self.filterApp = filterApp self.fieldsBetaAppLocalizations = fieldsBetaAppLocalizations + self.fieldsApps = fieldsApps self.limit = limit self.include = include - self.fieldsApps = fieldsApps } public var asQuery: [(String, String?)] { @@ -99,15 +101,15 @@ extension APIEndpoint.V1 { encoder.encode(filterLocale, forKey: "filter[locale]") encoder.encode(filterApp, forKey: "filter[app]") encoder.encode(fieldsBetaAppLocalizations, forKey: "fields[betaAppLocalizations]") + encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsApps, forKey: "fields[apps]") return encoder.items } } public func post(_ body: AppStoreConnect_Swift_SDK.BetaAppLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaAppLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "betaAppLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift index 4c08784a..a2fdc5e1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift @@ -14,95 +14,97 @@ extension APIEndpoint.V1.BetaAppLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppLocalizations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppLocalizations_getInstance") } public struct GetParameters { public var fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? - public var include: [Include]? public var fieldsApps: [FieldsApps]? + public var include: [Include]? public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { - case app - case description case feedbackEmail - case locale case marketingURL = "marketingUrl" case privacyPolicyURL = "privacyPolicyUrl" case tvOsPrivacyPolicy - } - - public enum Include: String, Codable, CaseIterable { + case description + case locale case app } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum Include: String, Codable, CaseIterable { + case app } - public init(fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil) { + public init(fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsApps: [FieldsApps]? = nil, include: [Include]? = nil) { self.fieldsBetaAppLocalizations = fieldsBetaAppLocalizations - self.include = include self.fieldsApps = fieldsApps + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsBetaAppLocalizations, forKey: "fields[betaAppLocalizations]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(include, forKey: "include") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaAppLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "betaAppLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "betaAppLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "betaAppLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "betaAppLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift index 7c70bc09..14a186c3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaAppLocalizations.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaAppLocalizations-app-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaAppLocalizations_app_getToOneRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { @@ -24,49 +24,51 @@ extension APIEndpoint.V1.BetaAppLocalizations.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift index 45daefac..420195e8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift @@ -14,93 +14,95 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "betaAppReviewDetails-get_collection") + Request(path: path, method: "GET", query: parameters.asQuery, id: "betaAppReviewDetails_getCollection") } public struct GetParameters { public var filterApp: [String] public var fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? + public var fieldsApps: [FieldsApps]? public var limit: Int? public var include: [Include]? - public var fieldsApps: [FieldsApps]? public enum FieldsBetaAppReviewDetails: String, Codable, CaseIterable { - case app - case contactEmail case contactFirstName case contactLastName case contactPhone + case contactEmail case demoAccountName case demoAccountPassword case demoAccountRequired case notes - } - - public enum Include: String, Codable, CaseIterable { case app } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum Include: String, Codable, CaseIterable { + case app } - public init(filterApp: [String], fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil) { + public init(filterApp: [String], fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterApp = filterApp self.fieldsBetaAppReviewDetails = fieldsBetaAppReviewDetails + self.fieldsApps = fieldsApps self.limit = limit self.include = include - self.fieldsApps = fieldsApps } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterApp, forKey: "filter[app]") encoder.encode(fieldsBetaAppReviewDetails, forKey: "fields[betaAppReviewDetails]") + encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsApps, forKey: "fields[apps]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift index 97c769e5..456f7ace 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift @@ -14,93 +14,95 @@ extension APIEndpoint.V1.BetaAppReviewDetails { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppReviewDetails-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppReviewDetails_getInstance") } public struct GetParameters { public var fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? - public var include: [Include]? public var fieldsApps: [FieldsApps]? + public var include: [Include]? public enum FieldsBetaAppReviewDetails: String, Codable, CaseIterable { - case app - case contactEmail case contactFirstName case contactLastName case contactPhone + case contactEmail case demoAccountName case demoAccountPassword case demoAccountRequired case notes - } - - public enum Include: String, Codable, CaseIterable { case app } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum Include: String, Codable, CaseIterable { + case app } - public init(fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil) { + public init(fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsApps: [FieldsApps]? = nil, include: [Include]? = nil) { self.fieldsBetaAppReviewDetails = fieldsBetaAppReviewDetails - self.include = include self.fieldsApps = fieldsApps + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsBetaAppReviewDetails, forKey: "fields[betaAppReviewDetails]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(include, forKey: "include") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaAppReviewDetailUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "betaAppReviewDetails-update_instance") + Request(path: path, method: "PATCH", body: body, id: "betaAppReviewDetails_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift index ef7e8de2..847de91a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaAppReviewDetails.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaAppReviewDetails-app-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaAppReviewDetails_app_getToOneRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { @@ -24,49 +24,51 @@ extension APIEndpoint.V1.BetaAppReviewDetails.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissions.swift index 305ff8b5..1c1a7a52 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissions.swift @@ -14,16 +14,16 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "betaAppReviewSubmissions-get_collection") + Request(path: path, method: "GET", query: parameters.asQuery, id: "betaAppReviewSubmissions_getCollection") } public struct GetParameters { public var filterBetaReviewState: [FilterBetaReviewState]? public var filterBuild: [String] public var fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? + public var fieldsBuilds: [FieldsBuilds]? public var limit: Int? public var include: [Include]? - public var fieldsBuilds: [FieldsBuilds]? public enum FilterBetaReviewState: String, Codable, CaseIterable { case waitingForReview = "WAITING_FOR_REVIEW" @@ -34,48 +34,48 @@ extension APIEndpoint.V1 { public enum FieldsBetaAppReviewSubmissions: String, Codable, CaseIterable { case betaReviewState - case build case submittedDate - } - - public enum Include: String, Codable, CaseIterable { case build } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public init(filterBetaReviewState: [FilterBetaReviewState]? = nil, filterBuild: [String], fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsBuilds: [FieldsBuilds]? = nil) { + public enum Include: String, Codable, CaseIterable { + case build + } + + public init(filterBetaReviewState: [FilterBetaReviewState]? = nil, filterBuild: [String], fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterBetaReviewState = filterBetaReviewState self.filterBuild = filterBuild self.fieldsBetaAppReviewSubmissions = fieldsBetaAppReviewSubmissions + self.fieldsBuilds = fieldsBuilds self.limit = limit self.include = include - self.fieldsBuilds = fieldsBuilds } public var asQuery: [(String, String?)] { @@ -83,15 +83,15 @@ extension APIEndpoint.V1 { encoder.encode(filterBetaReviewState, forKey: "filter[betaReviewState]") encoder.encode(filterBuild, forKey: "filter[build]") encoder.encode(fieldsBetaAppReviewSubmissions, forKey: "fields[betaAppReviewSubmissions]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") return encoder.items } } public func post(_ body: AppStoreConnect_Swift_SDK.BetaAppReviewSubmissionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaAppReviewSubmissions-create_instance") + Request(path: path, method: "POST", body: body, id: "betaAppReviewSubmissions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithID.swift index 20880079..4b25046d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithID.swift @@ -14,62 +14,62 @@ extension APIEndpoint.V1.BetaAppReviewSubmissions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppReviewSubmissions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaAppReviewSubmissions_getInstance") } public struct GetParameters { public var fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? - public var include: [Include]? public var fieldsBuilds: [FieldsBuilds]? + public var include: [Include]? public enum FieldsBetaAppReviewSubmissions: String, Codable, CaseIterable { case betaReviewState - case build case submittedDate - } - - public enum Include: String, Codable, CaseIterable { case build } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public init(fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil, include: [Include]? = nil, fieldsBuilds: [FieldsBuilds]? = nil) { + public enum Include: String, Codable, CaseIterable { + case build + } + + public init(fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, include: [Include]? = nil) { self.fieldsBetaAppReviewSubmissions = fieldsBetaAppReviewSubmissions - self.include = include self.fieldsBuilds = fieldsBuilds + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsBetaAppReviewSubmissions, forKey: "fields[betaAppReviewSubmissions]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDBuild.swift index 13a5ee42..4f923598 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDBuild.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaAppReviewSubmissions.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "betaAppReviewSubmissions-build-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "betaAppReviewSubmissions_build_getToOneRelated") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?) -> [(String, String?)] { @@ -24,30 +24,30 @@ extension APIEndpoint.V1.BetaAppReviewSubmissions.WithID { } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizations.swift index 72bff2c7..2fab22ec 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizations.swift @@ -14,61 +14,61 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaBuildLocalizations-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaBuildLocalizations_getCollection") } public struct GetParameters { public var filterLocale: [String]? public var filterBuild: [String]? public var fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? + public var fieldsBuilds: [FieldsBuilds]? public var limit: Int? public var include: [Include]? - public var fieldsBuilds: [FieldsBuilds]? public enum FieldsBetaBuildLocalizations: String, Codable, CaseIterable { - case build - case locale case whatsNew - } - - public enum Include: String, Codable, CaseIterable { + case locale case build } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public init(filterLocale: [String]? = nil, filterBuild: [String]? = nil, fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsBuilds: [FieldsBuilds]? = nil) { + public enum Include: String, Codable, CaseIterable { + case build + } + + public init(filterLocale: [String]? = nil, filterBuild: [String]? = nil, fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterLocale = filterLocale self.filterBuild = filterBuild self.fieldsBetaBuildLocalizations = fieldsBetaBuildLocalizations + self.fieldsBuilds = fieldsBuilds self.limit = limit self.include = include - self.fieldsBuilds = fieldsBuilds } public var asQuery: [(String, String?)] { @@ -76,15 +76,15 @@ extension APIEndpoint.V1 { encoder.encode(filterLocale, forKey: "filter[locale]") encoder.encode(filterBuild, forKey: "filter[build]") encoder.encode(fieldsBetaBuildLocalizations, forKey: "fields[betaBuildLocalizations]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") return encoder.items } } public func post(_ body: AppStoreConnect_Swift_SDK.BetaBuildLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaBuildLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "betaBuildLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithID.swift index 23fdb6b1..bceb28f2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithID.swift @@ -14,72 +14,72 @@ extension APIEndpoint.V1.BetaBuildLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaBuildLocalizations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaBuildLocalizations_getInstance") } public struct GetParameters { public var fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? - public var include: [Include]? public var fieldsBuilds: [FieldsBuilds]? + public var include: [Include]? public enum FieldsBetaBuildLocalizations: String, Codable, CaseIterable { - case build - case locale case whatsNew - } - - public enum Include: String, Codable, CaseIterable { + case locale case build } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public init(fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, include: [Include]? = nil, fieldsBuilds: [FieldsBuilds]? = nil) { + public enum Include: String, Codable, CaseIterable { + case build + } + + public init(fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, include: [Include]? = nil) { self.fieldsBetaBuildLocalizations = fieldsBetaBuildLocalizations - self.include = include self.fieldsBuilds = fieldsBuilds + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsBetaBuildLocalizations, forKey: "fields[betaBuildLocalizations]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(include, forKey: "include") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaBuildLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "betaBuildLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "betaBuildLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "betaBuildLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "betaBuildLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDBuild.swift index aee86e30..c66b86ab 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDBuild.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaBuildLocalizations.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "betaBuildLocalizations-build-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "betaBuildLocalizations_build_getToOneRelated") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?) -> [(String, String?)] { @@ -24,30 +24,30 @@ extension APIEndpoint.V1.BetaBuildLocalizations.WithID { } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift index a7d8090f..6d510f26 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift @@ -14,33 +14,33 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaGroups-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaGroups_getCollection") } public struct GetParameters { - public var filterIsInternalGroup: [String]? public var filterName: [String]? - public var filterPublicLink: [String]? + public var filterIsInternalGroup: [String]? public var filterPublicLinkEnabled: [String]? public var filterPublicLinkLimitEnabled: [String]? + public var filterPublicLink: [String]? public var filterApp: [String]? public var filterBuilds: [String]? public var filterID: [String]? public var sort: [Sort]? public var fieldsBetaGroups: [FieldsBetaGroups]? - public var limit: Int? - public var include: [Include]? - public var fieldsBetaTesters: [FieldsBetaTesters]? public var fieldsApps: [FieldsApps]? public var fieldsBuilds: [FieldsBuilds]? + public var fieldsBetaTesters: [FieldsBetaTesters]? + public var limit: Int? + public var include: [Include]? public var limitBetaTesters: Int? public var limitBuilds: Int? public enum Sort: String, Codable, CaseIterable { - case createdDate - case minuscreatedDate = "-createdDate" case name case minusname = "-name" + case createdDate + case minuscreatedDate = "-createdDate" case publicLinkEnabled case minuspublicLinkEnabled = "-publicLinkEnabled" case publicLinkLimit @@ -48,149 +48,151 @@ extension APIEndpoint.V1 { } public enum FieldsBetaGroups: String, Codable, CaseIterable { - case app - case betaTesters - case builds + case name case createdDate - case feedbackEnabled - case hasAccessToAllBuilds - case iosBuildsAvailableForAppleSiliconMac case isInternalGroup - case name - case publicLink + case hasAccessToAllBuilds case publicLinkEnabled case publicLinkID = "publicLinkId" - case publicLinkLimit case publicLinkLimitEnabled - } - - public enum Include: String, Codable, CaseIterable { + case publicLinkLimit + case publicLink + case feedbackEnabled + case iosBuildsAvailableForAppleSiliconMac case app - case betaTesters case builds - } - - public enum FieldsBetaTesters: String, Codable, CaseIterable { - case apps - case betaGroups - case builds - case email - case firstName - case inviteType - case lastName - case state + case betaTesters } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public init(filterIsInternalGroup: [String]? = nil, filterName: [String]? = nil, filterPublicLink: [String]? = nil, filterPublicLinkEnabled: [String]? = nil, filterPublicLinkLimitEnabled: [String]? = nil, filterApp: [String]? = nil, filterBuilds: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitBetaTesters: Int? = nil, limitBuilds: Int? = nil) { - self.filterIsInternalGroup = filterIsInternalGroup + public enum FieldsBetaTesters: String, Codable, CaseIterable { + case firstName + case lastName + case email + case inviteType + case state + case apps + case betaGroups + case builds + } + + public enum Include: String, Codable, CaseIterable { + case app + case builds + case betaTesters + } + + public init(filterName: [String]? = nil, filterIsInternalGroup: [String]? = nil, filterPublicLinkEnabled: [String]? = nil, filterPublicLinkLimitEnabled: [String]? = nil, filterPublicLink: [String]? = nil, filterApp: [String]? = nil, filterBuilds: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, limit: Int? = nil, include: [Include]? = nil, limitBetaTesters: Int? = nil, limitBuilds: Int? = nil) { self.filterName = filterName - self.filterPublicLink = filterPublicLink + self.filterIsInternalGroup = filterIsInternalGroup self.filterPublicLinkEnabled = filterPublicLinkEnabled self.filterPublicLinkLimitEnabled = filterPublicLinkLimitEnabled + self.filterPublicLink = filterPublicLink self.filterApp = filterApp self.filterBuilds = filterBuilds self.filterID = filterID self.sort = sort self.fieldsBetaGroups = fieldsBetaGroups - self.limit = limit - self.include = include - self.fieldsBetaTesters = fieldsBetaTesters self.fieldsApps = fieldsApps self.fieldsBuilds = fieldsBuilds + self.fieldsBetaTesters = fieldsBetaTesters + self.limit = limit + self.include = include self.limitBetaTesters = limitBetaTesters self.limitBuilds = limitBuilds } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterIsInternalGroup, forKey: "filter[isInternalGroup]") encoder.encode(filterName, forKey: "filter[name]") - encoder.encode(filterPublicLink, forKey: "filter[publicLink]") + encoder.encode(filterIsInternalGroup, forKey: "filter[isInternalGroup]") encoder.encode(filterPublicLinkEnabled, forKey: "filter[publicLinkEnabled]") encoder.encode(filterPublicLinkLimitEnabled, forKey: "filter[publicLinkLimitEnabled]") + encoder.encode(filterPublicLink, forKey: "filter[publicLink]") encoder.encode(filterApp, forKey: "filter[app]") encoder.encode(filterBuilds, forKey: "filter[builds]") encoder.encode(filterID, forKey: "filter[id]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") - encoder.encode(limit, forKey: "limit") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsBetaTesters, forKey: "fields[betaTesters]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsBetaTesters, forKey: "fields[betaTesters]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitBetaTesters, forKey: "limit[betaTesters]") encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items @@ -198,7 +200,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaGroupCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaGroups-create_instance") + Request(path: path, method: "POST", body: body, id: "betaGroups_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift index 3df11a2d..57f8b7d8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift @@ -14,131 +14,133 @@ extension APIEndpoint.V1.BetaGroups { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaGroups-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaGroups_getInstance") } public struct GetParameters { public var fieldsBetaGroups: [FieldsBetaGroups]? - public var include: [Include]? - public var fieldsBetaTesters: [FieldsBetaTesters]? public var fieldsApps: [FieldsApps]? public var fieldsBuilds: [FieldsBuilds]? + public var fieldsBetaTesters: [FieldsBetaTesters]? + public var include: [Include]? public var limitBetaTesters: Int? public var limitBuilds: Int? public enum FieldsBetaGroups: String, Codable, CaseIterable { - case app - case betaTesters - case builds + case name case createdDate - case feedbackEnabled - case hasAccessToAllBuilds - case iosBuildsAvailableForAppleSiliconMac case isInternalGroup - case name - case publicLink + case hasAccessToAllBuilds case publicLinkEnabled case publicLinkID = "publicLinkId" - case publicLinkLimit case publicLinkLimitEnabled - } - - public enum Include: String, Codable, CaseIterable { + case publicLinkLimit + case publicLink + case feedbackEnabled + case iosBuildsAvailableForAppleSiliconMac case app - case betaTesters - case builds - } - - public enum FieldsBetaTesters: String, Codable, CaseIterable { - case apps - case betaGroups case builds - case email - case firstName - case inviteType - case lastName - case state + case betaTesters } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public init(fieldsBetaGroups: [FieldsBetaGroups]? = nil, include: [Include]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitBetaTesters: Int? = nil, limitBuilds: Int? = nil) { + public enum FieldsBetaTesters: String, Codable, CaseIterable { + case firstName + case lastName + case email + case inviteType + case state + case apps + case betaGroups + case builds + } + + public enum Include: String, Codable, CaseIterable { + case app + case builds + case betaTesters + } + + public init(fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, include: [Include]? = nil, limitBetaTesters: Int? = nil, limitBuilds: Int? = nil) { self.fieldsBetaGroups = fieldsBetaGroups - self.include = include - self.fieldsBetaTesters = fieldsBetaTesters self.fieldsApps = fieldsApps self.fieldsBuilds = fieldsBuilds + self.fieldsBetaTesters = fieldsBetaTesters + self.include = include self.limitBetaTesters = limitBetaTesters self.limitBuilds = limitBuilds } @@ -146,10 +148,10 @@ extension APIEndpoint.V1.BetaGroups { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsBetaTesters, forKey: "fields[betaTesters]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsBetaTesters, forKey: "fields[betaTesters]") + encoder.encode(include, forKey: "include") encoder.encode(limitBetaTesters, forKey: "limit[betaTesters]") encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items @@ -157,11 +159,11 @@ extension APIEndpoint.V1.BetaGroups { } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaGroupUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "betaGroups-update_instance") + Request(path: path, method: "PATCH", body: body, id: "betaGroups_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "betaGroups-delete_instance") + Request(path: path, method: "DELETE", id: "betaGroups_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift index d504fa12..d0aed8ad 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaGroups-app-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaGroups_app_getToOneRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { @@ -24,49 +24,51 @@ extension APIEndpoint.V1.BetaGroups.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBetaTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBetaTesters.swift index 80aef81d..f59c1bf8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBetaTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBetaTesters.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups.WithID { public let path: String public func get(fieldsBetaTesters: [FieldsBetaTesters]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaTesters, limit), id: "betaGroups-betaTesters-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaTesters, limit), id: "betaGroups_betaTesters_getToManyRelated") } private func makeGetQuery(_ fieldsBetaTesters: [FieldsBetaTesters]?, _ limit: Int?) -> [(String, String?)] { @@ -25,14 +25,14 @@ extension APIEndpoint.V1.BetaGroups.WithID { } public enum FieldsBetaTesters: String, Codable, CaseIterable { - case apps - case betaGroups - case builds - case email case firstName - case inviteType case lastName + case email + case inviteType case state + case apps + case betaGroups + case builds } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBuilds.swift index 8ce8977f..fe95ef06 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDBuilds.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "betaGroups-builds-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "betaGroups_builds_getToManyRelated") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?, _ limit: Int?) -> [(String, String?)] { @@ -25,30 +25,30 @@ extension APIEndpoint.V1.BetaGroups.WithID { } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift index b09dfb09..23b9c603 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift @@ -14,18 +14,14 @@ extension APIEndpoint.V1.BetaGroups.WithID.Metrics { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaGroups-betaTesterUsages-get_metrics") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaGroups_betaTesterUsages_getMetrics") } public struct GetParameters { - public var limit: Int? + public var period: Period? public var groupBy: [GroupBy]? public var filterBetaTesters: String? - public var period: Period? - - public enum GroupBy: String, Codable, CaseIterable { - case betaTesters - } + public var limit: Int? public enum Period: String, Codable, CaseIterable { case p7d = "P7D" @@ -34,19 +30,23 @@ extension APIEndpoint.V1.BetaGroups.WithID.Metrics { case p365d = "P365D" } - public init(limit: Int? = nil, groupBy: [GroupBy]? = nil, filterBetaTesters: String? = nil, period: Period? = nil) { - self.limit = limit + public enum GroupBy: String, Codable, CaseIterable { + case betaTesters + } + + public init(period: Period? = nil, groupBy: [GroupBy]? = nil, filterBetaTesters: String? = nil, limit: Int? = nil) { + self.period = period self.groupBy = groupBy self.filterBetaTesters = filterBetaTesters - self.period = period + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") + encoder.encode(period, forKey: "period") encoder.encode(groupBy, forKey: "groupBy") encoder.encode(filterBetaTesters, forKey: "filter[betaTesters]") - encoder.encode(period, forKey: "period") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBetaTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBetaTesters.swift index e5df0a74..a790c2ab 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBetaTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBetaTesters.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaGroups-betaTesters-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaGroups_betaTesters_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,11 +24,11 @@ extension APIEndpoint.V1.BetaGroups.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaGroupBetaTestersLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaGroups-betaTesters-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "betaGroups_betaTesters_createToManyRelationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BetaGroupBetaTestersLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "betaGroups-betaTesters-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "betaGroups_betaTesters_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBuilds.swift index 61abd499..d48c31ce 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsBuilds.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaGroups.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaGroups-builds-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaGroups_builds_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,11 +24,11 @@ extension APIEndpoint.V1.BetaGroups.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaGroupBuildsLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaGroups-builds-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "betaGroups_builds_createToManyRelationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BetaGroupBuildsLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "betaGroups-builds-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "betaGroups_builds_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift index 1d4cee46..a2e6e778 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift @@ -14,86 +14,88 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaLicenseAgreements-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaLicenseAgreements_getCollection") } public struct GetParameters { public var filterApp: [String]? public var fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? + public var fieldsApps: [FieldsApps]? public var limit: Int? public var include: [Include]? - public var fieldsApps: [FieldsApps]? public enum FieldsBetaLicenseAgreements: String, Codable, CaseIterable { case agreementText case app } - public enum Include: String, Codable, CaseIterable { - case app - } - public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum Include: String, Codable, CaseIterable { + case app } - public init(filterApp: [String]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil) { + public init(filterApp: [String]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterApp = filterApp self.fieldsBetaLicenseAgreements = fieldsBetaLicenseAgreements + self.fieldsApps = fieldsApps self.limit = limit self.include = include - self.fieldsApps = fieldsApps } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterApp, forKey: "filter[app]") encoder.encode(fieldsBetaLicenseAgreements, forKey: "fields[betaLicenseAgreements]") + encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsApps, forKey: "fields[apps]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift index 5425e15b..b415893e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift @@ -14,86 +14,88 @@ extension APIEndpoint.V1.BetaLicenseAgreements { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaLicenseAgreements-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaLicenseAgreements_getInstance") } public struct GetParameters { public var fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? - public var include: [Include]? public var fieldsApps: [FieldsApps]? + public var include: [Include]? public enum FieldsBetaLicenseAgreements: String, Codable, CaseIterable { case agreementText case app } - public enum Include: String, Codable, CaseIterable { - case app - } - public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum Include: String, Codable, CaseIterable { + case app } - public init(fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil) { + public init(fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsApps: [FieldsApps]? = nil, include: [Include]? = nil) { self.fieldsBetaLicenseAgreements = fieldsBetaLicenseAgreements - self.include = include self.fieldsApps = fieldsApps + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsBetaLicenseAgreements, forKey: "fields[betaLicenseAgreements]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(include, forKey: "include") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.BetaLicenseAgreementUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "betaLicenseAgreements-update_instance") + Request(path: path, method: "PATCH", body: body, id: "betaLicenseAgreements_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift index 825576d8..8f7d2386 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaLicenseAgreements.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaLicenseAgreements-app-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "betaLicenseAgreements_app_getToOneRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { @@ -24,49 +24,51 @@ extension APIEndpoint.V1.BetaLicenseAgreements.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesterInvitations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesterInvitations.swift index 46cfdbdc..8fca9ec3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesterInvitations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesterInvitations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BetaTesterInvitationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaTesterInvitations-create_instance") + Request(path: path, method: "POST", body: body, id: "betaTesterInvitations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift index 1f0fcafb..92303edc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift @@ -14,25 +14,25 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaTesters-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaTesters_getCollection") } public struct GetParameters { - public var filterEmail: [String]? public var filterFirstName: [String]? - public var filterInviteType: [FilterInviteType]? public var filterLastName: [String]? + public var filterEmail: [String]? + public var filterInviteType: [FilterInviteType]? public var filterApps: [String]? public var filterBetaGroups: [String]? public var filterBuilds: [String]? public var filterID: [String]? public var sort: [Sort]? public var fieldsBetaTesters: [FieldsBetaTesters]? - public var limit: Int? - public var include: [Include]? public var fieldsApps: [FieldsApps]? - public var fieldsBuilds: [FieldsBuilds]? public var fieldsBetaGroups: [FieldsBetaGroups]? + public var fieldsBuilds: [FieldsBuilds]? + public var limit: Int? + public var include: [Include]? public var limitApps: Int? public var limitBetaGroups: Int? public var limitBuilds: Int? @@ -43,141 +43,143 @@ extension APIEndpoint.V1 { } public enum Sort: String, Codable, CaseIterable { - case email - case minusemail = "-email" case firstName case minusfirstName = "-firstName" - case inviteType - case minusinviteType = "-inviteType" case lastName case minuslastName = "-lastName" + case email + case minusemail = "-email" + case inviteType + case minusinviteType = "-inviteType" case state case minusstate = "-state" } public enum FieldsBetaTesters: String, Codable, CaseIterable { - case apps - case betaGroups - case builds - case email case firstName - case inviteType case lastName + case email + case inviteType case state - } - - public enum Include: String, Codable, CaseIterable { case apps case betaGroups case builds } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsBuilds: String, Codable, CaseIterable { + public enum FieldsBetaGroups: String, Codable, CaseIterable { + case name + case createdDate + case isInternalGroup + case hasAccessToAllBuilds + case publicLinkEnabled + case publicLinkID = "publicLinkId" + case publicLinkLimitEnabled + case publicLinkLimit + case publicLink + case feedbackEnabled + case iosBuildsAvailableForAppleSiliconMac case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case builds + case betaTesters + } + + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public enum FieldsBetaGroups: String, Codable, CaseIterable { - case app - case betaTesters + public enum Include: String, Codable, CaseIterable { + case apps + case betaGroups case builds - case createdDate - case feedbackEnabled - case hasAccessToAllBuilds - case iosBuildsAvailableForAppleSiliconMac - case isInternalGroup - case name - case publicLink - case publicLinkEnabled - case publicLinkID = "publicLinkId" - case publicLinkLimit - case publicLinkLimitEnabled } - public init(filterEmail: [String]? = nil, filterFirstName: [String]? = nil, filterInviteType: [FilterInviteType]? = nil, filterLastName: [String]? = nil, filterApps: [String]? = nil, filterBetaGroups: [String]? = nil, filterBuilds: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, limitApps: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil) { - self.filterEmail = filterEmail + public init(filterFirstName: [String]? = nil, filterLastName: [String]? = nil, filterEmail: [String]? = nil, filterInviteType: [FilterInviteType]? = nil, filterApps: [String]? = nil, filterBetaGroups: [String]? = nil, filterBuilds: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, include: [Include]? = nil, limitApps: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil) { self.filterFirstName = filterFirstName - self.filterInviteType = filterInviteType self.filterLastName = filterLastName + self.filterEmail = filterEmail + self.filterInviteType = filterInviteType self.filterApps = filterApps self.filterBetaGroups = filterBetaGroups self.filterBuilds = filterBuilds self.filterID = filterID self.sort = sort self.fieldsBetaTesters = fieldsBetaTesters - self.limit = limit - self.include = include self.fieldsApps = fieldsApps - self.fieldsBuilds = fieldsBuilds self.fieldsBetaGroups = fieldsBetaGroups + self.fieldsBuilds = fieldsBuilds + self.limit = limit + self.include = include self.limitApps = limitApps self.limitBetaGroups = limitBetaGroups self.limitBuilds = limitBuilds @@ -185,21 +187,21 @@ extension APIEndpoint.V1 { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterEmail, forKey: "filter[email]") encoder.encode(filterFirstName, forKey: "filter[firstName]") - encoder.encode(filterInviteType, forKey: "filter[inviteType]") encoder.encode(filterLastName, forKey: "filter[lastName]") + encoder.encode(filterEmail, forKey: "filter[email]") + encoder.encode(filterInviteType, forKey: "filter[inviteType]") encoder.encode(filterApps, forKey: "filter[apps]") encoder.encode(filterBetaGroups, forKey: "filter[betaGroups]") encoder.encode(filterBuilds, forKey: "filter[builds]") encoder.encode(filterID, forKey: "filter[id]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsBetaTesters, forKey: "fields[betaTesters]") - encoder.encode(limit, forKey: "limit") - encoder.encode(include, forKey: "include") encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitApps, forKey: "limit[apps]") encoder.encode(limitBetaGroups, forKey: "limit[betaGroups]") encoder.encode(limitBuilds, forKey: "limit[builds]") @@ -208,7 +210,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaTesterCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaTesters-create_instance") + Request(path: path, method: "POST", body: body, id: "betaTesters_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift index 4780d626..36963d0a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift @@ -14,132 +14,134 @@ extension APIEndpoint.V1.BetaTesters { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaTesters-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaTesters_getInstance") } public struct GetParameters { public var fieldsBetaTesters: [FieldsBetaTesters]? - public var include: [Include]? public var fieldsApps: [FieldsApps]? - public var fieldsBuilds: [FieldsBuilds]? public var fieldsBetaGroups: [FieldsBetaGroups]? + public var fieldsBuilds: [FieldsBuilds]? + public var include: [Include]? public var limitApps: Int? public var limitBetaGroups: Int? public var limitBuilds: Int? public enum FieldsBetaTesters: String, Codable, CaseIterable { - case apps - case betaGroups - case builds - case email case firstName - case inviteType case lastName + case email + case inviteType case state - } - - public enum Include: String, Codable, CaseIterable { case apps case betaGroups case builds } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsBuilds: String, Codable, CaseIterable { + public enum FieldsBetaGroups: String, Codable, CaseIterable { + case name + case createdDate + case isInternalGroup + case hasAccessToAllBuilds + case publicLinkEnabled + case publicLinkID = "publicLinkId" + case publicLinkLimitEnabled + case publicLinkLimit + case publicLink + case feedbackEnabled + case iosBuildsAvailableForAppleSiliconMac case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case builds + case betaTesters + } + + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public enum FieldsBetaGroups: String, Codable, CaseIterable { - case app - case betaTesters + public enum Include: String, Codable, CaseIterable { + case apps + case betaGroups case builds - case createdDate - case feedbackEnabled - case hasAccessToAllBuilds - case iosBuildsAvailableForAppleSiliconMac - case isInternalGroup - case name - case publicLink - case publicLinkEnabled - case publicLinkID = "publicLinkId" - case publicLinkLimit - case publicLinkLimitEnabled } - public init(fieldsBetaTesters: [FieldsBetaTesters]? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, limitApps: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil) { + public init(fieldsBetaTesters: [FieldsBetaTesters]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, include: [Include]? = nil, limitApps: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil) { self.fieldsBetaTesters = fieldsBetaTesters - self.include = include self.fieldsApps = fieldsApps - self.fieldsBuilds = fieldsBuilds self.fieldsBetaGroups = fieldsBetaGroups + self.fieldsBuilds = fieldsBuilds + self.include = include self.limitApps = limitApps self.limitBetaGroups = limitBetaGroups self.limitBuilds = limitBuilds @@ -148,10 +150,10 @@ extension APIEndpoint.V1.BetaTesters { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsBetaTesters, forKey: "fields[betaTesters]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(include, forKey: "include") encoder.encode(limitApps, forKey: "limit[apps]") encoder.encode(limitBetaGroups, forKey: "limit[betaGroups]") encoder.encode(limitBuilds, forKey: "limit[builds]") @@ -160,7 +162,7 @@ extension APIEndpoint.V1.BetaTesters { } public var delete: Request { - Request(path: path, method: "DELETE", id: "betaTesters-delete_instance") + Request(path: path, method: "DELETE", id: "betaTesters_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift index 8be52fc1..f8cfea0d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps, limit), id: "betaTesters-apps-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps, limit), id: "betaTesters_apps_getToManyRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?, _ limit: Int?) -> [(String, String?)] { @@ -25,49 +25,51 @@ extension APIEndpoint.V1.BetaTesters.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBetaGroups.swift index e226dfd9..dcdd4e22 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBetaGroups.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID { public let path: String public func get(fieldsBetaGroups: [FieldsBetaGroups]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaGroups, limit), id: "betaTesters-betaGroups-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaGroups, limit), id: "betaTesters_betaGroups_getToManyRelated") } private func makeGetQuery(_ fieldsBetaGroups: [FieldsBetaGroups]?, _ limit: Int?) -> [(String, String?)] { @@ -25,20 +25,20 @@ extension APIEndpoint.V1.BetaTesters.WithID { } public enum FieldsBetaGroups: String, Codable, CaseIterable { - case app - case betaTesters - case builds + case name case createdDate - case feedbackEnabled - case hasAccessToAllBuilds - case iosBuildsAvailableForAppleSiliconMac case isInternalGroup - case name - case publicLink + case hasAccessToAllBuilds case publicLinkEnabled case publicLinkID = "publicLinkId" - case publicLinkLimit case publicLinkLimitEnabled + case publicLinkLimit + case publicLink + case feedbackEnabled + case iosBuildsAvailableForAppleSiliconMac + case app + case builds + case betaTesters } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBuilds.swift index 21776beb..ee703550 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDBuilds.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "betaTesters-builds-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "betaTesters_builds_getToManyRelated") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?, _ limit: Int?) -> [(String, String?)] { @@ -25,30 +25,30 @@ extension APIEndpoint.V1.BetaTesters.WithID { } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift index e7a4e692..7530ed33 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift @@ -14,13 +14,13 @@ extension APIEndpoint.V1.BetaTesters.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "betaTesters-betaTesterUsages-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "betaTesters_betaTesterUsages_getMetrics") } public struct GetParameters { - public var limit: Int? - public var filterApps: String public var period: Period? + public var filterApps: String + public var limit: Int? public enum Period: String, Codable, CaseIterable { case p7d = "P7D" @@ -29,17 +29,17 @@ extension APIEndpoint.V1.BetaTesters.WithID.Metrics { case p365d = "P365D" } - public init(limit: Int? = nil, filterApps: String, period: Period? = nil) { - self.limit = limit - self.filterApps = filterApps + public init(period: Period? = nil, filterApps: String, limit: Int? = nil) { self.period = period + self.filterApps = filterApps + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") - encoder.encode(filterApps, forKey: "filter[apps]") encoder.encode(period, forKey: "period") + encoder.encode(filterApps, forKey: "filter[apps]") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsApps.swift index 328cdd69..2592766e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsApps.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaTesters-apps-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaTesters_apps_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { } public func delete(_ body: AppStoreConnect_Swift_SDK.BetaTesterAppsLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "betaTesters-apps-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "betaTesters_apps_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBetaGroups.swift index 6313fa0f..1c49bfc0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBetaGroups.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaTesters-betaGroups-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaTesters_betaGroups_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,11 +24,11 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaTesterBetaGroupsLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaTesters-betaGroups-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "betaTesters_betaGroups_createToManyRelationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BetaTesterBetaGroupsLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "betaTesters-betaGroups-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "betaTesters_betaGroups_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBuilds.swift index c2b03821..ea5b4a09 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationshipsBuilds.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaTesters-builds-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "betaTesters_builds_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,11 +24,11 @@ extension APIEndpoint.V1.BetaTesters.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.BetaTesterBuildsLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "betaTesters-builds-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "betaTesters_builds_createToManyRelationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BetaTesterBuildsLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "betaTesters-builds-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "betaTesters_builds_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetails.swift index 497af235..62992d61 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetails.swift @@ -14,62 +14,62 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "buildBetaDetails-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "buildBetaDetails_getCollection") } public struct GetParameters { public var filterBuild: [String]? public var filterID: [String]? public var fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? + public var fieldsBuilds: [FieldsBuilds]? public var limit: Int? public var include: [Include]? - public var fieldsBuilds: [FieldsBuilds]? public enum FieldsBuildBetaDetails: String, Codable, CaseIterable { case autoNotifyEnabled - case build - case externalBuildState case internalBuildState - } - - public enum Include: String, Codable, CaseIterable { + case externalBuildState case build } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public init(filterBuild: [String]? = nil, filterID: [String]? = nil, fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsBuilds: [FieldsBuilds]? = nil) { + public enum Include: String, Codable, CaseIterable { + case build + } + + public init(filterBuild: [String]? = nil, filterID: [String]? = nil, fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterBuild = filterBuild self.filterID = filterID self.fieldsBuildBetaDetails = fieldsBuildBetaDetails + self.fieldsBuilds = fieldsBuilds self.limit = limit self.include = include - self.fieldsBuilds = fieldsBuilds } public var asQuery: [(String, String?)] { @@ -77,9 +77,9 @@ extension APIEndpoint.V1 { encoder.encode(filterBuild, forKey: "filter[build]") encoder.encode(filterID, forKey: "filter[id]") encoder.encode(fieldsBuildBetaDetails, forKey: "fields[buildBetaDetails]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithID.swift index c66b2dde..c4ae01d0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithID.swift @@ -14,69 +14,69 @@ extension APIEndpoint.V1.BuildBetaDetails { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "buildBetaDetails-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "buildBetaDetails_getInstance") } public struct GetParameters { public var fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? - public var include: [Include]? public var fieldsBuilds: [FieldsBuilds]? + public var include: [Include]? public enum FieldsBuildBetaDetails: String, Codable, CaseIterable { case autoNotifyEnabled - case build - case externalBuildState case internalBuildState - } - - public enum Include: String, Codable, CaseIterable { + case externalBuildState case build } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public init(fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil, include: [Include]? = nil, fieldsBuilds: [FieldsBuilds]? = nil) { + public enum Include: String, Codable, CaseIterable { + case build + } + + public init(fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, include: [Include]? = nil) { self.fieldsBuildBetaDetails = fieldsBuildBetaDetails - self.include = include self.fieldsBuilds = fieldsBuilds + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsBuildBetaDetails, forKey: "fields[buildBetaDetails]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(include, forKey: "include") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.BuildBetaDetailUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "buildBetaDetails-update_instance") + Request(path: path, method: "PATCH", body: body, id: "buildBetaDetails_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDBuild.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDBuild.swift index cc8bb2c3..6a064247 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDBuild.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDBuild.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BuildBetaDetails.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "buildBetaDetails-build-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds), id: "buildBetaDetails_build_getToOneRelated") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?) -> [(String, String?)] { @@ -24,30 +24,30 @@ extension APIEndpoint.V1.BuildBetaDetails.WithID { } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaNotifications.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaNotifications.swift index fdd4fe40..da417a0b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaNotifications.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaNotifications.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BuildBetaNotificationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "buildBetaNotifications-create_instance") + Request(path: path, method: "POST", body: body, id: "buildBetaNotifications_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainCacheStatus.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainCacheStatus.swift index 7fee9dd3..bc870e4b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainCacheStatus.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainCacheStatus.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BuildBundles.WithID { public let path: String public func get(fieldsAppClipDomainStatuses: [FieldsAppClipDomainStatuses]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipDomainStatuses), id: "buildBundles-appClipDomainCacheStatus-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipDomainStatuses), id: "buildBundles_appClipDomainCacheStatus_getToOneRelated") } private func makeGetQuery(_ fieldsAppClipDomainStatuses: [FieldsAppClipDomainStatuses]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainDebugStatus.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainDebugStatus.swift index d0595e2f..1782ae42 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainDebugStatus.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDAppClipDomainDebugStatus.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BuildBundles.WithID { public let path: String public func get(fieldsAppClipDomainStatuses: [FieldsAppClipDomainStatuses]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipDomainStatuses), id: "buildBundles-appClipDomainDebugStatus-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppClipDomainStatuses), id: "buildBundles_appClipDomainDebugStatus_getToOneRelated") } private func makeGetQuery(_ fieldsAppClipDomainStatuses: [FieldsAppClipDomainStatuses]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift index 23401e21..173507dc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBetaAppClipInvocations.swift @@ -14,38 +14,38 @@ extension APIEndpoint.V1.BuildBundles.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "buildBundles-betaAppClipInvocations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "buildBundles_betaAppClipInvocations_getToManyRelated") } public struct GetParameters { public var fieldsBetaAppClipInvocations: [FieldsBetaAppClipInvocations]? public var fieldsBetaAppClipInvocationLocalizations: [FieldsBetaAppClipInvocationLocalizations]? public var limit: Int? - public var limitBetaAppClipInvocationLocalizations: Int? public var include: [Include]? + public var limitBetaAppClipInvocationLocalizations: Int? public enum FieldsBetaAppClipInvocations: String, Codable, CaseIterable { - case betaAppClipInvocationLocalizations - case buildBundle case url + case buildBundle + case betaAppClipInvocationLocalizations } public enum FieldsBetaAppClipInvocationLocalizations: String, Codable, CaseIterable { - case betaAppClipInvocation - case locale case title + case locale + case betaAppClipInvocation } public enum Include: String, Codable, CaseIterable { case betaAppClipInvocationLocalizations } - public init(fieldsBetaAppClipInvocations: [FieldsBetaAppClipInvocations]? = nil, fieldsBetaAppClipInvocationLocalizations: [FieldsBetaAppClipInvocationLocalizations]? = nil, limit: Int? = nil, limitBetaAppClipInvocationLocalizations: Int? = nil, include: [Include]? = nil) { + public init(fieldsBetaAppClipInvocations: [FieldsBetaAppClipInvocations]? = nil, fieldsBetaAppClipInvocationLocalizations: [FieldsBetaAppClipInvocationLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil, limitBetaAppClipInvocationLocalizations: Int? = nil) { self.fieldsBetaAppClipInvocations = fieldsBetaAppClipInvocations self.fieldsBetaAppClipInvocationLocalizations = fieldsBetaAppClipInvocationLocalizations self.limit = limit - self.limitBetaAppClipInvocationLocalizations = limitBetaAppClipInvocationLocalizations self.include = include + self.limitBetaAppClipInvocationLocalizations = limitBetaAppClipInvocationLocalizations } public var asQuery: [(String, String?)] { @@ -53,8 +53,8 @@ extension APIEndpoint.V1.BuildBundles.WithID { encoder.encode(fieldsBetaAppClipInvocations, forKey: "fields[betaAppClipInvocations]") encoder.encode(fieldsBetaAppClipInvocationLocalizations, forKey: "fields[betaAppClipInvocationLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitBetaAppClipInvocationLocalizations, forKey: "limit[betaAppClipInvocationLocalizations]") encoder.encode(include, forKey: "include") + encoder.encode(limitBetaAppClipInvocationLocalizations, forKey: "limit[betaAppClipInvocationLocalizations]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBuildBundleFileSizes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBuildBundleFileSizes.swift index 45344c78..17040165 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBuildBundleFileSizes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDBuildBundleFileSizes.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BuildBundles.WithID { public let path: String public func get(fieldsBuildBundleFileSizes: [FieldsBuildBundleFileSizes]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBuildBundleFileSizes, limit), id: "buildBundles-buildBundleFileSizes-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuildBundleFileSizes, limit), id: "buildBundles_buildBundleFileSizes_getToManyRelated") } private func makeGetQuery(_ fieldsBuildBundleFileSizes: [FieldsBuildBundleFileSizes]?, _ limit: Int?) -> [(String, String?)] { @@ -26,9 +26,9 @@ extension APIEndpoint.V1.BuildBundles.WithID { public enum FieldsBuildBundleFileSizes: String, Codable, CaseIterable { case deviceModel + case osVersion case downloadBytes case installBytes - case osVersion } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift index 4198a706..1665bb47 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift @@ -14,44 +14,49 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds_getCollection") } public struct GetParameters { - public var filterBetaAppReviewSubmissionBetaReviewState: [FilterBetaAppReviewSubmissionBetaReviewState]? - public var filterBuildAudienceType: [FilterBuildAudienceType]? + public var filterVersion: [String]? public var filterExpired: [String]? - public var filterPreReleaseVersionPlatform: [FilterPreReleaseVersionPlatform]? - public var filterPreReleaseVersionVersion: [String]? public var filterProcessingState: [FilterProcessingState]? + public var filterBetaAppReviewSubmissionBetaReviewState: [FilterBetaAppReviewSubmissionBetaReviewState]? public var filterUsesNonExemptEncryption: [String]? - public var filterVersion: [String]? + public var filterPreReleaseVersionVersion: [String]? + public var filterPreReleaseVersionPlatform: [FilterPreReleaseVersionPlatform]? + public var filterBuildAudienceType: [FilterBuildAudienceType]? + public var filterPreReleaseVersion: [String]? public var filterApp: [String]? - public var filterAppStoreVersion: [String]? public var filterBetaGroups: [String]? - public var filterPreReleaseVersion: [String]? + public var filterAppStoreVersion: [String]? public var filterID: [String]? public var sort: [Sort]? public var fieldsBuilds: [FieldsBuilds]? - public var limit: Int? - public var include: [Include]? - public var fieldsDiagnosticSignatures: [FieldsDiagnosticSignatures]? - public var fieldsBuildIcons: [FieldsBuildIcons]? - public var fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? - public var fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? + public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? public var fieldsBetaTesters: [FieldsBetaTesters]? - public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? - public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? + public var fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? public var fieldsApps: [FieldsApps]? - public var fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? + public var fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var fieldsBuildIcons: [FieldsBuildIcons]? + public var limit: Int? + public var include: [Include]? public var limitBetaBuildLocalizations: Int? public var limitBetaGroups: Int? public var limitBuildBundles: Int? public var limitIcons: Int? public var limitIndividualTesters: Int? + public enum FilterProcessingState: String, Codable, CaseIterable { + case processing = "PROCESSING" + case failed = "FAILED" + case invalid = "INVALID" + case valid = "VALID" + } + public enum FilterBetaAppReviewSubmissionBetaReviewState: String, Codable, CaseIterable { case waitingForReview = "WAITING_FOR_REVIEW" case inReview = "IN_REVIEW" @@ -59,11 +64,6 @@ extension APIEndpoint.V1 { case approved = "APPROVED" } - public enum FilterBuildAudienceType: String, Codable, CaseIterable { - case internalOnly = "INTERNAL_ONLY" - case appStoreEligible = "APP_STORE_ELIGIBLE" - } - public enum FilterPreReleaseVersionPlatform: String, Codable, CaseIterable { case ios = "IOS" case macOs = "MAC_OS" @@ -71,241 +71,226 @@ extension APIEndpoint.V1 { case visionOs = "VISION_OS" } - public enum FilterProcessingState: String, Codable, CaseIterable { - case processing = "PROCESSING" - case failed = "FAILED" - case invalid = "INVALID" - case valid = "VALID" + public enum FilterBuildAudienceType: String, Codable, CaseIterable { + case internalOnly = "INTERNAL_ONLY" + case appStoreEligible = "APP_STORE_ELIGIBLE" } public enum Sort: String, Codable, CaseIterable { - case preReleaseVersion - case minuspreReleaseVersion = "-preReleaseVersion" - case uploadedDate - case minusuploadedDate = "-uploadedDate" case version case minusversion = "-version" + case uploadedDate + case minusuploadedDate = "-uploadedDate" + case preReleaseVersion + case minuspreReleaseVersion = "-preReleaseVersion" } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version - } - - public enum Include: String, Codable, CaseIterable { - case app + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations case appEncryptionDeclaration - case appStoreVersion case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups + case app case buildBetaDetail - case buildBundles + case appStoreVersion case icons - case individualTesters - case preReleaseVersion - } - - public enum FieldsDiagnosticSignatures: String, Codable, CaseIterable { - case diagnosticType - case insight - case logs - case signature - case weight - } - - public enum FieldsBuildIcons: String, Codable, CaseIterable { - case iconAsset - case iconType - case name - } - - public enum FieldsBuildBetaDetails: String, Codable, CaseIterable { - case autoNotifyEnabled - case build - case externalBuildState - case internalBuildState + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public enum FieldsBetaAppReviewSubmissions: String, Codable, CaseIterable { - case betaReviewState - case build - case submittedDate + public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { + case version + case platform + case builds + case app } public enum FieldsBetaTesters: String, Codable, CaseIterable { - case apps - case betaGroups - case builds - case email case firstName - case inviteType case lastName + case email + case inviteType case state - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString + case apps + case betaGroups + case builds } public enum FieldsBetaBuildLocalizations: String, Codable, CaseIterable { - case build - case locale case whatsNew - } - - public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { - case app - case builds - case platform - case version + case locale + case build } public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { - case app case appDescription - case appEncryptionDeclarationDocument - case appEncryptionDeclarationState - case availableOnFrenchStore - case builds - case codeValue - case containsProprietaryCryptography - case containsThirdPartyCryptography case createdDate - case documentName - case documentType - case documentURL = "documentUrl" + case usesEncryption case exempt + case containsProprietaryCryptography + case containsThirdPartyCryptography + case availableOnFrenchStore case platform case uploadedDate - case usesEncryption + case documentURL = "documentUrl" + case documentName + case documentType + case appEncryptionDeclarationState + case codeValue + case app + case builds + case appEncryptionDeclarationDocument + } + + public enum FieldsBetaAppReviewSubmissions: String, Codable, CaseIterable { + case betaReviewState + case submittedDate + case build } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsPerfPowerMetrics: String, Codable, CaseIterable { - case deviceType - case metricType + public enum FieldsBuildBetaDetails: String, Codable, CaseIterable { + case autoNotifyEnabled + case internalBuildState + case externalBuildState + case build + } + + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } - public init(filterBetaAppReviewSubmissionBetaReviewState: [FilterBetaAppReviewSubmissionBetaReviewState]? = nil, filterBuildAudienceType: [FilterBuildAudienceType]? = nil, filterExpired: [String]? = nil, filterPreReleaseVersionPlatform: [FilterPreReleaseVersionPlatform]? = nil, filterPreReleaseVersionVersion: [String]? = nil, filterProcessingState: [FilterProcessingState]? = nil, filterUsesNonExemptEncryption: [String]? = nil, filterVersion: [String]? = nil, filterApp: [String]? = nil, filterAppStoreVersion: [String]? = nil, filterBetaGroups: [String]? = nil, filterPreReleaseVersion: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsDiagnosticSignatures: [FieldsDiagnosticSignatures]? = nil, fieldsBuildIcons: [FieldsBuildIcons]? = nil, fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil, fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? = nil, limitBetaBuildLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuildBundles: Int? = nil, limitIcons: Int? = nil, limitIndividualTesters: Int? = nil) { - self.filterBetaAppReviewSubmissionBetaReviewState = filterBetaAppReviewSubmissionBetaReviewState - self.filterBuildAudienceType = filterBuildAudienceType + public enum FieldsBuildIcons: String, Codable, CaseIterable { + case name + case iconAsset + case iconType + } + + public enum Include: String, Codable, CaseIterable { + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + } + + public init(filterVersion: [String]? = nil, filterExpired: [String]? = nil, filterProcessingState: [FilterProcessingState]? = nil, filterBetaAppReviewSubmissionBetaReviewState: [FilterBetaAppReviewSubmissionBetaReviewState]? = nil, filterUsesNonExemptEncryption: [String]? = nil, filterPreReleaseVersionVersion: [String]? = nil, filterPreReleaseVersionPlatform: [FilterPreReleaseVersionPlatform]? = nil, filterBuildAudienceType: [FilterBuildAudienceType]? = nil, filterPreReleaseVersion: [String]? = nil, filterApp: [String]? = nil, filterBetaGroups: [String]? = nil, filterAppStoreVersion: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsBuildIcons: [FieldsBuildIcons]? = nil, limit: Int? = nil, include: [Include]? = nil, limitBetaBuildLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuildBundles: Int? = nil, limitIcons: Int? = nil, limitIndividualTesters: Int? = nil) { + self.filterVersion = filterVersion self.filterExpired = filterExpired - self.filterPreReleaseVersionPlatform = filterPreReleaseVersionPlatform - self.filterPreReleaseVersionVersion = filterPreReleaseVersionVersion self.filterProcessingState = filterProcessingState + self.filterBetaAppReviewSubmissionBetaReviewState = filterBetaAppReviewSubmissionBetaReviewState self.filterUsesNonExemptEncryption = filterUsesNonExemptEncryption - self.filterVersion = filterVersion + self.filterPreReleaseVersionVersion = filterPreReleaseVersionVersion + self.filterPreReleaseVersionPlatform = filterPreReleaseVersionPlatform + self.filterBuildAudienceType = filterBuildAudienceType + self.filterPreReleaseVersion = filterPreReleaseVersion self.filterApp = filterApp - self.filterAppStoreVersion = filterAppStoreVersion self.filterBetaGroups = filterBetaGroups - self.filterPreReleaseVersion = filterPreReleaseVersion + self.filterAppStoreVersion = filterAppStoreVersion self.filterID = filterID self.sort = sort self.fieldsBuilds = fieldsBuilds - self.limit = limit - self.include = include - self.fieldsDiagnosticSignatures = fieldsDiagnosticSignatures - self.fieldsBuildIcons = fieldsBuildIcons - self.fieldsBuildBetaDetails = fieldsBuildBetaDetails - self.fieldsBetaAppReviewSubmissions = fieldsBetaAppReviewSubmissions + self.fieldsPreReleaseVersions = fieldsPreReleaseVersions self.fieldsBetaTesters = fieldsBetaTesters - self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsBetaBuildLocalizations = fieldsBetaBuildLocalizations - self.fieldsPreReleaseVersions = fieldsPreReleaseVersions self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations + self.fieldsBetaAppReviewSubmissions = fieldsBetaAppReviewSubmissions self.fieldsApps = fieldsApps - self.fieldsPerfPowerMetrics = fieldsPerfPowerMetrics + self.fieldsBuildBetaDetails = fieldsBuildBetaDetails + self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.fieldsBuildIcons = fieldsBuildIcons + self.limit = limit + self.include = include self.limitBetaBuildLocalizations = limitBetaBuildLocalizations self.limitBetaGroups = limitBetaGroups self.limitBuildBundles = limitBuildBundles @@ -315,34 +300,32 @@ extension APIEndpoint.V1 { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterBetaAppReviewSubmissionBetaReviewState, forKey: "filter[betaAppReviewSubmission.betaReviewState]") - encoder.encode(filterBuildAudienceType, forKey: "filter[buildAudienceType]") + encoder.encode(filterVersion, forKey: "filter[version]") encoder.encode(filterExpired, forKey: "filter[expired]") - encoder.encode(filterPreReleaseVersionPlatform, forKey: "filter[preReleaseVersion.platform]") - encoder.encode(filterPreReleaseVersionVersion, forKey: "filter[preReleaseVersion.version]") encoder.encode(filterProcessingState, forKey: "filter[processingState]") + encoder.encode(filterBetaAppReviewSubmissionBetaReviewState, forKey: "filter[betaAppReviewSubmission.betaReviewState]") encoder.encode(filterUsesNonExemptEncryption, forKey: "filter[usesNonExemptEncryption]") - encoder.encode(filterVersion, forKey: "filter[version]") + encoder.encode(filterPreReleaseVersionVersion, forKey: "filter[preReleaseVersion.version]") + encoder.encode(filterPreReleaseVersionPlatform, forKey: "filter[preReleaseVersion.platform]") + encoder.encode(filterBuildAudienceType, forKey: "filter[buildAudienceType]") + encoder.encode(filterPreReleaseVersion, forKey: "filter[preReleaseVersion]") encoder.encode(filterApp, forKey: "filter[app]") - encoder.encode(filterAppStoreVersion, forKey: "filter[appStoreVersion]") encoder.encode(filterBetaGroups, forKey: "filter[betaGroups]") - encoder.encode(filterPreReleaseVersion, forKey: "filter[preReleaseVersion]") + encoder.encode(filterAppStoreVersion, forKey: "filter[appStoreVersion]") encoder.encode(filterID, forKey: "filter[id]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsBuilds, forKey: "fields[builds]") - encoder.encode(limit, forKey: "limit") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsDiagnosticSignatures, forKey: "fields[diagnosticSignatures]") - encoder.encode(fieldsBuildIcons, forKey: "fields[buildIcons]") - encoder.encode(fieldsBuildBetaDetails, forKey: "fields[buildBetaDetails]") - encoder.encode(fieldsBetaAppReviewSubmissions, forKey: "fields[betaAppReviewSubmissions]") + encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") encoder.encode(fieldsBetaTesters, forKey: "fields[betaTesters]") - encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsBetaBuildLocalizations, forKey: "fields[betaBuildLocalizations]") - encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") + encoder.encode(fieldsBetaAppReviewSubmissions, forKey: "fields[betaAppReviewSubmissions]") encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsPerfPowerMetrics, forKey: "fields[perfPowerMetrics]") + encoder.encode(fieldsBuildBetaDetails, forKey: "fields[buildBetaDetails]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(fieldsBuildIcons, forKey: "fields[buildIcons]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitBetaBuildLocalizations, forKey: "limit[betaBuildLocalizations]") encoder.encode(limitBetaGroups, forKey: "limit[betaGroups]") encoder.encode(limitBuildBundles, forKey: "limit[buildBundles]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift index 719a3ecc..56f3fdff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift @@ -14,23 +14,21 @@ extension APIEndpoint.V1.Builds { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds_getInstance") } public struct GetParameters { public var fieldsBuilds: [FieldsBuilds]? - public var include: [Include]? - public var fieldsDiagnosticSignatures: [FieldsDiagnosticSignatures]? - public var fieldsBuildIcons: [FieldsBuildIcons]? - public var fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? - public var fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? + public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? public var fieldsBetaTesters: [FieldsBetaTesters]? - public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? - public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? + public var fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? public var fieldsApps: [FieldsApps]? - public var fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? + public var fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var fieldsBuildIcons: [FieldsBuildIcons]? + public var include: [Include]? public var limitBetaBuildLocalizations: Int? public var limitBetaGroups: Int? public var limitBuildBundles: Int? @@ -38,209 +36,196 @@ extension APIEndpoint.V1.Builds { public var limitIndividualTesters: Int? public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version - } - - public enum Include: String, Codable, CaseIterable { - case app + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations case appEncryptionDeclaration - case appStoreVersion case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups + case app case buildBetaDetail - case buildBundles + case appStoreVersion case icons - case individualTesters - case preReleaseVersion - } - - public enum FieldsDiagnosticSignatures: String, Codable, CaseIterable { - case diagnosticType - case insight - case logs - case signature - case weight - } - - public enum FieldsBuildIcons: String, Codable, CaseIterable { - case iconAsset - case iconType - case name - } - - public enum FieldsBuildBetaDetails: String, Codable, CaseIterable { - case autoNotifyEnabled - case build - case externalBuildState - case internalBuildState + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public enum FieldsBetaAppReviewSubmissions: String, Codable, CaseIterable { - case betaReviewState - case build - case submittedDate + public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { + case version + case platform + case builds + case app } public enum FieldsBetaTesters: String, Codable, CaseIterable { - case apps - case betaGroups - case builds - case email case firstName - case inviteType case lastName + case email + case inviteType case state - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString + case apps + case betaGroups + case builds } public enum FieldsBetaBuildLocalizations: String, Codable, CaseIterable { - case build - case locale case whatsNew - } - - public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { - case app - case builds - case platform - case version + case locale + case build } public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { - case app case appDescription - case appEncryptionDeclarationDocument - case appEncryptionDeclarationState - case availableOnFrenchStore - case builds - case codeValue - case containsProprietaryCryptography - case containsThirdPartyCryptography case createdDate - case documentName - case documentType - case documentURL = "documentUrl" + case usesEncryption case exempt + case containsProprietaryCryptography + case containsThirdPartyCryptography + case availableOnFrenchStore case platform case uploadedDate - case usesEncryption + case documentURL = "documentUrl" + case documentName + case documentType + case appEncryptionDeclarationState + case codeValue + case app + case builds + case appEncryptionDeclarationDocument + } + + public enum FieldsBetaAppReviewSubmissions: String, Codable, CaseIterable { + case betaReviewState + case submittedDate + case build } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsPerfPowerMetrics: String, Codable, CaseIterable { - case deviceType - case metricType + public enum FieldsBuildBetaDetails: String, Codable, CaseIterable { + case autoNotifyEnabled + case internalBuildState + case externalBuildState + case build + } + + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + public enum FieldsBuildIcons: String, Codable, CaseIterable { + case name + case iconAsset + case iconType + } + + public enum Include: String, Codable, CaseIterable { + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles } - public init(fieldsBuilds: [FieldsBuilds]? = nil, include: [Include]? = nil, fieldsDiagnosticSignatures: [FieldsDiagnosticSignatures]? = nil, fieldsBuildIcons: [FieldsBuildIcons]? = nil, fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil, fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? = nil, limitBetaBuildLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuildBundles: Int? = nil, limitIcons: Int? = nil, limitIndividualTesters: Int? = nil) { + public init(fieldsBuilds: [FieldsBuilds]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsBuildIcons: [FieldsBuildIcons]? = nil, include: [Include]? = nil, limitBetaBuildLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuildBundles: Int? = nil, limitIcons: Int? = nil, limitIndividualTesters: Int? = nil) { self.fieldsBuilds = fieldsBuilds - self.include = include - self.fieldsDiagnosticSignatures = fieldsDiagnosticSignatures - self.fieldsBuildIcons = fieldsBuildIcons - self.fieldsBuildBetaDetails = fieldsBuildBetaDetails - self.fieldsBetaAppReviewSubmissions = fieldsBetaAppReviewSubmissions + self.fieldsPreReleaseVersions = fieldsPreReleaseVersions self.fieldsBetaTesters = fieldsBetaTesters - self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsBetaBuildLocalizations = fieldsBetaBuildLocalizations - self.fieldsPreReleaseVersions = fieldsPreReleaseVersions self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations + self.fieldsBetaAppReviewSubmissions = fieldsBetaAppReviewSubmissions self.fieldsApps = fieldsApps - self.fieldsPerfPowerMetrics = fieldsPerfPowerMetrics + self.fieldsBuildBetaDetails = fieldsBuildBetaDetails + self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.fieldsBuildIcons = fieldsBuildIcons + self.include = include self.limitBetaBuildLocalizations = limitBetaBuildLocalizations self.limitBetaGroups = limitBetaGroups self.limitBuildBundles = limitBuildBundles @@ -251,18 +236,16 @@ extension APIEndpoint.V1.Builds { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsBuilds, forKey: "fields[builds]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsDiagnosticSignatures, forKey: "fields[diagnosticSignatures]") - encoder.encode(fieldsBuildIcons, forKey: "fields[buildIcons]") - encoder.encode(fieldsBuildBetaDetails, forKey: "fields[buildBetaDetails]") - encoder.encode(fieldsBetaAppReviewSubmissions, forKey: "fields[betaAppReviewSubmissions]") + encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") encoder.encode(fieldsBetaTesters, forKey: "fields[betaTesters]") - encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsBetaBuildLocalizations, forKey: "fields[betaBuildLocalizations]") - encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") + encoder.encode(fieldsBetaAppReviewSubmissions, forKey: "fields[betaAppReviewSubmissions]") encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsPerfPowerMetrics, forKey: "fields[perfPowerMetrics]") + encoder.encode(fieldsBuildBetaDetails, forKey: "fields[buildBetaDetails]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(fieldsBuildIcons, forKey: "fields[buildIcons]") + encoder.encode(include, forKey: "include") encoder.encode(limitBetaBuildLocalizations, forKey: "limit[betaBuildLocalizations]") encoder.encode(limitBetaGroups, forKey: "limit[betaGroups]") encoder.encode(limitBuildBundles, forKey: "limit[buildBundles]") @@ -273,7 +256,7 @@ extension APIEndpoint.V1.Builds { } public func patch(_ body: AppStoreConnect_Swift_SDK.BuildUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "builds-update_instance") + Request(path: path, method: "PATCH", body: body, id: "builds_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift index d4434adc..8fbc63ba 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "builds-app-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "builds_app_getToOneRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { @@ -24,49 +24,51 @@ extension APIEndpoint.V1.Builds.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppEncryptionDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppEncryptionDeclaration.swift index 501e84ef..883d83d5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppEncryptionDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppEncryptionDeclaration.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEncryptionDeclarations), id: "builds-appEncryptionDeclaration-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppEncryptionDeclarations), id: "builds_appEncryptionDeclaration_getToOneRelated") } private func makeGetQuery(_ fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]?) -> [(String, String?)] { @@ -24,23 +24,23 @@ extension APIEndpoint.V1.Builds.WithID { } public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { - case app case appDescription - case appEncryptionDeclarationDocument - case appEncryptionDeclarationState - case availableOnFrenchStore - case builds - case codeValue - case containsProprietaryCryptography - case containsThirdPartyCryptography case createdDate - case documentName - case documentType - case documentURL = "documentUrl" + case usesEncryption case exempt + case containsProprietaryCryptography + case containsThirdPartyCryptography + case availableOnFrenchStore case platform case uploadedDate - case usesEncryption + case documentURL = "documentUrl" + case documentName + case documentType + case appEncryptionDeclarationState + case codeValue + case app + case builds + case appEncryptionDeclarationDocument } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift index 96af0a4a..2e5335d8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift @@ -14,277 +14,292 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-appStoreVersion-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds_appStoreVersion_getToOneRelated") } public struct GetParameters { - public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? - public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? - public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsApps: [FieldsApps]? + public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? + public var fieldsBuilds: [FieldsBuilds]? + public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? + public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? public var fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? + public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? + public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? - public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? - public var fieldsBuilds: [FieldsBuilds]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? + public var include: [Include]? public var limitAppStoreVersionLocalizations: Int? public var limitAppStoreVersionExperiments: Int? public var limitAppStoreVersionExperimentsV2: Int? - public var include: [Include]? + + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + 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 FieldsAgeRatingDeclarations: String, Codable, CaseIterable { - case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests - case gambling case gamblingAndContests + case gambling case gamblingSimulated - case horrorOrFearThemes case kidsAgeBand - case matureOrSuggestiveThemes + case lootBox case medicalOrTreatmentInformation case profanityOrCrudeHumor - case seventeenPlus case sexualContentGraphicAndNudity case sexualContentOrNudity + case horrorOrFearThemes + case matureOrSuggestiveThemes case unrestrictedWebAccess case violenceCartoonOrFantasy - case violenceRealistic case violenceRealisticProlongedGraphicOrSadistic - } - - public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { - case appStoreReviewAttachments - case appStoreVersion - case contactEmail - case contactFirstName - case contactLastName - case contactPhone - case demoAccountName - case demoAccountPassword - case demoAccountRequired - case notes + case violenceRealistic + case ageRatingOverride + case koreaAgeRatingOverride + case seventeenPlus } public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion case description - case keywords case locale + case keywords case marketingURL = "marketingUrl" case promotionalText case supportURL = "supportUrl" case whatsNew + case appStoreVersion + case appScreenshotSets + case appPreviewSets } - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission case app + case buildBetaDetail case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { + case phasedReleaseState + case startDate + case totalPauseDuration + case currentDayNumber case appStoreVersion } - public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions case appStoreVersion - case versions - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString - } - - public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages - case appEncryptionDeclarations - case appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 - case appStoreVersions - case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters - case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews - case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions - case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name - case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale - case promotedPurchases - case reviewSubmissions - case sku - case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" } public enum FieldsRoutingAppCoverages: String, Codable, CaseIterable { - case appStoreVersion - case assetDeliveryState - case fileName case fileSize + case fileName case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded + case appStoreVersion + } + + public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { + case contactFirstName + case contactLastName + case contactPhone + case contactEmail + case demoAccountName + case demoAccountPassword + case demoAccountRequired + case notes + case appStoreVersion + case appStoreReviewAttachments + } + + public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + case appStoreVersion } public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { case action case appClip - case appClipAppStoreReviewDetail + case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion } - public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { - case appStoreVersion - case currentDayNumber - case phasedReleaseState + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case name + case trafficProportion + case state + case reviewRequired case startDate - case totalPauseDuration + case endDate + case started + case appStoreVersion + case appStoreVersionExperimentTreatments + case platform + case app + case latestControlVersion + case controlVersions } - public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version + case versions } public enum Include: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 + case ageRatingDeclaration case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case alternativeDistributionPackage } - public init(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { - self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations - self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions - self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages + public init(fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, include: [Include]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil) { self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsApps = fieldsApps + self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations + self.fieldsBuilds = fieldsBuilds + self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases + self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions self.fieldsRoutingAppCoverages = fieldsRoutingAppCoverages + self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails + self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences - self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases - self.fieldsBuilds = fieldsBuilds + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages + self.include = include self.limitAppStoreVersionLocalizations = limitAppStoreVersionLocalizations self.limitAppStoreVersionExperiments = limitAppStoreVersionExperiments self.limitAppStoreVersionExperimentsV2 = limitAppStoreVersionExperimentsV2 - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") - encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") - encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") + encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") encoder.encode(fieldsRoutingAppCoverages, forKey: "fields[routingAppCoverages]") + encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") + encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") - encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppStoreVersionLocalizations, forKey: "limit[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionExperiments, forKey: "limit[appStoreVersionExperiments]") encoder.encode(limitAppStoreVersionExperimentsV2, forKey: "limit[appStoreVersionExperimentsV2]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaAppReviewSubmission.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaAppReviewSubmission.swift index ce3a48d0..6f4b8381 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaAppReviewSubmission.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaAppReviewSubmission.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaAppReviewSubmissions), id: "builds-betaAppReviewSubmission-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaAppReviewSubmissions), id: "builds_betaAppReviewSubmission_getToOneRelated") } private func makeGetQuery(_ fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]?) -> [(String, String?)] { @@ -25,8 +25,8 @@ extension APIEndpoint.V1.Builds.WithID { public enum FieldsBetaAppReviewSubmissions: String, Codable, CaseIterable { case betaReviewState - case build case submittedDate + case build } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaBuildLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaBuildLocalizations.swift index 10a2dcab..227910de 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaBuildLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBetaBuildLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaBuildLocalizations, limit), id: "builds-betaBuildLocalizations-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaBuildLocalizations, limit), id: "builds_betaBuildLocalizations_getToManyRelated") } private func makeGetQuery(_ fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]?, _ limit: Int?) -> [(String, String?)] { @@ -25,9 +25,9 @@ extension APIEndpoint.V1.Builds.WithID { } public enum FieldsBetaBuildLocalizations: String, Codable, CaseIterable { - case build - case locale case whatsNew + case locale + case build } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBuildBetaDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBuildBetaDetail.swift index 75253c2b..30cf5557 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBuildBetaDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDBuildBetaDetail.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-buildBetaDetail-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds_buildBetaDetail_getToOneRelated") } public struct GetParameters { @@ -24,36 +24,36 @@ extension APIEndpoint.V1.Builds.WithID { public enum FieldsBuildBetaDetails: String, Codable, CaseIterable { case autoNotifyEnabled - case build - case externalBuildState case internalBuildState + case externalBuildState + case build } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDDiagnosticSignatures.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDDiagnosticSignatures.swift index 195eb49f..f260b855 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDDiagnosticSignatures.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDDiagnosticSignatures.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-diagnosticSignatures-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds_diagnosticSignatures_getToManyRelated") } public struct GetParameters { @@ -30,10 +30,10 @@ extension APIEndpoint.V1.Builds.WithID { public enum FieldsDiagnosticSignatures: String, Codable, CaseIterable { case diagnosticType - case insight - case logs case signature case weight + case insight + case logs } public init(filterDiagnosticType: [FilterDiagnosticType]? = nil, fieldsDiagnosticSignatures: [FieldsDiagnosticSignatures]? = nil, limit: Int? = nil) { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIcons.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIcons.swift index af735221..f5d00100 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIcons.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIcons.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsBuildIcons: [FieldsBuildIcons]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBuildIcons, limit), id: "builds-icons-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuildIcons, limit), id: "builds_icons_getToManyRelated") } private func makeGetQuery(_ fieldsBuildIcons: [FieldsBuildIcons]?, _ limit: Int?) -> [(String, String?)] { @@ -25,9 +25,9 @@ extension APIEndpoint.V1.Builds.WithID { } public enum FieldsBuildIcons: String, Codable, CaseIterable { + case name case iconAsset case iconType - case name } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIndividualTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIndividualTesters.swift index 2287bedd..caf2abd5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIndividualTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDIndividualTesters.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsBetaTesters: [FieldsBetaTesters]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaTesters, limit), id: "builds-individualTesters-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBetaTesters, limit), id: "builds_individualTesters_getToManyRelated") } private func makeGetQuery(_ fieldsBetaTesters: [FieldsBetaTesters]?, _ limit: Int?) -> [(String, String?)] { @@ -25,14 +25,14 @@ extension APIEndpoint.V1.Builds.WithID { } public enum FieldsBetaTesters: String, Codable, CaseIterable { - case apps - case betaGroups - case builds - case email case firstName - case inviteType case lastName + case email + case inviteType case state + case apps + case betaGroups + case builds } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetricsBetaBuildUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetricsBetaBuildUsages.swift index fcafab52..a8c7326e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetricsBetaBuildUsages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetricsBetaBuildUsages.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID.Metrics { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "builds-betaBuildUsages-get_metrics") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "builds_betaBuildUsages_getMetrics") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift index fa113d17..c9967845 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPerfPowerMetrics.swift @@ -14,13 +14,17 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds-perfPowerMetrics-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "builds_perfPowerMetrics_getToManyRelated") } public struct GetParameters { - public var filterDeviceType: [String]? - public var filterMetricType: [FilterMetricType]? public var filterPlatform: [FilterPlatform]? + public var filterMetricType: [FilterMetricType]? + public var filterDeviceType: [String]? + + public enum FilterPlatform: String, Codable, CaseIterable { + case ios = "IOS" + } public enum FilterMetricType: String, Codable, CaseIterable { case disk = "DISK" @@ -32,21 +36,17 @@ extension APIEndpoint.V1.Builds.WithID { case termination = "TERMINATION" } - public enum FilterPlatform: String, Codable, CaseIterable { - case ios = "IOS" - } - - public init(filterDeviceType: [String]? = nil, filterMetricType: [FilterMetricType]? = nil, filterPlatform: [FilterPlatform]? = nil) { - self.filterDeviceType = filterDeviceType - self.filterMetricType = filterMetricType + public init(filterPlatform: [FilterPlatform]? = nil, filterMetricType: [FilterMetricType]? = nil, filterDeviceType: [String]? = nil) { self.filterPlatform = filterPlatform + self.filterMetricType = filterMetricType + self.filterDeviceType = filterDeviceType } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterDeviceType, forKey: "filter[deviceType]") - encoder.encode(filterMetricType, forKey: "filter[metricType]") encoder.encode(filterPlatform, forKey: "filter[platform]") + encoder.encode(filterMetricType, forKey: "filter[metricType]") + encoder.encode(filterDeviceType, forKey: "filter[deviceType]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPreReleaseVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPreReleaseVersion.swift index 97fa395e..455f9ce6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPreReleaseVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDPreReleaseVersion.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID { public let path: String public func get(fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsPreReleaseVersions), id: "builds-preReleaseVersion-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsPreReleaseVersions), id: "builds_preReleaseVersion_getToOneRelated") } private func makeGetQuery(_ fieldsPreReleaseVersions: [FieldsPreReleaseVersions]?) -> [(String, String?)] { @@ -24,10 +24,10 @@ extension APIEndpoint.V1.Builds.WithID { } public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { - case app - case builds - case platform case version + case platform + case builds + case app } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppEncryptionDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppEncryptionDeclaration.swift index dd279a6a..9c294518 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppEncryptionDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppEncryptionDeclaration.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.Builds.WithID.Relationships { public let path: String public var get: Request { - Request(path: path, method: "GET", id: "builds-appEncryptionDeclaration-get_to_one_relationship") + Request(path: path, method: "GET", id: "builds_appEncryptionDeclaration_getToOneRelationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.BuildAppEncryptionDeclarationLinkageRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "builds-appEncryptionDeclaration-update_to_one_relationship") + Request(path: path, method: "PATCH", body: body, id: "builds_appEncryptionDeclaration_updateToOneRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaGroups.swift index ad7f9e28..449c6c5b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaGroups.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.Builds.WithID.Relationships { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BuildBetaGroupsLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "builds-betaGroups-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "builds_betaGroups_createToManyRelationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BuildBetaGroupsLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "builds-betaGroups-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "builds_betaGroups_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIndividualTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIndividualTesters.swift index 8ea666e4..bdd1bd72 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIndividualTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsIndividualTesters.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Builds.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "builds-individualTesters-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "builds_individualTesters_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,11 +24,11 @@ extension APIEndpoint.V1.Builds.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.BuildIndividualTestersLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "builds-individualTesters-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "builds_individualTesters_createToManyRelationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.BuildIndividualTestersLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "builds-individualTesters-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "builds_individualTesters_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilities.swift index 1fa90b6a..504f2a84 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilities.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.BundleIDCapabilityCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "bundleIdCapabilities-create_instance") + Request(path: path, method: "POST", body: body, id: "bundleIdCapabilities_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilitiesWithID.swift index 8dd98442..070c0a37 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilitiesWithID.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.BundleIDCapabilities { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.BundleIDCapabilityUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "bundleIdCapabilities-update_instance") + Request(path: path, method: "PATCH", body: body, id: "bundleIdCapabilities_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "bundleIdCapabilities-delete_instance") + Request(path: path, method: "DELETE", id: "bundleIdCapabilities_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift index 86348509..71b7ba94 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift @@ -14,22 +14,22 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "bundleIds-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "bundleIds_getCollection") } public struct GetParameters { - public var filterIdentifier: [String]? public var filterName: [String]? public var filterPlatform: [FilterPlatform]? + public var filterIdentifier: [String]? public var filterSeedID: [String]? public var filterID: [String]? public var sort: [Sort]? public var fieldsBundleIDs: [FieldsBundleIDs]? - public var limit: Int? - public var include: [Include]? - public var fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]? public var fieldsProfiles: [FieldsProfiles]? + public var fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]? public var fieldsApps: [FieldsApps]? + public var limit: Int? + public var include: [Include]? public var limitBundleIDCapabilities: Int? public var limitProfiles: Int? @@ -39,131 +39,133 @@ extension APIEndpoint.V1 { } public enum Sort: String, Codable, CaseIterable { - case id - case minusid = "-id" - case identifier - case minusidentifier = "-identifier" case name case minusname = "-name" case platform case minusplatform = "-platform" + case identifier + case minusidentifier = "-identifier" case seedID = "seedId" case minusseedID = "-seedId" + case id + case minusid = "-id" } public enum FieldsBundleIDs: String, Codable, CaseIterable { - case app - case bundleIDCapabilities = "bundleIdCapabilities" - case identifier case name case platform - case profiles + case identifier case seedID = "seedId" - } - - public enum Include: String, Codable, CaseIterable { - case app - case bundleIDCapabilities = "bundleIdCapabilities" case profiles - } - - public enum FieldsBundleIDCapabilities: String, Codable, CaseIterable { - case bundleID = "bundleId" - case capabilityType - case settings + case bundleIDCapabilities = "bundleIdCapabilities" + case app } public enum FieldsProfiles: String, Codable, CaseIterable { - case bundleID = "bundleId" - case certificates - case createdDate - case devices - case expirationDate case name case platform - case profileContent - case profileState case profileType + case profileState + case profileContent case uuid + case createdDate + case expirationDate + case bundleID = "bundleId" + case devices + case certificates + } + + public enum FieldsBundleIDCapabilities: String, Codable, CaseIterable { + case capabilityType + case settings + case bundleID = "bundleId" } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public init(filterIdentifier: [String]? = nil, filterName: [String]? = nil, filterPlatform: [FilterPlatform]? = nil, filterSeedID: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsBundleIDs: [FieldsBundleIDs]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]? = nil, fieldsProfiles: [FieldsProfiles]? = nil, fieldsApps: [FieldsApps]? = nil, limitBundleIDCapabilities: Int? = nil, limitProfiles: Int? = nil) { - self.filterIdentifier = filterIdentifier + public enum Include: String, Codable, CaseIterable { + case profiles + case bundleIDCapabilities = "bundleIdCapabilities" + case app + } + + public init(filterName: [String]? = nil, filterPlatform: [FilterPlatform]? = nil, filterIdentifier: [String]? = nil, filterSeedID: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsBundleIDs: [FieldsBundleIDs]? = nil, fieldsProfiles: [FieldsProfiles]? = nil, fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil, limitBundleIDCapabilities: Int? = nil, limitProfiles: Int? = nil) { self.filterName = filterName self.filterPlatform = filterPlatform + self.filterIdentifier = filterIdentifier self.filterSeedID = filterSeedID self.filterID = filterID self.sort = sort self.fieldsBundleIDs = fieldsBundleIDs - self.limit = limit - self.include = include - self.fieldsBundleIDCapabilities = fieldsBundleIDCapabilities self.fieldsProfiles = fieldsProfiles + self.fieldsBundleIDCapabilities = fieldsBundleIDCapabilities self.fieldsApps = fieldsApps + self.limit = limit + self.include = include self.limitBundleIDCapabilities = limitBundleIDCapabilities self.limitProfiles = limitProfiles } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterIdentifier, forKey: "filter[identifier]") encoder.encode(filterName, forKey: "filter[name]") encoder.encode(filterPlatform, forKey: "filter[platform]") + encoder.encode(filterIdentifier, forKey: "filter[identifier]") encoder.encode(filterSeedID, forKey: "filter[seedId]") encoder.encode(filterID, forKey: "filter[id]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsBundleIDs, forKey: "fields[bundleIds]") - encoder.encode(limit, forKey: "limit") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsBundleIDCapabilities, forKey: "fields[bundleIdCapabilities]") encoder.encode(fieldsProfiles, forKey: "fields[profiles]") + encoder.encode(fieldsBundleIDCapabilities, forKey: "fields[bundleIdCapabilities]") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitBundleIDCapabilities, forKey: "limit[bundleIdCapabilities]") encoder.encode(limitProfiles, forKey: "limit[profiles]") return encoder.items @@ -171,7 +173,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.BundleIDCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "bundleIds-create_instance") + Request(path: path, method: "POST", body: body, id: "bundleIds_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift index 3c88ba6e..93c3c41b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift @@ -14,106 +14,108 @@ extension APIEndpoint.V1.BundleIDs { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "bundleIds-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "bundleIds_getInstance") } public struct GetParameters { public var fieldsBundleIDs: [FieldsBundleIDs]? - public var include: [Include]? - public var fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]? public var fieldsProfiles: [FieldsProfiles]? + public var fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]? public var fieldsApps: [FieldsApps]? + public var include: [Include]? public var limitBundleIDCapabilities: Int? public var limitProfiles: Int? public enum FieldsBundleIDs: String, Codable, CaseIterable { - case app - case bundleIDCapabilities = "bundleIdCapabilities" - case identifier case name case platform - case profiles + case identifier case seedID = "seedId" - } - - public enum Include: String, Codable, CaseIterable { - case app - case bundleIDCapabilities = "bundleIdCapabilities" case profiles - } - - public enum FieldsBundleIDCapabilities: String, Codable, CaseIterable { - case bundleID = "bundleId" - case capabilityType - case settings + case bundleIDCapabilities = "bundleIdCapabilities" + case app } public enum FieldsProfiles: String, Codable, CaseIterable { - case bundleID = "bundleId" - case certificates - case createdDate - case devices - case expirationDate case name case platform - case profileContent - case profileState case profileType + case profileState + case profileContent case uuid + case createdDate + case expirationDate + case bundleID = "bundleId" + case devices + case certificates + } + + public enum FieldsBundleIDCapabilities: String, Codable, CaseIterable { + case capabilityType + case settings + case bundleID = "bundleId" } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum Include: String, Codable, CaseIterable { + case profiles + case bundleIDCapabilities = "bundleIdCapabilities" + case app } - public init(fieldsBundleIDs: [FieldsBundleIDs]? = nil, include: [Include]? = nil, fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]? = nil, fieldsProfiles: [FieldsProfiles]? = nil, fieldsApps: [FieldsApps]? = nil, limitBundleIDCapabilities: Int? = nil, limitProfiles: Int? = nil) { + public init(fieldsBundleIDs: [FieldsBundleIDs]? = nil, fieldsProfiles: [FieldsProfiles]? = nil, fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]? = nil, fieldsApps: [FieldsApps]? = nil, include: [Include]? = nil, limitBundleIDCapabilities: Int? = nil, limitProfiles: Int? = nil) { self.fieldsBundleIDs = fieldsBundleIDs - self.include = include - self.fieldsBundleIDCapabilities = fieldsBundleIDCapabilities self.fieldsProfiles = fieldsProfiles + self.fieldsBundleIDCapabilities = fieldsBundleIDCapabilities self.fieldsApps = fieldsApps + self.include = include self.limitBundleIDCapabilities = limitBundleIDCapabilities self.limitProfiles = limitProfiles } @@ -121,10 +123,10 @@ extension APIEndpoint.V1.BundleIDs { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsBundleIDs, forKey: "fields[bundleIds]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsBundleIDCapabilities, forKey: "fields[bundleIdCapabilities]") encoder.encode(fieldsProfiles, forKey: "fields[profiles]") + encoder.encode(fieldsBundleIDCapabilities, forKey: "fields[bundleIdCapabilities]") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(include, forKey: "include") encoder.encode(limitBundleIDCapabilities, forKey: "limit[bundleIdCapabilities]") encoder.encode(limitProfiles, forKey: "limit[profiles]") return encoder.items @@ -132,11 +134,11 @@ extension APIEndpoint.V1.BundleIDs { } public func patch(_ body: AppStoreConnect_Swift_SDK.BundleIDUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "bundleIds-update_instance") + Request(path: path, method: "PATCH", body: body, id: "bundleIds_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "bundleIds-delete_instance") + Request(path: path, method: "DELETE", id: "bundleIds_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift index 206dc8e5..aa3a2a1e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BundleIDs.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "bundleIds-app-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "bundleIds_app_getToOneRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { @@ -24,49 +24,51 @@ extension APIEndpoint.V1.BundleIDs.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift index b3c89581..fefbbd4e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDBundleIDCapabilities.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BundleIDs.WithID { public let path: String public func get(fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBundleIDCapabilities, limit), id: "bundleIds-bundleIdCapabilities-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBundleIDCapabilities, limit), id: "bundleIds_bundleIdCapabilities_getToManyRelated") } private func makeGetQuery(_ fieldsBundleIDCapabilities: [FieldsBundleIDCapabilities]?, _ limit: Int?) -> [(String, String?)] { @@ -25,9 +25,9 @@ extension APIEndpoint.V1.BundleIDs.WithID { } public enum FieldsBundleIDCapabilities: String, Codable, CaseIterable { - case bundleID = "bundleId" case capabilityType case settings + case bundleID = "bundleId" } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDProfiles.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDProfiles.swift index d74408d9..865f32ca 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDProfiles.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDProfiles.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.BundleIDs.WithID { public let path: String public func get(fieldsProfiles: [FieldsProfiles]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsProfiles, limit), id: "bundleIds-profiles-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsProfiles, limit), id: "bundleIds_profiles_getToManyRelated") } private func makeGetQuery(_ fieldsProfiles: [FieldsProfiles]?, _ limit: Int?) -> [(String, String?)] { @@ -25,17 +25,17 @@ extension APIEndpoint.V1.BundleIDs.WithID { } public enum FieldsProfiles: String, Codable, CaseIterable { - case bundleID = "bundleId" - case certificates - case createdDate - case devices - case expirationDate case name case platform - case profileContent - case profileState case profileType + case profileState + case profileContent case uuid + case createdDate + case expirationDate + case bundleID = "bundleId" + case devices + case certificates } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift index b7a29167..b323a455 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Certificates.swift @@ -14,12 +14,12 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "certificates-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "certificates_getCollection") } public struct GetParameters { - public var filterCertificateType: [FilterCertificateType]? public var filterDisplayName: [String]? + public var filterCertificateType: [FilterCertificateType]? public var filterSerialNumber: [String]? public var filterID: [String]? public var sort: [Sort]? @@ -42,30 +42,30 @@ extension APIEndpoint.V1 { } public enum Sort: String, Codable, CaseIterable { - case certificateType - case minuscertificateType = "-certificateType" case displayName case minusdisplayName = "-displayName" - case id - case minusid = "-id" + case certificateType + case minuscertificateType = "-certificateType" case serialNumber case minusserialNumber = "-serialNumber" + case id + case minusid = "-id" } public enum FieldsCertificates: String, Codable, CaseIterable { - case certificateContent - case certificateType + case name case csrContent + case certificateType case displayName - case expirationDate - case name - case platform case serialNumber + case platform + case expirationDate + case certificateContent } - public init(filterCertificateType: [FilterCertificateType]? = nil, filterDisplayName: [String]? = nil, filterSerialNumber: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsCertificates: [FieldsCertificates]? = nil, limit: Int? = nil) { - self.filterCertificateType = filterCertificateType + public init(filterDisplayName: [String]? = nil, filterCertificateType: [FilterCertificateType]? = nil, filterSerialNumber: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsCertificates: [FieldsCertificates]? = nil, limit: Int? = nil) { self.filterDisplayName = filterDisplayName + self.filterCertificateType = filterCertificateType self.filterSerialNumber = filterSerialNumber self.filterID = filterID self.sort = sort @@ -75,8 +75,8 @@ extension APIEndpoint.V1 { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterCertificateType, forKey: "filter[certificateType]") encoder.encode(filterDisplayName, forKey: "filter[displayName]") + encoder.encode(filterCertificateType, forKey: "filter[certificateType]") encoder.encode(filterSerialNumber, forKey: "filter[serialNumber]") encoder.encode(filterID, forKey: "filter[id]") encoder.encode(sort, forKey: "sort") @@ -87,7 +87,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.CertificateCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "certificates-create_instance") + Request(path: path, method: "POST", body: body, id: "certificates_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift index b0d2aee9..9c1d93d0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Certificates { public let path: String public func get(fieldsCertificates: [FieldsCertificates]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsCertificates), id: "certificates-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsCertificates), id: "certificates_getInstance") } private func makeGetQuery(_ fieldsCertificates: [FieldsCertificates]?) -> [(String, String?)] { @@ -24,18 +24,18 @@ extension APIEndpoint.V1.Certificates { } public enum FieldsCertificates: String, Codable, CaseIterable { - case certificateContent - case certificateType + case name case csrContent + case certificateType case displayName - case expirationDate - case name - case platform case serialNumber + case platform + case expirationDate + case certificateContent } public var delete: Request { - Request(path: path, method: "DELETE", id: "certificates-delete_instance") + Request(path: path, method: "DELETE", id: "certificates_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifactsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifactsWithID.swift index d668ff1a..3a4c58d7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifactsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiArtifactsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.CiArtifacts { public let path: String public func get(fieldsCiArtifacts: [FieldsCiArtifacts]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsCiArtifacts), id: "ciArtifacts-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiArtifacts), id: "ciArtifacts_getInstance") } private func makeGetQuery(_ fieldsCiArtifacts: [FieldsCiArtifacts]?) -> [(String, String?)] { @@ -24,10 +24,10 @@ extension APIEndpoint.V1.CiArtifacts { } public enum FieldsCiArtifacts: String, Codable, CaseIterable { - case downloadURL = "downloadUrl" + case fileType case fileName case fileSize - case fileType + case downloadURL = "downloadUrl" } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift index ea9739db..8f02f095 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithID.swift @@ -14,100 +14,68 @@ extension APIEndpoint.V1.CiBuildActions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildActions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildActions_getInstance") } public struct GetParameters { public var fieldsCiBuildActions: [FieldsCiBuildActions]? - public var include: [Include]? - public var fieldsCiIssues: [FieldsCiIssues]? public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? - public var fieldsCiTestResults: [FieldsCiTestResults]? - public var fieldsCiArtifacts: [FieldsCiArtifacts]? + public var include: [Include]? public enum FieldsCiBuildActions: String, Codable, CaseIterable { + case name case actionType - case artifacts - case buildRun - case completionStatus - case executionProgress + case startedDate case finishedDate - case isRequiredToPass case issueCounts + case executionProgress + case completionStatus + case isRequiredToPass + case buildRun + case artifacts case issues - case name - case startedDate case testResults } - public enum Include: String, Codable, CaseIterable { - case buildRun - } - - public enum FieldsCiIssues: String, Codable, CaseIterable { - case category - case fileSource - case issueType - case message - } - public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case actions - case buildRun - case builds - case cancelReason case clean - case completionStatus + case number case createdDate - case destinationBranch - case destinationCommit - case executionProgress + case startedDate case finishedDate + case sourceCommit + case destinationCommit case isPullRequestBuild case issueCounts - case number - case product - case pullRequest - case sourceBranchOrTag - case sourceCommit + case executionProgress + case completionStatus case startReason - case startedDate + case cancelReason + case buildRun + case builds case workflow + case product + case sourceBranchOrTag + case destinationBranch + case actions + case pullRequest } - public enum FieldsCiTestResults: String, Codable, CaseIterable { - case className - case destinationTestResults - case fileSource - case message - case name - case status - } - - public enum FieldsCiArtifacts: String, Codable, CaseIterable { - case downloadURL = "downloadUrl" - case fileName - case fileSize - case fileType + public enum Include: String, Codable, CaseIterable { + case buildRun } - public init(fieldsCiBuildActions: [FieldsCiBuildActions]? = nil, include: [Include]? = nil, fieldsCiIssues: [FieldsCiIssues]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiTestResults: [FieldsCiTestResults]? = nil, fieldsCiArtifacts: [FieldsCiArtifacts]? = nil) { + public init(fieldsCiBuildActions: [FieldsCiBuildActions]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, include: [Include]? = nil) { self.fieldsCiBuildActions = fieldsCiBuildActions - self.include = include - self.fieldsCiIssues = fieldsCiIssues self.fieldsCiBuildRuns = fieldsCiBuildRuns - self.fieldsCiTestResults = fieldsCiTestResults - self.fieldsCiArtifacts = fieldsCiArtifacts + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsCiBuildActions, forKey: "fields[ciBuildActions]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsCiIssues, forKey: "fields[ciIssues]") encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") - encoder.encode(fieldsCiTestResults, forKey: "fields[ciTestResults]") - encoder.encode(fieldsCiArtifacts, forKey: "fields[ciArtifacts]") + encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDArtifacts.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDArtifacts.swift index 6d5ea324..ad51aabd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDArtifacts.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDArtifacts.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.CiBuildActions.WithID { public let path: String public func get(fieldsCiArtifacts: [FieldsCiArtifacts]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsCiArtifacts, limit), id: "ciBuildActions-artifacts-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiArtifacts, limit), id: "ciBuildActions_artifacts_getToManyRelated") } private func makeGetQuery(_ fieldsCiArtifacts: [FieldsCiArtifacts]?, _ limit: Int?) -> [(String, String?)] { @@ -25,10 +25,10 @@ extension APIEndpoint.V1.CiBuildActions.WithID { } public enum FieldsCiArtifacts: String, Codable, CaseIterable { - case downloadURL = "downloadUrl" + case fileType case fileName case fileSize - case fileType + case downloadURL = "downloadUrl" } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift index 87053815..b30a946d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift @@ -14,158 +14,158 @@ extension APIEndpoint.V1.CiBuildActions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildActions-buildRun-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildActions_buildRun_getToOneRelated") } public struct GetParameters { - public var fieldsScmGitReferences: [FieldsScmGitReferences]? public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? + public var fieldsBuilds: [FieldsBuilds]? public var fieldsCiWorkflows: [FieldsCiWorkflows]? - public var fieldsScmPullRequests: [FieldsScmPullRequests]? public var fieldsCiProducts: [FieldsCiProducts]? - public var fieldsBuilds: [FieldsBuilds]? - public var limitBuilds: Int? + public var fieldsScmGitReferences: [FieldsScmGitReferences]? + public var fieldsScmPullRequests: [FieldsScmPullRequests]? public var include: [Include]? - - public enum FieldsScmGitReferences: String, Codable, CaseIterable { - case canonicalName - case isDeleted - case kind - case name - case repository - } + public var limitBuilds: Int? public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case actions - case buildRun - case builds - case cancelReason case clean - case completionStatus + case number case createdDate - case destinationBranch - case destinationCommit - case executionProgress + case startedDate case finishedDate + case sourceCommit + case destinationCommit case isPullRequestBuild case issueCounts - case number - case product - case pullRequest - case sourceBranchOrTag - case sourceCommit + case executionProgress + case completionStatus case startReason - case startedDate + case cancelReason + case buildRun + case builds case workflow + case product + case sourceBranchOrTag + case destinationBranch + case actions + case pullRequest + } + + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } public enum FieldsCiWorkflows: String, Codable, CaseIterable { - case actions - case branchStartCondition - case buildRuns - case clean - case containerFilePath + case name case description + case branchStartCondition + case tagStartCondition + case pullRequestStartCondition + case scheduledStartCondition + case manualBranchStartCondition + case manualTagStartCondition + case manualPullRequestStartCondition + case actions case isEnabled case isLockedForEditing + case clean + case containerFilePath case lastModifiedDate - case macOsVersion - case manualBranchStartCondition - case manualPullRequestStartCondition - case manualTagStartCondition - case name case product - case pullRequestStartCondition case repository - case scheduledStartCondition - case tagStartCondition case xcodeVersion - } - - public enum FieldsScmPullRequests: String, Codable, CaseIterable { - case destinationBranchName - case destinationRepositoryName - case destinationRepositoryOwner - case isClosed - case isCrossRepository - case number - case repository - case sourceBranchName - case sourceRepositoryName - case sourceRepositoryOwner - case title - case webURL = "webUrl" + case macOsVersion + case buildRuns } public enum FieldsCiProducts: String, Codable, CaseIterable { - case additionalRepositories - case app - case buildRuns - case bundleID = "bundleId" - case createdDate case name - case primaryRepositories + case createdDate case productType + case app + case bundleID = "bundleId" case workflows + case primaryRepositories + case additionalRepositories + case buildRuns } - public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version + public enum FieldsScmGitReferences: String, Codable, CaseIterable { + case name + case canonicalName + case isDeleted + case kind + case repository + } + + public enum FieldsScmPullRequests: String, Codable, CaseIterable { + case title + case number + case webURL = "webUrl" + case sourceRepositoryOwner + case sourceRepositoryName + case sourceBranchName + case destinationRepositoryOwner + case destinationRepositoryName + case destinationBranchName + case isClosed + case isCrossRepository + case repository } public enum Include: String, Codable, CaseIterable { case builds - case destinationBranch + case workflow case product - case pullRequest case sourceBranchOrTag - case workflow + case destinationBranch + case pullRequest } - public init(fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitBuilds: Int? = nil, include: [Include]? = nil) { - self.fieldsScmGitReferences = fieldsScmGitReferences + public init(fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, include: [Include]? = nil, limitBuilds: Int? = nil) { self.fieldsCiBuildRuns = fieldsCiBuildRuns + self.fieldsBuilds = fieldsBuilds self.fieldsCiWorkflows = fieldsCiWorkflows - self.fieldsScmPullRequests = fieldsScmPullRequests self.fieldsCiProducts = fieldsCiProducts - self.fieldsBuilds = fieldsBuilds - self.limitBuilds = limitBuilds + self.fieldsScmGitReferences = fieldsScmGitReferences + self.fieldsScmPullRequests = fieldsScmPullRequests self.include = include + self.limitBuilds = limitBuilds } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsCiWorkflows, forKey: "fields[ciWorkflows]") - encoder.encode(fieldsScmPullRequests, forKey: "fields[scmPullRequests]") encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") - encoder.encode(limitBuilds, forKey: "limit[builds]") + encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") + encoder.encode(fieldsScmPullRequests, forKey: "fields[scmPullRequests]") encoder.encode(include, forKey: "include") + encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDIssues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDIssues.swift index a78c8060..b831ccd0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDIssues.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDIssues.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.CiBuildActions.WithID { public let path: String public func get(fieldsCiIssues: [FieldsCiIssues]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsCiIssues, limit), id: "ciBuildActions-issues-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiIssues, limit), id: "ciBuildActions_issues_getToManyRelated") } private func makeGetQuery(_ fieldsCiIssues: [FieldsCiIssues]?, _ limit: Int?) -> [(String, String?)] { @@ -25,10 +25,10 @@ extension APIEndpoint.V1.CiBuildActions.WithID { } public enum FieldsCiIssues: String, Codable, CaseIterable { - case category - case fileSource case issueType case message + case fileSource + case category } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDTestResults.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDTestResults.swift index e7c2017c..7e467b8a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDTestResults.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDTestResults.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.CiBuildActions.WithID { public let path: String public func get(fieldsCiTestResults: [FieldsCiTestResults]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsCiTestResults, limit), id: "ciBuildActions-testResults-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiTestResults, limit), id: "ciBuildActions_testResults_getToManyRelated") } private func makeGetQuery(_ fieldsCiTestResults: [FieldsCiTestResults]?, _ limit: Int?) -> [(String, String?)] { @@ -26,11 +26,11 @@ extension APIEndpoint.V1.CiBuildActions.WithID { public enum FieldsCiTestResults: String, Codable, CaseIterable { case className - case destinationTestResults - case fileSource - case message case name case status + case fileSource + case message + case destinationTestResults } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRuns.swift index ef51dc7a..79aaed7d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRuns.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.CiBuildRunCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "ciBuildRuns-create_instance") + Request(path: path, method: "POST", body: body, id: "ciBuildRuns_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift index b7d06b34..7ac582e3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithID.swift @@ -14,105 +14,87 @@ extension APIEndpoint.V1.CiBuildRuns { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildRuns-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildRuns_getInstance") } public struct GetParameters { public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? - public var include: [Include]? - public var fieldsCiBuildActions: [FieldsCiBuildActions]? public var fieldsBuilds: [FieldsBuilds]? + public var include: [Include]? public var limitBuilds: Int? public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case actions - case buildRun - case builds - case cancelReason case clean - case completionStatus + case number case createdDate - case destinationBranch - case destinationCommit - case executionProgress + case startedDate case finishedDate + case sourceCommit + case destinationCommit case isPullRequestBuild case issueCounts - case number - case product - case pullRequest - case sourceBranchOrTag - case sourceCommit + case executionProgress + case completionStatus case startReason - case startedDate - case workflow - } - - public enum Include: String, Codable, CaseIterable { + case cancelReason + case buildRun case builds - case destinationBranch + case workflow case product - case pullRequest case sourceBranchOrTag - case workflow - } - - public enum FieldsCiBuildActions: String, Codable, CaseIterable { - case actionType - case artifacts - case buildRun - case completionStatus - case executionProgress - case finishedDate - case isRequiredToPass - case issueCounts - case issues - case name - case startedDate - case testResults + case destinationBranch + case actions + case pullRequest } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public init(fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, include: [Include]? = nil, fieldsCiBuildActions: [FieldsCiBuildActions]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitBuilds: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case builds + case workflow + case product + case sourceBranchOrTag + case destinationBranch + case pullRequest + } + + public init(fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, include: [Include]? = nil, limitBuilds: Int? = nil) { self.fieldsCiBuildRuns = fieldsCiBuildRuns - self.include = include - self.fieldsCiBuildActions = fieldsCiBuildActions self.fieldsBuilds = fieldsBuilds + self.include = include self.limitBuilds = limitBuilds } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsCiBuildActions, forKey: "fields[ciBuildActions]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(include, forKey: "include") encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift index 7713085c..beb48e9b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDActions.swift @@ -14,69 +14,69 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildRuns-actions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildRuns_actions_getToManyRelated") } public struct GetParameters { - public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? public var fieldsCiBuildActions: [FieldsCiBuildActions]? + public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? public var limit: Int? public var include: [Include]? - public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case actions + public enum FieldsCiBuildActions: String, Codable, CaseIterable { + case name + case actionType + case startedDate + case finishedDate + case issueCounts + case executionProgress + case completionStatus + case isRequiredToPass case buildRun - case builds - case cancelReason + case artifacts + case issues + case testResults + } + + public enum FieldsCiBuildRuns: String, Codable, CaseIterable { case clean - case completionStatus + case number case createdDate - case destinationBranch - case destinationCommit - case executionProgress + case startedDate case finishedDate + case sourceCommit + case destinationCommit case isPullRequestBuild case issueCounts - case number - case product - case pullRequest - case sourceBranchOrTag - case sourceCommit + case executionProgress + case completionStatus case startReason - case startedDate - case workflow - } - - public enum FieldsCiBuildActions: String, Codable, CaseIterable { - case actionType - case artifacts + case cancelReason case buildRun - case completionStatus - case executionProgress - case finishedDate - case isRequiredToPass - case issueCounts - case issues - case name - case startedDate - case testResults + case builds + case workflow + case product + case sourceBranchOrTag + case destinationBranch + case actions + case pullRequest } public enum Include: String, Codable, CaseIterable { case buildRun } - public init(fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiBuildActions: [FieldsCiBuildActions]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.fieldsCiBuildRuns = fieldsCiBuildRuns + public init(fieldsCiBuildActions: [FieldsCiBuildActions]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsCiBuildActions = fieldsCiBuildActions + self.fieldsCiBuildRuns = fieldsCiBuildRuns self.limit = limit self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") encoder.encode(fieldsCiBuildActions, forKey: "fields[ciBuildActions]") + encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift index 3ef12c32..d09fa5e9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift @@ -14,43 +14,50 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildRuns-builds-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciBuildRuns_builds_getToManyRelated") } public struct GetParameters { - public var filterBetaAppReviewSubmissionBetaReviewState: [FilterBetaAppReviewSubmissionBetaReviewState]? - public var filterBuildAudienceType: [FilterBuildAudienceType]? + public var filterVersion: [String]? public var filterExpired: [String]? - public var filterPreReleaseVersionPlatform: [FilterPreReleaseVersionPlatform]? - public var filterPreReleaseVersionVersion: [String]? public var filterProcessingState: [FilterProcessingState]? + public var filterBetaAppReviewSubmissionBetaReviewState: [FilterBetaAppReviewSubmissionBetaReviewState]? public var filterUsesNonExemptEncryption: [String]? - public var filterVersion: [String]? + public var filterPreReleaseVersionVersion: [String]? + public var filterPreReleaseVersionPlatform: [FilterPreReleaseVersionPlatform]? + public var filterBuildAudienceType: [FilterBuildAudienceType]? + public var filterPreReleaseVersion: [String]? public var filterApp: [String]? - public var filterAppStoreVersion: [String]? public var filterBetaGroups: [String]? - public var filterPreReleaseVersion: [String]? + public var filterAppStoreVersion: [String]? public var filterID: [String]? public var sort: [Sort]? - public var fieldsBuildBundles: [FieldsBuildBundles]? - public var fieldsBuildIcons: [FieldsBuildIcons]? - public var fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? - public var fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? - public var fieldsBetaTesters: [FieldsBetaTesters]? + public var fieldsBuilds: [FieldsBuilds]? public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? + public var fieldsBetaTesters: [FieldsBetaTesters]? + public var fieldsBetaGroups: [FieldsBetaGroups]? public var fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? - public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? + public var fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? public var fieldsApps: [FieldsApps]? - public var fieldsBuilds: [FieldsBuilds]? - public var fieldsBetaGroups: [FieldsBetaGroups]? + public var fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var fieldsBuildIcons: [FieldsBuildIcons]? + public var fieldsBuildBundles: [FieldsBuildBundles]? public var limit: Int? + public var include: [Include]? public var limitIndividualTesters: Int? public var limitBetaGroups: Int? public var limitBetaBuildLocalizations: Int? public var limitIcons: Int? public var limitBuildBundles: Int? - public var include: [Include]? + + public enum FilterProcessingState: String, Codable, CaseIterable { + case processing = "PROCESSING" + case failed = "FAILED" + case invalid = "INVALID" + case valid = "VALID" + } public enum FilterBetaAppReviewSubmissionBetaReviewState: String, Codable, CaseIterable { case waitingForReview = "WAITING_FOR_REVIEW" @@ -59,11 +66,6 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { case approved = "APPROVED" } - public enum FilterBuildAudienceType: String, Codable, CaseIterable { - case internalOnly = "INTERNAL_ONLY" - case appStoreEligible = "APP_STORE_ELIGIBLE" - } - public enum FilterPreReleaseVersionPlatform: String, Codable, CaseIterable { case ios = "IOS" case macOs = "MAC_OS" @@ -71,310 +73,311 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { case visionOs = "VISION_OS" } - public enum FilterProcessingState: String, Codable, CaseIterable { - case processing = "PROCESSING" - case failed = "FAILED" - case invalid = "INVALID" - case valid = "VALID" + public enum FilterBuildAudienceType: String, Codable, CaseIterable { + case internalOnly = "INTERNAL_ONLY" + case appStoreEligible = "APP_STORE_ELIGIBLE" } public enum Sort: String, Codable, CaseIterable { - case preReleaseVersion - case minuspreReleaseVersion = "-preReleaseVersion" - case uploadedDate - case minusuploadedDate = "-uploadedDate" case version case minusversion = "-version" + case uploadedDate + case minusuploadedDate = "-uploadedDate" + case preReleaseVersion + case minuspreReleaseVersion = "-preReleaseVersion" } - public enum FieldsBuildBundles: String, Codable, CaseIterable { - case appClipDomainCacheStatus - case appClipDomainDebugStatus - case betaAppClipInvocations - case buildBundleFileSizes - case bundleID = "bundleId" - case bundleType - case dSYMURL = "dSYMUrl" - case deviceProtocols - case entitlements - case fileName - case hasOnDemandResources - case hasPrerenderedIcon - case hasSirikit - case includesSymbols - case isIosBuildMacAppStoreCompatible - case locales - case platformBuild - case requiredCapabilities - case sdkBuild - case supportedArchitectures - case usesLocationServices - } - - public enum FieldsBuildIcons: String, Codable, CaseIterable { - case iconAsset - case iconType - case name - } - - public enum FieldsBetaAppReviewSubmissions: String, Codable, CaseIterable { - case betaReviewState - case build - case submittedDate + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public enum FieldsBuildBetaDetails: String, Codable, CaseIterable { - case autoNotifyEnabled - case build - case externalBuildState - case internalBuildState + public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { + case version + case platform + case builds + case app } public enum FieldsBetaTesters: String, Codable, CaseIterable { - case apps - case betaGroups - case builds - case email case firstName - case inviteType case lastName + case email + case inviteType case state + case apps + case betaGroups + case builds } - public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { + public enum FieldsBetaGroups: String, Codable, CaseIterable { + case name + case createdDate + case isInternalGroup + case hasAccessToAllBuilds + case publicLinkEnabled + case publicLinkID = "publicLinkId" + case publicLinkLimitEnabled + case publicLinkLimit + case publicLink + case feedbackEnabled + case iosBuildsAvailableForAppleSiliconMac case app case builds - case platform - case version + case betaTesters } public enum FieldsBetaBuildLocalizations: String, Codable, CaseIterable { - case build - case locale case whatsNew - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState + case locale case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString } public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { - case app case appDescription - case appEncryptionDeclarationDocument - case appEncryptionDeclarationState - case availableOnFrenchStore - case builds - case codeValue - case containsProprietaryCryptography - case containsThirdPartyCryptography case createdDate - case documentName - case documentType - case documentURL = "documentUrl" + case usesEncryption case exempt + case containsProprietaryCryptography + case containsThirdPartyCryptography + case availableOnFrenchStore case platform case uploadedDate - case usesEncryption + case documentURL = "documentUrl" + case documentName + case documentType + case appEncryptionDeclarationState + case codeValue + case app + case builds + case appEncryptionDeclarationDocument + } + + public enum FieldsBetaAppReviewSubmissions: String, Codable, CaseIterable { + case betaReviewState + case submittedDate + case build } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version + public enum FieldsBuildBetaDetails: String, Codable, CaseIterable { + case autoNotifyEnabled + case internalBuildState + case externalBuildState + case build } - public enum FieldsBetaGroups: String, Codable, CaseIterable { - case app - case betaTesters - case builds + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable case createdDate - case feedbackEnabled - case hasAccessToAllBuilds - case iosBuildsAvailableForAppleSiliconMac - case isInternalGroup + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + public enum FieldsBuildIcons: String, Codable, CaseIterable { case name - case publicLink - case publicLinkEnabled - case publicLinkID = "publicLinkId" - case publicLinkLimit - case publicLinkLimitEnabled + case iconAsset + case iconType + } + + public enum FieldsBuildBundles: String, Codable, CaseIterable { + case bundleID = "bundleId" + case bundleType + case sdkBuild + case platformBuild + case fileName + case hasSirikit + case hasOnDemandResources + case hasPrerenderedIcon + case usesLocationServices + case isIosBuildMacAppStoreCompatible + case includesSymbols + case dSYMURL = "dSYMUrl" + case supportedArchitectures + case requiredCapabilities + case deviceProtocols + case locales + case entitlements + case appClipDomainCacheStatus + case appClipDomainDebugStatus + case betaAppClipInvocations + case buildBundleFileSizes } public enum Include: String, Codable, CaseIterable { - case app + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations case appEncryptionDeclaration - case appStoreVersion case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups + case app case buildBetaDetail - case buildBundles + case appStoreVersion case icons - case individualTesters - case preReleaseVersion + case buildBundles } - public init(filterBetaAppReviewSubmissionBetaReviewState: [FilterBetaAppReviewSubmissionBetaReviewState]? = nil, filterBuildAudienceType: [FilterBuildAudienceType]? = nil, filterExpired: [String]? = nil, filterPreReleaseVersionPlatform: [FilterPreReleaseVersionPlatform]? = nil, filterPreReleaseVersionVersion: [String]? = nil, filterProcessingState: [FilterProcessingState]? = nil, filterUsesNonExemptEncryption: [String]? = nil, filterVersion: [String]? = nil, filterApp: [String]? = nil, filterAppStoreVersion: [String]? = nil, filterBetaGroups: [String]? = nil, filterPreReleaseVersion: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsBuildBundles: [FieldsBuildBundles]? = nil, fieldsBuildIcons: [FieldsBuildIcons]? = nil, fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil, fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, limit: Int? = nil, limitIndividualTesters: Int? = nil, limitBetaGroups: Int? = nil, limitBetaBuildLocalizations: Int? = nil, limitIcons: Int? = nil, limitBuildBundles: Int? = nil, include: [Include]? = nil) { - self.filterBetaAppReviewSubmissionBetaReviewState = filterBetaAppReviewSubmissionBetaReviewState - self.filterBuildAudienceType = filterBuildAudienceType + public init(filterVersion: [String]? = nil, filterExpired: [String]? = nil, filterProcessingState: [FilterProcessingState]? = nil, filterBetaAppReviewSubmissionBetaReviewState: [FilterBetaAppReviewSubmissionBetaReviewState]? = nil, filterUsesNonExemptEncryption: [String]? = nil, filterPreReleaseVersionVersion: [String]? = nil, filterPreReleaseVersionPlatform: [FilterPreReleaseVersionPlatform]? = nil, filterBuildAudienceType: [FilterBuildAudienceType]? = nil, filterPreReleaseVersion: [String]? = nil, filterApp: [String]? = nil, filterBetaGroups: [String]? = nil, filterAppStoreVersion: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBetaTesters: [FieldsBetaTesters]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsBetaBuildLocalizations: [FieldsBetaBuildLocalizations]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsBetaAppReviewSubmissions: [FieldsBetaAppReviewSubmissions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuildBetaDetails: [FieldsBuildBetaDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsBuildIcons: [FieldsBuildIcons]? = nil, fieldsBuildBundles: [FieldsBuildBundles]? = nil, limit: Int? = nil, include: [Include]? = nil, limitIndividualTesters: Int? = nil, limitBetaGroups: Int? = nil, limitBetaBuildLocalizations: Int? = nil, limitIcons: Int? = nil, limitBuildBundles: Int? = nil) { + self.filterVersion = filterVersion self.filterExpired = filterExpired - self.filterPreReleaseVersionPlatform = filterPreReleaseVersionPlatform - self.filterPreReleaseVersionVersion = filterPreReleaseVersionVersion self.filterProcessingState = filterProcessingState + self.filterBetaAppReviewSubmissionBetaReviewState = filterBetaAppReviewSubmissionBetaReviewState self.filterUsesNonExemptEncryption = filterUsesNonExemptEncryption - self.filterVersion = filterVersion + self.filterPreReleaseVersionVersion = filterPreReleaseVersionVersion + self.filterPreReleaseVersionPlatform = filterPreReleaseVersionPlatform + self.filterBuildAudienceType = filterBuildAudienceType + self.filterPreReleaseVersion = filterPreReleaseVersion self.filterApp = filterApp - self.filterAppStoreVersion = filterAppStoreVersion self.filterBetaGroups = filterBetaGroups - self.filterPreReleaseVersion = filterPreReleaseVersion + self.filterAppStoreVersion = filterAppStoreVersion self.filterID = filterID self.sort = sort - self.fieldsBuildBundles = fieldsBuildBundles - self.fieldsBuildIcons = fieldsBuildIcons - self.fieldsBetaAppReviewSubmissions = fieldsBetaAppReviewSubmissions - self.fieldsBuildBetaDetails = fieldsBuildBetaDetails - self.fieldsBetaTesters = fieldsBetaTesters + self.fieldsBuilds = fieldsBuilds self.fieldsPreReleaseVersions = fieldsPreReleaseVersions + self.fieldsBetaTesters = fieldsBetaTesters + self.fieldsBetaGroups = fieldsBetaGroups self.fieldsBetaBuildLocalizations = fieldsBetaBuildLocalizations - self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations + self.fieldsBetaAppReviewSubmissions = fieldsBetaAppReviewSubmissions self.fieldsApps = fieldsApps - self.fieldsBuilds = fieldsBuilds - self.fieldsBetaGroups = fieldsBetaGroups + self.fieldsBuildBetaDetails = fieldsBuildBetaDetails + self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.fieldsBuildIcons = fieldsBuildIcons + self.fieldsBuildBundles = fieldsBuildBundles self.limit = limit + self.include = include self.limitIndividualTesters = limitIndividualTesters self.limitBetaGroups = limitBetaGroups self.limitBetaBuildLocalizations = limitBetaBuildLocalizations self.limitIcons = limitIcons self.limitBuildBundles = limitBuildBundles - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterBetaAppReviewSubmissionBetaReviewState, forKey: "filter[betaAppReviewSubmission.betaReviewState]") - encoder.encode(filterBuildAudienceType, forKey: "filter[buildAudienceType]") + encoder.encode(filterVersion, forKey: "filter[version]") encoder.encode(filterExpired, forKey: "filter[expired]") - encoder.encode(filterPreReleaseVersionPlatform, forKey: "filter[preReleaseVersion.platform]") - encoder.encode(filterPreReleaseVersionVersion, forKey: "filter[preReleaseVersion.version]") encoder.encode(filterProcessingState, forKey: "filter[processingState]") + encoder.encode(filterBetaAppReviewSubmissionBetaReviewState, forKey: "filter[betaAppReviewSubmission.betaReviewState]") encoder.encode(filterUsesNonExemptEncryption, forKey: "filter[usesNonExemptEncryption]") - encoder.encode(filterVersion, forKey: "filter[version]") + encoder.encode(filterPreReleaseVersionVersion, forKey: "filter[preReleaseVersion.version]") + encoder.encode(filterPreReleaseVersionPlatform, forKey: "filter[preReleaseVersion.platform]") + encoder.encode(filterBuildAudienceType, forKey: "filter[buildAudienceType]") + encoder.encode(filterPreReleaseVersion, forKey: "filter[preReleaseVersion]") encoder.encode(filterApp, forKey: "filter[app]") - encoder.encode(filterAppStoreVersion, forKey: "filter[appStoreVersion]") encoder.encode(filterBetaGroups, forKey: "filter[betaGroups]") - encoder.encode(filterPreReleaseVersion, forKey: "filter[preReleaseVersion]") + encoder.encode(filterAppStoreVersion, forKey: "filter[appStoreVersion]") encoder.encode(filterID, forKey: "filter[id]") encoder.encode(sort, forKey: "sort") - encoder.encode(fieldsBuildBundles, forKey: "fields[buildBundles]") - encoder.encode(fieldsBuildIcons, forKey: "fields[buildIcons]") - encoder.encode(fieldsBetaAppReviewSubmissions, forKey: "fields[betaAppReviewSubmissions]") - encoder.encode(fieldsBuildBetaDetails, forKey: "fields[buildBetaDetails]") - encoder.encode(fieldsBetaTesters, forKey: "fields[betaTesters]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") + encoder.encode(fieldsBetaTesters, forKey: "fields[betaTesters]") + encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") encoder.encode(fieldsBetaBuildLocalizations, forKey: "fields[betaBuildLocalizations]") - encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") + encoder.encode(fieldsBetaAppReviewSubmissions, forKey: "fields[betaAppReviewSubmissions]") encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") - encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") + encoder.encode(fieldsBuildBetaDetails, forKey: "fields[buildBetaDetails]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(fieldsBuildIcons, forKey: "fields[buildIcons]") + encoder.encode(fieldsBuildBundles, forKey: "fields[buildBundles]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitIndividualTesters, forKey: "limit[individualTesters]") encoder.encode(limitBetaGroups, forKey: "limit[betaGroups]") encoder.encode(limitBetaBuildLocalizations, forKey: "limit[betaBuildLocalizations]") encoder.encode(limitIcons, forKey: "limit[icons]") encoder.encode(limitBuildBundles, forKey: "limit[buildBundles]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiIssuesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiIssuesWithID.swift index a7c95334..7349088b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiIssuesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiIssuesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.CiIssues { public let path: String public func get(fieldsCiIssues: [FieldsCiIssues]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsCiIssues), id: "ciIssues-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiIssues), id: "ciIssues_getInstance") } private func makeGetQuery(_ fieldsCiIssues: [FieldsCiIssues]?) -> [(String, String?)] { @@ -24,10 +24,10 @@ extension APIEndpoint.V1.CiIssues { } public enum FieldsCiIssues: String, Codable, CaseIterable { - case category - case fileSource case issueType case message + case fileSource + case category } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersions.swift index bc30bac7..f3d07da3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersions.swift @@ -14,47 +14,47 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciMacOsVersions-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciMacOsVersions_getCollection") } public struct GetParameters { public var fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? + public var fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? public var limit: Int? public var include: [Include]? - public var fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? public var limitXcodeVersions: Int? public enum FieldsCiMacOsVersions: String, Codable, CaseIterable { - case name case version - case xcodeVersions - } - - public enum Include: String, Codable, CaseIterable { + case name case xcodeVersions } public enum FieldsCiXcodeVersions: String, Codable, CaseIterable { - case macOsVersions + case version case name case testDestinations - case version + case macOsVersions + } + + public enum Include: String, Codable, CaseIterable { + case xcodeVersions } - public init(fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, limitXcodeVersions: Int? = nil) { + public init(fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, limit: Int? = nil, include: [Include]? = nil, limitXcodeVersions: Int? = nil) { self.fieldsCiMacOsVersions = fieldsCiMacOsVersions + self.fieldsCiXcodeVersions = fieldsCiXcodeVersions self.limit = limit self.include = include - self.fieldsCiXcodeVersions = fieldsCiXcodeVersions self.limitXcodeVersions = limitXcodeVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsCiMacOsVersions, forKey: "fields[ciMacOsVersions]") + encoder.encode(fieldsCiXcodeVersions, forKey: "fields[ciXcodeVersions]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsCiXcodeVersions, forKey: "fields[ciXcodeVersions]") encoder.encode(limitXcodeVersions, forKey: "limit[xcodeVersions]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithID.swift index 3192ea87..ce53763d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithID.swift @@ -14,44 +14,44 @@ extension APIEndpoint.V1.CiMacOsVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciMacOsVersions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciMacOsVersions_getInstance") } public struct GetParameters { public var fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? - public var include: [Include]? public var fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? + public var include: [Include]? public var limitXcodeVersions: Int? public enum FieldsCiMacOsVersions: String, Codable, CaseIterable { - case name case version - case xcodeVersions - } - - public enum Include: String, Codable, CaseIterable { + case name case xcodeVersions } public enum FieldsCiXcodeVersions: String, Codable, CaseIterable { - case macOsVersions + case version case name case testDestinations - case version + case macOsVersions + } + + public enum Include: String, Codable, CaseIterable { + case xcodeVersions } - public init(fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, include: [Include]? = nil, fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, limitXcodeVersions: Int? = nil) { + public init(fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, include: [Include]? = nil, limitXcodeVersions: Int? = nil) { self.fieldsCiMacOsVersions = fieldsCiMacOsVersions - self.include = include self.fieldsCiXcodeVersions = fieldsCiXcodeVersions + self.include = include self.limitXcodeVersions = limitXcodeVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsCiMacOsVersions, forKey: "fields[ciMacOsVersions]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsCiXcodeVersions, forKey: "fields[ciXcodeVersions]") + encoder.encode(include, forKey: "include") encoder.encode(limitXcodeVersions, forKey: "limit[xcodeVersions]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDXcodeVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDXcodeVersions.swift index f7b593ff..bc89b32b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDXcodeVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDXcodeVersions.swift @@ -14,26 +14,26 @@ extension APIEndpoint.V1.CiMacOsVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciMacOsVersions-xcodeVersions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciMacOsVersions_xcodeVersions_getToManyRelated") } public struct GetParameters { public var fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? public var fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? public var limit: Int? - public var limitMacOsVersions: Int? public var include: [Include]? + public var limitMacOsVersions: Int? public enum FieldsCiXcodeVersions: String, Codable, CaseIterable { - case macOsVersions + case version case name case testDestinations - case version + case macOsVersions } public enum FieldsCiMacOsVersions: String, Codable, CaseIterable { - case name case version + case name case xcodeVersions } @@ -41,12 +41,12 @@ extension APIEndpoint.V1.CiMacOsVersions.WithID { case macOsVersions } - public init(fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, limit: Int? = nil, limitMacOsVersions: Int? = nil, include: [Include]? = nil) { + public init(fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, limit: Int? = nil, include: [Include]? = nil, limitMacOsVersions: Int? = nil) { self.fieldsCiXcodeVersions = fieldsCiXcodeVersions self.fieldsCiMacOsVersions = fieldsCiMacOsVersions self.limit = limit - self.limitMacOsVersions = limitMacOsVersions self.include = include + self.limitMacOsVersions = limitMacOsVersions } public var asQuery: [(String, String?)] { @@ -54,8 +54,8 @@ extension APIEndpoint.V1.CiMacOsVersions.WithID { encoder.encode(fieldsCiXcodeVersions, forKey: "fields[ciXcodeVersions]") encoder.encode(fieldsCiMacOsVersions, forKey: "fields[ciMacOsVersions]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitMacOsVersions, forKey: "limit[macOsVersions]") encoder.encode(include, forKey: "include") + encoder.encode(limitMacOsVersions, forKey: "limit[macOsVersions]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift index e7793df5..6bb29802 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift @@ -14,19 +14,17 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts_getCollection") } public struct GetParameters { public var filterProductType: [FilterProductType]? public var filterApp: [String]? public var fieldsCiProducts: [FieldsCiProducts]? - public var limit: Int? - public var include: [Include]? - public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? - public var fieldsCiWorkflows: [FieldsCiWorkflows]? public var fieldsApps: [FieldsApps]? public var fieldsScmRepositories: [FieldsScmRepositories]? + public var limit: Int? + public var include: [Include]? public var limitPrimaryRepositories: Int? public enum FilterProductType: String, Codable, CaseIterable { @@ -35,138 +33,91 @@ extension APIEndpoint.V1 { } public enum FieldsCiProducts: String, Codable, CaseIterable { - case additionalRepositories - case app - case buildRuns - case bundleID = "bundleId" - case createdDate case name - case primaryRepositories + case createdDate case productType - case workflows - } - - public enum Include: String, Codable, CaseIterable { case app case bundleID = "bundleId" + case workflows case primaryRepositories - } - - public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case actions - case buildRun - case builds - case cancelReason - case clean - case completionStatus - case createdDate - case destinationBranch - case destinationCommit - case executionProgress - case finishedDate - case isPullRequestBuild - case issueCounts - case number - case product - case pullRequest - case sourceBranchOrTag - case sourceCommit - case startReason - case startedDate - case workflow - } - - public enum FieldsCiWorkflows: String, Codable, CaseIterable { - case actions - case branchStartCondition + case additionalRepositories case buildRuns - case clean - case containerFilePath - case description - case isEnabled - case isLockedForEditing - case lastModifiedDate - case macOsVersion - case manualBranchStartCondition - case manualPullRequestStartCondition - case manualTagStartCondition - case name - case product - case pullRequestStartCondition - case repository - case scheduledStartCondition - case tagStartCondition - case xcodeVersion } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" case ownerName - case pullRequests case repositoryName case scmProvider - case sshCloneURL = "sshCloneUrl" + case defaultBranch + case gitReferences + case pullRequests } - public init(filterProductType: [FilterProductType]? = nil, filterApp: [String]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, limitPrimaryRepositories: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case app + case bundleID = "bundleId" + case primaryRepositories + } + + public init(filterProductType: [FilterProductType]? = nil, filterApp: [String]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, limit: Int? = nil, include: [Include]? = nil, limitPrimaryRepositories: Int? = nil) { self.filterProductType = filterProductType self.filterApp = filterApp self.fieldsCiProducts = fieldsCiProducts - self.limit = limit - self.include = include - self.fieldsCiBuildRuns = fieldsCiBuildRuns - self.fieldsCiWorkflows = fieldsCiWorkflows self.fieldsApps = fieldsApps self.fieldsScmRepositories = fieldsScmRepositories + self.limit = limit + self.include = include self.limitPrimaryRepositories = limitPrimaryRepositories } @@ -175,12 +126,10 @@ extension APIEndpoint.V1 { encoder.encode(filterProductType, forKey: "filter[productType]") encoder.encode(filterApp, forKey: "filter[app]") encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") - encoder.encode(limit, forKey: "limit") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") - encoder.encode(fieldsCiWorkflows, forKey: "fields[ciWorkflows]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitPrimaryRepositories, forKey: "limit[primaryRepositories]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift index ab613583..8eb16e7f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift @@ -14,166 +14,115 @@ extension APIEndpoint.V1.CiProducts { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts_getInstance") } public struct GetParameters { public var fieldsCiProducts: [FieldsCiProducts]? - public var include: [Include]? - public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? - public var fieldsCiWorkflows: [FieldsCiWorkflows]? public var fieldsApps: [FieldsApps]? public var fieldsScmRepositories: [FieldsScmRepositories]? + public var include: [Include]? public var limitPrimaryRepositories: Int? public enum FieldsCiProducts: String, Codable, CaseIterable { - case additionalRepositories - case app - case buildRuns - case bundleID = "bundleId" - case createdDate case name - case primaryRepositories + case createdDate case productType - case workflows - } - - public enum Include: String, Codable, CaseIterable { case app case bundleID = "bundleId" + case workflows case primaryRepositories - } - - public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case actions - case buildRun - case builds - case cancelReason - case clean - case completionStatus - case createdDate - case destinationBranch - case destinationCommit - case executionProgress - case finishedDate - case isPullRequestBuild - case issueCounts - case number - case product - case pullRequest - case sourceBranchOrTag - case sourceCommit - case startReason - case startedDate - case workflow - } - - public enum FieldsCiWorkflows: String, Codable, CaseIterable { - case actions - case branchStartCondition + case additionalRepositories case buildRuns - case clean - case containerFilePath - case description - case isEnabled - case isLockedForEditing - case lastModifiedDate - case macOsVersion - case manualBranchStartCondition - case manualPullRequestStartCondition - case manualTagStartCondition - case name - case product - case pullRequestStartCondition - case repository - case scheduledStartCondition - case tagStartCondition - case xcodeVersion } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" case ownerName - case pullRequests case repositoryName case scmProvider - case sshCloneURL = "sshCloneUrl" + case defaultBranch + case gitReferences + case pullRequests } - public init(fieldsCiProducts: [FieldsCiProducts]? = nil, include: [Include]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, limitPrimaryRepositories: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case app + case bundleID = "bundleId" + case primaryRepositories + } + + public init(fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, include: [Include]? = nil, limitPrimaryRepositories: Int? = nil) { self.fieldsCiProducts = fieldsCiProducts - self.include = include - self.fieldsCiBuildRuns = fieldsCiBuildRuns - self.fieldsCiWorkflows = fieldsCiWorkflows self.fieldsApps = fieldsApps self.fieldsScmRepositories = fieldsScmRepositories + self.include = include self.limitPrimaryRepositories = limitPrimaryRepositories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") - encoder.encode(fieldsCiWorkflows, forKey: "fields[ciWorkflows]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") + encoder.encode(include, forKey: "include") encoder.encode(limitPrimaryRepositories, forKey: "limit[primaryRepositories]") return encoder.items } } public var delete: Request { - Request(path: path, method: "DELETE", id: "ciProducts-delete_instance") + Request(path: path, method: "DELETE", id: "ciProducts_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDAdditionalRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDAdditionalRepositories.swift index 593b64b7..65354a20 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDAdditionalRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDAdditionalRepositories.swift @@ -14,53 +14,53 @@ extension APIEndpoint.V1.CiProducts.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-additionalRepositories-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts_additionalRepositories_getToManyRelated") } public struct GetParameters { public var filterID: [String]? - public var fieldsScmGitReferences: [FieldsScmGitReferences]? - public var fieldsScmProviders: [FieldsScmProviders]? public var fieldsScmRepositories: [FieldsScmRepositories]? + public var fieldsScmProviders: [FieldsScmProviders]? + public var fieldsScmGitReferences: [FieldsScmGitReferences]? public var limit: Int? public var include: [Include]? - public enum FieldsScmGitReferences: String, Codable, CaseIterable { - case canonicalName - case isDeleted - case kind - case name - case repository + public enum FieldsScmRepositories: String, Codable, CaseIterable { + case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" + case ownerName + case repositoryName + case scmProvider + case defaultBranch + case gitReferences + case pullRequests } public enum FieldsScmProviders: String, Codable, CaseIterable { - case repositories case scmProviderType case url + case repositories } - public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" - case lastAccessedDate - case ownerName - case pullRequests - case repositoryName - case scmProvider - case sshCloneURL = "sshCloneUrl" + public enum FieldsScmGitReferences: String, Codable, CaseIterable { + case name + case canonicalName + case isDeleted + case kind + case repository } public enum Include: String, Codable, CaseIterable { - case defaultBranch case scmProvider + case defaultBranch } - public init(filterID: [String]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsScmProviders: [FieldsScmProviders]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterID: [String]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, fieldsScmProviders: [FieldsScmProviders]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterID = filterID - self.fieldsScmGitReferences = fieldsScmGitReferences - self.fieldsScmProviders = fieldsScmProviders self.fieldsScmRepositories = fieldsScmRepositories + self.fieldsScmProviders = fieldsScmProviders + self.fieldsScmGitReferences = fieldsScmGitReferences self.limit = limit self.include = include } @@ -68,9 +68,9 @@ extension APIEndpoint.V1.CiProducts.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") - encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]") encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") + encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]") + encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift index ab135ae4..6876b56c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift @@ -14,34 +14,35 @@ extension APIEndpoint.V1.CiProducts.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-app-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts_app_getToOneRelated") } public struct GetParameters { - public var fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? - public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsApps: [FieldsApps]? + public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? public var fieldsCiProducts: [FieldsCiProducts]? - public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? public var fieldsBetaGroups: [FieldsBetaGroups]? - public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var fieldsApps: [FieldsApps]? - public var fieldsAppEvents: [FieldsAppEvents]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? + public var fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? public var fieldsBuilds: [FieldsBuilds]? public var fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? - public var fieldsAppClips: [FieldsAppClips]? - public var fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? + public var fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? public var fieldsAppInfos: [FieldsAppInfos]? - public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? + public var fieldsAppClips: [FieldsAppClips]? + public var fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? + public var fieldsAppPreOrders: [FieldsAppPreOrders]? public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? - public var fieldsAppPreOrders: [FieldsAppPreOrders]? public var fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? - public var fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? - public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? - public var fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? public var fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? + public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? + public var fieldsAppEvents: [FieldsAppEvents]? + public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? + public var fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? + public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var include: [Include]? public var limitAppEncryptionDeclarations: Int? public var limitBetaGroups: Int? public var limitAppStoreVersions: Int? @@ -59,174 +60,173 @@ extension APIEndpoint.V1.CiProducts.WithID { public var limitAppEvents: Int? public var limitReviewSubmissions: Int? public var limitAppStoreVersionExperimentsV2: Int? - public var include: [Include]? - public enum FieldsBetaAppReviewDetails: String, Codable, CaseIterable { - case app - case contactEmail - case contactFirstName - case contactLastName - case contactPhone - case demoAccountName - case demoAccountPassword - case demoAccountRequired - case notes + 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 FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases + public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { + case appDescription + case createdDate + case usesEncryption + case exempt + case containsProprietaryCryptography + case containsThirdPartyCryptography + case availableOnFrenchStore + case platform + case uploadedDate + case documentURL = "documentUrl" + case documentName + case documentType + case appEncryptionDeclarationState + case codeValue case app - case arcadeEnabled - case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements - case gameCenterAppVersions - case gameCenterGroup - case gameCenterLeaderboardSets - case gameCenterLeaderboards - case leaderboardReleases - case leaderboardSetReleases + case builds + case appEncryptionDeclarationDocument } public enum FieldsCiProducts: String, Codable, CaseIterable { - case additionalRepositories - case app - case buildRuns - case bundleID = "bundleId" - case createdDate case name - case primaryRepositories + case createdDate case productType - case workflows - } - - public enum FieldsReviewSubmissions: String, Codable, CaseIterable { case app - case appStoreVersionForReview - case canceled - case items - case lastUpdatedByActor - case platform - case state - case submitted - case submittedByActor - case submittedDate + case bundleID = "bundleId" + case workflows + case primaryRepositories + case additionalRepositories + case buildRuns } public enum FieldsBetaGroups: String, Codable, CaseIterable { - case app - case betaTesters - case builds + case name case createdDate - case feedbackEnabled - case hasAccessToAllBuilds - case iosBuildsAvailableForAppleSiliconMac case isInternalGroup - case name - case publicLink + case hasAccessToAllBuilds case publicLinkEnabled case publicLinkID = "publicLinkId" - case publicLinkLimit case publicLinkLimitEnabled + case publicLinkLimit + case publicLink + case feedbackEnabled + case iosBuildsAvailableForAppleSiliconMac + case app + case builds + case betaTesters } - public enum FieldsPromotedPurchases: String, Codable, CaseIterable { + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate case app - case enabled - case inAppPurchaseV2 - case promotionImages - case state - case subscription - case visibleForAllUsers + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } - public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages - case appEncryptionDeclarations - case appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 - case appStoreVersions - case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters + public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { + case version + case platform case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews - case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions - case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name - case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale - case promotedPurchases - case reviewSubmissions - case sku - case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case app } - public enum FieldsAppEvents: String, Codable, CaseIterable { + public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { + case feedbackEmail + case marketingURL = "marketingUrl" + case privacyPolicyURL = "privacyPolicyUrl" + case tvOsPrivacyPolicy + case description + case locale case app - case archivedTerritorySchedules - case badge - case deepLink - case eventState - case localizations - case primaryLocale - case priority - case purchaseRequirement - case purpose - case referenceName - case territorySchedules } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } public enum FieldsBetaLicenseAgreements: String, Codable, CaseIterable { @@ -234,225 +234,232 @@ extension APIEndpoint.V1.CiProducts.WithID { case app } - public enum FieldsAppClips: String, Codable, CaseIterable { + public enum FieldsBetaAppReviewDetails: String, Codable, CaseIterable { + case contactFirstName + case contactLastName + case contactPhone + case contactEmail + case demoAccountName + case demoAccountPassword + case demoAccountRequired + case notes case app - case appClipAdvancedExperiences - case appClipDefaultExperiences - case bundleID = "bundleId" - } - - public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { - case app - case description - case feedbackEmail - case locale - case marketingURL = "marketingUrl" - case privacyPolicyURL = "privacyPolicyUrl" - case tvOsPrivacyPolicy } public enum FieldsAppInfos: String, Codable, CaseIterable { - case ageRatingDeclaration - case app - case appInfoLocalizations - case appStoreAgeRating case appStoreState + case state + case appStoreAgeRating + case australiaAgeRating case brazilAgeRating case brazilAgeRatingV2 + case koreaAgeRating case kidsAgeBand + case app + case ageRatingDeclaration + case appInfoLocalizations case primaryCategory case primarySubcategoryOne case primarySubcategoryTwo case secondaryCategory case secondarySubcategoryOne case secondarySubcategoryTwo - case state } - public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { + public enum FieldsAppClips: String, Codable, CaseIterable { + case bundleID = "bundleId" case app - case builds - case platform - case version + case appClipDefaultExperiences + case appClipAdvancedExperiences } - public enum FieldsInAppPurchases: String, Codable, CaseIterable { + public enum FieldsEndUserLicenseAgreements: String, Codable, CaseIterable { + case agreementText case app - case appStoreReviewScreenshot + 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" + case inAppPurchaseType + case state case apps - case content - case contentHosting + case name + case reviewNote case familySharable - case iapPriceSchedule - case inAppPurchaseAvailability + case contentHosting + case app case inAppPurchaseLocalizations - case inAppPurchaseType - case name case pricePoints - case productID = "productId" + case content + case appStoreReviewScreenshot case promotedPurchase - case referenceName - case reviewNote - case state + case iapPriceSchedule + case inAppPurchaseAvailability + case images } public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { - case app case referenceName - case subscriptionGroupLocalizations + case app case subscriptions + case subscriptionGroupLocalizations } - public enum FieldsAppPreOrders: String, Codable, CaseIterable { + public enum FieldsGameCenterEnabledVersions: String, Codable, CaseIterable { + case platform + case versionString + case iconAsset + case compatibleVersions case app - case appReleaseDate - case preOrderAvailableDate } - public enum FieldsGameCenterEnabledVersions: String, Codable, CaseIterable { + public enum FieldsAppCustomProductPages: String, Codable, CaseIterable { + case name + case url + case visible case app - case compatibleVersions - case iconAsset - case platform - case versionString + case appCustomProductPageVersions + case appStoreVersionTemplate + case customProductPageTemplate } - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + public enum FieldsPromotedPurchases: String, Codable, CaseIterable { + case visibleForAllUsers + case enabled + case state case app - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name + case inAppPurchaseV2 + case subscription + case promotionImages + } + + public enum FieldsAppEvents: String, Codable, CaseIterable { + case referenceName + case badge + case eventState + case deepLink + case purchaseRequirement + case primaryLocale + case priority + case purpose + case territorySchedules + case archivedTerritorySchedules + case app + case localizations + } + + public enum FieldsReviewSubmissions: String, Codable, CaseIterable { case platform - case reviewRequired - case startDate - case started + case submittedDate case state - case trafficProportion + case submitted + case canceled + case app + case items + case appStoreVersionForReview + case submittedByActor + case lastUpdatedByActor } public enum FieldsSubscriptionGracePeriods: String, Codable, CaseIterable { - case duration case optIn - case renewalType case sandboxOptIn + case duration + case renewalType } - public enum FieldsEndUserLicenseAgreements: String, Codable, CaseIterable { - case agreementText - case app - case territories - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage + public enum FieldsGameCenterDetails: String, Codable, CaseIterable { + case arcadeEnabled + case challengeEnabled case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString + case gameCenterAppVersions + case gameCenterGroup + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases + case leaderboardReleases + case leaderboardSetReleases } - public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { - case app - case appDescription - case appEncryptionDeclarationDocument - case appEncryptionDeclarationState - case availableOnFrenchStore - case builds - case codeValue - case containsProprietaryCryptography - case containsThirdPartyCryptography - case createdDate - case documentName - case documentType - case documentURL = "documentUrl" - case exempt + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case name case platform - case uploadedDate - case usesEncryption - } - - public enum FieldsAppCustomProductPages: String, Codable, CaseIterable { + case trafficProportion + case state + case reviewRequired + case startDate + case endDate + case started case app - case appCustomProductPageVersions - case appStoreVersionTemplate - case customProductPageTemplate - case name - case url - case visible + case latestControlVersion + case controlVersions + case appStoreVersionExperimentTreatments } public enum Include: String, Codable, CaseIterable { - case appClips - case appCustomProductPages case appEncryptionDeclarations - case appEvents - case appInfos - case appStoreVersionExperimentsV2 + case ciProduct + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement case builds - case ciProduct + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder case inAppPurchases + case subscriptionGroups + case gameCenterEnabledVersions + case appCustomProductPages case inAppPurchasesV2 - case preOrder - case preReleaseVersions case promotedPurchases + case appEvents case reviewSubmissions case subscriptionGracePeriod - case subscriptionGroups + case gameCenterDetail + case appStoreVersionExperimentsV2 } - public init(fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = 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, include: [Include]? = nil) { - self.fieldsBetaAppReviewDetails = fieldsBetaAppReviewDetails - self.fieldsGameCenterDetails = fieldsGameCenterDetails + 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) { + self.fieldsApps = fieldsApps + self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations self.fieldsCiProducts = fieldsCiProducts - self.fieldsReviewSubmissions = fieldsReviewSubmissions self.fieldsBetaGroups = fieldsBetaGroups - self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.fieldsApps = fieldsApps - self.fieldsAppEvents = fieldsAppEvents + self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.fieldsPreReleaseVersions = fieldsPreReleaseVersions + self.fieldsBetaAppLocalizations = fieldsBetaAppLocalizations self.fieldsBuilds = fieldsBuilds self.fieldsBetaLicenseAgreements = fieldsBetaLicenseAgreements - self.fieldsAppClips = fieldsAppClips - self.fieldsBetaAppLocalizations = fieldsBetaAppLocalizations + self.fieldsBetaAppReviewDetails = fieldsBetaAppReviewDetails self.fieldsAppInfos = fieldsAppInfos - self.fieldsPreReleaseVersions = fieldsPreReleaseVersions + self.fieldsAppClips = fieldsAppClips + self.fieldsEndUserLicenseAgreements = fieldsEndUserLicenseAgreements + self.fieldsAppPreOrders = fieldsAppPreOrders self.fieldsInAppPurchases = fieldsInAppPurchases self.fieldsSubscriptionGroups = fieldsSubscriptionGroups - self.fieldsAppPreOrders = fieldsAppPreOrders self.fieldsGameCenterEnabledVersions = fieldsGameCenterEnabledVersions - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.fieldsSubscriptionGracePeriods = fieldsSubscriptionGracePeriods - self.fieldsEndUserLicenseAgreements = fieldsEndUserLicenseAgreements - self.fieldsAppStoreVersions = fieldsAppStoreVersions - self.fieldsAppEncryptionDeclarations = fieldsAppEncryptionDeclarations self.fieldsAppCustomProductPages = fieldsAppCustomProductPages + self.fieldsPromotedPurchases = fieldsPromotedPurchases + self.fieldsAppEvents = fieldsAppEvents + self.fieldsReviewSubmissions = fieldsReviewSubmissions + self.fieldsSubscriptionGracePeriods = fieldsSubscriptionGracePeriods + self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.include = include self.limitAppEncryptionDeclarations = limitAppEncryptionDeclarations self.limitBetaGroups = limitBetaGroups self.limitAppStoreVersions = limitAppStoreVersions @@ -470,35 +477,35 @@ extension APIEndpoint.V1.CiProducts.WithID { self.limitAppEvents = limitAppEvents self.limitReviewSubmissions = limitReviewSubmissions self.limitAppStoreVersionExperimentsV2 = limitAppStoreVersionExperimentsV2 - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsBetaAppReviewDetails, forKey: "fields[betaAppReviewDetails]") - encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") - encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") - encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") + encoder.encode(fieldsBetaAppLocalizations, forKey: "fields[betaAppLocalizations]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsBetaLicenseAgreements, forKey: "fields[betaLicenseAgreements]") - encoder.encode(fieldsAppClips, forKey: "fields[appClips]") - encoder.encode(fieldsBetaAppLocalizations, forKey: "fields[betaAppLocalizations]") + encoder.encode(fieldsBetaAppReviewDetails, forKey: "fields[betaAppReviewDetails]") encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") - encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") + 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(fieldsAppPreOrders, forKey: "fields[appPreOrders]") encoder.encode(fieldsGameCenterEnabledVersions, forKey: "fields[gameCenterEnabledVersions]") - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(fieldsSubscriptionGracePeriods, forKey: "fields[subscriptionGracePeriods]") - encoder.encode(fieldsEndUserLicenseAgreements, forKey: "fields[endUserLicenseAgreements]") - encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") - encoder.encode(fieldsAppEncryptionDeclarations, forKey: "fields[appEncryptionDeclarations]") encoder.encode(fieldsAppCustomProductPages, forKey: "fields[appCustomProductPages]") + encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") + encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") + encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") + encoder.encode(fieldsSubscriptionGracePeriods, forKey: "fields[subscriptionGracePeriods]") + encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppEncryptionDeclarations, forKey: "limit[appEncryptionDeclarations]") encoder.encode(limitBetaGroups, forKey: "limit[betaGroups]") encoder.encode(limitAppStoreVersions, forKey: "limit[appStoreVersions]") @@ -516,7 +523,6 @@ extension APIEndpoint.V1.CiProducts.WithID { encoder.encode(limitAppEvents, forKey: "limit[appEvents]") encoder.encode(limitReviewSubmissions, forKey: "limit[reviewSubmissions]") encoder.encode(limitAppStoreVersionExperimentsV2, forKey: "limit[appStoreVersionExperimentsV2]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift index b352c51b..4ef2d656 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift @@ -14,172 +14,172 @@ extension APIEndpoint.V1.CiProducts.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-buildRuns-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts_buildRuns_getToManyRelated") } public struct GetParameters { public var filterBuilds: [String]? public var sort: [Sort]? - public var fieldsScmGitReferences: [FieldsScmGitReferences]? public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? + public var fieldsBuilds: [FieldsBuilds]? public var fieldsCiWorkflows: [FieldsCiWorkflows]? - public var fieldsScmPullRequests: [FieldsScmPullRequests]? public var fieldsCiProducts: [FieldsCiProducts]? - public var fieldsBuilds: [FieldsBuilds]? + public var fieldsScmGitReferences: [FieldsScmGitReferences]? + public var fieldsScmPullRequests: [FieldsScmPullRequests]? public var limit: Int? - public var limitBuilds: Int? public var include: [Include]? + public var limitBuilds: Int? public enum Sort: String, Codable, CaseIterable { case number case minusnumber = "-number" } - public enum FieldsScmGitReferences: String, Codable, CaseIterable { - case canonicalName - case isDeleted - case kind - case name - case repository - } - public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case actions - case buildRun - case builds - case cancelReason case clean - case completionStatus + case number case createdDate - case destinationBranch - case destinationCommit - case executionProgress + case startedDate case finishedDate + case sourceCommit + case destinationCommit case isPullRequestBuild case issueCounts - case number - case product - case pullRequest - case sourceBranchOrTag - case sourceCommit + case executionProgress + case completionStatus case startReason - case startedDate + case cancelReason + case buildRun + case builds case workflow + case product + case sourceBranchOrTag + case destinationBranch + case actions + case pullRequest + } + + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } public enum FieldsCiWorkflows: String, Codable, CaseIterable { - case actions - case branchStartCondition - case buildRuns - case clean - case containerFilePath + case name case description + case branchStartCondition + case tagStartCondition + case pullRequestStartCondition + case scheduledStartCondition + case manualBranchStartCondition + case manualTagStartCondition + case manualPullRequestStartCondition + case actions case isEnabled case isLockedForEditing + case clean + case containerFilePath case lastModifiedDate - case macOsVersion - case manualBranchStartCondition - case manualPullRequestStartCondition - case manualTagStartCondition - case name case product - case pullRequestStartCondition case repository - case scheduledStartCondition - case tagStartCondition case xcodeVersion - } - - public enum FieldsScmPullRequests: String, Codable, CaseIterable { - case destinationBranchName - case destinationRepositoryName - case destinationRepositoryOwner - case isClosed - case isCrossRepository - case number - case repository - case sourceBranchName - case sourceRepositoryName - case sourceRepositoryOwner - case title - case webURL = "webUrl" + case macOsVersion + case buildRuns } public enum FieldsCiProducts: String, Codable, CaseIterable { - case additionalRepositories - case app - case buildRuns - case bundleID = "bundleId" - case createdDate case name - case primaryRepositories + case createdDate case productType + case app + case bundleID = "bundleId" case workflows + case primaryRepositories + case additionalRepositories + case buildRuns } - public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version + public enum FieldsScmGitReferences: String, Codable, CaseIterable { + case name + case canonicalName + case isDeleted + case kind + case repository + } + + public enum FieldsScmPullRequests: String, Codable, CaseIterable { + case title + case number + case webURL = "webUrl" + case sourceRepositoryOwner + case sourceRepositoryName + case sourceBranchName + case destinationRepositoryOwner + case destinationRepositoryName + case destinationBranchName + case isClosed + case isCrossRepository + case repository } public enum Include: String, Codable, CaseIterable { case builds - case destinationBranch + case workflow case product - case pullRequest case sourceBranchOrTag - case workflow + case destinationBranch + case pullRequest } - public init(filterBuilds: [String]? = nil, sort: [Sort]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, limitBuilds: Int? = nil, include: [Include]? = nil) { + public init(filterBuilds: [String]? = nil, sort: [Sort]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, limit: Int? = nil, include: [Include]? = nil, limitBuilds: Int? = nil) { self.filterBuilds = filterBuilds self.sort = sort - self.fieldsScmGitReferences = fieldsScmGitReferences self.fieldsCiBuildRuns = fieldsCiBuildRuns + self.fieldsBuilds = fieldsBuilds self.fieldsCiWorkflows = fieldsCiWorkflows - self.fieldsScmPullRequests = fieldsScmPullRequests self.fieldsCiProducts = fieldsCiProducts - self.fieldsBuilds = fieldsBuilds + self.fieldsScmGitReferences = fieldsScmGitReferences + self.fieldsScmPullRequests = fieldsScmPullRequests self.limit = limit - self.limitBuilds = limitBuilds self.include = include + self.limitBuilds = limitBuilds } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterBuilds, forKey: "filter[builds]") encoder.encode(sort, forKey: "sort") - encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsCiWorkflows, forKey: "fields[ciWorkflows]") - encoder.encode(fieldsScmPullRequests, forKey: "fields[scmPullRequests]") encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") + encoder.encode(fieldsScmPullRequests, forKey: "fields[scmPullRequests]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitBuilds, forKey: "limit[builds]") encoder.encode(include, forKey: "include") + encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDPrimaryRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDPrimaryRepositories.swift index 3033e8a2..292dc73e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDPrimaryRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDPrimaryRepositories.swift @@ -14,53 +14,53 @@ extension APIEndpoint.V1.CiProducts.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-primaryRepositories-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts_primaryRepositories_getToManyRelated") } public struct GetParameters { public var filterID: [String]? - public var fieldsScmGitReferences: [FieldsScmGitReferences]? - public var fieldsScmProviders: [FieldsScmProviders]? public var fieldsScmRepositories: [FieldsScmRepositories]? + public var fieldsScmProviders: [FieldsScmProviders]? + public var fieldsScmGitReferences: [FieldsScmGitReferences]? public var limit: Int? public var include: [Include]? - public enum FieldsScmGitReferences: String, Codable, CaseIterable { - case canonicalName - case isDeleted - case kind - case name - case repository + public enum FieldsScmRepositories: String, Codable, CaseIterable { + case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" + case ownerName + case repositoryName + case scmProvider + case defaultBranch + case gitReferences + case pullRequests } public enum FieldsScmProviders: String, Codable, CaseIterable { - case repositories case scmProviderType case url + case repositories } - public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" - case lastAccessedDate - case ownerName - case pullRequests - case repositoryName - case scmProvider - case sshCloneURL = "sshCloneUrl" + public enum FieldsScmGitReferences: String, Codable, CaseIterable { + case name + case canonicalName + case isDeleted + case kind + case repository } public enum Include: String, Codable, CaseIterable { - case defaultBranch case scmProvider + case defaultBranch } - public init(filterID: [String]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsScmProviders: [FieldsScmProviders]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterID: [String]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, fieldsScmProviders: [FieldsScmProviders]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterID = filterID - self.fieldsScmGitReferences = fieldsScmGitReferences - self.fieldsScmProviders = fieldsScmProviders self.fieldsScmRepositories = fieldsScmRepositories + self.fieldsScmProviders = fieldsScmProviders + self.fieldsScmGitReferences = fieldsScmGitReferences self.limit = limit self.include = include } @@ -68,9 +68,9 @@ extension APIEndpoint.V1.CiProducts.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") - encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]") encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") + encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]") + encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift index 3150bf65..ee28022e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift @@ -14,102 +14,102 @@ extension APIEndpoint.V1.CiProducts.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts-workflows-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciProducts_workflows_getToManyRelated") } public struct GetParameters { - public var fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? public var fieldsCiWorkflows: [FieldsCiWorkflows]? - public var fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? public var fieldsCiProducts: [FieldsCiProducts]? public var fieldsScmRepositories: [FieldsScmRepositories]? + public var fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? + public var fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? public var limit: Int? public var include: [Include]? - public enum FieldsCiXcodeVersions: String, Codable, CaseIterable { - case macOsVersions - case name - case testDestinations - case version - } - public enum FieldsCiWorkflows: String, Codable, CaseIterable { - case actions - case branchStartCondition - case buildRuns - case clean - case containerFilePath + case name case description + case branchStartCondition + case tagStartCondition + case pullRequestStartCondition + case scheduledStartCondition + case manualBranchStartCondition + case manualTagStartCondition + case manualPullRequestStartCondition + case actions case isEnabled case isLockedForEditing + case clean + case containerFilePath case lastModifiedDate - case macOsVersion - case manualBranchStartCondition - case manualPullRequestStartCondition - case manualTagStartCondition - case name case product - case pullRequestStartCondition case repository - case scheduledStartCondition - case tagStartCondition case xcodeVersion - } - - public enum FieldsCiMacOsVersions: String, Codable, CaseIterable { - case name - case version - case xcodeVersions + case macOsVersion + case buildRuns } public enum FieldsCiProducts: String, Codable, CaseIterable { - case additionalRepositories - case app - case buildRuns - case bundleID = "bundleId" - case createdDate case name - case primaryRepositories + case createdDate case productType + case app + case bundleID = "bundleId" case workflows + case primaryRepositories + case additionalRepositories + case buildRuns } public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" case ownerName - case pullRequests case repositoryName case scmProvider - case sshCloneURL = "sshCloneUrl" + case defaultBranch + case gitReferences + case pullRequests + } + + public enum FieldsCiXcodeVersions: String, Codable, CaseIterable { + case version + case name + case testDestinations + case macOsVersions + } + + public enum FieldsCiMacOsVersions: String, Codable, CaseIterable { + case version + case name + case xcodeVersions } public enum Include: String, Codable, CaseIterable { - case macOsVersion case product case repository case xcodeVersion + case macOsVersion } - public init(fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.fieldsCiXcodeVersions = fieldsCiXcodeVersions + public init(fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsCiWorkflows = fieldsCiWorkflows - self.fieldsCiMacOsVersions = fieldsCiMacOsVersions self.fieldsCiProducts = fieldsCiProducts self.fieldsScmRepositories = fieldsScmRepositories + self.fieldsCiXcodeVersions = fieldsCiXcodeVersions + self.fieldsCiMacOsVersions = fieldsCiMacOsVersions self.limit = limit self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsCiXcodeVersions, forKey: "fields[ciXcodeVersions]") encoder.encode(fieldsCiWorkflows, forKey: "fields[ciWorkflows]") - encoder.encode(fieldsCiMacOsVersions, forKey: "fields[ciMacOsVersions]") encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") + encoder.encode(fieldsCiXcodeVersions, forKey: "fields[ciXcodeVersions]") + encoder.encode(fieldsCiMacOsVersions, forKey: "fields[ciMacOsVersions]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResultsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResultsWithID.swift index f39f2f63..ec4a3a0b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResultsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiTestResultsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.CiTestResults { public let path: String public func get(fieldsCiTestResults: [FieldsCiTestResults]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsCiTestResults), id: "ciTestResults-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsCiTestResults), id: "ciTestResults_getInstance") } private func makeGetQuery(_ fieldsCiTestResults: [FieldsCiTestResults]?) -> [(String, String?)] { @@ -25,11 +25,11 @@ extension APIEndpoint.V1.CiTestResults { public enum FieldsCiTestResults: String, Codable, CaseIterable { case className - case destinationTestResults - case fileSource - case message case name case status + case fileSource + case message + case destinationTestResults } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflows.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflows.swift index 353b4e07..80135d0f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflows.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflows.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.CiWorkflowCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "ciWorkflows-create_instance") + Request(path: path, method: "POST", body: body, id: "ciWorkflows_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift index 84385a17..b696863a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift @@ -14,104 +14,77 @@ extension APIEndpoint.V1.CiWorkflows { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciWorkflows-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciWorkflows_getInstance") } public struct GetParameters { public var fieldsCiWorkflows: [FieldsCiWorkflows]? - public var include: [Include]? - public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? public var fieldsScmRepositories: [FieldsScmRepositories]? + public var include: [Include]? public enum FieldsCiWorkflows: String, Codable, CaseIterable { - case actions - case branchStartCondition - case buildRuns - case clean - case containerFilePath + case name case description + case branchStartCondition + case tagStartCondition + case pullRequestStartCondition + case scheduledStartCondition + case manualBranchStartCondition + case manualTagStartCondition + case manualPullRequestStartCondition + case actions case isEnabled case isLockedForEditing + case clean + case containerFilePath case lastModifiedDate - case macOsVersion - case manualBranchStartCondition - case manualPullRequestStartCondition - case manualTagStartCondition - case name case product - case pullRequestStartCondition case repository - case scheduledStartCondition - case tagStartCondition case xcodeVersion - } - - public enum Include: String, Codable, CaseIterable { case macOsVersion - case product - case repository - case xcodeVersion - } - - public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case actions - case buildRun - case builds - case cancelReason - case clean - case completionStatus - case createdDate - case destinationBranch - case destinationCommit - case executionProgress - case finishedDate - case isPullRequestBuild - case issueCounts - case number - case product - case pullRequest - case sourceBranchOrTag - case sourceCommit - case startReason - case startedDate - case workflow + case buildRuns } public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" case ownerName - case pullRequests case repositoryName case scmProvider - case sshCloneURL = "sshCloneUrl" + case defaultBranch + case gitReferences + case pullRequests + } + + public enum Include: String, Codable, CaseIterable { + case product + case repository + case xcodeVersion + case macOsVersion } - public init(fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, include: [Include]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil) { + public init(fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, include: [Include]? = nil) { self.fieldsCiWorkflows = fieldsCiWorkflows - self.include = include - self.fieldsCiBuildRuns = fieldsCiBuildRuns self.fieldsScmRepositories = fieldsScmRepositories + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsCiWorkflows, forKey: "fields[ciWorkflows]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") + encoder.encode(include, forKey: "include") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.CiWorkflowUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "ciWorkflows-update_instance") + Request(path: path, method: "PATCH", body: body, id: "ciWorkflows_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "ciWorkflows-delete_instance") + Request(path: path, method: "DELETE", id: "ciWorkflows_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift index 84bd27f3..e0473f6f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift @@ -14,172 +14,172 @@ extension APIEndpoint.V1.CiWorkflows.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciWorkflows-buildRuns-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciWorkflows_buildRuns_getToManyRelated") } public struct GetParameters { public var filterBuilds: [String]? public var sort: [Sort]? - public var fieldsScmGitReferences: [FieldsScmGitReferences]? public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? + public var fieldsBuilds: [FieldsBuilds]? public var fieldsCiWorkflows: [FieldsCiWorkflows]? - public var fieldsScmPullRequests: [FieldsScmPullRequests]? public var fieldsCiProducts: [FieldsCiProducts]? - public var fieldsBuilds: [FieldsBuilds]? + public var fieldsScmGitReferences: [FieldsScmGitReferences]? + public var fieldsScmPullRequests: [FieldsScmPullRequests]? public var limit: Int? - public var limitBuilds: Int? public var include: [Include]? + public var limitBuilds: Int? public enum Sort: String, Codable, CaseIterable { case number case minusnumber = "-number" } - public enum FieldsScmGitReferences: String, Codable, CaseIterable { - case canonicalName - case isDeleted - case kind - case name - case repository - } - public enum FieldsCiBuildRuns: String, Codable, CaseIterable { - case actions - case buildRun - case builds - case cancelReason case clean - case completionStatus + case number case createdDate - case destinationBranch - case destinationCommit - case executionProgress + case startedDate case finishedDate + case sourceCommit + case destinationCommit case isPullRequestBuild case issueCounts - case number - case product - case pullRequest - case sourceBranchOrTag - case sourceCommit + case executionProgress + case completionStatus case startReason - case startedDate + case cancelReason + case buildRun + case builds case workflow + case product + case sourceBranchOrTag + case destinationBranch + case actions + case pullRequest + } + + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } public enum FieldsCiWorkflows: String, Codable, CaseIterable { - case actions - case branchStartCondition - case buildRuns - case clean - case containerFilePath + case name case description + case branchStartCondition + case tagStartCondition + case pullRequestStartCondition + case scheduledStartCondition + case manualBranchStartCondition + case manualTagStartCondition + case manualPullRequestStartCondition + case actions case isEnabled case isLockedForEditing + case clean + case containerFilePath case lastModifiedDate - case macOsVersion - case manualBranchStartCondition - case manualPullRequestStartCondition - case manualTagStartCondition - case name case product - case pullRequestStartCondition case repository - case scheduledStartCondition - case tagStartCondition case xcodeVersion - } - - public enum FieldsScmPullRequests: String, Codable, CaseIterable { - case destinationBranchName - case destinationRepositoryName - case destinationRepositoryOwner - case isClosed - case isCrossRepository - case number - case repository - case sourceBranchName - case sourceRepositoryName - case sourceRepositoryOwner - case title - case webURL = "webUrl" + case macOsVersion + case buildRuns } public enum FieldsCiProducts: String, Codable, CaseIterable { - case additionalRepositories - case app - case buildRuns - case bundleID = "bundleId" - case createdDate case name - case primaryRepositories + case createdDate case productType + case app + case bundleID = "bundleId" case workflows + case primaryRepositories + case additionalRepositories + case buildRuns } - public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version + public enum FieldsScmGitReferences: String, Codable, CaseIterable { + case name + case canonicalName + case isDeleted + case kind + case repository + } + + public enum FieldsScmPullRequests: String, Codable, CaseIterable { + case title + case number + case webURL = "webUrl" + case sourceRepositoryOwner + case sourceRepositoryName + case sourceBranchName + case destinationRepositoryOwner + case destinationRepositoryName + case destinationBranchName + case isClosed + case isCrossRepository + case repository } public enum Include: String, Codable, CaseIterable { case builds - case destinationBranch + case workflow case product - case pullRequest case sourceBranchOrTag - case workflow + case destinationBranch + case pullRequest } - public init(filterBuilds: [String]? = nil, sort: [Sort]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, limitBuilds: Int? = nil, include: [Include]? = nil) { + public init(filterBuilds: [String]? = nil, sort: [Sort]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, limit: Int? = nil, include: [Include]? = nil, limitBuilds: Int? = nil) { self.filterBuilds = filterBuilds self.sort = sort - self.fieldsScmGitReferences = fieldsScmGitReferences self.fieldsCiBuildRuns = fieldsCiBuildRuns + self.fieldsBuilds = fieldsBuilds self.fieldsCiWorkflows = fieldsCiWorkflows - self.fieldsScmPullRequests = fieldsScmPullRequests self.fieldsCiProducts = fieldsCiProducts - self.fieldsBuilds = fieldsBuilds + self.fieldsScmGitReferences = fieldsScmGitReferences + self.fieldsScmPullRequests = fieldsScmPullRequests self.limit = limit - self.limitBuilds = limitBuilds self.include = include + self.limitBuilds = limitBuilds } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterBuilds, forKey: "filter[builds]") encoder.encode(sort, forKey: "sort") - encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsCiWorkflows, forKey: "fields[ciWorkflows]") - encoder.encode(fieldsScmPullRequests, forKey: "fields[scmPullRequests]") encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") + encoder.encode(fieldsScmPullRequests, forKey: "fields[scmPullRequests]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitBuilds, forKey: "limit[builds]") encoder.encode(include, forKey: "include") + encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRepository.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRepository.swift index 56ad2379..f63c229b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRepository.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRepository.swift @@ -14,58 +14,58 @@ extension APIEndpoint.V1.CiWorkflows.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciWorkflows-repository-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciWorkflows_repository_getToOneRelated") } public struct GetParameters { - public var fieldsScmGitReferences: [FieldsScmGitReferences]? - public var fieldsScmProviders: [FieldsScmProviders]? public var fieldsScmRepositories: [FieldsScmRepositories]? + public var fieldsScmProviders: [FieldsScmProviders]? + public var fieldsScmGitReferences: [FieldsScmGitReferences]? public var include: [Include]? - public enum FieldsScmGitReferences: String, Codable, CaseIterable { - case canonicalName - case isDeleted - case kind - case name - case repository + public enum FieldsScmRepositories: String, Codable, CaseIterable { + case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" + case ownerName + case repositoryName + case scmProvider + case defaultBranch + case gitReferences + case pullRequests } public enum FieldsScmProviders: String, Codable, CaseIterable { - case repositories case scmProviderType case url + case repositories } - public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" - case lastAccessedDate - case ownerName - case pullRequests - case repositoryName - case scmProvider - case sshCloneURL = "sshCloneUrl" + public enum FieldsScmGitReferences: String, Codable, CaseIterable { + case name + case canonicalName + case isDeleted + case kind + case repository } public enum Include: String, Codable, CaseIterable { - case defaultBranch case scmProvider + case defaultBranch } - public init(fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsScmProviders: [FieldsScmProviders]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, include: [Include]? = nil) { - self.fieldsScmGitReferences = fieldsScmGitReferences - self.fieldsScmProviders = fieldsScmProviders + public init(fieldsScmRepositories: [FieldsScmRepositories]? = nil, fieldsScmProviders: [FieldsScmProviders]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, include: [Include]? = nil) { self.fieldsScmRepositories = fieldsScmRepositories + self.fieldsScmProviders = fieldsScmProviders + self.fieldsScmGitReferences = fieldsScmGitReferences self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") - encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]") encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") + encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]") + encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") encoder.encode(include, forKey: "include") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersions.swift index 8abb7395..b863115c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersions.swift @@ -14,47 +14,47 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciXcodeVersions-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciXcodeVersions_getCollection") } public struct GetParameters { public var fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? + public var fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? public var limit: Int? public var include: [Include]? - public var fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? public var limitMacOsVersions: Int? public enum FieldsCiXcodeVersions: String, Codable, CaseIterable { - case macOsVersions + case version case name case testDestinations - case version - } - - public enum Include: String, Codable, CaseIterable { case macOsVersions } public enum FieldsCiMacOsVersions: String, Codable, CaseIterable { - case name case version + case name case xcodeVersions } - public init(fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, limitMacOsVersions: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case macOsVersions + } + + public init(fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, limit: Int? = nil, include: [Include]? = nil, limitMacOsVersions: Int? = nil) { self.fieldsCiXcodeVersions = fieldsCiXcodeVersions + self.fieldsCiMacOsVersions = fieldsCiMacOsVersions self.limit = limit self.include = include - self.fieldsCiMacOsVersions = fieldsCiMacOsVersions self.limitMacOsVersions = limitMacOsVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsCiXcodeVersions, forKey: "fields[ciXcodeVersions]") + encoder.encode(fieldsCiMacOsVersions, forKey: "fields[ciMacOsVersions]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsCiMacOsVersions, forKey: "fields[ciMacOsVersions]") encoder.encode(limitMacOsVersions, forKey: "limit[macOsVersions]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithID.swift index 984f9b83..64b5bccf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithID.swift @@ -14,44 +14,44 @@ extension APIEndpoint.V1.CiXcodeVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciXcodeVersions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciXcodeVersions_getInstance") } public struct GetParameters { public var fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? - public var include: [Include]? public var fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? + public var include: [Include]? public var limitMacOsVersions: Int? public enum FieldsCiXcodeVersions: String, Codable, CaseIterable { - case macOsVersions + case version case name case testDestinations - case version - } - - public enum Include: String, Codable, CaseIterable { case macOsVersions } public enum FieldsCiMacOsVersions: String, Codable, CaseIterable { - case name case version + case name case xcodeVersions } - public init(fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, include: [Include]? = nil, fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, limitMacOsVersions: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case macOsVersions + } + + public init(fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, include: [Include]? = nil, limitMacOsVersions: Int? = nil) { self.fieldsCiXcodeVersions = fieldsCiXcodeVersions - self.include = include self.fieldsCiMacOsVersions = fieldsCiMacOsVersions + self.include = include self.limitMacOsVersions = limitMacOsVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsCiXcodeVersions, forKey: "fields[ciXcodeVersions]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsCiMacOsVersions, forKey: "fields[ciMacOsVersions]") + encoder.encode(include, forKey: "include") encoder.encode(limitMacOsVersions, forKey: "limit[macOsVersions]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDMacOsVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDMacOsVersions.swift index c3d8771a..bd85a888 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDMacOsVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDMacOsVersions.swift @@ -14,48 +14,48 @@ extension APIEndpoint.V1.CiXcodeVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciXcodeVersions-macOsVersions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "ciXcodeVersions_macOsVersions_getToManyRelated") } public struct GetParameters { - public var fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? public var fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? + public var fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? public var limit: Int? - public var limitXcodeVersions: Int? public var include: [Include]? + public var limitXcodeVersions: Int? - public enum FieldsCiXcodeVersions: String, Codable, CaseIterable { - case macOsVersions - case name - case testDestinations + public enum FieldsCiMacOsVersions: String, Codable, CaseIterable { case version + case name + case xcodeVersions } - public enum FieldsCiMacOsVersions: String, Codable, CaseIterable { - case name + public enum FieldsCiXcodeVersions: String, Codable, CaseIterable { case version - case xcodeVersions + case name + case testDestinations + case macOsVersions } public enum Include: String, Codable, CaseIterable { case xcodeVersions } - public init(fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, limit: Int? = nil, limitXcodeVersions: Int? = nil, include: [Include]? = nil) { - self.fieldsCiXcodeVersions = fieldsCiXcodeVersions + public init(fieldsCiMacOsVersions: [FieldsCiMacOsVersions]? = nil, fieldsCiXcodeVersions: [FieldsCiXcodeVersions]? = nil, limit: Int? = nil, include: [Include]? = nil, limitXcodeVersions: Int? = nil) { self.fieldsCiMacOsVersions = fieldsCiMacOsVersions + self.fieldsCiXcodeVersions = fieldsCiXcodeVersions self.limit = limit - self.limitXcodeVersions = limitXcodeVersions self.include = include + self.limitXcodeVersions = limitXcodeVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsCiXcodeVersions, forKey: "fields[ciXcodeVersions]") encoder.encode(fieldsCiMacOsVersions, forKey: "fields[ciMacOsVersions]") + encoder.encode(fieldsCiXcodeVersions, forKey: "fields[ciXcodeVersions]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitXcodeVersions, forKey: "limit[xcodeVersions]") encoder.encode(include, forKey: "include") + encoder.encode(limitXcodeVersions, forKey: "limit[xcodeVersions]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponses.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponses.swift index acb98e6f..9257f4cf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponses.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponses.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.CustomerReviewResponseV1CreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "customerReviewResponses-create_instance") + Request(path: path, method: "POST", body: body, id: "customerReviewResponses_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponsesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponsesWithID.swift index a9935f54..8f5ec672 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponsesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponsesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.CustomerReviewResponses { public let path: String public func get(fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsCustomerReviewResponses, include), id: "customerReviewResponses-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsCustomerReviewResponses, include), id: "customerReviewResponses_getInstance") } private func makeGetQuery(_ fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,10 +25,10 @@ extension APIEndpoint.V1.CustomerReviewResponses { } public enum FieldsCustomerReviewResponses: String, Codable, CaseIterable { - case lastModifiedDate case responseBody - case review + case lastModifiedDate case state + case review } public enum Include: String, Codable, CaseIterable { @@ -36,7 +36,7 @@ extension APIEndpoint.V1.CustomerReviewResponses { } public var delete: Request { - Request(path: path, method: "DELETE", id: "customerReviewResponses-delete_instance") + Request(path: path, method: "DELETE", id: "customerReviewResponses_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithID.swift index e78713e1..316c2fff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithID.swift @@ -14,46 +14,46 @@ extension APIEndpoint.V1.CustomerReviews { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "customerReviews-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "customerReviews_getInstance") } public struct GetParameters { public var fieldsCustomerReviews: [FieldsCustomerReviews]? - public var include: [Include]? public var fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? + public var include: [Include]? public enum FieldsCustomerReviews: String, Codable, CaseIterable { - case body - case createdDate case rating - case response + case title + case body case reviewerNickname + case createdDate case territory - case title - } - - public enum Include: String, Codable, CaseIterable { case response } public enum FieldsCustomerReviewResponses: String, Codable, CaseIterable { - case lastModifiedDate case responseBody - case review + case lastModifiedDate case state + case review + } + + public enum Include: String, Codable, CaseIterable { + case response } - public init(fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, include: [Include]? = nil, fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? = nil) { + public init(fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? = nil, include: [Include]? = nil) { self.fieldsCustomerReviews = fieldsCustomerReviews - self.include = include self.fieldsCustomerReviewResponses = fieldsCustomerReviewResponses + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsCustomerReviews, forKey: "fields[customerReviews]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsCustomerReviewResponses, forKey: "fields[customerReviewResponses]") + encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDResponse.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDResponse.swift index f3f60a37..556f123d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDResponse.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDResponse.swift @@ -14,45 +14,45 @@ extension APIEndpoint.V1.CustomerReviews.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "customerReviews-response-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "customerReviews_response_getToOneRelated") } public struct GetParameters { - public var fieldsCustomerReviews: [FieldsCustomerReviews]? public var fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? + public var fieldsCustomerReviews: [FieldsCustomerReviews]? public var include: [Include]? + public enum FieldsCustomerReviewResponses: String, Codable, CaseIterable { + case responseBody + case lastModifiedDate + case state + case review + } + public enum FieldsCustomerReviews: String, Codable, CaseIterable { - case body - case createdDate case rating - case response + case title + case body case reviewerNickname + case createdDate case territory - case title - } - - public enum FieldsCustomerReviewResponses: String, Codable, CaseIterable { - case lastModifiedDate - case responseBody - case review - case state + case response } public enum Include: String, Codable, CaseIterable { case review } - public init(fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? = nil, include: [Include]? = nil) { - self.fieldsCustomerReviews = fieldsCustomerReviews + public init(fieldsCustomerReviewResponses: [FieldsCustomerReviewResponses]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, include: [Include]? = nil) { self.fieldsCustomerReviewResponses = fieldsCustomerReviewResponses + self.fieldsCustomerReviews = fieldsCustomerReviews self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsCustomerReviews, forKey: "fields[customerReviews]") encoder.encode(fieldsCustomerReviewResponses, forKey: "fields[customerReviewResponses]") + encoder.encode(fieldsCustomerReviews, forKey: "fields[customerReviews]") encoder.encode(include, forKey: "include") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift index 316a898f..65bc00dc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Devices.swift @@ -14,14 +14,14 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "devices-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "devices_getCollection") } public struct GetParameters { public var filterName: [String]? public var filterPlatform: [FilterPlatform]? - public var filterStatus: [FilterStatus]? public var filterUdid: [String]? + public var filterStatus: [FilterStatus]? public var filterID: [String]? public var sort: [Sort]? public var fieldsDevices: [FieldsDevices]? @@ -38,33 +38,33 @@ extension APIEndpoint.V1 { } public enum Sort: String, Codable, CaseIterable { - case id - case minusid = "-id" case name case minusname = "-name" case platform case minusplatform = "-platform" - case status - case minusstatus = "-status" case udid case minusudid = "-udid" + case status + case minusstatus = "-status" + case id + case minusid = "-id" } public enum FieldsDevices: String, Codable, CaseIterable { - case addedDate - case deviceClass - case model case name case platform - case status case udid + case deviceClass + case status + case model + case addedDate } - public init(filterName: [String]? = nil, filterPlatform: [FilterPlatform]? = nil, filterStatus: [FilterStatus]? = nil, filterUdid: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsDevices: [FieldsDevices]? = nil, limit: Int? = nil) { + public init(filterName: [String]? = nil, filterPlatform: [FilterPlatform]? = nil, filterUdid: [String]? = nil, filterStatus: [FilterStatus]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsDevices: [FieldsDevices]? = nil, limit: Int? = nil) { self.filterName = filterName self.filterPlatform = filterPlatform - self.filterStatus = filterStatus self.filterUdid = filterUdid + self.filterStatus = filterStatus self.filterID = filterID self.sort = sort self.fieldsDevices = fieldsDevices @@ -75,8 +75,8 @@ extension APIEndpoint.V1 { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterName, forKey: "filter[name]") encoder.encode(filterPlatform, forKey: "filter[platform]") - encoder.encode(filterStatus, forKey: "filter[status]") encoder.encode(filterUdid, forKey: "filter[udid]") + encoder.encode(filterStatus, forKey: "filter[status]") encoder.encode(filterID, forKey: "filter[id]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsDevices, forKey: "fields[devices]") @@ -86,7 +86,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.DeviceCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "devices-create_instance") + Request(path: path, method: "POST", body: body, id: "devices_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1DevicesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1DevicesWithID.swift index f80ce9b9..fc48dfff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1DevicesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1DevicesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Devices { public let path: String public func get(fieldsDevices: [FieldsDevices]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsDevices), id: "devices-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsDevices), id: "devices_getInstance") } private func makeGetQuery(_ fieldsDevices: [FieldsDevices]?) -> [(String, String?)] { @@ -24,17 +24,17 @@ extension APIEndpoint.V1.Devices { } public enum FieldsDevices: String, Codable, CaseIterable { - case addedDate - case deviceClass - case model case name case platform - case status case udid + case deviceClass + case status + case model + case addedDate } public func patch(_ body: AppStoreConnect_Swift_SDK.DeviceUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "devices-update_instance") + Request(path: path, method: "PATCH", body: body, id: "devices_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithIDLogs.swift b/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithIDLogs.swift index 35606e96..d527b155 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithIDLogs.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithIDLogs.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.DiagnosticSignatures.WithID { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "diagnosticSignatures-logs-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "diagnosticSignatures_logs_getToManyRelated") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1EndAppAvailabilityPreOrders.swift b/Sources/OpenAPI/Generated/Paths/PathsV1EndAppAvailabilityPreOrders.swift index 6e440ef7..8c366183 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1EndAppAvailabilityPreOrders.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1EndAppAvailabilityPreOrders.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.EndAppAvailabilityPreOrderCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "endAppAvailabilityPreOrders-create_instance") + Request(path: path, method: "POST", body: body, id: "endAppAvailabilityPreOrders_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreements.swift index 6d057f11..996a60a9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreements.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.EndUserLicenseAgreementCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "endUserLicenseAgreements-create_instance") + Request(path: path, method: "POST", body: body, id: "endUserLicenseAgreements_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithID.swift index 6dc7de45..5126fa08 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithID.swift @@ -14,13 +14,13 @@ extension APIEndpoint.V1.EndUserLicenseAgreements { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "endUserLicenseAgreements-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "endUserLicenseAgreements_getInstance") } public struct GetParameters { public var fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? - public var include: [Include]? public var fieldsTerritories: [FieldsTerritories]? + public var include: [Include]? public var limitTerritories: Int? public enum FieldsEndUserLicenseAgreements: String, Codable, CaseIterable { @@ -29,38 +29,38 @@ extension APIEndpoint.V1.EndUserLicenseAgreements { case territories } + public enum FieldsTerritories: String, Codable, CaseIterable { + case currency + } + public enum Include: String, Codable, CaseIterable { case app case territories } - public enum FieldsTerritories: String, Codable, CaseIterable { - case currency - } - - public init(fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, include: [Include]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitTerritories: Int? = nil) { + public init(fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, include: [Include]? = nil, limitTerritories: Int? = nil) { self.fieldsEndUserLicenseAgreements = fieldsEndUserLicenseAgreements - self.include = include self.fieldsTerritories = fieldsTerritories + self.include = include self.limitTerritories = limitTerritories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsEndUserLicenseAgreements, forKey: "fields[endUserLicenseAgreements]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsTerritories, forKey: "fields[territories]") + encoder.encode(include, forKey: "include") encoder.encode(limitTerritories, forKey: "limit[territories]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.EndUserLicenseAgreementUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "endUserLicenseAgreements-update_instance") + Request(path: path, method: "PATCH", body: body, id: "endUserLicenseAgreements_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "endUserLicenseAgreements-delete_instance") + Request(path: path, method: "DELETE", id: "endUserLicenseAgreements_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDTerritories.swift index 7d1d9e52..ae58b958 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDTerritories.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.EndUserLicenseAgreements.WithID { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "endUserLicenseAgreements-territories-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "endUserLicenseAgreements_territories_getToManyRelated") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1FinanceReports.swift b/Sources/OpenAPI/Generated/Paths/PathsV1FinanceReports.swift index 2ddef09f..ef3f7be8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1FinanceReports.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1FinanceReports.swift @@ -14,33 +14,33 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "financeReports-get_collection") + Request(path: path, method: "GET", query: parameters.asQuery, id: "financeReports_getCollection") } public struct GetParameters { + public var filterVendorNumber: [String] + public var filterReportType: [FilterReportType] public var filterRegionCode: [String] public var filterReportDate: [String] - public var filterReportType: [FilterReportType] - public var filterVendorNumber: [String] public enum FilterReportType: String, Codable, CaseIterable { case financial = "FINANCIAL" case financeDetail = "FINANCE_DETAIL" } - public init(filterRegionCode: [String], filterReportDate: [String], filterReportType: [FilterReportType], filterVendorNumber: [String]) { + public init(filterVendorNumber: [String], filterReportType: [FilterReportType], filterRegionCode: [String], filterReportDate: [String]) { + self.filterVendorNumber = filterVendorNumber + self.filterReportType = filterReportType self.filterRegionCode = filterRegionCode self.filterReportDate = filterReportDate - self.filterReportType = filterReportType - self.filterVendorNumber = filterVendorNumber } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) + encoder.encode(filterVendorNumber, forKey: "filter[vendorNumber]") + encoder.encode(filterReportType, forKey: "filter[reportType]") encoder.encode(filterRegionCode, forKey: "filter[regionCode]") encoder.encode(filterReportDate, forKey: "filter[reportDate]") - encoder.encode(filterReportType, forKey: "filter[reportType]") - encoder.encode(filterVendorNumber, forKey: "filter[vendorNumber]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImages.swift index 79b72d7f..80c77c6e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImages.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementImageCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterAchievementImages-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterAchievementImages_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift index 4ef0a094..d2e4aa12 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementImagesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievementImages { public let path: String public func get(fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterAchievementImages, include), id: "gameCenterAchievementImages-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterAchievementImages, include), id: "gameCenterAchievementImages_getInstance") } private func makeGetQuery(_ fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,13 +25,13 @@ extension APIEndpoint.V1.GameCenterAchievementImages { } public enum FieldsGameCenterAchievementImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case gameCenterAchievementLocalization + case fileName case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case gameCenterAchievementLocalization } public enum Include: String, Codable, CaseIterable { @@ -39,11 +39,11 @@ extension APIEndpoint.V1.GameCenterAchievementImages { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementImageUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievementImages-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievementImages_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterAchievementImages-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterAchievementImages_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizations.swift index 1508111f..76a03eff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterAchievementLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterAchievementLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift index 00096a85..5abe6db3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithID.swift @@ -14,76 +14,76 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievementLocalizations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievementLocalizations_getInstance") } public struct GetParameters { public var fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? - public var include: [Include]? - public var fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]? public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? + public var fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]? + public var include: [Include]? public enum FieldsGameCenterAchievementLocalizations: String, Codable, CaseIterable { - case afterEarnedDescription + case locale + case name case beforeEarnedDescription + case afterEarnedDescription case gameCenterAchievement case gameCenterAchievementImage - case locale - case name } - public enum Include: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterAchievementImage + public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable + case archived + case gameCenterDetail + case gameCenterGroup + case groupAchievement + case localizations + case releases } public enum FieldsGameCenterAchievementImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case gameCenterAchievementLocalization + case fileName case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case gameCenterAchievementLocalization } - public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { - case archived - case gameCenterDetail - case gameCenterGroup - case groupAchievement - case localizations - case points - case referenceName - case releases - case repeatable - case showBeforeEarned - case vendorIdentifier + public enum Include: String, Codable, CaseIterable { + case gameCenterAchievement + case gameCenterAchievementImage } - public init(fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, include: [Include]? = nil, fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil) { + public init(fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]? = nil, include: [Include]? = nil) { self.fieldsGameCenterAchievementLocalizations = fieldsGameCenterAchievementLocalizations - self.include = include - self.fieldsGameCenterAchievementImages = fieldsGameCenterAchievementImages self.fieldsGameCenterAchievements = fieldsGameCenterAchievements + self.fieldsGameCenterAchievementImages = fieldsGameCenterAchievementImages + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterAchievementLocalizations, forKey: "fields[gameCenterAchievementLocalizations]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsGameCenterAchievementImages, forKey: "fields[gameCenterAchievementImages]") encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") + encoder.encode(fieldsGameCenterAchievementImages, forKey: "fields[gameCenterAchievementImages]") + encoder.encode(include, forKey: "include") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievementLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievementLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterAchievementLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterAchievementLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievement.swift index 70bd4672..27ec9e0c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievement.swift @@ -14,70 +14,70 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievementLocalizations-gameCenterAchievement-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievementLocalizations_gameCenterAchievement_getToOneRelated") } public struct GetParameters { - public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? - public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? + public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? + public var include: [Include]? public var limitLocalizations: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail - case live - } - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards + public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable + case archived + case gameCenterDetail + case gameCenterGroup + case groupAchievement + case localizations + case releases } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + public enum FieldsGameCenterAchievementLocalizations: String, Codable, CaseIterable { - case afterEarnedDescription + case locale + case name case beforeEarnedDescription + case afterEarnedDescription case gameCenterAchievement case gameCenterAchievementImage - case locale - case name } - public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { - case archived + public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { + case live case gameCenterDetail - case gameCenterGroup - case groupAchievement - case localizations - case points - case referenceName - case releases - case repeatable - case showBeforeEarned - case vendorIdentifier + case gameCenterAchievement } public enum Include: String, Codable, CaseIterable { @@ -88,27 +88,27 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations.WithID { case releases } - public init(fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases - self.fieldsGameCenterGroups = fieldsGameCenterGroups + public init(fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { + self.fieldsGameCenterAchievements = fieldsGameCenterAchievements self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterAchievementLocalizations = fieldsGameCenterAchievementLocalizations - self.fieldsGameCenterAchievements = fieldsGameCenterAchievements + self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases + self.include = include self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterAchievementLocalizations, forKey: "fields[gameCenterAchievementLocalizations]") - encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") + encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift index 84ba97c4..86ad6242 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDGameCenterAchievementImage.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievementLocalizations-gameCenterAchievementImage-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievementLocalizations_gameCenterAchievementImage_getToOneRelated") } public struct GetParameters { @@ -23,22 +23,22 @@ extension APIEndpoint.V1.GameCenterAchievementLocalizations.WithID { public var include: [Include]? public enum FieldsGameCenterAchievementImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case gameCenterAchievementLocalization + case fileName case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case gameCenterAchievementLocalization } public enum FieldsGameCenterAchievementLocalizations: String, Codable, CaseIterable { - case afterEarnedDescription + case locale + case name case beforeEarnedDescription + case afterEarnedDescription case gameCenterAchievement case gameCenterAchievementImage - case locale - case name } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleases.swift index e7d7a2d3..1a2d1943 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleases.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementReleaseCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterAchievementReleases-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterAchievementReleases_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleasesWithID.swift index d640302e..9580ffc0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementReleasesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievementReleases { public let path: String public func get(fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterAchievementReleases, include), id: "gameCenterAchievementReleases-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterAchievementReleases, include), id: "gameCenterAchievementReleases_getInstance") } private func makeGetQuery(_ fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,18 +25,18 @@ extension APIEndpoint.V1.GameCenterAchievementReleases { } public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail case live + case gameCenterDetail + case gameCenterAchievement } public enum Include: String, Codable, CaseIterable { - case gameCenterAchievement case gameCenterDetail + case gameCenterAchievement } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterAchievementReleases-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterAchievementReleases_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievements.swift index cd1c72b6..c5759e0c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievements.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterAchievements-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterAchievements_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithID.swift index ec566c0d..2c22d005 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithID.swift @@ -14,59 +14,59 @@ extension APIEndpoint.V1.GameCenterAchievements { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements_getInstance") } public struct GetParameters { public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? - public var include: [Include]? - public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? public var fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? + public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? + public var include: [Include]? public var limitLocalizations: Int? public var limitReleases: Int? public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable case archived case gameCenterDetail case gameCenterGroup case groupAchievement case localizations - case points - case referenceName case releases - case repeatable - case showBeforeEarned - case vendorIdentifier } - public enum Include: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterGroup - case groupAchievement - case localizations - case releases + public enum FieldsGameCenterAchievementLocalizations: String, Codable, CaseIterable { + case locale + case name + case beforeEarnedDescription + case afterEarnedDescription + case gameCenterAchievement + case gameCenterAchievementImage } public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail case live + case gameCenterDetail + case gameCenterAchievement } - public enum FieldsGameCenterAchievementLocalizations: String, Codable, CaseIterable { - case afterEarnedDescription - case beforeEarnedDescription - case gameCenterAchievement - case gameCenterAchievementImage - case locale - case name + public enum Include: String, Codable, CaseIterable { + case gameCenterDetail + case gameCenterGroup + case groupAchievement + case localizations + case releases } - public init(fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, include: [Include]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { + public init(fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { self.fieldsGameCenterAchievements = fieldsGameCenterAchievements - self.include = include - self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases self.fieldsGameCenterAchievementLocalizations = fieldsGameCenterAchievementLocalizations + self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases + self.include = include self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases } @@ -74,9 +74,9 @@ extension APIEndpoint.V1.GameCenterAchievements { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") encoder.encode(fieldsGameCenterAchievementLocalizations, forKey: "fields[gameCenterAchievementLocalizations]") + encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") return encoder.items @@ -84,11 +84,11 @@ extension APIEndpoint.V1.GameCenterAchievements { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievements-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievements_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterAchievements-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterAchievements_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift index 6c7780d5..b26927bf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDGroupAchievement.swift @@ -14,70 +14,70 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements-groupAchievement-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements_groupAchievement_getToOneRelated") } public struct GetParameters { - public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? - public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? + public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? + public var include: [Include]? public var limitLocalizations: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail - case live - } - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards + public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable + case archived + case gameCenterDetail + case gameCenterGroup + case groupAchievement + case localizations + case releases } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + public enum FieldsGameCenterAchievementLocalizations: String, Codable, CaseIterable { - case afterEarnedDescription + case locale + case name case beforeEarnedDescription + case afterEarnedDescription case gameCenterAchievement case gameCenterAchievementImage - case locale - case name } - public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { - case archived + public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { + case live case gameCenterDetail - case gameCenterGroup - case groupAchievement - case localizations - case points - case referenceName - case releases - case repeatable - case showBeforeEarned - case vendorIdentifier + case gameCenterAchievement } public enum Include: String, Codable, CaseIterable { @@ -88,27 +88,27 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { case releases } - public init(fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases - self.fieldsGameCenterGroups = fieldsGameCenterGroups + public init(fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { + self.fieldsGameCenterAchievements = fieldsGameCenterAchievements self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterAchievementLocalizations = fieldsGameCenterAchievementLocalizations - self.fieldsGameCenterAchievements = fieldsGameCenterAchievements + self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases + self.include = include self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterAchievementLocalizations, forKey: "fields[gameCenterAchievementLocalizations]") - encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") + encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift index 577a8f65..ed39aaf7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDLocalizations.swift @@ -14,47 +14,47 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements-localizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements_localizations_getToManyRelated") } public struct GetParameters { - public var fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]? public var fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? + public var fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]? public var limit: Int? public var include: [Include]? - public enum FieldsGameCenterAchievementImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName - case fileSize - case gameCenterAchievementLocalization - case imageAsset - case uploadOperations - case uploaded - } - public enum FieldsGameCenterAchievementLocalizations: String, Codable, CaseIterable { - case afterEarnedDescription + case locale + case name case beforeEarnedDescription + case afterEarnedDescription case gameCenterAchievement case gameCenterAchievementImage - case locale - case name } public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable case archived case gameCenterDetail case gameCenterGroup case groupAchievement case localizations - case points - case referenceName case releases - case repeatable - case showBeforeEarned - case vendorIdentifier + } + + public enum FieldsGameCenterAchievementImages: String, Codable, CaseIterable { + case fileSize + case fileName + case imageAsset + case uploadOperations + case assetDeliveryState + case uploaded + case gameCenterAchievementLocalization } public enum Include: String, Codable, CaseIterable { @@ -62,19 +62,19 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { case gameCenterAchievementImage } - public init(fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.fieldsGameCenterAchievementImages = fieldsGameCenterAchievementImages + public init(fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterAchievementImages: [FieldsGameCenterAchievementImages]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsGameCenterAchievementLocalizations = fieldsGameCenterAchievementLocalizations self.fieldsGameCenterAchievements = fieldsGameCenterAchievements + self.fieldsGameCenterAchievementImages = fieldsGameCenterAchievementImages self.limit = limit self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsGameCenterAchievementImages, forKey: "fields[gameCenterAchievementImages]") encoder.encode(fieldsGameCenterAchievementLocalizations, forKey: "fields[gameCenterAchievementLocalizations]") encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") + encoder.encode(fieldsGameCenterAchievementImages, forKey: "fields[gameCenterAchievementImages]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift index 7430d7ee..36467d48 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsGroupAchievement.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID.Relationships { public let path: String public var get: Request { - Request(path: path, method: "GET", id: "gameCenterAchievements-groupAchievement-get_to_one_relationship") + Request(path: path, method: "GET", id: "gameCenterAchievements_groupAchievement_getToOneRelationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementGroupAchievementLinkageRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievements-groupAchievement-update_to_one_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievements_groupAchievement_updateToOneRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDReleases.swift index ecea5544..6d8df8f0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDReleases.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements-releases-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAchievements_releases_getToManyRelated") } public struct GetParameters { @@ -27,44 +27,44 @@ extension APIEndpoint.V1.GameCenterAchievements.WithID { public var include: [Include]? public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail case live + case gameCenterDetail + case gameCenterAchievement } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable case archived case gameCenterDetail case gameCenterGroup case groupAchievement case localizations - case points - case referenceName case releases - case repeatable - case showBeforeEarned - case vendorIdentifier } public enum Include: String, Codable, CaseIterable { - case gameCenterAchievement case gameCenterDetail + case gameCenterAchievement } public init(filterLive: [String]? = nil, filterGameCenterDetail: [String]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limit: Int? = nil, include: [Include]? = nil) { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersions.swift index 471ad44a..15849d62 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAppVersionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterAppVersions-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterAppVersions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift index 1febd6c6..0e969e0d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift @@ -14,71 +14,72 @@ extension APIEndpoint.V1.GameCenterAppVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAppVersions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAppVersions_getInstance") } public struct GetParameters { public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? - public var include: [Include]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? + public var include: [Include]? public var limitCompatibilityVersions: Int? public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { - case appStoreVersion - case compatibilityVersions case enabled - } - - public enum Include: String, Codable, CaseIterable { - case appStoreVersion case compatibilityVersions + case appStoreVersion } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } - public init(fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, include: [Include]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, limitCompatibilityVersions: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case compatibilityVersions + case appStoreVersion + } + + public init(fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, include: [Include]? = nil, limitCompatibilityVersions: Int? = nil) { self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions - self.include = include self.fieldsAppStoreVersions = fieldsAppStoreVersions + self.include = include self.limitCompatibilityVersions = limitCompatibilityVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") + encoder.encode(include, forKey: "include") encoder.encode(limitCompatibilityVersions, forKey: "limit[compatibilityVersions]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAppVersionUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterAppVersions-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterAppVersions_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift index 51533613..3ed44bb4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift @@ -14,277 +14,292 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAppVersions-appStoreVersion-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAppVersions_appStoreVersion_getToOneRelated") } public struct GetParameters { - public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? - public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? - public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsApps: [FieldsApps]? + public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? + public var fieldsBuilds: [FieldsBuilds]? + public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? + public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? public var fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? + public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? + public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? - public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? - public var fieldsBuilds: [FieldsBuilds]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? + public var include: [Include]? public var limitAppStoreVersionLocalizations: Int? public var limitAppStoreVersionExperiments: Int? public var limitAppStoreVersionExperimentsV2: Int? - public var include: [Include]? + + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { + case platform + case versionString + case appStoreState + case appVersionState + case copyright + case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion + case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage + } + + 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 FieldsAgeRatingDeclarations: String, Codable, CaseIterable { - case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests - case gambling case gamblingAndContests + case gambling case gamblingSimulated - case horrorOrFearThemes case kidsAgeBand - case matureOrSuggestiveThemes + case lootBox case medicalOrTreatmentInformation case profanityOrCrudeHumor - case seventeenPlus case sexualContentGraphicAndNudity case sexualContentOrNudity + case horrorOrFearThemes + case matureOrSuggestiveThemes case unrestrictedWebAccess case violenceCartoonOrFantasy - case violenceRealistic case violenceRealisticProlongedGraphicOrSadistic - } - - public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { - case appStoreReviewAttachments - case appStoreVersion - case contactEmail - case contactFirstName - case contactLastName - case contactPhone - case demoAccountName - case demoAccountPassword - case demoAccountRequired - case notes + case violenceRealistic + case ageRatingOverride + case koreaAgeRatingOverride + case seventeenPlus } public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion case description - case keywords case locale + case keywords case marketingURL = "marketingUrl" case promotionalText case supportURL = "supportUrl" case whatsNew + case appStoreVersion + case appScreenshotSets + case appPreviewSets } - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission case app + case buildBetaDetail case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } - public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { + case phasedReleaseState + case startDate + case totalPauseDuration + case currentDayNumber case appStoreVersion } - public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions case appStoreVersion - case versions - } - - public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission - case appVersionState - case build - case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType - case reviewType - case routingAppCoverage - case versionString - } - - public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages - case appEncryptionDeclarations - case appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 - case appStoreVersions - case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters - case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews - case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions - case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name - case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale - case promotedPurchases - case reviewSubmissions - case sku - case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" } public enum FieldsRoutingAppCoverages: String, Codable, CaseIterable { - case appStoreVersion - case assetDeliveryState - case fileName case fileSize + case fileName case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded + case appStoreVersion + } + + public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { + case contactFirstName + case contactLastName + case contactPhone + case contactEmail + case demoAccountName + case demoAccountPassword + case demoAccountRequired + case notes + case appStoreVersion + case appStoreReviewAttachments + } + + public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + case appStoreVersion } public enum FieldsAppClipDefaultExperiences: String, Codable, CaseIterable { case action case appClip - case appClipAppStoreReviewDetail + case releaseWithAppStoreVersion case appClipDefaultExperienceLocalizations + case appClipAppStoreReviewDetail case appClipDefaultExperienceTemplate - case releaseWithAppStoreVersion } - public enum FieldsAppStoreVersionPhasedReleases: String, Codable, CaseIterable { - case appStoreVersion - case currentDayNumber - case phasedReleaseState + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case name + case trafficProportion + case state + case reviewRequired case startDate - case totalPauseDuration + case endDate + case started + case appStoreVersion + case appStoreVersionExperimentTreatments + case platform + case app + case latestControlVersion + case controlVersions } - public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version + case versions } public enum Include: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage case app - case appClipDefaultExperience - case appStoreReviewDetail - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 + case ageRatingDeclaration case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case alternativeDistributionPackage } - public init(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { - self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations - self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions - self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages + public init(fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, include: [Include]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil) { self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsApps = fieldsApps + self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations + self.fieldsBuilds = fieldsBuilds + self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases + self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions self.fieldsRoutingAppCoverages = fieldsRoutingAppCoverages + self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails + self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences - self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases - self.fieldsBuilds = fieldsBuilds + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages + self.include = include self.limitAppStoreVersionLocalizations = limitAppStoreVersionLocalizations self.limitAppStoreVersionExperiments = limitAppStoreVersionExperiments self.limitAppStoreVersionExperimentsV2 = limitAppStoreVersionExperimentsV2 - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") - encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") - encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") + encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") encoder.encode(fieldsRoutingAppCoverages, forKey: "fields[routingAppCoverages]") + encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") + encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") - encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppStoreVersionLocalizations, forKey: "limit[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionExperiments, forKey: "limit[appStoreVersionExperiments]") encoder.encode(limitAppStoreVersionExperimentsV2, forKey: "limit[appStoreVersionExperimentsV2]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift index 4aababba..8cb1dd29 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift @@ -14,71 +14,72 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAppVersions-compatibilityVersions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterAppVersions_compatibilityVersions_getToManyRelated") } public struct GetParameters { public var filterEnabled: [String]? - public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var limit: Int? - public var limitCompatibilityVersions: Int? public var include: [Include]? + public var limitCompatibilityVersions: Int? + + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions + case appStoreVersion + } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString - } - - public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { - case appStoreVersion - case compatibilityVersions - case enabled + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } public enum Include: String, Codable, CaseIterable { - case appStoreVersion case compatibilityVersions + case appStoreVersion } - public init(filterEnabled: [String]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, limit: Int? = nil, limitCompatibilityVersions: Int? = nil, include: [Include]? = nil) { + public init(filterEnabled: [String]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, limit: Int? = nil, include: [Include]? = nil, limitCompatibilityVersions: Int? = nil) { self.filterEnabled = filterEnabled - self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions + self.fieldsAppStoreVersions = fieldsAppStoreVersions self.limit = limit - self.limitCompatibilityVersions = limitCompatibilityVersions self.include = include + self.limitCompatibilityVersions = limitCompatibilityVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterEnabled, forKey: "filter[enabled]") - encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitCompatibilityVersions, forKey: "limit[compatibilityVersions]") encoder.encode(include, forKey: "include") + encoder.encode(limitCompatibilityVersions, forKey: "limit[compatibilityVersions]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsCompatibilityVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsCompatibilityVersions.swift index 50a1b90a..7c232d04 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsCompatibilityVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationshipsCompatibilityVersions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterAppVersions-compatibilityVersions-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterAppVersions_compatibilityVersions_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,11 +24,11 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAppVersionCompatibilityVersionsLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterAppVersions-compatibilityVersions-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "gameCenterAppVersions_compatibilityVersions_createToManyRelationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.GameCenterAppVersionCompatibilityVersionsLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "gameCenterAppVersions-compatibilityVersions-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "gameCenterAppVersions_compatibilityVersions_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetails.swift index 7957c711..502a63d4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetails.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterDetails-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterDetails_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithID.swift index f6375acb..af3d8130 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithID.swift @@ -14,20 +14,20 @@ extension APIEndpoint.V1.GameCenterDetails { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails_getInstance") } public struct GetParameters { public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? - public var include: [Include]? - public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? - public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? + public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? - public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? + public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? + public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? + public var include: [Include]? public var limitAchievementReleases: Int? public var limitGameCenterAchievements: Int? public var limitGameCenterAppVersions: Int? @@ -37,123 +37,123 @@ extension APIEndpoint.V1.GameCenterDetails { public var limitLeaderboardSetReleases: Int? public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements - case gameCenterAppVersions - case gameCenterGroup - case gameCenterLeaderboardSets - case gameCenterLeaderboards - case leaderboardReleases - case leaderboardSetReleases - } - - public enum Include: String, Codable, CaseIterable { - case achievementReleases case app - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } - public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail - case live - } - - public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterLeaderboardSet - case live - } - - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet - case localizations - case referenceName - case releases - case vendorIdentifier + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions + case appStoreVersion } public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements + case referenceName case gameCenterDetails - case gameCenterLeaderboardSets case gameCenterLeaderboards - case referenceName + case gameCenterLeaderboardSets + case gameCenterAchievements } public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType + } + + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName case vendorIdentifier + case gameCenterDetail + case gameCenterGroup + case groupLeaderboardSet + case localizations + case gameCenterLeaderboards + case releases } public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable case archived case gameCenterDetail case gameCenterGroup case groupAchievement case localizations - case points - case referenceName case releases - case repeatable - case showBeforeEarned - case vendorIdentifier } - public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { - case appStoreVersion - case compatibilityVersions - case enabled + public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { + case live + case gameCenterDetail + case gameCenterAchievement } public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboard + } + + public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { case live + case gameCenterDetail + case gameCenterLeaderboardSet } - public init(fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, include: [Include]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limitAchievementReleases: Int? = nil, limitGameCenterAchievements: Int? = nil, limitGameCenterAppVersions: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitLeaderboardReleases: Int? = nil, limitLeaderboardSetReleases: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case app + case gameCenterAppVersions + case gameCenterGroup + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases + case leaderboardReleases + case leaderboardSetReleases + } + + public init(fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, include: [Include]? = nil, limitAchievementReleases: Int? = nil, limitGameCenterAchievements: Int? = nil, limitGameCenterAppVersions: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitLeaderboardReleases: Int? = nil, limitLeaderboardSetReleases: Int? = nil) { self.fieldsGameCenterDetails = fieldsGameCenterDetails - self.include = include - self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases - self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets + self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterAchievements = fieldsGameCenterAchievements - self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions + self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases + self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases + self.include = include self.limitAchievementReleases = limitAchievementReleases self.limitGameCenterAchievements = limitGameCenterAchievements self.limitGameCenterAppVersions = limitGameCenterAppVersions @@ -166,15 +166,15 @@ extension APIEndpoint.V1.GameCenterDetails { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") - encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") + encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") - encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") + encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") + encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitAchievementReleases, forKey: "limit[achievementReleases]") encoder.encode(limitGameCenterAchievements, forKey: "limit[gameCenterAchievements]") encoder.encode(limitGameCenterAppVersions, forKey: "limit[gameCenterAppVersions]") @@ -187,7 +187,7 @@ extension APIEndpoint.V1.GameCenterDetails { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDAchievementReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDAchievementReleases.swift index c0d73b4f..9d541206 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDAchievementReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDAchievementReleases.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-achievementReleases-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails_achievementReleases_getToManyRelated") } public struct GetParameters { @@ -27,44 +27,44 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public var include: [Include]? public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail case live + case gameCenterDetail + case gameCenterAchievement } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable case archived case gameCenterDetail case gameCenterGroup case groupAchievement case localizations - case points - case referenceName case releases - case repeatable - case showBeforeEarned - case vendorIdentifier } public enum Include: String, Codable, CaseIterable { - case gameCenterAchievement case gameCenterDetail + case gameCenterAchievement } public init(filterLive: [String]? = nil, filterGameCenterAchievement: [String]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limit: Int? = nil, include: [Include]? = nil) { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAchievements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAchievements.swift index 9359f6d4..95efc0d2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAchievements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAchievements.swift @@ -14,74 +14,74 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-gameCenterAchievements-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails_gameCenterAchievements_getToManyRelated") } public struct GetParameters { - public var filterArchived: [String]? public var filterReferenceName: [String]? + public var filterArchived: [String]? public var filterID: [String]? - public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? - public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? + public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? public var limit: Int? + public var include: [Include]? public var limitLocalizations: Int? public var limitReleases: Int? - public var include: [Include]? - public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail - case live - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards + public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable + case archived + case gameCenterDetail + case gameCenterGroup + case groupAchievement + case localizations + case releases } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + public enum FieldsGameCenterAchievementLocalizations: String, Codable, CaseIterable { - case afterEarnedDescription + case locale + case name case beforeEarnedDescription + case afterEarnedDescription case gameCenterAchievement case gameCenterAchievementImage - case locale - case name } - public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { - case archived + public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { + case live case gameCenterDetail - case gameCenterGroup - case groupAchievement - case localizations - case points - case referenceName - case releases - case repeatable - case showBeforeEarned - case vendorIdentifier + case gameCenterAchievement } public enum Include: String, Codable, CaseIterable { @@ -92,35 +92,35 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { case releases } - public init(filterArchived: [String]? = nil, filterReferenceName: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limit: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.filterArchived = filterArchived + public init(filterReferenceName: [String]? = nil, filterArchived: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, limit: Int? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { self.filterReferenceName = filterReferenceName + self.filterArchived = filterArchived self.filterID = filterID - self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases - self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterAchievements = fieldsGameCenterAchievements self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterAchievementLocalizations = fieldsGameCenterAchievementLocalizations - self.fieldsGameCenterAchievements = fieldsGameCenterAchievements + self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases self.limit = limit + self.include = include self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterArchived, forKey: "filter[archived]") encoder.encode(filterReferenceName, forKey: "filter[referenceName]") + encoder.encode(filterArchived, forKey: "filter[archived]") encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterAchievementLocalizations, forKey: "fields[gameCenterAchievementLocalizations]") - encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") + encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift index e0a9f820..e9e6a72c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift @@ -14,71 +14,72 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-gameCenterAppVersions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails_gameCenterAppVersions_getToManyRelated") } public struct GetParameters { public var filterEnabled: [String]? - public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? + public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var limit: Int? - public var limitCompatibilityVersions: Int? public var include: [Include]? + public var limitCompatibilityVersions: Int? + + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions + case appStoreVersion + } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString - } - - public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { - case appStoreVersion - case compatibilityVersions - case enabled + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } public enum Include: String, Codable, CaseIterable { - case appStoreVersion case compatibilityVersions + case appStoreVersion } - public init(filterEnabled: [String]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, limit: Int? = nil, limitCompatibilityVersions: Int? = nil, include: [Include]? = nil) { + public init(filterEnabled: [String]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, limit: Int? = nil, include: [Include]? = nil, limitCompatibilityVersions: Int? = nil) { self.filterEnabled = filterEnabled - self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions + self.fieldsAppStoreVersions = fieldsAppStoreVersions self.limit = limit - self.limitCompatibilityVersions = limitCompatibilityVersions self.include = include + self.limitCompatibilityVersions = limitCompatibilityVersions } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterEnabled, forKey: "filter[enabled]") - encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") + encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitCompatibilityVersions, forKey: "limit[compatibilityVersions]") encoder.encode(include, forKey: "include") + encoder.encode(limitCompatibilityVersions, forKey: "limit[compatibilityVersions]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterGroup.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterGroup.swift index ea83cb05..9160ee54 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterGroup.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterGroup.swift @@ -14,122 +14,122 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-gameCenterGroup-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails_gameCenterGroup_getToOneRelated") } public struct GetParameters { - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? + public var include: [Include]? public var limitGameCenterDetails: Int? public var limitGameCenterLeaderboards: Int? public var limitGameCenterLeaderboardSets: Int? public var limitGameCenterAchievements: Int? - public var include: [Include]? - - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet - case localizations - case referenceName - case releases - case vendorIdentifier - } public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements + case referenceName case gameCenterDetails - case gameCenterLeaderboardSets case gameCenterLeaderboards - case referenceName + case gameCenterLeaderboardSets + case gameCenterAchievements } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType + } + + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName case vendorIdentifier + case gameCenterDetail + case gameCenterGroup + case groupLeaderboardSet + case localizations + case gameCenterLeaderboards + case releases } public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable case archived case gameCenterDetail case gameCenterGroup case groupAchievement case localizations - case points - case referenceName case releases - case repeatable - case showBeforeEarned - case vendorIdentifier } public enum Include: String, Codable, CaseIterable { - case gameCenterAchievements case gameCenterDetails - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements } - public init(fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limitGameCenterDetails: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterAchievements: Int? = nil, include: [Include]? = nil) { - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets + public init(fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, include: [Include]? = nil, limitGameCenterDetails: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterAchievements: Int? = nil) { self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterDetails = fieldsGameCenterDetails self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterAchievements = fieldsGameCenterAchievements + self.include = include self.limitGameCenterDetails = limitGameCenterDetails self.limitGameCenterLeaderboards = limitGameCenterLeaderboards self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets self.limitGameCenterAchievements = limitGameCenterAchievements - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterDetails, forKey: "limit[gameCenterDetails]") encoder.encode(limitGameCenterLeaderboards, forKey: "limit[gameCenterLeaderboards]") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") encoder.encode(limitGameCenterAchievements, forKey: "limit[gameCenterAchievements]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboardSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboardSets.swift index 7b462972..4c940f3b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboardSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboardSets.swift @@ -14,132 +14,132 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-gameCenterLeaderboardSets-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails_gameCenterLeaderboardSets_getToManyRelated") } public struct GetParameters { public var filterReferenceName: [String]? public var filterID: [String]? - public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? - public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? public var limit: Int? + public var include: [Include]? public var limitLocalizations: Int? public var limitGameCenterLeaderboards: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { - case gameCenterLeaderboardSet - case gameCenterLeaderboardSetImage - case locale - case name - } - - public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterLeaderboardSet - case live - } public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations - case referenceName - case releases - case vendorIdentifier - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets case gameCenterLeaderboards - case referenceName + case releases } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { + case locale + case name + case gameCenterLeaderboardSet + case gameCenterLeaderboardSetImage + } + public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier + } + + public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { + case live + case gameCenterDetail + case gameCenterLeaderboardSet } public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations + case gameCenterLeaderboards case releases } - public init(filterReferenceName: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, limit: Int? = nil, limitLocalizations: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { + public init(filterReferenceName: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, limit: Int? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitReleases: Int? = nil) { self.filterReferenceName = filterReferenceName self.filterID = filterID - self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations - self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases self.limit = limit + self.include = include self.limitLocalizations = limitLocalizations self.limitGameCenterLeaderboards = limitGameCenterLeaderboards self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterReferenceName, forKey: "filter[referenceName]") encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitGameCenterLeaderboards, forKey: "limit[gameCenterLeaderboards]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboards.swift index 3f732cde..c74eb293 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterLeaderboards.swift @@ -14,138 +14,138 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-gameCenterLeaderboards-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails_gameCenterLeaderboards_getToManyRelated") } public struct GetParameters { - public var filterArchived: [String]? public var filterReferenceName: [String]? + public var filterArchived: [String]? public var filterID: [String]? - public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? - public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? + public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? public var limit: Int? + public var include: [Include]? public var limitGameCenterLeaderboardSets: Int? public var limitLocalizations: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { - case formatterOverride - case formatterSuffix - case formatterSuffixSingular - case gameCenterLeaderboard - case gameCenterLeaderboardImage - case locale - case name - } - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { + case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet + case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case referenceName case releases - case vendorIdentifier - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards - case referenceName } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } - public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived - case defaultFormatter + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets - case groupLeaderboard + case groupLeaderboardSet case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName + case gameCenterLeaderboards case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier + } + + public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { + case locale + case name + case formatterOverride + case formatterSuffix + case formatterSuffixSingular + case gameCenterLeaderboard + case gameCenterLeaderboardImage } public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboard - case live } public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations case releases } - public init(filterArchived: [String]? = nil, filterReferenceName: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limit: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.filterArchived = filterArchived + public init(filterReferenceName: [String]? = nil, filterArchived: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limit: Int? = nil, include: [Include]? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { self.filterReferenceName = filterReferenceName + self.filterArchived = filterArchived self.filterID = filterID - self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups - self.fieldsGameCenterDetails = fieldsGameCenterDetails self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets + self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases self.limit = limit + self.include = include self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterArchived, forKey: "filter[archived]") encoder.encode(filterReferenceName, forKey: "filter[referenceName]") + encoder.encode(filterArchived, forKey: "filter[archived]") encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") - encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") + encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardReleases.swift index af034c6e..b5580602 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardReleases.swift @@ -14,58 +14,58 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-leaderboardReleases-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails_leaderboardReleases_getToManyRelated") } public struct GetParameters { public var filterLive: [String]? public var filterGameCenterLeaderboard: [String]? + public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? - public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? public var limit: Int? public var include: [Include]? + public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live + case gameCenterDetail + case gameCenterLeaderboard + } + public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier - } - - public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterLeaderboard - case live } public enum Include: String, Codable, CaseIterable { @@ -73,12 +73,12 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { case gameCenterLeaderboard } - public init(filterLive: [String]? = nil, filterGameCenterLeaderboard: [String]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterLive: [String]? = nil, filterGameCenterLeaderboard: [String]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterLive = filterLive self.filterGameCenterLeaderboard = filterGameCenterLeaderboard + self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases self.fieldsGameCenterDetails = fieldsGameCenterDetails self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards - self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases self.limit = limit self.include = include } @@ -87,9 +87,9 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterLive, forKey: "filter[live]") encoder.encode(filterGameCenterLeaderboard, forKey: "filter[gameCenterLeaderboard]") + encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") - encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardSetReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardSetReleases.swift index 1e398bf8..c824df22 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardSetReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDLeaderboardSetReleases.swift @@ -14,62 +14,62 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails-leaderboardSetReleases-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterDetails_leaderboardSetReleases_getToManyRelated") } public struct GetParameters { public var filterLive: [String]? public var filterGameCenterLeaderboardSet: [String]? public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var limit: Int? public var include: [Include]? public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterLeaderboardSet case live - } - - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { case gameCenterDetail - case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet - case localizations - case referenceName - case releases - case vendorIdentifier + case gameCenterLeaderboardSet } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case gameCenterDetail + case gameCenterGroup + case groupLeaderboardSet + case localizations + case gameCenterLeaderboards + case releases + } + public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet } - public init(filterLive: [String]? = nil, filterGameCenterLeaderboardSet: [String]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterLive: [String]? = nil, filterGameCenterLeaderboardSet: [String]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterLive = filterLive self.filterGameCenterLeaderboardSet = filterGameCenterLeaderboardSet self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.limit = limit self.include = include } @@ -79,8 +79,8 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { encoder.encode(filterLive, forKey: "filter[live]") encoder.encode(filterGameCenterLeaderboardSet, forKey: "filter[gameCenterLeaderboardSet]") encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift index 17cf3e6b..677e31b7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift @@ -14,15 +14,15 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterDetails-classicMatchmakingRequests-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterDetails_classicMatchmakingRequests_getMetrics") } public struct GetParameters { - public var limit: Int? public var granularity: Granularity public var groupBy: [GroupBy]? public var filterResult: FilterResult? public var sort: [Sort]? + public var limit: Int? public enum Granularity: String, Codable, CaseIterable { case p1d = "P1D" @@ -41,31 +41,31 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Metrics { } public enum Sort: String, Codable, CaseIterable { - case averageSecondsInQueue - case minusaverageSecondsInQueue = "-averageSecondsInQueue" case count case minuscount = "-count" + case averageSecondsInQueue + case minusaverageSecondsInQueue = "-averageSecondsInQueue" case p50SecondsInQueue case minusp50SecondsInQueue = "-p50SecondsInQueue" case p95SecondsInQueue case minusp95SecondsInQueue = "-p95SecondsInQueue" } - public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, sort: [Sort]? = nil) { - self.limit = limit + public init(granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, sort: [Sort]? = nil, limit: Int? = nil) { self.granularity = granularity self.groupBy = groupBy self.filterResult = filterResult self.sort = sort + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") encoder.encode(granularity, forKey: "granularity") encoder.encode(groupBy, forKey: "groupBy") encoder.encode(filterResult, forKey: "filter[result]") encoder.encode(sort, forKey: "sort") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift index f1d0ea63..4113344b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift @@ -14,15 +14,15 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterDetails-ruleBasedMatchmakingRequests-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterDetails_ruleBasedMatchmakingRequests_getMetrics") } public struct GetParameters { - public var limit: Int? public var granularity: Granularity public var groupBy: [GroupBy]? public var filterResult: FilterResult? public var sort: [Sort]? + public var limit: Int? public enum Granularity: String, Codable, CaseIterable { case p1d = "P1D" @@ -41,31 +41,31 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Metrics { } public enum Sort: String, Codable, CaseIterable { - case averageSecondsInQueue - case minusaverageSecondsInQueue = "-averageSecondsInQueue" case count case minuscount = "-count" + case averageSecondsInQueue + case minusaverageSecondsInQueue = "-averageSecondsInQueue" case p50SecondsInQueue case minusp50SecondsInQueue = "-p50SecondsInQueue" case p95SecondsInQueue case minusp95SecondsInQueue = "-p95SecondsInQueue" } - public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, sort: [Sort]? = nil) { - self.limit = limit + public init(granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, sort: [Sort]? = nil, limit: Int? = nil) { self.granularity = granularity self.groupBy = groupBy self.filterResult = filterResult self.sort = sort + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") encoder.encode(granularity, forKey: "granularity") encoder.encode(groupBy, forKey: "groupBy") encoder.encode(filterResult, forKey: "filter[result]") encoder.encode(sort, forKey: "sort") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAchievements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAchievements.swift index f2d3d0a9..b72426de 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAchievements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterAchievements.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterDetails-gameCenterAchievements-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterDetails_gameCenterAchievements_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailGameCenterAchievementsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails-gameCenterAchievements-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails_gameCenterAchievements_replaceToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboardSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboardSets.swift index f144f40c..76c9b044 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboardSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboardSets.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterDetails-gameCenterLeaderboardSets-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterDetails_gameCenterLeaderboardSets_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails-gameCenterLeaderboardSets-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails_gameCenterLeaderboardSets_replaceToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboards.swift index 49e1d57d..3ba20cf6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterLeaderboards.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterDetails-gameCenterLeaderboards-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterDetails_gameCenterLeaderboards_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailGameCenterLeaderboardsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails-gameCenterLeaderboards-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterDetails_gameCenterLeaderboards_replaceToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift index 5977198b..174c6a64 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterEnabledVersions-compatibleVersions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterEnabledVersions_compatibleVersions_getToManyRelated") } public struct GetParameters { @@ -27,8 +27,8 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { public var fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? public var fieldsApps: [FieldsApps]? public var limit: Int? - public var limitCompatibleVersions: Int? public var include: [Include]? + public var limitCompatibleVersions: Int? public enum FilterPlatform: String, Codable, CaseIterable { case ios = "IOS" @@ -43,65 +43,67 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { } public enum FieldsGameCenterEnabledVersions: String, Codable, CaseIterable { - case app - case compatibleVersions - case iconAsset case platform case versionString + case iconAsset + case compatibleVersions + case app } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum Include: String, Codable, CaseIterable { - case app case compatibleVersions + case app } - public init(filterPlatform: [FilterPlatform]? = nil, filterVersionString: [String]? = nil, filterApp: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, limitCompatibleVersions: Int? = nil, include: [Include]? = nil) { + public init(filterPlatform: [FilterPlatform]? = nil, filterVersionString: [String]? = nil, filterApp: [String]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil, limitCompatibleVersions: Int? = nil) { self.filterPlatform = filterPlatform self.filterVersionString = filterVersionString self.filterApp = filterApp @@ -110,8 +112,8 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { self.fieldsGameCenterEnabledVersions = fieldsGameCenterEnabledVersions self.fieldsApps = fieldsApps self.limit = limit - self.limitCompatibleVersions = limitCompatibleVersions self.include = include + self.limitCompatibleVersions = limitCompatibleVersions } public var asQuery: [(String, String?)] { @@ -124,8 +126,8 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { encoder.encode(fieldsGameCenterEnabledVersions, forKey: "fields[gameCenterEnabledVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitCompatibleVersions, forKey: "limit[compatibleVersions]") encoder.encode(include, forKey: "include") + encoder.encode(limitCompatibleVersions, forKey: "limit[compatibleVersions]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationshipsCompatibleVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationshipsCompatibleVersions.swift index 79858094..1ed724de 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationshipsCompatibleVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationshipsCompatibleVersions.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID.Relationships { @available(*, deprecated, message: "Deprecated") public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterEnabledVersions-compatibleVersions-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterEnabledVersions_compatibleVersions_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -26,17 +26,17 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID.Relationships { @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterEnabledVersionCompatibleVersionsLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterEnabledVersions-compatibleVersions-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "gameCenterEnabledVersions_compatibleVersions_createToManyRelationship") } @available(*, deprecated, message: "Deprecated") public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterEnabledVersionCompatibleVersionsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterEnabledVersions-compatibleVersions-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterEnabledVersions_compatibleVersions_replaceToManyRelationship") } @available(*, deprecated, message: "Deprecated") public func delete(_ body: AppStoreConnect_Swift_SDK.GameCenterEnabledVersionCompatibleVersionsLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "gameCenterEnabledVersions-compatibleVersions-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "gameCenterEnabledVersions_compatibleVersions_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroups.swift index 8e45a5dd..4e34eaab 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroups.swift @@ -14,108 +14,108 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups_getCollection") } public struct GetParameters { public var filterGameCenterDetails: [String]? public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? - public var limit: Int? - public var include: [Include]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? + public var limit: Int? + public var include: [Include]? public var limitGameCenterAchievements: Int? public var limitGameCenterDetails: Int? public var limitGameCenterLeaderboardSets: Int? public var limitGameCenterLeaderboards: Int? public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards case referenceName - } - - public enum Include: String, Codable, CaseIterable { - case gameCenterAchievements case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards - } - - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterGroup case gameCenterLeaderboards - case groupLeaderboardSet - case localizations - case referenceName - case releases - case vendorIdentifier + case gameCenterLeaderboardSets + case gameCenterAchievements } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType + } + + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName case vendorIdentifier + case gameCenterDetail + case gameCenterGroup + case groupLeaderboardSet + case localizations + case gameCenterLeaderboards + case releases } public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable case archived case gameCenterDetail case gameCenterGroup case groupAchievement case localizations - case points - case referenceName case releases - case repeatable - case showBeforeEarned - case vendorIdentifier } - public init(filterGameCenterDetails: [String]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limitGameCenterAchievements: Int? = nil, limitGameCenterDetails: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterLeaderboards: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public init(filterGameCenterDetails: [String]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limit: Int? = nil, include: [Include]? = nil, limitGameCenterAchievements: Int? = nil, limitGameCenterDetails: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterLeaderboards: Int? = nil) { self.filterGameCenterDetails = filterGameCenterDetails self.fieldsGameCenterGroups = fieldsGameCenterGroups - self.limit = limit - self.include = include - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterDetails = fieldsGameCenterDetails self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterAchievements = fieldsGameCenterAchievements + self.limit = limit + self.include = include self.limitGameCenterAchievements = limitGameCenterAchievements self.limitGameCenterDetails = limitGameCenterDetails self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets @@ -126,12 +126,12 @@ extension APIEndpoint.V1 { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterGameCenterDetails, forKey: "filter[gameCenterDetails]") encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") - encoder.encode(limit, forKey: "limit") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterAchievements, forKey: "limit[gameCenterAchievements]") encoder.encode(limitGameCenterDetails, forKey: "limit[gameCenterDetails]") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") @@ -141,7 +141,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterGroupCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterGroups-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterGroups_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithID.swift index a29d4508..e123dc04 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithID.swift @@ -14,104 +14,104 @@ extension APIEndpoint.V1.GameCenterGroups { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups_getInstance") } public struct GetParameters { public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? - public var include: [Include]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? + public var include: [Include]? public var limitGameCenterAchievements: Int? public var limitGameCenterDetails: Int? public var limitGameCenterLeaderboardSets: Int? public var limitGameCenterLeaderboards: Int? public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards case referenceName - } - - public enum Include: String, Codable, CaseIterable { - case gameCenterAchievements case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards - } - - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterGroup case gameCenterLeaderboards - case groupLeaderboardSet - case localizations - case referenceName - case releases - case vendorIdentifier + case gameCenterLeaderboardSets + case gameCenterAchievements } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType + } + + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName case vendorIdentifier + case gameCenterDetail + case gameCenterGroup + case groupLeaderboardSet + case localizations + case gameCenterLeaderboards + case releases } public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable case archived case gameCenterDetail case gameCenterGroup case groupAchievement case localizations - case points - case referenceName case releases - case repeatable - case showBeforeEarned - case vendorIdentifier } - public init(fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, include: [Include]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limitGameCenterAchievements: Int? = nil, limitGameCenterDetails: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterLeaderboards: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public init(fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, include: [Include]? = nil, limitGameCenterAchievements: Int? = nil, limitGameCenterDetails: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterLeaderboards: Int? = nil) { self.fieldsGameCenterGroups = fieldsGameCenterGroups - self.include = include - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterDetails = fieldsGameCenterDetails self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterAchievements = fieldsGameCenterAchievements + self.include = include self.limitGameCenterAchievements = limitGameCenterAchievements self.limitGameCenterDetails = limitGameCenterDetails self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets @@ -121,11 +121,11 @@ extension APIEndpoint.V1.GameCenterGroups { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterAchievements, forKey: "limit[gameCenterAchievements]") encoder.encode(limitGameCenterDetails, forKey: "limit[gameCenterDetails]") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") @@ -135,11 +135,11 @@ extension APIEndpoint.V1.GameCenterGroups { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterGroupUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterGroups-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterGroups_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterAchievements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterAchievements.swift index 874fb842..560797df 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterAchievements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterAchievements.swift @@ -14,74 +14,74 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-gameCenterAchievements-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups_gameCenterAchievements_getToManyRelated") } public struct GetParameters { - public var filterArchived: [String]? public var filterReferenceName: [String]? + public var filterArchived: [String]? public var filterID: [String]? - public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? - public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? + public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? public var limit: Int? + public var include: [Include]? public var limitLocalizations: Int? public var limitReleases: Int? - public var include: [Include]? - public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail - case live - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards + public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable + case archived + case gameCenterDetail + case gameCenterGroup + case groupAchievement + case localizations + case releases } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + public enum FieldsGameCenterAchievementLocalizations: String, Codable, CaseIterable { - case afterEarnedDescription + case locale + case name case beforeEarnedDescription + case afterEarnedDescription case gameCenterAchievement case gameCenterAchievementImage - case locale - case name } - public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { - case archived + public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { + case live case gameCenterDetail - case gameCenterGroup - case groupAchievement - case localizations - case points - case referenceName - case releases - case repeatable - case showBeforeEarned - case vendorIdentifier + case gameCenterAchievement } public enum Include: String, Codable, CaseIterable { @@ -92,35 +92,35 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { case releases } - public init(filterArchived: [String]? = nil, filterReferenceName: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, limit: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.filterArchived = filterArchived + public init(filterReferenceName: [String]? = nil, filterArchived: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterAchievementLocalizations: [FieldsGameCenterAchievementLocalizations]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, limit: Int? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { self.filterReferenceName = filterReferenceName + self.filterArchived = filterArchived self.filterID = filterID - self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases - self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterAchievements = fieldsGameCenterAchievements self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterAchievementLocalizations = fieldsGameCenterAchievementLocalizations - self.fieldsGameCenterAchievements = fieldsGameCenterAchievements + self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases self.limit = limit + self.include = include self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterArchived, forKey: "filter[archived]") encoder.encode(filterReferenceName, forKey: "filter[referenceName]") + encoder.encode(filterArchived, forKey: "filter[archived]") encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterAchievementLocalizations, forKey: "fields[gameCenterAchievementLocalizations]") - encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") + encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift index fe706855..a286943c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift @@ -14,22 +14,23 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-gameCenterDetails-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups_gameCenterDetails_getToManyRelated") } public struct GetParameters { public var filterGameCenterAppVersionsEnabled: [String]? - public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? - public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? - public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsApps: [FieldsApps]? public var fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? - public var fieldsApps: [FieldsApps]? + public var fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? + public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? public var limit: Int? + public var include: [Include]? public var limitGameCenterAppVersions: Int? public var limitGameCenterLeaderboards: Int? public var limitGameCenterLeaderboardSets: Int? @@ -37,174 +38,176 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { public var limitAchievementReleases: Int? public var limitLeaderboardReleases: Int? public var limitLeaderboardSetReleases: Int? - public var include: [Include]? - public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { - case gameCenterAchievement - case gameCenterDetail - case live + public enum FieldsGameCenterDetails: String, Codable, CaseIterable { + case arcadeEnabled + case challengeEnabled + case app + case gameCenterAppVersions + case gameCenterGroup + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases + case leaderboardReleases + case leaderboardSetReleases } - public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { + 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 gameCenterLeaderboardSet - case live + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet - case localizations - case referenceName - case releases - case vendorIdentifier + public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { + case enabled + case compatibilityVersions + case appStoreVersion } public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements + case referenceName case gameCenterDetails - case gameCenterLeaderboardSets case gameCenterLeaderboards - case referenceName - } - - public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app - case arcadeEnabled - case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements - case gameCenterAppVersions - case gameCenterGroup case gameCenterLeaderboardSets - case gameCenterLeaderboards - case leaderboardReleases - case leaderboardSetReleases + case gameCenterAchievements } public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier } - public enum FieldsGameCenterAppVersions: String, Codable, CaseIterable { - case appStoreVersion - case compatibilityVersions - case enabled + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case gameCenterDetail + case gameCenterGroup + case groupLeaderboardSet + case localizations + case gameCenterLeaderboards + case releases } public enum FieldsGameCenterAchievements: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case points + case showBeforeEarned + case repeatable case archived case gameCenterDetail case gameCenterGroup case groupAchievement case localizations - case points - case referenceName case releases - case repeatable - case showBeforeEarned - case vendorIdentifier } - public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages - case appEncryptionDeclarations - case appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 - case appStoreVersions - case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters - case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews - case endUserLicenseAgreement + public enum FieldsGameCenterAchievementReleases: String, Codable, CaseIterable { + case live case gameCenterDetail - case gameCenterEnabledVersions - case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name - case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale - case promotedPurchases - case reviewSubmissions - case sku - case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case gameCenterAchievement } public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboard + } + + public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { case live + case gameCenterDetail + case gameCenterLeaderboardSet } public enum Include: String, Codable, CaseIterable { - case achievementReleases case app - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } - public init(filterGameCenterAppVersionsEnabled: [String]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limit: Int? = nil, limitGameCenterAppVersions: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterAchievements: Int? = nil, limitAchievementReleases: Int? = nil, limitLeaderboardReleases: Int? = nil, limitLeaderboardSetReleases: Int? = nil, include: [Include]? = nil) { + public init(filterGameCenterAppVersionsEnabled: [String]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsGameCenterAppVersions: [FieldsGameCenterAppVersions]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterAchievements: [FieldsGameCenterAchievements]? = nil, fieldsGameCenterAchievementReleases: [FieldsGameCenterAchievementReleases]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, limit: Int? = nil, include: [Include]? = nil, limitGameCenterAppVersions: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitGameCenterAchievements: Int? = nil, limitAchievementReleases: Int? = nil, limitLeaderboardReleases: Int? = nil, limitLeaderboardSetReleases: Int? = nil) { self.filterGameCenterAppVersionsEnabled = filterGameCenterAppVersionsEnabled - self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases - self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterDetails = fieldsGameCenterDetails - self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsApps = fieldsApps self.fieldsGameCenterAppVersions = fieldsGameCenterAppVersions + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterAchievements = fieldsGameCenterAchievements - self.fieldsApps = fieldsApps + self.fieldsGameCenterAchievementReleases = fieldsGameCenterAchievementReleases self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases + self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases self.limit = limit + self.include = include self.limitGameCenterAppVersions = limitGameCenterAppVersions self.limitGameCenterLeaderboards = limitGameCenterLeaderboards self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets @@ -212,23 +215,23 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { self.limitAchievementReleases = limitAchievementReleases self.limitLeaderboardReleases = limitLeaderboardReleases self.limitLeaderboardSetReleases = limitLeaderboardSetReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterGameCenterAppVersionsEnabled, forKey: "filter[gameCenterAppVersions.enabled]") - encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") - encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") - encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsGameCenterAppVersions, forKey: "fields[gameCenterAppVersions]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterAchievements, forKey: "fields[gameCenterAchievements]") - encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(fieldsGameCenterAchievementReleases, forKey: "fields[gameCenterAchievementReleases]") encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") + encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterAppVersions, forKey: "limit[gameCenterAppVersions]") encoder.encode(limitGameCenterLeaderboards, forKey: "limit[gameCenterLeaderboards]") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") @@ -236,7 +239,6 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { encoder.encode(limitAchievementReleases, forKey: "limit[achievementReleases]") encoder.encode(limitLeaderboardReleases, forKey: "limit[leaderboardReleases]") encoder.encode(limitLeaderboardSetReleases, forKey: "limit[leaderboardSetReleases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboardSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboardSets.swift index 0233ea26..77145043 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboardSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboardSets.swift @@ -14,132 +14,132 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-gameCenterLeaderboardSets-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups_gameCenterLeaderboardSets_getToManyRelated") } public struct GetParameters { public var filterReferenceName: [String]? public var filterID: [String]? - public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? - public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? public var limit: Int? + public var include: [Include]? public var limitLocalizations: Int? public var limitGameCenterLeaderboards: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { - case gameCenterLeaderboardSet - case gameCenterLeaderboardSetImage - case locale - case name - } - - public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterLeaderboardSet - case live - } public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations - case referenceName - case releases - case vendorIdentifier - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets case gameCenterLeaderboards - case referenceName + case releases } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { + case locale + case name + case gameCenterLeaderboardSet + case gameCenterLeaderboardSetImage + } + public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier + } + + public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { + case live + case gameCenterDetail + case gameCenterLeaderboardSet } public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations + case gameCenterLeaderboards case releases } - public init(filterReferenceName: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, limit: Int? = nil, limitLocalizations: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { + public init(filterReferenceName: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, limit: Int? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitReleases: Int? = nil) { self.filterReferenceName = filterReferenceName self.filterID = filterID - self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations - self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases self.limit = limit + self.include = include self.limitLocalizations = limitLocalizations self.limitGameCenterLeaderboards = limitGameCenterLeaderboards self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterReferenceName, forKey: "filter[referenceName]") encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitGameCenterLeaderboards, forKey: "limit[gameCenterLeaderboards]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboards.swift index 1998aede..c1e8bd5b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterLeaderboards.swift @@ -14,138 +14,138 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups-gameCenterLeaderboards-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterGroups_gameCenterLeaderboards_getToManyRelated") } public struct GetParameters { - public var filterArchived: [String]? public var filterReferenceName: [String]? + public var filterArchived: [String]? public var filterID: [String]? - public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? - public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? + public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? public var limit: Int? + public var include: [Include]? public var limitGameCenterLeaderboardSets: Int? public var limitLocalizations: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { - case formatterOverride - case formatterSuffix - case formatterSuffixSingular - case gameCenterLeaderboard - case gameCenterLeaderboardImage - case locale - case name - } - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { + case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet + case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case referenceName case releases - case vendorIdentifier - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards - case referenceName } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } - public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived - case defaultFormatter + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets - case groupLeaderboard + case groupLeaderboardSet case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName + case gameCenterLeaderboards case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier + } + + public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { + case locale + case name + case formatterOverride + case formatterSuffix + case formatterSuffixSingular + case gameCenterLeaderboard + case gameCenterLeaderboardImage } public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboard - case live } public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations case releases } - public init(filterArchived: [String]? = nil, filterReferenceName: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limit: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.filterArchived = filterArchived + public init(filterReferenceName: [String]? = nil, filterArchived: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limit: Int? = nil, include: [Include]? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { self.filterReferenceName = filterReferenceName + self.filterArchived = filterArchived self.filterID = filterID - self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups - self.fieldsGameCenterDetails = fieldsGameCenterDetails self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets + self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases self.limit = limit + self.include = include self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterArchived, forKey: "filter[archived]") encoder.encode(filterReferenceName, forKey: "filter[referenceName]") + encoder.encode(filterArchived, forKey: "filter[archived]") encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") - encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") + encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterAchievements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterAchievements.swift index be33f246..b71be38d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterAchievements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterAchievements.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterGroups-gameCenterAchievements-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterGroups_gameCenterAchievements_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterGroupGameCenterAchievementsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups-gameCenterAchievements-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups_gameCenterAchievements_replaceToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboardSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboardSets.swift index d8f6809e..ec739426 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboardSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboardSets.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterGroups-gameCenterLeaderboardSets-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterGroups_gameCenterLeaderboardSets_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups-gameCenterLeaderboardSets-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups_gameCenterLeaderboardSets_replaceToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboards.swift index 738fad24..23d3efd4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationshipsGameCenterLeaderboards.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterGroups-gameCenterLeaderboards-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterGroups_gameCenterLeaderboards_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID.Relationships { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterGroupGameCenterLeaderboardsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups-gameCenterLeaderboards-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterGroups_gameCenterLeaderboards_replaceToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardEntrySubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardEntrySubmissions.swift index 8e434c57..a6176cbf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardEntrySubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardEntrySubmissions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardEntrySubmissionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardEntrySubmissions-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardEntrySubmissions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImages.swift index 266a3eca..09674f7c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImages.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardImageCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardImages-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardImages_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift index d37074cd..6cfcbc41 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardImagesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardImages { public let path: String public func get(fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardImages, include), id: "gameCenterLeaderboardImages-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardImages, include), id: "gameCenterLeaderboardImages_getInstance") } private func makeGetQuery(_ fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,13 +25,13 @@ extension APIEndpoint.V1.GameCenterLeaderboardImages { } public enum FieldsGameCenterLeaderboardImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case gameCenterLeaderboardLocalization + case fileName case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case gameCenterLeaderboardLocalization } public enum Include: String, Codable, CaseIterable { @@ -39,11 +39,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardImages { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardImageUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardImages-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardImages_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterLeaderboardImages-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardImages_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizations.swift index 8d213bb2..1e4e8685 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift index 9eff879a..544cd693 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithID.swift @@ -14,60 +14,60 @@ extension APIEndpoint.V1.GameCenterLeaderboardLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardLocalizations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardLocalizations_getInstance") } public struct GetParameters { public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? - public var include: [Include]? public var fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]? + public var include: [Include]? public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { + case locale + case name case formatterOverride case formatterSuffix case formatterSuffixSingular case gameCenterLeaderboard case gameCenterLeaderboardImage - case locale - case name - } - - public enum Include: String, Codable, CaseIterable { - case gameCenterLeaderboard - case gameCenterLeaderboardImage } public enum FieldsGameCenterLeaderboardImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case gameCenterLeaderboardLocalization + case fileName case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case gameCenterLeaderboardLocalization } - public init(fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, include: [Include]? = nil, fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]? = nil) { + public enum Include: String, Codable, CaseIterable { + case gameCenterLeaderboard + case gameCenterLeaderboardImage + } + + public init(fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]? = nil, include: [Include]? = nil) { self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations - self.include = include self.fieldsGameCenterLeaderboardImages = fieldsGameCenterLeaderboardImages + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsGameCenterLeaderboardImages, forKey: "fields[gameCenterLeaderboardImages]") + encoder.encode(include, forKey: "include") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterLeaderboardLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift index 8d8665a2..a8ec9b7b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDGameCenterLeaderboardImage.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardLocalizations-gameCenterLeaderboardImage-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardLocalizations_gameCenterLeaderboardImage_getToOneRelated") } public struct GetParameters { @@ -23,23 +23,23 @@ extension APIEndpoint.V1.GameCenterLeaderboardLocalizations.WithID { public var include: [Include]? public enum FieldsGameCenterLeaderboardImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case gameCenterLeaderboardLocalization + case fileName case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case gameCenterLeaderboardLocalization } public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { + case locale + case name case formatterOverride case formatterSuffix case formatterSuffixSingular case gameCenterLeaderboard case gameCenterLeaderboardImage - case locale - case name } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleases.swift index 4cdb0f42..713d865b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleases.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardReleaseCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardReleases-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardReleases_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleasesWithID.swift index ae9573aa..53daf2e3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardReleasesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardReleases { public let path: String public func get(fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardReleases, include), id: "gameCenterLeaderboardReleases-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardReleases, include), id: "gameCenterLeaderboardReleases_getInstance") } private func makeGetQuery(_ fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,9 +25,9 @@ extension APIEndpoint.V1.GameCenterLeaderboardReleases { } public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboard - case live } public enum Include: String, Codable, CaseIterable { @@ -36,7 +36,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardReleases { } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterLeaderboardReleases-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardReleases_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImages.swift index a9537bc3..97e81f18 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImages.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetImageCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetImages-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetImages_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift index 53cd2e30..44ef0685 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetImagesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetImages { public let path: String public func get(fieldsGameCenterLeaderboardSetImages: [FieldsGameCenterLeaderboardSetImages]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardSetImages, include), id: "gameCenterLeaderboardSetImages-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardSetImages, include), id: "gameCenterLeaderboardSetImages_getInstance") } private func makeGetQuery(_ fieldsGameCenterLeaderboardSetImages: [FieldsGameCenterLeaderboardSetImages]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,13 +25,13 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetImages { } public enum FieldsGameCenterLeaderboardSetImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case gameCenterLeaderboardSetLocalization + case fileName case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case gameCenterLeaderboardSetLocalization } public enum Include: String, Codable, CaseIterable { @@ -39,11 +39,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetImages { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetImageUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSetImages-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSetImages_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetImages-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetImages_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizations.swift index ef5fd68a..89c6544f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift index 4003cdb4..bf0dcbf5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithID.swift @@ -14,57 +14,57 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetLocalizations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetLocalizations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetLocalizations_getInstance") } public struct GetParameters { public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? - public var include: [Include]? public var fieldsGameCenterLeaderboardSetImages: [FieldsGameCenterLeaderboardSetImages]? + public var include: [Include]? public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { - case gameCenterLeaderboardSet - case gameCenterLeaderboardSetImage case locale case name - } - - public enum Include: String, Codable, CaseIterable { case gameCenterLeaderboardSet case gameCenterLeaderboardSetImage } public enum FieldsGameCenterLeaderboardSetImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case gameCenterLeaderboardSetLocalization + case fileName case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case gameCenterLeaderboardSetLocalization } - public init(fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, include: [Include]? = nil, fieldsGameCenterLeaderboardSetImages: [FieldsGameCenterLeaderboardSetImages]? = nil) { + public enum Include: String, Codable, CaseIterable { + case gameCenterLeaderboardSet + case gameCenterLeaderboardSetImage + } + + public init(fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboardSetImages: [FieldsGameCenterLeaderboardSetImages]? = nil, include: [Include]? = nil) { self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations - self.include = include self.fieldsGameCenterLeaderboardSetImages = fieldsGameCenterLeaderboardSetImages + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsGameCenterLeaderboardSetImages, forKey: "fields[gameCenterLeaderboardSetImages]") + encoder.encode(include, forKey: "include") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSetLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSetLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift index 7d8669cf..e68191ac 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDGameCenterLeaderboardSetImage.swift @@ -14,45 +14,45 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetLocalizations-gameCenterLeaderboardSetImage-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetLocalizations_gameCenterLeaderboardSetImage_getToOneRelated") } public struct GetParameters { - public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? public var fieldsGameCenterLeaderboardSetImages: [FieldsGameCenterLeaderboardSetImages]? + public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? public var include: [Include]? - public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { - case gameCenterLeaderboardSet - case gameCenterLeaderboardSetImage - case locale - case name - } - public enum FieldsGameCenterLeaderboardSetImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case gameCenterLeaderboardSetLocalization + case fileName case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case gameCenterLeaderboardSetLocalization + } + + public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { + case locale + case name + case gameCenterLeaderboardSet + case gameCenterLeaderboardSetImage } public enum Include: String, Codable, CaseIterable { case gameCenterLeaderboardSetLocalization } - public init(fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboardSetImages: [FieldsGameCenterLeaderboardSetImages]? = nil, include: [Include]? = nil) { - self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations + public init(fieldsGameCenterLeaderboardSetImages: [FieldsGameCenterLeaderboardSetImages]? = nil, fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, include: [Include]? = nil) { self.fieldsGameCenterLeaderboardSetImages = fieldsGameCenterLeaderboardSetImages + self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") encoder.encode(fieldsGameCenterLeaderboardSetImages, forKey: "fields[gameCenterLeaderboardSetImages]") + encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") encoder.encode(include, forKey: "include") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizations.swift index c8fe3bc4..3e44db29 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizations.swift @@ -14,86 +14,86 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterLeaderboardSetMemberLocalizations-get_collection") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterLeaderboardSetMemberLocalizations_getCollection") } public struct GetParameters { - public var filterGameCenterLeaderboard: [String] public var filterGameCenterLeaderboardSet: [String] + public var filterGameCenterLeaderboard: [String] public var fieldsGameCenterLeaderboardSetMemberLocalizations: [FieldsGameCenterLeaderboardSetMemberLocalizations]? - public var limit: Int? - public var include: [Include]? public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var limit: Int? + public var include: [Include]? public enum FieldsGameCenterLeaderboardSetMemberLocalizations: String, Codable, CaseIterable { - case gameCenterLeaderboard - case gameCenterLeaderboardSet - case locale case name - } - - public enum Include: String, Codable, CaseIterable { - case gameCenterLeaderboard + case locale case gameCenterLeaderboardSet + case gameCenterLeaderboard } public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations - case referenceName + case gameCenterLeaderboards case releases - case vendorIdentifier } public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier } - public init(filterGameCenterLeaderboard: [String], filterGameCenterLeaderboardSet: [String], fieldsGameCenterLeaderboardSetMemberLocalizations: [FieldsGameCenterLeaderboardSetMemberLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil) { - self.filterGameCenterLeaderboard = filterGameCenterLeaderboard + public enum Include: String, Codable, CaseIterable { + case gameCenterLeaderboardSet + case gameCenterLeaderboard + } + + public init(filterGameCenterLeaderboardSet: [String], filterGameCenterLeaderboard: [String], fieldsGameCenterLeaderboardSetMemberLocalizations: [FieldsGameCenterLeaderboardSetMemberLocalizations]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterGameCenterLeaderboardSet = filterGameCenterLeaderboardSet + self.filterGameCenterLeaderboard = filterGameCenterLeaderboard self.fieldsGameCenterLeaderboardSetMemberLocalizations = fieldsGameCenterLeaderboardSetMemberLocalizations - self.limit = limit - self.include = include self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.limit = limit + self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterGameCenterLeaderboard, forKey: "filter[gameCenterLeaderboard]") encoder.encode(filterGameCenterLeaderboardSet, forKey: "filter[gameCenterLeaderboardSet]") + encoder.encode(filterGameCenterLeaderboard, forKey: "filter[gameCenterLeaderboard]") encoder.encode(fieldsGameCenterLeaderboardSetMemberLocalizations, forKey: "fields[gameCenterLeaderboardSetMemberLocalizations]") - encoder.encode(limit, forKey: "limit") - encoder.encode(include, forKey: "include") encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") return encoder.items } } public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetMemberLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetMemberLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetMemberLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithID.swift index 4500f64f..9aa0ea83 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithID.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetMemberLocalizations { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetMemberLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSetMemberLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSetMemberLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetMemberLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetMemberLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboard.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboard.swift index 954c2207..eaa05191 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboard.swift @@ -14,126 +14,126 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetMemberLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetMemberLocalizations-gameCenterLeaderboard-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboard_getToOneRelated") } public struct GetParameters { - public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? - public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? + public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? + public var include: [Include]? public var limitGameCenterLeaderboardSets: Int? public var limitLocalizations: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { - case formatterOverride - case formatterSuffix - case formatterSuffixSingular - case gameCenterLeaderboard - case gameCenterLeaderboardImage - case locale - case name - } - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { + case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet + case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case referenceName case releases - case vendorIdentifier - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards - case referenceName } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } - public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived - case defaultFormatter + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets - case groupLeaderboard + case groupLeaderboardSet case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName + case gameCenterLeaderboards case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier + } + + public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { + case locale + case name + case formatterOverride + case formatterSuffix + case formatterSuffixSingular + case gameCenterLeaderboard + case gameCenterLeaderboardImage } public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboard - case live } public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations case releases } - public init(fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups - self.fieldsGameCenterDetails = fieldsGameCenterDetails + public init(fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, include: [Include]? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets + self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases + self.include = include self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") - encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") + encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboardSet.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboardSet.swift index c312af3b..6a0e3886 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDGameCenterLeaderboardSet.swift @@ -14,123 +14,123 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetMemberLocalizations.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetMemberLocalizations-gameCenterLeaderboardSet-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboardSet_getToOneRelated") } public struct GetParameters { - public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? - public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? + public var include: [Include]? public var limitLocalizations: Int? public var limitGameCenterLeaderboards: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { - case gameCenterLeaderboardSet - case gameCenterLeaderboardSetImage - case locale - case name - } - - public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterLeaderboardSet - case live - } public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations - case referenceName - case releases - case vendorIdentifier - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets case gameCenterLeaderboards - case referenceName + case releases } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { + case locale + case name + case gameCenterLeaderboardSet + case gameCenterLeaderboardSetImage + } + public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier + } + + public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { + case live + case gameCenterDetail + case gameCenterLeaderboardSet } public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations + case gameCenterLeaderboards case releases } - public init(fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, limitLocalizations: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations - self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases + public init(fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitReleases: Int? = nil) { self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases + self.include = include self.limitLocalizations = limitLocalizations self.limitGameCenterLeaderboards = limitGameCenterLeaderboards self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitGameCenterLeaderboards, forKey: "limit[gameCenterLeaderboards]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleases.swift index beaa8454..4317cfcd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleases.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetReleaseCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetReleases-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSetReleases_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleasesWithID.swift index ff8cc18b..20e3591a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetReleasesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetReleases { public let path: String public func get(fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardSetReleases, include), id: "gameCenterLeaderboardSetReleases-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterLeaderboardSetReleases, include), id: "gameCenterLeaderboardSetReleases_getInstance") } private func makeGetQuery(_ fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,9 +25,9 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetReleases { } public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboardSet - case live } public enum Include: String, Codable, CaseIterable { @@ -36,7 +36,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSetReleases { } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetReleases-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSetReleases_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSets.swift index 5af2e2db..842f9f50 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSets.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSets-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSets_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithID.swift index 4feca32e..d2751d2d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithID.swift @@ -14,78 +14,78 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets_getInstance") } public struct GetParameters { public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var include: [Include]? public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? - public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? + public var include: [Include]? public var limitGameCenterLeaderboards: Int? public var limitLocalizations: Int? public var limitReleases: Int? public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet - case localizations case referenceName - case releases case vendorIdentifier - } - - public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations + case gameCenterLeaderboards case releases } public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { - case gameCenterLeaderboardSet - case gameCenterLeaderboardSetImage case locale case name + case gameCenterLeaderboardSet + case gameCenterLeaderboardSetImage + } + + public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { + case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived + case gameCenterDetail + case gameCenterGroup + case groupLeaderboard + case gameCenterLeaderboardSets + case localizations + case releases } public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboardSet - case live } - public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived - case defaultFormatter + public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets - case groupLeaderboard + case groupLeaderboardSet case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName + case gameCenterLeaderboards case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier } - public init(fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, include: [Include]? = nil, fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, limitGameCenterLeaderboards: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { + public init(fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, include: [Include]? = nil, limitGameCenterLeaderboards: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.include = include self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations - self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases + self.include = include self.limitGameCenterLeaderboards = limitGameCenterLeaderboards self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases @@ -94,10 +94,10 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterLeaderboards, forKey: "limit[gameCenterLeaderboards]") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") @@ -106,11 +106,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSets-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSets_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSets-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterLeaderboardSets_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGameCenterLeaderboards.swift index 2f770000..79f103f9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGameCenterLeaderboards.swift @@ -14,138 +14,138 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets-gameCenterLeaderboards-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets_gameCenterLeaderboards_getToManyRelated") } public struct GetParameters { - public var filterArchived: [String]? public var filterReferenceName: [String]? + public var filterArchived: [String]? public var filterID: [String]? - public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? - public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? + public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? public var limit: Int? + public var include: [Include]? public var limitGameCenterLeaderboardSets: Int? public var limitLocalizations: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { - case formatterOverride - case formatterSuffix - case formatterSuffixSingular - case gameCenterLeaderboard - case gameCenterLeaderboardImage - case locale - case name - } - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { + case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet + case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case referenceName case releases - case vendorIdentifier - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards - case referenceName } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } - public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived - case defaultFormatter + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets - case groupLeaderboard + case groupLeaderboardSet case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName + case gameCenterLeaderboards case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier + } + + public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { + case locale + case name + case formatterOverride + case formatterSuffix + case formatterSuffixSingular + case gameCenterLeaderboard + case gameCenterLeaderboardImage } public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboard - case live } public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations case releases } - public init(filterArchived: [String]? = nil, filterReferenceName: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limit: Int? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.filterArchived = filterArchived + public init(filterReferenceName: [String]? = nil, filterArchived: [String]? = nil, filterID: [String]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limit: Int? = nil, include: [Include]? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { self.filterReferenceName = filterReferenceName + self.filterArchived = filterArchived self.filterID = filterID - self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups - self.fieldsGameCenterDetails = fieldsGameCenterDetails self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets + self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases self.limit = limit + self.include = include self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterArchived, forKey: "filter[archived]") encoder.encode(filterReferenceName, forKey: "filter[referenceName]") + encoder.encode(filterArchived, forKey: "filter[archived]") encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") - encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") + encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift index 717d45ca..78ad0447 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDGroupLeaderboardSet.swift @@ -14,123 +14,123 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets-groupLeaderboardSet-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelated") } public struct GetParameters { - public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? - public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? + public var include: [Include]? public var limitLocalizations: Int? public var limitGameCenterLeaderboards: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { - case gameCenterLeaderboardSet - case gameCenterLeaderboardSetImage - case locale - case name - } - - public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterLeaderboardSet - case live - } public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations - case referenceName - case releases - case vendorIdentifier - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets case gameCenterLeaderboards - case referenceName + case releases } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { + case locale + case name + case gameCenterLeaderboardSet + case gameCenterLeaderboardSetImage + } + public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier + } + + public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { + case live + case gameCenterDetail + case gameCenterLeaderboardSet } public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations + case gameCenterLeaderboards case releases } - public init(fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, limitLocalizations: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations - self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases + public init(fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboardSetLocalizations: [FieldsGameCenterLeaderboardSetLocalizations]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, include: [Include]? = nil, limitLocalizations: Int? = nil, limitGameCenterLeaderboards: Int? = nil, limitReleases: Int? = nil) { self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboardSetLocalizations = fieldsGameCenterLeaderboardSetLocalizations self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases + self.include = include self.limitLocalizations = limitLocalizations self.limitGameCenterLeaderboards = limitGameCenterLeaderboards self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboardSetLocalizations, forKey: "fields[gameCenterLeaderboardSetLocalizations]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitGameCenterLeaderboards, forKey: "limit[gameCenterLeaderboards]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift index fa090bd1..ba377647 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets-localizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets_localizations_getToManyRelated") } public struct GetParameters { @@ -25,31 +25,31 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { public var include: [Include]? public enum FieldsGameCenterLeaderboardSetLocalizations: String, Codable, CaseIterable { - case gameCenterLeaderboardSet - case gameCenterLeaderboardSetImage case locale case name + case gameCenterLeaderboardSet + case gameCenterLeaderboardSetImage } public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards case groupLeaderboardSet case localizations - case referenceName + case gameCenterLeaderboards case releases - case vendorIdentifier } public enum FieldsGameCenterLeaderboardSetImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName case fileSize - case gameCenterLeaderboardSetLocalization + case fileName case imageAsset case uploadOperations + case assetDeliveryState case uploaded + case gameCenterLeaderboardSetLocalization } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGameCenterLeaderboards.swift index ce5deaf8..3e8d238d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGameCenterLeaderboards.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterLeaderboardSets-gameCenterLeaderboards-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "gameCenterLeaderboardSets_gameCenterLeaderboards_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,15 +24,15 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSets-gameCenterLeaderboards-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardSets_gameCenterLeaderboards_createToManyRelationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSets-gameCenterLeaderboards-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSets_gameCenterLeaderboards_replaceToManyRelationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "gameCenterLeaderboardSets-gameCenterLeaderboards-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "gameCenterLeaderboardSets_gameCenterLeaderboards_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift index f640bd15..ef4cefa9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationshipsGroupLeaderboardSet.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID.Relationships { public let path: String public var get: Request { - Request(path: path, method: "GET", id: "gameCenterLeaderboardSets-groupLeaderboardSet-get_to_one_relationship") + Request(path: path, method: "GET", id: "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSets-groupLeaderboardSet-update_to_one_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboardSets_groupLeaderboardSet_updateToOneRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDReleases.swift index 4757f007..43014687 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDReleases.swift @@ -14,62 +14,62 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets-releases-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboardSets_releases_getToManyRelated") } public struct GetParameters { public var filterLive: [String]? public var filterGameCenterDetail: [String]? public var fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? public var limit: Int? public var include: [Include]? public enum FieldsGameCenterLeaderboardSetReleases: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterLeaderboardSet case live - } - - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { case gameCenterDetail - case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet - case localizations - case referenceName - case releases - case vendorIdentifier + case gameCenterLeaderboardSet } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier + case gameCenterDetail + case gameCenterGroup + case groupLeaderboardSet + case localizations + case gameCenterLeaderboards + case releases + } + public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet } - public init(filterLive: [String]? = nil, filterGameCenterDetail: [String]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterLive: [String]? = nil, filterGameCenterDetail: [String]? = nil, fieldsGameCenterLeaderboardSetReleases: [FieldsGameCenterLeaderboardSetReleases]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterLive = filterLive self.filterGameCenterDetail = filterGameCenterDetail self.fieldsGameCenterLeaderboardSetReleases = fieldsGameCenterLeaderboardSetReleases - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets self.limit = limit self.include = include } @@ -79,8 +79,8 @@ extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { encoder.encode(filterLive, forKey: "filter[live]") encoder.encode(filterGameCenterDetail, forKey: "filter[gameCenterDetail]") encoder.encode(fieldsGameCenterLeaderboardSetReleases, forKey: "fields[gameCenterLeaderboardSetReleases]") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboards.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboards.swift index 27140555..68aac6fb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboards.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboards.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboards-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboards_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithID.swift index 7fb5416c..513970dc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithID.swift @@ -14,68 +14,68 @@ extension APIEndpoint.V1.GameCenterLeaderboards { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards_getInstance") } public struct GetParameters { public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? - public var include: [Include]? public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? + public var include: [Include]? public var limitGameCenterLeaderboardSets: Int? public var limitLocalizations: Int? public var limitReleases: Int? public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter - case gameCenterDetail - case gameCenterGroup - case gameCenterLeaderboardSets - case groupLeaderboard - case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate case referenceName - case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType case vendorIdentifier - } - - public enum Include: String, Codable, CaseIterable { + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations case releases } public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { + case locale + case name case formatterOverride case formatterSuffix case formatterSuffixSingular case gameCenterLeaderboard case gameCenterLeaderboardImage - case locale - case name } public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboard - case live } - public init(fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, include: [Include]? = nil, fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case gameCenterDetail + case gameCenterGroup + case groupLeaderboard + case gameCenterLeaderboardSets + case localizations + case releases + } + + public init(fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, include: [Include]? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards - self.include = include self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases + self.include = include self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases @@ -84,9 +84,9 @@ extension APIEndpoint.V1.GameCenterLeaderboards { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") @@ -95,11 +95,11 @@ extension APIEndpoint.V1.GameCenterLeaderboards { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboards-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboards_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterLeaderboards-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterLeaderboards_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift index 8a8870c5..a336b21d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDGroupLeaderboard.swift @@ -14,126 +14,126 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards-groupLeaderboard-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards_groupLeaderboard_getToOneRelated") } public struct GetParameters { - public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? - public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? - public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? - public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? + public var fieldsGameCenterGroups: [FieldsGameCenterGroups]? + public var fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? + public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? + public var include: [Include]? public var limitGameCenterLeaderboardSets: Int? public var limitLocalizations: Int? public var limitReleases: Int? - public var include: [Include]? - - public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { - case formatterOverride - case formatterSuffix - case formatterSuffixSingular - case gameCenterLeaderboard - case gameCenterLeaderboardImage - case locale - case name - } - public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { + case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboards - case groupLeaderboardSet + case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case referenceName case releases - case vendorIdentifier - } - - public enum FieldsGameCenterGroups: String, Codable, CaseIterable { - case gameCenterAchievements - case gameCenterDetails - case gameCenterLeaderboardSets - case gameCenterLeaderboards - case referenceName } public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } - public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived - case defaultFormatter + public enum FieldsGameCenterGroups: String, Codable, CaseIterable { + case referenceName + case gameCenterDetails + case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + } + + public enum FieldsGameCenterLeaderboardSets: String, Codable, CaseIterable { + case referenceName + case vendorIdentifier case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets - case groupLeaderboard + case groupLeaderboardSet case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName + case gameCenterLeaderboards case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier + } + + public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { + case locale + case name + case formatterOverride + case formatterSuffix + case formatterSuffixSingular + case gameCenterLeaderboard + case gameCenterLeaderboardImage } public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live case gameCenterDetail case gameCenterLeaderboard - case live } public enum Include: String, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations case releases } - public init(fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil, include: [Include]? = nil) { - self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations - self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets - self.fieldsGameCenterGroups = fieldsGameCenterGroups - self.fieldsGameCenterDetails = fieldsGameCenterDetails + public init(fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterGroups: [FieldsGameCenterGroups]? = nil, fieldsGameCenterLeaderboardSets: [FieldsGameCenterLeaderboardSets]? = nil, fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, include: [Include]? = nil, limitGameCenterLeaderboardSets: Int? = nil, limitLocalizations: Int? = nil, limitReleases: Int? = nil) { self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterDetails = fieldsGameCenterDetails + self.fieldsGameCenterGroups = fieldsGameCenterGroups + self.fieldsGameCenterLeaderboardSets = fieldsGameCenterLeaderboardSets + self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases + self.include = include self.limitGameCenterLeaderboardSets = limitGameCenterLeaderboardSets self.limitLocalizations = limitLocalizations self.limitReleases = limitReleases - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") - encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") - encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") + encoder.encode(fieldsGameCenterGroups, forKey: "fields[gameCenterGroups]") + encoder.encode(fieldsGameCenterLeaderboardSets, forKey: "fields[gameCenterLeaderboardSets]") + encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") + encoder.encode(include, forKey: "include") encoder.encode(limitGameCenterLeaderboardSets, forKey: "limit[gameCenterLeaderboardSets]") encoder.encode(limitLocalizations, forKey: "limit[localizations]") encoder.encode(limitReleases, forKey: "limit[releases]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift index eaa70b17..cefb5e3c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDLocalizations.swift @@ -14,54 +14,54 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards-localizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards_localizations_getToManyRelated") } public struct GetParameters { public var fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? - public var fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? + public var fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]? public var limit: Int? public var include: [Include]? public enum FieldsGameCenterLeaderboardLocalizations: String, Codable, CaseIterable { + case locale + case name case formatterOverride case formatterSuffix case formatterSuffixSingular case gameCenterLeaderboard case gameCenterLeaderboardImage - case locale - case name - } - - public enum FieldsGameCenterLeaderboardImages: String, Codable, CaseIterable { - case assetDeliveryState - case fileName - case fileSize - case gameCenterLeaderboardLocalization - case imageAsset - case uploadOperations - case uploaded } public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier + } + + public enum FieldsGameCenterLeaderboardImages: String, Codable, CaseIterable { + case fileSize + case fileName + case imageAsset + case uploadOperations + case assetDeliveryState + case uploaded + case gameCenterLeaderboardLocalization } public enum Include: String, Codable, CaseIterable { @@ -69,10 +69,10 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { case gameCenterLeaderboardImage } - public init(fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(fieldsGameCenterLeaderboardLocalizations: [FieldsGameCenterLeaderboardLocalizations]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsGameCenterLeaderboardLocalizations = fieldsGameCenterLeaderboardLocalizations - self.fieldsGameCenterLeaderboardImages = fieldsGameCenterLeaderboardImages self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards + self.fieldsGameCenterLeaderboardImages = fieldsGameCenterLeaderboardImages self.limit = limit self.include = include } @@ -80,8 +80,8 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterLeaderboardLocalizations, forKey: "fields[gameCenterLeaderboardLocalizations]") - encoder.encode(fieldsGameCenterLeaderboardImages, forKey: "fields[gameCenterLeaderboardImages]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") + encoder.encode(fieldsGameCenterLeaderboardImages, forKey: "fields[gameCenterLeaderboardImages]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift index 40d327d1..7d28337a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsGroupLeaderboard.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID.Relationships { public let path: String public var get: Request { - Request(path: path, method: "GET", id: "gameCenterLeaderboards-groupLeaderboard-get_to_one_relationship") + Request(path: path, method: "GET", id: "gameCenterLeaderboards_groupLeaderboard_getToOneRelationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardGroupLeaderboardLinkageRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboards-groupLeaderboard-update_to_one_relationship") + Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboards_groupLeaderboard_updateToOneRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDReleases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDReleases.swift index 07c77725..e99131b0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDReleases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDReleases.swift @@ -14,58 +14,58 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards-releases-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterLeaderboards_releases_getToManyRelated") } public struct GetParameters { public var filterLive: [String]? public var filterGameCenterDetail: [String]? + public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? - public var fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? public var limit: Int? public var include: [Include]? + public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { + case live + case gameCenterDetail + case gameCenterLeaderboard + } + public enum FieldsGameCenterDetails: String, Codable, CaseIterable { - case achievementReleases - case app case arcadeEnabled case challengeEnabled - case defaultGroupLeaderboard - case defaultLeaderboard - case gameCenterAchievements + case app case gameCenterAppVersions case gameCenterGroup - case gameCenterLeaderboardSets case gameCenterLeaderboards + case gameCenterLeaderboardSets + case gameCenterAchievements + case defaultLeaderboard + case defaultGroupLeaderboard + case achievementReleases case leaderboardReleases case leaderboardSetReleases } public enum FieldsGameCenterLeaderboards: String, Codable, CaseIterable { - case archived case defaultFormatter + case referenceName + case vendorIdentifier + case submissionType + case scoreSortType + case scoreRangeStart + case scoreRangeEnd + case recurrenceStartDate + case recurrenceDuration + case recurrenceRule + case archived case gameCenterDetail case gameCenterGroup - case gameCenterLeaderboardSets case groupLeaderboard + case gameCenterLeaderboardSets case localizations - case recurrenceDuration - case recurrenceRule - case recurrenceStartDate - case referenceName case releases - case scoreRangeEnd - case scoreRangeStart - case scoreSortType - case submissionType - case vendorIdentifier - } - - public enum FieldsGameCenterLeaderboardReleases: String, Codable, CaseIterable { - case gameCenterDetail - case gameCenterLeaderboard - case live } public enum Include: String, Codable, CaseIterable { @@ -73,12 +73,12 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { case gameCenterLeaderboard } - public init(filterLive: [String]? = nil, filterGameCenterDetail: [String]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterLive: [String]? = nil, filterGameCenterDetail: [String]? = nil, fieldsGameCenterLeaderboardReleases: [FieldsGameCenterLeaderboardReleases]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsGameCenterLeaderboards: [FieldsGameCenterLeaderboards]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterLive = filterLive self.filterGameCenterDetail = filterGameCenterDetail + self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases self.fieldsGameCenterDetails = fieldsGameCenterDetails self.fieldsGameCenterLeaderboards = fieldsGameCenterLeaderboards - self.fieldsGameCenterLeaderboardReleases = fieldsGameCenterLeaderboardReleases self.limit = limit self.include = include } @@ -87,9 +87,9 @@ extension APIEndpoint.V1.GameCenterLeaderboards.WithID { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterLive, forKey: "filter[live]") encoder.encode(filterGameCenterDetail, forKey: "filter[gameCenterDetail]") + encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsGameCenterLeaderboards, forKey: "fields[gameCenterLeaderboards]") - encoder.encode(fieldsGameCenterLeaderboardReleases, forKey: "fields[gameCenterLeaderboardReleases]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift index 30029d71..562d5526 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingQueues-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingQueues_getCollection") } public struct GetParameters { @@ -23,15 +23,15 @@ extension APIEndpoint.V1 { public var include: [Include]? public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { - case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" - case experimentRuleSet case referenceName + case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" case ruleSet + case experimentRuleSet } public enum Include: String, Codable, CaseIterable { - case experimentRuleSet case ruleSet + case experimentRuleSet } public init(fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, limit: Int? = nil, include: [Include]? = nil) { @@ -50,7 +50,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingQueueCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingQueues-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingQueues_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift index 2ef6ba50..a0b7fb58 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues { public let path: String public func get(fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterMatchmakingQueues, include), id: "gameCenterMatchmakingQueues-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterMatchmakingQueues, include), id: "gameCenterMatchmakingQueues_getInstance") } private func makeGetQuery(_ fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,23 +25,23 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues { } public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { - case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" - case experimentRuleSet case referenceName + case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" case ruleSet + case experimentRuleSet } public enum Include: String, Codable, CaseIterable { - case experimentRuleSet case ruleSet + case experimentRuleSet } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingQueueUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingQueues-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingQueues_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterMatchmakingQueues-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterMatchmakingQueues_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift index 9c46619b..17e7bce6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift @@ -14,13 +14,13 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues-experimentMatchmakingQueueSizes-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues_experimentMatchmakingQueueSizes_getMetrics") } public struct GetParameters { - public var limit: Int? public var granularity: Granularity public var sort: [Sort]? + public var limit: Int? public enum Granularity: String, Codable, CaseIterable { case p1d = "P1D" @@ -29,27 +29,27 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { } public enum Sort: String, Codable, CaseIterable { - case averageNumberOfRequests - case minusaverageNumberOfRequests = "-averageNumberOfRequests" case count case minuscount = "-count" + case averageNumberOfRequests + case minusaverageNumberOfRequests = "-averageNumberOfRequests" case p50NumberOfRequests case minusp50NumberOfRequests = "-p50NumberOfRequests" case p95NumberOfRequests case minusp95NumberOfRequests = "-p95NumberOfRequests" } - public init(limit: Int? = nil, granularity: Granularity, sort: [Sort]? = nil) { - self.limit = limit + public init(granularity: Granularity, sort: [Sort]? = nil, limit: Int? = nil) { self.granularity = granularity self.sort = sort + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") encoder.encode(granularity, forKey: "granularity") encoder.encode(sort, forKey: "sort") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift index 2eae53bf..0ef3b475 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift @@ -14,16 +14,16 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues-experimentMatchmakingRequests-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues_experimentMatchmakingRequests_getMetrics") } public struct GetParameters { - public var limit: Int? public var granularity: Granularity public var groupBy: [GroupBy]? public var filterResult: FilterResult? public var filterGameCenterDetail: String? public var sort: [Sort]? + public var limit: Int? public enum Granularity: String, Codable, CaseIterable { case p1d = "P1D" @@ -32,8 +32,8 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { } public enum GroupBy: String, Codable, CaseIterable { - case gameCenterDetail case result + case gameCenterDetail } public enum FilterResult: String, Codable, CaseIterable { @@ -43,33 +43,33 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { } public enum Sort: String, Codable, CaseIterable { - case averageSecondsInQueue - case minusaverageSecondsInQueue = "-averageSecondsInQueue" case count case minuscount = "-count" + case averageSecondsInQueue + case minusaverageSecondsInQueue = "-averageSecondsInQueue" case p50SecondsInQueue case minusp50SecondsInQueue = "-p50SecondsInQueue" case p95SecondsInQueue case minusp95SecondsInQueue = "-p95SecondsInQueue" } - public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, filterGameCenterDetail: String? = nil, sort: [Sort]? = nil) { - self.limit = limit + public init(granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, filterGameCenterDetail: String? = nil, sort: [Sort]? = nil, limit: Int? = nil) { self.granularity = granularity self.groupBy = groupBy self.filterResult = filterResult self.filterGameCenterDetail = filterGameCenterDetail self.sort = sort + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") encoder.encode(granularity, forKey: "granularity") encoder.encode(groupBy, forKey: "groupBy") encoder.encode(filterResult, forKey: "filter[result]") encoder.encode(filterGameCenterDetail, forKey: "filter[gameCenterDetail]") encoder.encode(sort, forKey: "sort") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift index 9bd18114..1907a0d5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift @@ -14,13 +14,13 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues-matchmakingQueueSizes-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues_matchmakingQueueSizes_getMetrics") } public struct GetParameters { - public var limit: Int? public var granularity: Granularity public var sort: [Sort]? + public var limit: Int? public enum Granularity: String, Codable, CaseIterable { case p1d = "P1D" @@ -29,27 +29,27 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { } public enum Sort: String, Codable, CaseIterable { - case averageNumberOfRequests - case minusaverageNumberOfRequests = "-averageNumberOfRequests" case count case minuscount = "-count" + case averageNumberOfRequests + case minusaverageNumberOfRequests = "-averageNumberOfRequests" case p50NumberOfRequests case minusp50NumberOfRequests = "-p50NumberOfRequests" case p95NumberOfRequests case minusp95NumberOfRequests = "-p95NumberOfRequests" } - public init(limit: Int? = nil, granularity: Granularity, sort: [Sort]? = nil) { - self.limit = limit + public init(granularity: Granularity, sort: [Sort]? = nil, limit: Int? = nil) { self.granularity = granularity self.sort = sort + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") encoder.encode(granularity, forKey: "granularity") encoder.encode(sort, forKey: "sort") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift index a6544906..f50e1fd4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift @@ -14,16 +14,16 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues-matchmakingRequests-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues_matchmakingRequests_getMetrics") } public struct GetParameters { - public var limit: Int? public var granularity: Granularity public var groupBy: [GroupBy]? public var filterResult: FilterResult? public var filterGameCenterDetail: String? public var sort: [Sort]? + public var limit: Int? public enum Granularity: String, Codable, CaseIterable { case p1d = "P1D" @@ -32,8 +32,8 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { } public enum GroupBy: String, Codable, CaseIterable { - case gameCenterDetail case result + case gameCenterDetail } public enum FilterResult: String, Codable, CaseIterable { @@ -43,33 +43,33 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { } public enum Sort: String, Codable, CaseIterable { - case averageSecondsInQueue - case minusaverageSecondsInQueue = "-averageSecondsInQueue" case count case minuscount = "-count" + case averageSecondsInQueue + case minusaverageSecondsInQueue = "-averageSecondsInQueue" case p50SecondsInQueue case minusp50SecondsInQueue = "-p50SecondsInQueue" case p95SecondsInQueue case minusp95SecondsInQueue = "-p95SecondsInQueue" } - public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, filterGameCenterDetail: String? = nil, sort: [Sort]? = nil) { - self.limit = limit + public init(granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, filterGameCenterDetail: String? = nil, sort: [Sort]? = nil, limit: Int? = nil) { self.granularity = granularity self.groupBy = groupBy self.filterResult = filterResult self.filterGameCenterDetail = filterGameCenterDetail self.sort = sort + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") encoder.encode(granularity, forKey: "granularity") encoder.encode(groupBy, forKey: "groupBy") encoder.encode(filterResult, forKey: "filter[result]") encoder.encode(filterGameCenterDetail, forKey: "filter[gameCenterDetail]") encoder.encode(sort, forKey: "sort") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift index 0645a0a5..f892cd02 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift @@ -14,13 +14,13 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues-matchmakingSessions-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingQueues_matchmakingSessions_getMetrics") } public struct GetParameters { - public var limit: Int? public var granularity: Granularity public var sort: [Sort]? + public var limit: Int? public enum Granularity: String, Codable, CaseIterable { case p1d = "P1D" @@ -29,27 +29,27 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { } public enum Sort: String, Codable, CaseIterable { - case averagePlayerCount - case minusaveragePlayerCount = "-averagePlayerCount" case count case minuscount = "-count" + case averagePlayerCount + case minusaveragePlayerCount = "-averagePlayerCount" case p50PlayerCount case minusp50PlayerCount = "-p50PlayerCount" case p95PlayerCount case minusp95PlayerCount = "-p95PlayerCount" } - public init(limit: Int? = nil, granularity: Granularity, sort: [Sort]? = nil) { - self.limit = limit + public init(granularity: Granularity, sort: [Sort]? = nil, limit: Int? = nil) { self.granularity = granularity self.sort = sort + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") encoder.encode(granularity, forKey: "granularity") encoder.encode(sort, forKey: "sort") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetTests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetTests.swift index 94dd0510..d112809d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetTests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetTests.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingRuleSetTestCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingRuleSetTests-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingRuleSetTests_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift index d5778ee2..c30a3c7b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift @@ -14,66 +14,66 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingRuleSets-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingRuleSets_getCollection") } public struct GetParameters { public var fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? - public var limit: Int? - public var include: [Include]? - public var fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? public var fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? public var fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? + public var fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? + public var limit: Int? + public var include: [Include]? public var limitMatchmakingQueues: Int? public var limitRules: Int? public var limitTeams: Int? public enum FieldsGameCenterMatchmakingRuleSets: String, Codable, CaseIterable { - case matchmakingQueues - case maxPlayers - case minPlayers case referenceName case ruleLanguageVersion - case rules + case minPlayers + case maxPlayers case teams - } - - public enum Include: String, Codable, CaseIterable { - case matchmakingQueues case rules - case teams - } - - public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { - case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" - case experimentRuleSet - case referenceName - case ruleSet + case matchmakingQueues } public enum FieldsGameCenterMatchmakingTeams: String, Codable, CaseIterable { - case maxPlayers - case minPlayers case referenceName + case minPlayers + case maxPlayers case ruleSet } public enum FieldsGameCenterMatchmakingRules: String, Codable, CaseIterable { + case referenceName case description + case type case expression + case weight + case ruleSet + } + + public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { case referenceName + case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" case ruleSet - case type - case weight + case experimentRuleSet } - public init(fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? = nil, fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? = nil, limitMatchmakingQueues: Int? = nil, limitRules: Int? = nil, limitTeams: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case teams + case rules + case matchmakingQueues + } + + public init(fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? = nil, fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? = nil, fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? = nil, fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, limit: Int? = nil, include: [Include]? = nil, limitMatchmakingQueues: Int? = nil, limitRules: Int? = nil, limitTeams: Int? = nil) { self.fieldsGameCenterMatchmakingRuleSets = fieldsGameCenterMatchmakingRuleSets - self.limit = limit - self.include = include - self.fieldsGameCenterMatchmakingQueues = fieldsGameCenterMatchmakingQueues self.fieldsGameCenterMatchmakingTeams = fieldsGameCenterMatchmakingTeams self.fieldsGameCenterMatchmakingRules = fieldsGameCenterMatchmakingRules + self.fieldsGameCenterMatchmakingQueues = fieldsGameCenterMatchmakingQueues + self.limit = limit + self.include = include self.limitMatchmakingQueues = limitMatchmakingQueues self.limitRules = limitRules self.limitTeams = limitTeams @@ -82,11 +82,11 @@ extension APIEndpoint.V1 { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterMatchmakingRuleSets, forKey: "fields[gameCenterMatchmakingRuleSets]") - encoder.encode(limit, forKey: "limit") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsGameCenterMatchmakingQueues, forKey: "fields[gameCenterMatchmakingQueues]") encoder.encode(fieldsGameCenterMatchmakingTeams, forKey: "fields[gameCenterMatchmakingTeams]") encoder.encode(fieldsGameCenterMatchmakingRules, forKey: "fields[gameCenterMatchmakingRules]") + encoder.encode(fieldsGameCenterMatchmakingQueues, forKey: "fields[gameCenterMatchmakingQueues]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitMatchmakingQueues, forKey: "limit[matchmakingQueues]") encoder.encode(limitRules, forKey: "limit[rules]") encoder.encode(limitTeams, forKey: "limit[teams]") @@ -95,7 +95,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingRuleSetCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingRuleSets-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingRuleSets_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift index 4606e80e..1dc4cea7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift @@ -14,64 +14,64 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingRuleSets-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingRuleSets_getInstance") } public struct GetParameters { public var fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? - public var include: [Include]? - public var fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? public var fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? public var fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? + public var fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? + public var include: [Include]? public var limitMatchmakingQueues: Int? public var limitRules: Int? public var limitTeams: Int? public enum FieldsGameCenterMatchmakingRuleSets: String, Codable, CaseIterable { - case matchmakingQueues - case maxPlayers - case minPlayers case referenceName case ruleLanguageVersion - case rules + case minPlayers + case maxPlayers case teams - } - - public enum Include: String, Codable, CaseIterable { - case matchmakingQueues case rules - case teams - } - - public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { - case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" - case experimentRuleSet - case referenceName - case ruleSet + case matchmakingQueues } public enum FieldsGameCenterMatchmakingTeams: String, Codable, CaseIterable { - case maxPlayers - case minPlayers case referenceName + case minPlayers + case maxPlayers case ruleSet } public enum FieldsGameCenterMatchmakingRules: String, Codable, CaseIterable { + case referenceName case description + case type case expression + case weight + case ruleSet + } + + public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { case referenceName + case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" case ruleSet - case type - case weight + case experimentRuleSet + } + + public enum Include: String, Codable, CaseIterable { + case teams + case rules + case matchmakingQueues } - public init(fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? = nil, include: [Include]? = nil, fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? = nil, fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? = nil, limitMatchmakingQueues: Int? = nil, limitRules: Int? = nil, limitTeams: Int? = nil) { + public init(fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? = nil, fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? = nil, fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? = nil, fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, include: [Include]? = nil, limitMatchmakingQueues: Int? = nil, limitRules: Int? = nil, limitTeams: Int? = nil) { self.fieldsGameCenterMatchmakingRuleSets = fieldsGameCenterMatchmakingRuleSets - self.include = include - self.fieldsGameCenterMatchmakingQueues = fieldsGameCenterMatchmakingQueues self.fieldsGameCenterMatchmakingTeams = fieldsGameCenterMatchmakingTeams self.fieldsGameCenterMatchmakingRules = fieldsGameCenterMatchmakingRules + self.fieldsGameCenterMatchmakingQueues = fieldsGameCenterMatchmakingQueues + self.include = include self.limitMatchmakingQueues = limitMatchmakingQueues self.limitRules = limitRules self.limitTeams = limitTeams @@ -80,10 +80,10 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsGameCenterMatchmakingRuleSets, forKey: "fields[gameCenterMatchmakingRuleSets]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsGameCenterMatchmakingQueues, forKey: "fields[gameCenterMatchmakingQueues]") encoder.encode(fieldsGameCenterMatchmakingTeams, forKey: "fields[gameCenterMatchmakingTeams]") encoder.encode(fieldsGameCenterMatchmakingRules, forKey: "fields[gameCenterMatchmakingRules]") + encoder.encode(fieldsGameCenterMatchmakingQueues, forKey: "fields[gameCenterMatchmakingQueues]") + encoder.encode(include, forKey: "include") encoder.encode(limitMatchmakingQueues, forKey: "limit[matchmakingQueues]") encoder.encode(limitRules, forKey: "limit[rules]") encoder.encode(limitTeams, forKey: "limit[teams]") @@ -92,11 +92,11 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets { } public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingRuleSetUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingRuleSets-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingRuleSets_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterMatchmakingRuleSets-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterMatchmakingRuleSets_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift index 2b24f98b..174a1d13 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingRuleSets-matchmakingQueues-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "gameCenterMatchmakingRuleSets_matchmakingQueues_getToManyRelated") } public struct GetParameters { @@ -24,25 +24,25 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { public var include: [Include]? public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { - case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" - case experimentRuleSet case referenceName + case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" case ruleSet + case experimentRuleSet } public enum FieldsGameCenterMatchmakingRuleSets: String, Codable, CaseIterable { - case matchmakingQueues - case maxPlayers - case minPlayers case referenceName case ruleLanguageVersion - case rules + case minPlayers + case maxPlayers case teams + case rules + case matchmakingQueues } public enum Include: String, Codable, CaseIterable { - case experimentRuleSet case ruleSet + case experimentRuleSet } public init(fieldsGameCenterMatchmakingQueues: [FieldsGameCenterMatchmakingQueues]? = nil, fieldsGameCenterMatchmakingRuleSets: [FieldsGameCenterMatchmakingRuleSets]? = nil, limit: Int? = nil, include: [Include]? = nil) { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift index 2e5cf60d..d868b9b5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRules.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { public let path: String public func get(fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterMatchmakingRules, limit), id: "gameCenterMatchmakingRuleSets-rules-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterMatchmakingRules, limit), id: "gameCenterMatchmakingRuleSets_rules_getToManyRelated") } private func makeGetQuery(_ fieldsGameCenterMatchmakingRules: [FieldsGameCenterMatchmakingRules]?, _ limit: Int?) -> [(String, String?)] { @@ -25,12 +25,12 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { } public enum FieldsGameCenterMatchmakingRules: String, Codable, CaseIterable { - case description - case expression case referenceName - case ruleSet + case description 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 5383f553..debf7274 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDTeams.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDTeams.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { public let path: String public func get(fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterMatchmakingTeams, limit), id: "gameCenterMatchmakingRuleSets-teams-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsGameCenterMatchmakingTeams, limit), id: "gameCenterMatchmakingRuleSets_teams_getToManyRelated") } private func makeGetQuery(_ fieldsGameCenterMatchmakingTeams: [FieldsGameCenterMatchmakingTeams]?, _ limit: Int?) -> [(String, String?)] { @@ -25,9 +25,9 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { } public enum FieldsGameCenterMatchmakingTeams: String, Codable, CaseIterable { - case maxPlayers - case minPlayers case referenceName + case minPlayers + case maxPlayers case ruleSet } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRules.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRules.swift index 88a7df5d..f3216dd7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRules.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRules.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingRuleCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingRules-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingRules_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithID.swift index da1d80b8..8fa303f7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithID.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingRuleUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingRules-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingRules_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterMatchmakingRules-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterMatchmakingRules_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift index 369e1e73..bdf86375 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift @@ -14,16 +14,16 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingRules-matchmakingBooleanRuleResults-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingRules_matchmakingBooleanRuleResults_getMetrics") } public struct GetParameters { - public var limit: Int? public var granularity: Granularity public var groupBy: [GroupBy]? public var filterResult: String? public var filterGameCenterMatchmakingQueue: String? public var sort: [Sort]? + public var limit: Int? public enum Granularity: String, Codable, CaseIterable { case p1d = "P1D" @@ -32,8 +32,8 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { } public enum GroupBy: String, Codable, CaseIterable { - case gameCenterMatchmakingQueue case result + case gameCenterMatchmakingQueue } public enum Sort: String, Codable, CaseIterable { @@ -41,23 +41,23 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { case minuscount = "-count" } - public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: String? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { - self.limit = limit + public init(granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: String? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil, limit: Int? = nil) { self.granularity = granularity self.groupBy = groupBy self.filterResult = filterResult self.filterGameCenterMatchmakingQueue = filterGameCenterMatchmakingQueue self.sort = sort + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") encoder.encode(granularity, forKey: "granularity") encoder.encode(groupBy, forKey: "groupBy") encoder.encode(filterResult, forKey: "filter[result]") encoder.encode(filterGameCenterMatchmakingQueue, forKey: "filter[gameCenterMatchmakingQueue]") encoder.encode(sort, forKey: "sort") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift index b9448b03..6da8e3eb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift @@ -14,15 +14,15 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingRules-matchmakingNumberRuleResults-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingRules_matchmakingNumberRuleResults_getMetrics") } public struct GetParameters { - public var limit: Int? public var granularity: Granularity public var groupBy: [GroupBy]? public var filterGameCenterMatchmakingQueue: String? public var sort: [Sort]? + public var limit: Int? public enum Granularity: String, Codable, CaseIterable { case p1d = "P1D" @@ -35,31 +35,31 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { } public enum Sort: String, Codable, CaseIterable { - case averageResult - case minusaverageResult = "-averageResult" case count case minuscount = "-count" + case averageResult + case minusaverageResult = "-averageResult" case p50Result case minusp50Result = "-p50Result" case p95Result case minusp95Result = "-p95Result" } - public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { - self.limit = limit + public init(granularity: Granularity, groupBy: [GroupBy]? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil, limit: Int? = nil) { self.granularity = granularity self.groupBy = groupBy self.filterGameCenterMatchmakingQueue = filterGameCenterMatchmakingQueue self.sort = sort + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") encoder.encode(granularity, forKey: "granularity") encoder.encode(groupBy, forKey: "groupBy") encoder.encode(filterGameCenterMatchmakingQueue, forKey: "filter[gameCenterMatchmakingQueue]") encoder.encode(sort, forKey: "sort") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift index 9c77d638..56579209 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift @@ -14,15 +14,15 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingRules-matchmakingRuleErrors-get_metrics") + Request(path: path, method: "GET", query: parameters.asQuery, id: "gameCenterMatchmakingRules_matchmakingRuleErrors_getMetrics") } public struct GetParameters { - public var limit: Int? public var granularity: Granularity public var groupBy: [GroupBy]? public var filterGameCenterMatchmakingQueue: String? public var sort: [Sort]? + public var limit: Int? public enum Granularity: String, Codable, CaseIterable { case p1d = "P1D" @@ -39,21 +39,21 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { case minuscount = "-count" } - public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { - self.limit = limit + public init(granularity: Granularity, groupBy: [GroupBy]? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil, limit: Int? = nil) { self.granularity = granularity self.groupBy = groupBy self.filterGameCenterMatchmakingQueue = filterGameCenterMatchmakingQueue self.sort = sort + self.limit = limit } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(limit, forKey: "limit") encoder.encode(granularity, forKey: "granularity") encoder.encode(groupBy, forKey: "groupBy") encoder.encode(filterGameCenterMatchmakingQueue, forKey: "filter[gameCenterMatchmakingQueue]") encoder.encode(sort, forKey: "sort") + encoder.encode(limit, forKey: "limit") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeams.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeams.swift index f7a18aed..83260c96 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeams.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeams.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingTeamCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingTeams-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterMatchmakingTeams_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeamsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeamsWithID.swift index d0678bdb..19e3c503 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeamsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingTeamsWithID.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.GameCenterMatchmakingTeams { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterMatchmakingTeamUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingTeams-update_instance") + Request(path: path, method: "PATCH", body: body, id: "gameCenterMatchmakingTeams_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "gameCenterMatchmakingTeams-delete_instance") + Request(path: path, method: "DELETE", id: "gameCenterMatchmakingTeams_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterPlayerAchievementSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterPlayerAchievementSubmissions.swift index 27f5307b..d8237c60 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterPlayerAchievementSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterPlayerAchievementSubmissions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterPlayerAchievementSubmissionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "gameCenterPlayerAchievementSubmissions-create_instance") + Request(path: path, method: "POST", body: body, id: "gameCenterPlayerAchievementSubmissions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshots.swift index d8711b3a..9ab71c65 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshots.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseAppStoreReviewScreenshotCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "inAppPurchaseAppStoreReviewScreenshots-create_instance") + Request(path: path, method: "POST", body: body, id: "inAppPurchaseAppStoreReviewScreenshots_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift index b9515814..4c28c5f6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAppStoreReviewScreenshotsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchaseAppStoreReviewScreenshots { public let path: String public func get(fieldsInAppPurchaseAppStoreReviewScreenshots: [FieldsInAppPurchaseAppStoreReviewScreenshots]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsInAppPurchaseAppStoreReviewScreenshots, include), id: "inAppPurchaseAppStoreReviewScreenshots-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsInAppPurchaseAppStoreReviewScreenshots, include), id: "inAppPurchaseAppStoreReviewScreenshots_getInstance") } private func makeGetQuery(_ fieldsInAppPurchaseAppStoreReviewScreenshots: [FieldsInAppPurchaseAppStoreReviewScreenshots]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,16 +25,16 @@ extension APIEndpoint.V1.InAppPurchaseAppStoreReviewScreenshots { } public enum FieldsInAppPurchaseAppStoreReviewScreenshots: String, Codable, CaseIterable { - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset - case inAppPurchaseV2 + case fileName case sourceFileChecksum + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded + case inAppPurchaseV2 } public enum Include: String, Codable, CaseIterable { @@ -42,11 +42,11 @@ extension APIEndpoint.V1.InAppPurchaseAppStoreReviewScreenshots { } public func patch(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseAppStoreReviewScreenshotUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "inAppPurchaseAppStoreReviewScreenshots-update_instance") + Request(path: path, method: "PATCH", body: body, id: "inAppPurchaseAppStoreReviewScreenshots_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "inAppPurchaseAppStoreReviewScreenshots-delete_instance") + Request(path: path, method: "DELETE", id: "inAppPurchaseAppStoreReviewScreenshots_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilities.swift index f11c9e57..b78ca4f6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilities.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseAvailabilityCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "inAppPurchaseAvailabilities-create_instance") + Request(path: path, method: "POST", body: body, id: "inAppPurchaseAvailabilities_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift index 4b1c36d9..deaf7ceb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithID.swift @@ -14,22 +14,18 @@ extension APIEndpoint.V1.InAppPurchaseAvailabilities { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchaseAvailabilities-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchaseAvailabilities_getInstance") } public struct GetParameters { public var fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? - public var include: [Include]? public var fieldsTerritories: [FieldsTerritories]? + public var include: [Include]? public var limitAvailableTerritories: Int? public enum FieldsInAppPurchaseAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case availableTerritories case inAppPurchase - } - - public enum Include: String, Codable, CaseIterable { case availableTerritories } @@ -37,18 +33,22 @@ extension APIEndpoint.V1.InAppPurchaseAvailabilities { case currency } - public init(fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? = nil, include: [Include]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitAvailableTerritories: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case availableTerritories + } + + public init(fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, include: [Include]? = nil, limitAvailableTerritories: Int? = nil) { self.fieldsInAppPurchaseAvailabilities = fieldsInAppPurchaseAvailabilities - self.include = include self.fieldsTerritories = fieldsTerritories + self.include = include self.limitAvailableTerritories = limitAvailableTerritories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsInAppPurchaseAvailabilities, forKey: "fields[inAppPurchaseAvailabilities]") - encoder.encode(include, forKey: "include") 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/PathsV1InAppPurchaseAvailabilitiesWithIDAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDAvailableTerritories.swift index 9b2280ca..42801335 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDAvailableTerritories.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchaseAvailabilities.WithID { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "inAppPurchaseAvailabilities-availableTerritories-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "inAppPurchaseAvailabilities_availableTerritories_getToManyRelated") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContentsWithID.swift index 9f87cedd..59a8d2bb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContentsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchaseContents { public let path: String public func get(fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsInAppPurchaseContents, include), id: "inAppPurchaseContents-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsInAppPurchaseContents, include), id: "inAppPurchaseContents_getInstance") } private func makeGetQuery(_ fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]?, _ include: [Include]?) -> [(String, String?)] { @@ -27,9 +27,9 @@ extension APIEndpoint.V1.InAppPurchaseContents { public enum FieldsInAppPurchaseContents: String, Codable, CaseIterable { case fileName case fileSize - case inAppPurchaseV2 - case lastModifiedDate case url + case lastModifiedDate + case inAppPurchaseV2 } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImages.swift new file mode 100644 index 00000000..6c709ee0 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImages.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var inAppPurchaseImages: InAppPurchaseImages { + InAppPurchaseImages(path: path + "/inAppPurchaseImages") + } + + public struct InAppPurchaseImages { + /// Path: `/v1/inAppPurchaseImages` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseImageCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "inAppPurchaseImages_createInstance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImagesWithID.swift new file mode 100644 index 00000000..853e495a --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImagesWithID.swift @@ -0,0 +1,51 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.InAppPurchaseImages { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/inAppPurchaseImages/{id}` + public let path: String + + public func get(fieldsInAppPurchaseImages: [FieldsInAppPurchaseImages]? = nil, include: [Include]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsInAppPurchaseImages, include), id: "inAppPurchaseImages_getInstance") + } + + private func makeGetQuery(_ fieldsInAppPurchaseImages: [FieldsInAppPurchaseImages]?, _ include: [Include]?) -> [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsInAppPurchaseImages, forKey: "fields[inAppPurchaseImages]") + encoder.encode(include, forKey: "include") + return encoder.items + } + + public enum FieldsInAppPurchaseImages: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case assetToken + case imageAsset + case uploadOperations + case uploaded + case state + case inAppPurchase + } + + public enum Include: String, Codable, CaseIterable { + case inAppPurchase + } + + public func patch(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseImageUpdateRequest) -> Request { + Request(path: path, method: "PATCH", body: body, id: "inAppPurchaseImages_updateInstance") + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "inAppPurchaseImages_deleteInstance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizations.swift index 8edef487..bb2d2415 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "inAppPurchaseLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "inAppPurchaseLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizationsWithID.swift index 3539c692..ffe4ea5c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseLocalizationsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchaseLocalizations { public let path: String public func get(fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsInAppPurchaseLocalizations, include), id: "inAppPurchaseLocalizations-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsInAppPurchaseLocalizations, include), id: "inAppPurchaseLocalizations_getInstance") } private func makeGetQuery(_ fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,11 +25,11 @@ extension APIEndpoint.V1.InAppPurchaseLocalizations { } public enum FieldsInAppPurchaseLocalizations: String, Codable, CaseIterable { - case description - case inAppPurchaseV2 - case locale case name + case locale + case description case state + case inAppPurchaseV2 } public enum Include: String, Codable, CaseIterable { @@ -37,11 +37,11 @@ extension APIEndpoint.V1.InAppPurchaseLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "inAppPurchaseLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "inAppPurchaseLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "inAppPurchaseLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "inAppPurchaseLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedules.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedules.swift index 203f0c18..43945e82 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedules.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedules.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchasePriceScheduleCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "inAppPurchasePriceSchedules-create_instance") + Request(path: path, method: "POST", body: body, id: "inAppPurchasePriceSchedules_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift index 56dd55ac..5fc7da0d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithID.swift @@ -14,49 +14,49 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasePriceSchedules-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasePriceSchedules_getInstance") } public struct GetParameters { public var fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? - public var include: [Include]? - public var fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? public var fieldsTerritories: [FieldsTerritories]? + public var fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? + public var include: [Include]? public var limitAutomaticPrices: Int? public var limitManualPrices: Int? public enum FieldsInAppPurchasePriceSchedules: String, Codable, CaseIterable { - case automaticPrices - case baseTerritory case inAppPurchase + case baseTerritory case manualPrices + case automaticPrices } - public enum Include: String, Codable, CaseIterable { - case automaticPrices - case baseTerritory - case inAppPurchase - case manualPrices + public enum FieldsTerritories: String, Codable, CaseIterable { + case currency } public enum FieldsInAppPurchasePrices: String, Codable, CaseIterable { + case startDate case endDate - case inAppPurchasePricePoint - case inAppPurchaseV2 case manual - case startDate + case inAppPurchaseV2 + case inAppPurchasePricePoint case territory } - public enum FieldsTerritories: String, Codable, CaseIterable { - case currency + public enum Include: String, Codable, CaseIterable { + case inAppPurchase + case baseTerritory + case manualPrices + case automaticPrices } - public init(fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? = nil, include: [Include]? = nil, fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitAutomaticPrices: Int? = nil, limitManualPrices: Int? = nil) { + public init(fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? = nil, include: [Include]? = nil, limitAutomaticPrices: Int? = nil, limitManualPrices: Int? = nil) { self.fieldsInAppPurchasePriceSchedules = fieldsInAppPurchasePriceSchedules - self.include = include - self.fieldsInAppPurchasePrices = fieldsInAppPurchasePrices self.fieldsTerritories = fieldsTerritories + self.fieldsInAppPurchasePrices = fieldsInAppPurchasePrices + self.include = include self.limitAutomaticPrices = limitAutomaticPrices self.limitManualPrices = limitManualPrices } @@ -64,9 +64,9 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsInAppPurchasePriceSchedules, forKey: "fields[inAppPurchasePriceSchedules]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsInAppPurchasePrices, forKey: "fields[inAppPurchasePrices]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") + encoder.encode(fieldsInAppPurchasePrices, forKey: "fields[inAppPurchasePrices]") + encoder.encode(include, forKey: "include") encoder.encode(limitAutomaticPrices, forKey: "limit[automaticPrices]") encoder.encode(limitManualPrices, forKey: "limit[manualPrices]") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift index 2afd9946..7d57ca18 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDAutomaticPrices.swift @@ -14,31 +14,31 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasePriceSchedules-automaticPrices-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasePriceSchedules_automaticPrices_getToManyRelated") } public struct GetParameters { public var filterTerritory: [String]? - public var fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? public var fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? + public var fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? public var fieldsTerritories: [FieldsTerritories]? public var limit: Int? public var include: [Include]? - public enum FieldsInAppPurchasePricePoints: String, Codable, CaseIterable { - case customerPrice + public enum FieldsInAppPurchasePrices: String, Codable, CaseIterable { + case startDate + case endDate + case manual case inAppPurchaseV2 - case proceeds + case inAppPurchasePricePoint case territory } - public enum FieldsInAppPurchasePrices: String, Codable, CaseIterable { - case endDate - case inAppPurchasePricePoint - case inAppPurchaseV2 - case manual - case startDate + public enum FieldsInAppPurchasePricePoints: String, Codable, CaseIterable { + case customerPrice + case proceeds case territory + case inAppPurchaseV2 } public enum FieldsTerritories: String, Codable, CaseIterable { @@ -50,10 +50,10 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { case territory } - public init(filterTerritory: [String]? = nil, fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? = nil, fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterTerritory: [String]? = nil, fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? = nil, fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterTerritory = filterTerritory - self.fieldsInAppPurchasePricePoints = fieldsInAppPurchasePricePoints self.fieldsInAppPurchasePrices = fieldsInAppPurchasePrices + self.fieldsInAppPurchasePricePoints = fieldsInAppPurchasePricePoints self.fieldsTerritories = fieldsTerritories self.limit = limit self.include = include @@ -62,8 +62,8 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterTerritory, forKey: "filter[territory]") - encoder.encode(fieldsInAppPurchasePricePoints, forKey: "fields[inAppPurchasePricePoints]") encoder.encode(fieldsInAppPurchasePrices, forKey: "fields[inAppPurchasePrices]") + encoder.encode(fieldsInAppPurchasePricePoints, forKey: "fields[inAppPurchasePricePoints]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDBaseTerritory.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDBaseTerritory.swift index a9777df0..cd6df08b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDBaseTerritory.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDBaseTerritory.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories), id: "inAppPurchasePriceSchedules-baseTerritory-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories), id: "inAppPurchasePriceSchedules_baseTerritory_getToOneRelated") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift index 0a46c09f..2d46dca8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDManualPrices.swift @@ -14,31 +14,31 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasePriceSchedules-manualPrices-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasePriceSchedules_manualPrices_getToManyRelated") } public struct GetParameters { public var filterTerritory: [String]? - public var fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? public var fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? + public var fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? public var fieldsTerritories: [FieldsTerritories]? public var limit: Int? public var include: [Include]? - public enum FieldsInAppPurchasePricePoints: String, Codable, CaseIterable { - case customerPrice + public enum FieldsInAppPurchasePrices: String, Codable, CaseIterable { + case startDate + case endDate + case manual case inAppPurchaseV2 - case proceeds + case inAppPurchasePricePoint case territory } - public enum FieldsInAppPurchasePrices: String, Codable, CaseIterable { - case endDate - case inAppPurchasePricePoint - case inAppPurchaseV2 - case manual - case startDate + public enum FieldsInAppPurchasePricePoints: String, Codable, CaseIterable { + case customerPrice + case proceeds case territory + case inAppPurchaseV2 } public enum FieldsTerritories: String, Codable, CaseIterable { @@ -50,10 +50,10 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { case territory } - public init(filterTerritory: [String]? = nil, fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? = nil, fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterTerritory: [String]? = nil, fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? = nil, fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterTerritory = filterTerritory - self.fieldsInAppPurchasePricePoints = fieldsInAppPurchasePricePoints self.fieldsInAppPurchasePrices = fieldsInAppPurchasePrices + self.fieldsInAppPurchasePricePoints = fieldsInAppPurchasePricePoints self.fieldsTerritories = fieldsTerritories self.limit = limit self.include = include @@ -62,8 +62,8 @@ extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterTerritory, forKey: "filter[territory]") - encoder.encode(fieldsInAppPurchasePricePoints, forKey: "fields[inAppPurchasePricePoints]") encoder.encode(fieldsInAppPurchasePrices, forKey: "fields[inAppPurchasePrices]") + encoder.encode(fieldsInAppPurchasePricePoints, forKey: "fields[inAppPurchasePricePoints]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseSubmissions.swift index 5c819863..c6d2741a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseSubmissions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseSubmissionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "inAppPurchaseSubmissions-create_instance") + Request(path: path, method: "POST", body: body, id: "inAppPurchaseSubmissions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasesWithID.swift index 43326dfc..20a1017e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasesWithID.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.InAppPurchases { @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchases-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchases_getInstance") } public struct GetParameters { @@ -24,11 +24,11 @@ extension APIEndpoint.V1.InAppPurchases { public var limitApps: Int? public enum FieldsInAppPurchases: String, Codable, CaseIterable { - case apps - case inAppPurchaseType - case productID = "productId" case referenceName + case productID = "productId" + case inAppPurchaseType case state + case apps } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomains.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomains.swift index c6924a3c..e3b78de4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomains.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomains.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1 { @available(*, deprecated, message: "Deprecated") public func get(fieldsMarketplaceDomains: [FieldsMarketplaceDomains]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceDomains, limit), id: "marketplaceDomains-get_collection") + Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceDomains, limit), id: "marketplaceDomains_getCollection") } private func makeGetQuery(_ fieldsMarketplaceDomains: [FieldsMarketplaceDomains]?, _ limit: Int?) -> [(String, String?)] { @@ -26,14 +26,14 @@ extension APIEndpoint.V1 { } public enum FieldsMarketplaceDomains: String, Codable, CaseIterable { - case createdDate case domain case referenceName + case createdDate } @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.MarketplaceDomainCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "marketplaceDomains-create_instance") + Request(path: path, method: "POST", body: body, id: "marketplaceDomains_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomainsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomainsWithID.swift index 8396d9c7..fd67d88a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomainsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomainsWithID.swift @@ -15,7 +15,7 @@ extension APIEndpoint.V1.MarketplaceDomains { @available(*, deprecated, message: "Deprecated") public func get(fieldsMarketplaceDomains: [FieldsMarketplaceDomains]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceDomains), id: "marketplaceDomains-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceDomains), id: "marketplaceDomains_getInstance") } private func makeGetQuery(_ fieldsMarketplaceDomains: [FieldsMarketplaceDomains]?) -> [(String, String?)] { @@ -25,14 +25,14 @@ extension APIEndpoint.V1.MarketplaceDomains { } public enum FieldsMarketplaceDomains: String, Codable, CaseIterable { - case createdDate case domain case referenceName + case createdDate } @available(*, deprecated, message: "Deprecated") public var delete: Request { - Request(path: path, method: "DELETE", id: "marketplaceDomains-delete_instance") + Request(path: path, method: "DELETE", id: "marketplaceDomains_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetails.swift index 747b109d..56b1a06c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetails.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.MarketplaceSearchDetailCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "marketplaceSearchDetails-create_instance") + Request(path: path, method: "POST", body: body, id: "marketplaceSearchDetails_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetailsWithID.swift index 573a6739..56bc551c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetailsWithID.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.MarketplaceSearchDetails { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.MarketplaceSearchDetailUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "marketplaceSearchDetails-update_instance") + Request(path: path, method: "PATCH", body: body, id: "marketplaceSearchDetails_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "marketplaceSearchDetails-delete_instance") + Request(path: path, method: "DELETE", id: "marketplaceSearchDetails_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift index 9522a829..a3591e8b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(fieldsMarketplaceWebhooks: [FieldsMarketplaceWebhooks]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceWebhooks, limit), id: "marketplaceWebhooks-get_collection") + Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceWebhooks, limit), id: "marketplaceWebhooks_getCollection") } private func makeGetQuery(_ fieldsMarketplaceWebhooks: [FieldsMarketplaceWebhooks]?, _ limit: Int?) -> [(String, String?)] { @@ -30,7 +30,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.MarketplaceWebhookCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "marketplaceWebhooks-create_instance") + Request(path: path, method: "POST", body: body, id: "marketplaceWebhooks_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooksWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooksWithID.swift index e9610316..5795ce4d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooksWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooksWithID.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.MarketplaceWebhooks { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.MarketplaceWebhookUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "marketplaceWebhooks-update_instance") + Request(path: path, method: "PATCH", body: body, id: "marketplaceWebhooks_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "marketplaceWebhooks-delete_instance") + Request(path: path, method: "DELETE", id: "marketplaceWebhooks_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift index edd6e237..67fe8361 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "preReleaseVersions-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "preReleaseVersions_getCollection") } public struct GetParameters { @@ -27,10 +27,10 @@ extension APIEndpoint.V1 { public var filterBuilds: [String]? public var sort: [Sort]? public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? + public var fieldsBuilds: [FieldsBuilds]? + public var fieldsApps: [FieldsApps]? public var limit: Int? public var include: [Include]? - public var fieldsApps: [FieldsApps]? - public var fieldsBuilds: [FieldsBuilds]? public var limitBuilds: Int? public enum FilterBuildsProcessingState: String, Codable, CaseIterable { @@ -53,91 +53,93 @@ extension APIEndpoint.V1 { } public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { - case app - case builds - case platform case version + case platform + case builds + case app } - public enum Include: String, Codable, CaseIterable { + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission case app - case builds + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsBuilds: String, Codable, CaseIterable { + public enum Include: String, Codable, CaseIterable { + case builds case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version } - public init(filterBuildsExpired: [String]? = nil, filterBuildsProcessingState: [FilterBuildsProcessingState]? = nil, filterBuildsVersion: [String]? = nil, filterPlatform: [FilterPlatform]? = nil, filterVersion: [String]? = nil, filterApp: [String]? = nil, filterBuilds: [String]? = nil, sort: [Sort]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitBuilds: Int? = nil) { + public init(filterBuildsExpired: [String]? = nil, filterBuildsProcessingState: [FilterBuildsProcessingState]? = nil, filterBuildsVersion: [String]? = nil, filterPlatform: [FilterPlatform]? = nil, filterVersion: [String]? = nil, filterApp: [String]? = nil, filterBuilds: [String]? = nil, sort: [Sort]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil, limitBuilds: Int? = nil) { self.filterBuildsExpired = filterBuildsExpired self.filterBuildsProcessingState = filterBuildsProcessingState self.filterBuildsVersion = filterBuildsVersion @@ -147,10 +149,10 @@ extension APIEndpoint.V1 { self.filterBuilds = filterBuilds self.sort = sort self.fieldsPreReleaseVersions = fieldsPreReleaseVersions + self.fieldsBuilds = fieldsBuilds + self.fieldsApps = fieldsApps self.limit = limit self.include = include - self.fieldsApps = fieldsApps - self.fieldsBuilds = fieldsBuilds self.limitBuilds = limitBuilds } @@ -165,10 +167,10 @@ extension APIEndpoint.V1 { encoder.encode(filterBuilds, forKey: "filter[builds]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") + encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsApps, forKey: "fields[apps]") - encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift index 8a854eb4..e1629422 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift @@ -14,115 +14,117 @@ extension APIEndpoint.V1.PreReleaseVersions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "preReleaseVersions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "preReleaseVersions_getInstance") } public struct GetParameters { public var fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? - public var include: [Include]? - public var fieldsApps: [FieldsApps]? public var fieldsBuilds: [FieldsBuilds]? + public var fieldsApps: [FieldsApps]? + public var include: [Include]? public var limitBuilds: Int? public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { - case app - case builds - case platform case version + case platform + case builds + case app } - public enum Include: String, Codable, CaseIterable { + public enum FieldsBuilds: String, Codable, CaseIterable { + case version + case uploadedDate + case expirationDate + case expired + case minOsVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken + case processingState + case buildAudienceType + case usesNonExemptEncryption + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission case app - case builds + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public enum FieldsBuilds: String, Codable, CaseIterable { + public enum Include: String, Codable, CaseIterable { + case builds case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures - case expirationDate - case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion - case minOsVersion - case perfPowerMetrics - case preReleaseVersion - case processingState - case uploadedDate - case usesNonExemptEncryption - case version } - public init(fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitBuilds: Int? = nil) { + public init(fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsApps: [FieldsApps]? = nil, include: [Include]? = nil, limitBuilds: Int? = nil) { self.fieldsPreReleaseVersions = fieldsPreReleaseVersions - self.include = include - self.fieldsApps = fieldsApps self.fieldsBuilds = fieldsBuilds + self.fieldsApps = fieldsApps + self.include = include self.limitBuilds = limitBuilds } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsPreReleaseVersions, forKey: "fields[preReleaseVersions]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") + encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(include, forKey: "include") encoder.encode(limitBuilds, forKey: "limit[builds]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift index 319c59eb..8092ea71 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.PreReleaseVersions.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "preReleaseVersions-app-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps), id: "preReleaseVersions_app_getToOneRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?) -> [(String, String?)] { @@ -24,49 +24,51 @@ extension APIEndpoint.V1.PreReleaseVersions.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDBuilds.swift index 47c96d4e..2751664a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDBuilds.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.PreReleaseVersions.WithID { public let path: String public func get(fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "preReleaseVersions-builds-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBuilds, limit), id: "preReleaseVersions_builds_getToManyRelated") } private func makeGetQuery(_ fieldsBuilds: [FieldsBuilds]?, _ limit: Int?) -> [(String, String?)] { @@ -25,30 +25,30 @@ extension APIEndpoint.V1.PreReleaseVersions.WithID { } public enum FieldsBuilds: String, Codable, CaseIterable { - case app - case appEncryptionDeclaration - case appStoreVersion - case betaAppReviewSubmission - case betaBuildLocalizations - case betaGroups - case buildAudienceType - case buildBetaDetail - case buildBundles - case computedMinMacOsVersion - case diagnosticSignatures + case version + case uploadedDate case expirationDate case expired - case iconAssetToken - case icons - case individualTesters - case lsMinimumSystemVersion case minOsVersion - case perfPowerMetrics - case preReleaseVersion + case lsMinimumSystemVersion + case computedMinMacOsVersion + case iconAssetToken case processingState - case uploadedDate + case buildAudienceType case usesNonExemptEncryption - case version + case preReleaseVersion + case individualTesters + case betaGroups + case betaBuildLocalizations + case appEncryptionDeclaration + case betaAppReviewSubmission + case app + case buildBetaDetail + case appStoreVersion + case icons + case buildBundles + case perfPowerMetrics + case diagnosticSignatures } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift index e0226341..d79058f6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Profiles.swift @@ -14,29 +14,24 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "profiles-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "profiles_getCollection") } public struct GetParameters { public var filterName: [String]? - public var filterProfileState: [FilterProfileState]? public var filterProfileType: [FilterProfileType]? + public var filterProfileState: [FilterProfileState]? public var filterID: [String]? public var sort: [Sort]? public var fieldsProfiles: [FieldsProfiles]? + public var fieldsBundleIDs: [FieldsBundleIDs]? + public var fieldsDevices: [FieldsDevices]? + public var fieldsCertificates: [FieldsCertificates]? public var limit: Int? public var include: [Include]? - public var fieldsCertificates: [FieldsCertificates]? - public var fieldsDevices: [FieldsDevices]? - public var fieldsBundleIDs: [FieldsBundleIDs]? public var limitCertificates: Int? public var limitDevices: Int? - public enum FilterProfileState: String, Codable, CaseIterable { - case active = "ACTIVE" - case invalid = "INVALID" - } - public enum FilterProfileType: String, Codable, CaseIterable { case iosAppDevelopment = "IOS_APP_DEVELOPMENT" case iosAppStore = "IOS_APP_STORE" @@ -54,80 +49,85 @@ extension APIEndpoint.V1 { case macCatalystAppDirect = "MAC_CATALYST_APP_DIRECT" } + public enum FilterProfileState: String, Codable, CaseIterable { + case active = "ACTIVE" + case invalid = "INVALID" + } + public enum Sort: String, Codable, CaseIterable { - case id - case minusid = "-id" case name case minusname = "-name" - case profileState - case minusprofileState = "-profileState" case profileType case minusprofileType = "-profileType" + case profileState + case minusprofileState = "-profileState" + case id + case minusid = "-id" } public enum FieldsProfiles: String, Codable, CaseIterable { - case bundleID = "bundleId" - case certificates - case createdDate - case devices - case expirationDate case name case platform - case profileContent - case profileState case profileType + case profileState + case profileContent case uuid - } - - public enum Include: String, Codable, CaseIterable { + case createdDate + case expirationDate case bundleID = "bundleId" - case certificates case devices + case certificates } - public enum FieldsCertificates: String, Codable, CaseIterable { - case certificateContent - case certificateType - case csrContent - case displayName - case expirationDate + public enum FieldsBundleIDs: String, Codable, CaseIterable { case name case platform - case serialNumber + case identifier + case seedID = "seedId" + case profiles + case bundleIDCapabilities = "bundleIdCapabilities" + case app } public enum FieldsDevices: String, Codable, CaseIterable { - case addedDate - case deviceClass - case model case name case platform - case status case udid + case deviceClass + case status + case model + case addedDate } - public enum FieldsBundleIDs: String, Codable, CaseIterable { - case app - case bundleIDCapabilities = "bundleIdCapabilities" - case identifier + public enum FieldsCertificates: String, Codable, CaseIterable { case name + case csrContent + case certificateType + case displayName + case serialNumber case platform - case profiles - case seedID = "seedId" + case expirationDate + case certificateContent + } + + public enum Include: String, Codable, CaseIterable { + case bundleID = "bundleId" + case devices + case certificates } - public init(filterName: [String]? = nil, filterProfileState: [FilterProfileState]? = nil, filterProfileType: [FilterProfileType]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsProfiles: [FieldsProfiles]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsCertificates: [FieldsCertificates]? = nil, fieldsDevices: [FieldsDevices]? = nil, fieldsBundleIDs: [FieldsBundleIDs]? = nil, limitCertificates: Int? = nil, limitDevices: Int? = nil) { + public init(filterName: [String]? = nil, filterProfileType: [FilterProfileType]? = nil, filterProfileState: [FilterProfileState]? = nil, filterID: [String]? = nil, sort: [Sort]? = nil, fieldsProfiles: [FieldsProfiles]? = nil, fieldsBundleIDs: [FieldsBundleIDs]? = nil, fieldsDevices: [FieldsDevices]? = nil, fieldsCertificates: [FieldsCertificates]? = nil, limit: Int? = nil, include: [Include]? = nil, limitCertificates: Int? = nil, limitDevices: Int? = nil) { self.filterName = filterName - self.filterProfileState = filterProfileState self.filterProfileType = filterProfileType + self.filterProfileState = filterProfileState self.filterID = filterID self.sort = sort self.fieldsProfiles = fieldsProfiles + self.fieldsBundleIDs = fieldsBundleIDs + self.fieldsDevices = fieldsDevices + self.fieldsCertificates = fieldsCertificates self.limit = limit self.include = include - self.fieldsCertificates = fieldsCertificates - self.fieldsDevices = fieldsDevices - self.fieldsBundleIDs = fieldsBundleIDs self.limitCertificates = limitCertificates self.limitDevices = limitDevices } @@ -135,16 +135,16 @@ extension APIEndpoint.V1 { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterName, forKey: "filter[name]") - encoder.encode(filterProfileState, forKey: "filter[profileState]") encoder.encode(filterProfileType, forKey: "filter[profileType]") + encoder.encode(filterProfileState, forKey: "filter[profileState]") encoder.encode(filterID, forKey: "filter[id]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsProfiles, forKey: "fields[profiles]") + encoder.encode(fieldsBundleIDs, forKey: "fields[bundleIds]") + encoder.encode(fieldsDevices, forKey: "fields[devices]") + encoder.encode(fieldsCertificates, forKey: "fields[certificates]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsCertificates, forKey: "fields[certificates]") - encoder.encode(fieldsDevices, forKey: "fields[devices]") - encoder.encode(fieldsBundleIDs, forKey: "fields[bundleIds]") encoder.encode(limitCertificates, forKey: "limit[certificates]") encoder.encode(limitDevices, forKey: "limit[devices]") return encoder.items @@ -152,7 +152,7 @@ extension APIEndpoint.V1 { } public func post(_ body: AppStoreConnect_Swift_SDK.ProfileCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "profiles-create_instance") + Request(path: path, method: "POST", body: body, id: "profiles_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift index 75ac5e4c..095ee574 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithID.swift @@ -14,75 +14,75 @@ extension APIEndpoint.V1.Profiles { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "profiles-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "profiles_getInstance") } public struct GetParameters { public var fieldsProfiles: [FieldsProfiles]? - public var include: [Include]? - public var fieldsCertificates: [FieldsCertificates]? - public var fieldsDevices: [FieldsDevices]? public var fieldsBundleIDs: [FieldsBundleIDs]? + public var fieldsDevices: [FieldsDevices]? + public var fieldsCertificates: [FieldsCertificates]? + public var include: [Include]? public var limitCertificates: Int? public var limitDevices: Int? public enum FieldsProfiles: String, Codable, CaseIterable { - case bundleID = "bundleId" - case certificates - case createdDate - case devices - case expirationDate case name case platform - case profileContent - case profileState case profileType + case profileState + case profileContent case uuid - } - - public enum Include: String, Codable, CaseIterable { + case createdDate + case expirationDate case bundleID = "bundleId" - case certificates case devices + case certificates } - public enum FieldsCertificates: String, Codable, CaseIterable { - case certificateContent - case certificateType - case csrContent - case displayName - case expirationDate + public enum FieldsBundleIDs: String, Codable, CaseIterable { case name case platform - case serialNumber + case identifier + case seedID = "seedId" + case profiles + case bundleIDCapabilities = "bundleIdCapabilities" + case app } public enum FieldsDevices: String, Codable, CaseIterable { - case addedDate - case deviceClass - case model case name case platform - case status case udid + case deviceClass + case status + case model + case addedDate } - public enum FieldsBundleIDs: String, Codable, CaseIterable { - case app - case bundleIDCapabilities = "bundleIdCapabilities" - case identifier + public enum FieldsCertificates: String, Codable, CaseIterable { case name + case csrContent + case certificateType + case displayName + case serialNumber case platform - case profiles - case seedID = "seedId" + case expirationDate + case certificateContent } - public init(fieldsProfiles: [FieldsProfiles]? = nil, include: [Include]? = nil, fieldsCertificates: [FieldsCertificates]? = nil, fieldsDevices: [FieldsDevices]? = nil, fieldsBundleIDs: [FieldsBundleIDs]? = nil, limitCertificates: Int? = nil, limitDevices: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case bundleID = "bundleId" + case devices + case certificates + } + + public init(fieldsProfiles: [FieldsProfiles]? = nil, fieldsBundleIDs: [FieldsBundleIDs]? = nil, fieldsDevices: [FieldsDevices]? = nil, fieldsCertificates: [FieldsCertificates]? = nil, include: [Include]? = nil, limitCertificates: Int? = nil, limitDevices: Int? = nil) { self.fieldsProfiles = fieldsProfiles - self.include = include - self.fieldsCertificates = fieldsCertificates - self.fieldsDevices = fieldsDevices self.fieldsBundleIDs = fieldsBundleIDs + self.fieldsDevices = fieldsDevices + self.fieldsCertificates = fieldsCertificates + self.include = include self.limitCertificates = limitCertificates self.limitDevices = limitDevices } @@ -90,10 +90,10 @@ extension APIEndpoint.V1.Profiles { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsProfiles, forKey: "fields[profiles]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsCertificates, forKey: "fields[certificates]") - encoder.encode(fieldsDevices, forKey: "fields[devices]") encoder.encode(fieldsBundleIDs, forKey: "fields[bundleIds]") + encoder.encode(fieldsDevices, forKey: "fields[devices]") + encoder.encode(fieldsCertificates, forKey: "fields[certificates]") + encoder.encode(include, forKey: "include") encoder.encode(limitCertificates, forKey: "limit[certificates]") encoder.encode(limitDevices, forKey: "limit[devices]") return encoder.items @@ -101,7 +101,7 @@ extension APIEndpoint.V1.Profiles { } public var delete: Request { - Request(path: path, method: "DELETE", id: "profiles-delete_instance") + Request(path: path, method: "DELETE", id: "profiles_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDBundleID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDBundleID.swift index e9d7696d..7c628cd0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDBundleID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDBundleID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Profiles.WithID { public let path: String public func get(fieldsBundleIDs: [FieldsBundleIDs]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsBundleIDs), id: "profiles-bundleId-get_to_one_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsBundleIDs), id: "profiles_bundleId_getToOneRelated") } private func makeGetQuery(_ fieldsBundleIDs: [FieldsBundleIDs]?) -> [(String, String?)] { @@ -24,13 +24,13 @@ extension APIEndpoint.V1.Profiles.WithID { } public enum FieldsBundleIDs: String, Codable, CaseIterable { - case app - case bundleIDCapabilities = "bundleIdCapabilities" - case identifier case name case platform - case profiles + case identifier case seedID = "seedId" + case profiles + case bundleIDCapabilities = "bundleIdCapabilities" + case app } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift index 13bea3d4..52e440cd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDCertificates.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Profiles.WithID { public let path: String public func get(fieldsCertificates: [FieldsCertificates]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsCertificates, limit), id: "profiles-certificates-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsCertificates, limit), id: "profiles_certificates_getToManyRelated") } private func makeGetQuery(_ fieldsCertificates: [FieldsCertificates]?, _ limit: Int?) -> [(String, String?)] { @@ -25,14 +25,14 @@ extension APIEndpoint.V1.Profiles.WithID { } public enum FieldsCertificates: String, Codable, CaseIterable { - case certificateContent - case certificateType + case name case csrContent + case certificateType case displayName - case expirationDate - case name - case platform case serialNumber + case platform + case expirationDate + case certificateContent } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDDevices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDDevices.swift index d022bf68..dc19e190 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDDevices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDDevices.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Profiles.WithID { public let path: String public func get(fieldsDevices: [FieldsDevices]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsDevices, limit), id: "profiles-devices-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsDevices, limit), id: "profiles_devices_getToManyRelated") } private func makeGetQuery(_ fieldsDevices: [FieldsDevices]?, _ limit: Int?) -> [(String, String?)] { @@ -25,13 +25,13 @@ extension APIEndpoint.V1.Profiles.WithID { } public enum FieldsDevices: String, Codable, CaseIterable { - case addedDate - case deviceClass - case model case name case platform - case status case udid + case deviceClass + case status + case model + case addedDate } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImages.swift index 448ea598..f83c396f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImages.swift @@ -13,8 +13,9 @@ extension APIEndpoint.V1 { /// Path: `/v1/promotedPurchaseImages` public let path: String + @available(*, deprecated, message: "Deprecated") public func post(_ body: AppStoreConnect_Swift_SDK.PromotedPurchaseImageCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "promotedPurchaseImages-create_instance") + Request(path: path, method: "POST", body: body, id: "promotedPurchaseImages_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift index 521160fb..f726c82d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchaseImagesWithID.swift @@ -13,8 +13,9 @@ extension APIEndpoint.V1.PromotedPurchaseImages { /// Path: `/v1/promotedPurchaseImages/{id}` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsPromotedPurchaseImages, include), id: "promotedPurchaseImages-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsPromotedPurchaseImages, include), id: "promotedPurchaseImages_getInstance") } private func makeGetQuery(_ fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,28 +26,30 @@ extension APIEndpoint.V1.PromotedPurchaseImages { } public enum FieldsPromotedPurchaseImages: String, Codable, CaseIterable { - case assetToken - case assetType - case fileName case fileSize - case imageAsset - case promotedPurchase + case fileName case sourceFileChecksum - case state + case assetToken + case imageAsset + case assetType case uploadOperations case uploaded + case state + case promotedPurchase } public enum Include: String, Codable, CaseIterable { case promotedPurchase } + @available(*, deprecated, message: "Deprecated") public func patch(_ body: AppStoreConnect_Swift_SDK.PromotedPurchaseImageUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "promotedPurchaseImages-update_instance") + Request(path: path, method: "PATCH", body: body, id: "promotedPurchaseImages_updateInstance") } + @available(*, deprecated, message: "Deprecated") public var delete: Request { - Request(path: path, method: "DELETE", id: "promotedPurchaseImages-delete_instance") + Request(path: path, method: "DELETE", id: "promotedPurchaseImages_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchases.swift index 94987123..d5c4cd9a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchases.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.PromotedPurchaseCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "promotedPurchases-create_instance") + Request(path: path, method: "POST", body: body, id: "promotedPurchases_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift index 04989840..ffa06a3d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithID.swift @@ -14,67 +14,67 @@ extension APIEndpoint.V1.PromotedPurchases { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "promotedPurchases-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "promotedPurchases_getInstance") } public struct GetParameters { public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var include: [Include]? public var fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? + public var include: [Include]? public var limitPromotionImages: Int? public enum FieldsPromotedPurchases: String, Codable, CaseIterable { - case app + case visibleForAllUsers case enabled - case inAppPurchaseV2 - case promotionImages case state - case subscription - case visibleForAllUsers - } - - public enum Include: String, Codable, CaseIterable { + case app case inAppPurchaseV2 - case promotionImages case subscription + case promotionImages } public enum FieldsPromotedPurchaseImages: String, Codable, CaseIterable { - case assetToken - case assetType - case fileName case fileSize - case imageAsset - case promotedPurchase + case fileName case sourceFileChecksum - case state + case assetToken + case imageAsset + case assetType case uploadOperations case uploaded + case state + case promotedPurchase + } + + public enum Include: String, Codable, CaseIterable { + case inAppPurchaseV2 + case subscription + case promotionImages } - public init(fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, include: [Include]? = nil, fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, limitPromotionImages: Int? = nil) { + public init(fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, include: [Include]? = nil, limitPromotionImages: Int? = nil) { self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.include = include self.fieldsPromotedPurchaseImages = fieldsPromotedPurchaseImages + self.include = include self.limitPromotionImages = limitPromotionImages } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsPromotedPurchaseImages, forKey: "fields[promotedPurchaseImages]") + encoder.encode(include, forKey: "include") encoder.encode(limitPromotionImages, forKey: "limit[promotionImages]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.PromotedPurchaseUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "promotedPurchases-update_instance") + Request(path: path, method: "PATCH", body: body, id: "promotedPurchases_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "promotedPurchases-delete_instance") + Request(path: path, method: "DELETE", id: "promotedPurchases_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift index 085a2fc3..c97b1cf8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchasesWithIDPromotionImages.swift @@ -13,54 +13,55 @@ extension APIEndpoint.V1.PromotedPurchases.WithID { /// Path: `/v1/promotedPurchases/{id}/promotionImages` public let path: String + @available(*, deprecated, message: "Deprecated") public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "promotedPurchases-promotionImages-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "promotedPurchases_promotionImages_getToManyRelated") } public struct GetParameters { - public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? public var fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? + public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? public var limit: Int? public var include: [Include]? - public enum FieldsPromotedPurchases: String, Codable, CaseIterable { - case app - case enabled - case inAppPurchaseV2 - case promotionImages - case state - case subscription - case visibleForAllUsers - } - public enum FieldsPromotedPurchaseImages: String, Codable, CaseIterable { - case assetToken - case assetType - case fileName case fileSize - case imageAsset - case promotedPurchase + case fileName case sourceFileChecksum - case state + case assetToken + case imageAsset + case assetType case uploadOperations case uploaded + case state + case promotedPurchase + } + + public enum FieldsPromotedPurchases: String, Codable, CaseIterable { + case visibleForAllUsers + case enabled + case state + case app + case inAppPurchaseV2 + case subscription + case promotionImages } public enum Include: String, Codable, CaseIterable { case promotedPurchase } - public init(fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.fieldsPromotedPurchases = fieldsPromotedPurchases + public init(fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsPromotedPurchaseImages = fieldsPromotedPurchaseImages + self.fieldsPromotedPurchases = fieldsPromotedPurchases self.limit = limit self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") encoder.encode(fieldsPromotedPurchaseImages, forKey: "fields[promotedPurchaseImages]") + encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItems.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItems.swift index 3f4c7b00..0b4431d8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItems.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItems.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.ReviewSubmissionItemCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "reviewSubmissionItems-create_instance") + Request(path: path, method: "POST", body: body, id: "reviewSubmissionItems_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItemsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItemsWithID.swift index 2528a7f9..ad414efb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItemsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItemsWithID.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.ReviewSubmissionItems { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.ReviewSubmissionItemUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "reviewSubmissionItems-update_instance") + Request(path: path, method: "PATCH", body: body, id: "reviewSubmissionItems_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "reviewSubmissionItems-delete_instance") + Request(path: path, method: "DELETE", id: "reviewSubmissionItems_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift index e5028f2d..4e2ceb79 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "reviewSubmissions-get_collection") + Request(path: path, method: "GET", query: parameters.asQuery, id: "reviewSubmissions_getCollection") } public struct GetParameters { @@ -22,9 +22,9 @@ extension APIEndpoint.V1 { public var filterState: [FilterState]? public var filterApp: [String] public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? + public var fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? public var limit: Int? public var include: [Include]? - public var fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? public var limitItems: Int? public enum FilterPlatform: String, Codable, CaseIterable { @@ -45,46 +45,46 @@ extension APIEndpoint.V1 { } public enum FieldsReviewSubmissions: String, Codable, CaseIterable { - case app - case appStoreVersionForReview - case canceled - case items - case lastUpdatedByActor case platform + case submittedDate case state case submitted - case submittedByActor - case submittedDate - } - - public enum Include: String, Codable, CaseIterable { + case canceled case app - case appStoreVersionForReview case items - case lastUpdatedByActor + case appStoreVersionForReview case submittedByActor + case lastUpdatedByActor } public enum FieldsReviewSubmissionItems: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appEvent + case state + case resolved + case removed + case reviewSubmission case appStoreVersion + case appCustomProductPageVersion case appStoreVersionExperiment case appStoreVersionExperimentV2 - case removed - case resolved - case reviewSubmission - case state + case appEvent } - public init(filterPlatform: [FilterPlatform]? = nil, filterState: [FilterState]? = nil, filterApp: [String], fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? = nil, limitItems: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case app + case items + case appStoreVersionForReview + case submittedByActor + case lastUpdatedByActor + } + + public init(filterPlatform: [FilterPlatform]? = nil, filterState: [FilterState]? = nil, filterApp: [String], fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? = nil, limit: Int? = nil, include: [Include]? = nil, limitItems: Int? = nil) { self.filterPlatform = filterPlatform self.filterState = filterState self.filterApp = filterApp self.fieldsReviewSubmissions = fieldsReviewSubmissions + self.fieldsReviewSubmissionItems = fieldsReviewSubmissionItems self.limit = limit self.include = include - self.fieldsReviewSubmissionItems = fieldsReviewSubmissionItems self.limitItems = limitItems } @@ -94,16 +94,16 @@ extension APIEndpoint.V1 { encoder.encode(filterState, forKey: "filter[state]") encoder.encode(filterApp, forKey: "filter[app]") encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") + encoder.encode(fieldsReviewSubmissionItems, forKey: "fields[reviewSubmissionItems]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsReviewSubmissionItems, forKey: "fields[reviewSubmissionItems]") encoder.encode(limitItems, forKey: "limit[items]") return encoder.items } } public func post(_ body: AppStoreConnect_Swift_SDK.ReviewSubmissionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "reviewSubmissions-create_instance") + Request(path: path, method: "POST", body: body, id: "reviewSubmissions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift index d32330a8..3c54bc53 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithID.swift @@ -14,67 +14,67 @@ extension APIEndpoint.V1.ReviewSubmissions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "reviewSubmissions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "reviewSubmissions_getInstance") } public struct GetParameters { public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? - public var include: [Include]? public var fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? + public var include: [Include]? public var limitItems: Int? public enum FieldsReviewSubmissions: String, Codable, CaseIterable { - case app - case appStoreVersionForReview - case canceled - case items - case lastUpdatedByActor case platform + case submittedDate case state case submitted - case submittedByActor - case submittedDate - } - - public enum Include: String, Codable, CaseIterable { + case canceled case app - case appStoreVersionForReview case items - case lastUpdatedByActor + case appStoreVersionForReview case submittedByActor + case lastUpdatedByActor } public enum FieldsReviewSubmissionItems: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appEvent + case state + case resolved + case removed + case reviewSubmission case appStoreVersion + case appCustomProductPageVersion case appStoreVersionExperiment case appStoreVersionExperimentV2 - case removed - case resolved - case reviewSubmission - case state + case appEvent } - public init(fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, include: [Include]? = nil, fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? = nil, limitItems: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case app + case items + case appStoreVersionForReview + case submittedByActor + case lastUpdatedByActor + } + + public init(fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? = nil, include: [Include]? = nil, limitItems: Int? = nil) { self.fieldsReviewSubmissions = fieldsReviewSubmissions - self.include = include self.fieldsReviewSubmissionItems = fieldsReviewSubmissionItems + self.include = include self.limitItems = limitItems } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsReviewSubmissionItems, forKey: "fields[reviewSubmissionItems]") + encoder.encode(include, forKey: "include") encoder.encode(limitItems, forKey: "limit[items]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.ReviewSubmissionUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "reviewSubmissions-update_instance") + Request(path: path, method: "PATCH", body: body, id: "reviewSubmissions_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift index 92b87c38..4d7bbbc4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift @@ -14,108 +14,109 @@ extension APIEndpoint.V1.ReviewSubmissions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "reviewSubmissions-items-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "reviewSubmissions_items_getToManyRelated") } public struct GetParameters { - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsAppEvents: [FieldsAppEvents]? public var limit: Int? public var include: [Include]? - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion - } - public enum FieldsReviewSubmissionItems: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appEvent + case state + case resolved + case removed + case reviewSubmission case appStoreVersion + case appCustomProductPageVersion case appStoreVersionExperiment case appStoreVersionExperimentV2 - case removed - case resolved - case reviewSubmission - case state + case appEvent } public enum FieldsAppStoreVersions: String, Codable, CaseIterable { - case ageRatingDeclaration - case alternativeDistributionPackage - case app - case appClipDefaultExperience - case appStoreReviewDetail + case platform + case versionString case appStoreState - case appStoreVersionExperiments - case appStoreVersionExperimentsV2 - case appStoreVersionLocalizations - case appStoreVersionPhasedRelease - case appStoreVersionSubmission case appVersionState - case build case copyright - case createdDate - case customerReviews - case downloadable - case earliestReleaseDate - case platform - case releaseType case reviewType + case releaseType + case earliestReleaseDate + case downloadable + case createdDate + case app + case ageRatingDeclaration + case appStoreVersionLocalizations + case build + case appStoreVersionPhasedRelease + case gameCenterAppVersion case routingAppCoverage - case versionString + case appStoreReviewDetail + case appStoreVersionSubmission + case appClipDefaultExperience + case appStoreVersionExperiments + case appStoreVersionExperimentsV2 + case customerReviews + case alternativeDistributionPackage } public enum FieldsAppCustomProductPageVersions: String, Codable, CaseIterable { + case version + case state + case deepLink case appCustomProductPage case appCustomProductPageLocalizations - case deepLink + } + + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case name + case trafficProportion case state - case version + case reviewRequired + case startDate + case endDate + case started + case appStoreVersion + case appStoreVersionExperimentTreatments + case platform + case app + case latestControlVersion + case controlVersions } public enum FieldsAppEvents: String, Codable, CaseIterable { - case app - case archivedTerritorySchedules + case referenceName case badge - case deepLink case eventState - case localizations + case deepLink + case purchaseRequirement case primaryLocale case priority - case purchaseRequirement case purpose - case referenceName case territorySchedules + case archivedTerritorySchedules + case app + case localizations } public enum Include: String, Codable, CaseIterable { - case appCustomProductPageVersion - case appEvent case appStoreVersion + case appCustomProductPageVersion case appStoreVersionExperiment case appStoreVersionExperimentV2 + case appEvent } - public init(fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + public init(fieldsReviewSubmissionItems: [FieldsReviewSubmissionItems]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppCustomProductPageVersions: [FieldsAppCustomProductPageVersions]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsReviewSubmissionItems = fieldsReviewSubmissionItems self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsAppCustomProductPageVersions = fieldsAppCustomProductPageVersions + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments self.fieldsAppEvents = fieldsAppEvents self.limit = limit self.include = include @@ -123,10 +124,10 @@ extension APIEndpoint.V1.ReviewSubmissions.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsReviewSubmissionItems, forKey: "fields[reviewSubmissionItems]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsAppCustomProductPageVersions, forKey: "fields[appCustomProductPageVersions]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoverages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoverages.swift index 927fa1f7..b8b313b4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoverages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoverages.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.RoutingAppCoverageCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "routingAppCoverages-create_instance") + Request(path: path, method: "POST", body: body, id: "routingAppCoverages_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift index 02fbd453..e3f60360 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoveragesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.RoutingAppCoverages { public let path: String public func get(fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsRoutingAppCoverages, include), id: "routingAppCoverages-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsRoutingAppCoverages, include), id: "routingAppCoverages_getInstance") } private func makeGetQuery(_ fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,13 +25,13 @@ extension APIEndpoint.V1.RoutingAppCoverages { } public enum FieldsRoutingAppCoverages: String, Codable, CaseIterable { - case appStoreVersion - case assetDeliveryState - case fileName case fileSize + case fileName case sourceFileChecksum case uploadOperations + case assetDeliveryState case uploaded + case appStoreVersion } public enum Include: String, Codable, CaseIterable { @@ -39,11 +39,11 @@ extension APIEndpoint.V1.RoutingAppCoverages { } public func patch(_ body: AppStoreConnect_Swift_SDK.RoutingAppCoverageUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "routingAppCoverages-update_instance") + Request(path: path, method: "PATCH", body: body, id: "routingAppCoverages_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "routingAppCoverages-delete_instance") + Request(path: path, method: "DELETE", id: "routingAppCoverages_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift index 997a13ab..63966aa4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift @@ -14,32 +14,17 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters) -> Request { - Request(path: path, method: "GET", query: parameters.asQuery, id: "salesReports-get_collection") + Request(path: path, method: "GET", query: parameters.asQuery, id: "salesReports_getCollection") } public struct GetParameters { + public var filterVendorNumber: [String] + public var filterReportType: [FilterReportType] + public var filterReportSubType: [FilterReportSubType] public var filterFrequency: [FilterFrequency] public var filterReportDate: [String]? - public var filterReportSubType: [FilterReportSubType] - public var filterReportType: [FilterReportType] - public var filterVendorNumber: [String] public var filterVersion: [String]? - public enum FilterFrequency: String, Codable, CaseIterable { - case daily = "DAILY" - case weekly = "WEEKLY" - case monthly = "MONTHLY" - case yearly = "YEARLY" - } - - public enum FilterReportSubType: String, Codable, CaseIterable { - case summary = "SUMMARY" - case detailed = "DETAILED" - case summaryInstallType = "SUMMARY_INSTALL_TYPE" - case summaryTerritory = "SUMMARY_TERRITORY" - case summaryChannel = "SUMMARY_CHANNEL" - } - public enum FilterReportType: String, Codable, CaseIterable { case sales = "SALES" case preOrder = "PRE_ORDER" @@ -52,22 +37,37 @@ extension APIEndpoint.V1 { case firstAnnual = "FIRST_ANNUAL" } - public init(filterFrequency: [FilterFrequency], filterReportDate: [String]? = nil, filterReportSubType: [FilterReportSubType], filterReportType: [FilterReportType], filterVendorNumber: [String], filterVersion: [String]? = nil) { + public enum FilterReportSubType: String, Codable, CaseIterable { + case summary = "SUMMARY" + case detailed = "DETAILED" + case summaryInstallType = "SUMMARY_INSTALL_TYPE" + case summaryTerritory = "SUMMARY_TERRITORY" + case summaryChannel = "SUMMARY_CHANNEL" + } + + public enum FilterFrequency: String, Codable, CaseIterable { + case daily = "DAILY" + case weekly = "WEEKLY" + case monthly = "MONTHLY" + case yearly = "YEARLY" + } + + public init(filterVendorNumber: [String], filterReportType: [FilterReportType], filterReportSubType: [FilterReportSubType], filterFrequency: [FilterFrequency], filterReportDate: [String]? = nil, filterVersion: [String]? = nil) { + self.filterVendorNumber = filterVendorNumber + self.filterReportType = filterReportType + self.filterReportSubType = filterReportSubType self.filterFrequency = filterFrequency self.filterReportDate = filterReportDate - self.filterReportSubType = filterReportSubType - self.filterReportType = filterReportType - self.filterVendorNumber = filterVendorNumber self.filterVersion = filterVersion } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) + encoder.encode(filterVendorNumber, forKey: "filter[vendorNumber]") + encoder.encode(filterReportType, forKey: "filter[reportType]") + encoder.encode(filterReportSubType, forKey: "filter[reportSubType]") encoder.encode(filterFrequency, forKey: "filter[frequency]") encoder.encode(filterReportDate, forKey: "filter[reportDate]") - encoder.encode(filterReportSubType, forKey: "filter[reportSubType]") - encoder.encode(filterReportType, forKey: "filter[reportType]") - encoder.encode(filterVendorNumber, forKey: "filter[vendorNumber]") encoder.encode(filterVersion, forKey: "filter[version]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferencesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferencesWithID.swift index 8c99c85c..56cee874 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferencesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferencesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.ScmGitReferences { public let path: String public func get(fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsScmGitReferences, include), id: "scmGitReferences-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsScmGitReferences, include), id: "scmGitReferences_getInstance") } private func makeGetQuery(_ fieldsScmGitReferences: [FieldsScmGitReferences]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,10 +25,10 @@ extension APIEndpoint.V1.ScmGitReferences { } public enum FieldsScmGitReferences: String, Codable, CaseIterable { + case name case canonicalName case isDeleted case kind - case name case repository } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProviders.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProviders.swift index 1e2a3f9f..9ab8633a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProviders.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProviders.swift @@ -13,46 +13,21 @@ extension APIEndpoint.V1 { /// Path: `/v1/scmProviders` public let path: String - public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmProviders-get_collection") + public func get(fieldsScmProviders: [FieldsScmProviders]? = nil, limit: Int? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsScmProviders, limit), id: "scmProviders_getCollection") } - public struct GetParameters { - public var fieldsScmProviders: [FieldsScmProviders]? - public var limit: Int? - public var fieldsScmRepositories: [FieldsScmRepositories]? - - public enum FieldsScmProviders: String, Codable, CaseIterable { - case repositories - case scmProviderType - case url - } - - public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" - case lastAccessedDate - case ownerName - case pullRequests - case repositoryName - case scmProvider - case sshCloneURL = "sshCloneUrl" - } - - public init(fieldsScmProviders: [FieldsScmProviders]? = nil, limit: Int? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil) { - self.fieldsScmProviders = fieldsScmProviders - self.limit = limit - self.fieldsScmRepositories = fieldsScmRepositories - } + private func makeGetQuery(_ fieldsScmProviders: [FieldsScmProviders]?, _ limit: Int?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]", explode: false) + encoder.encode(limit, forKey: "limit") + return encoder.items + } - public var asQuery: [(String, String?)] { - let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]") - encoder.encode(limit, forKey: "limit") - encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") - return encoder.items - } + public enum FieldsScmProviders: String, Codable, CaseIterable { + case scmProviderType + case url + case repositories } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithID.swift index d0594673..3ac75ab0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithID.swift @@ -13,33 +13,20 @@ extension APIEndpoint.V1.ScmProviders { /// Path: `/v1/scmProviders/{id}` public let path: String - public func get(fieldsScmProviders: [FieldsScmProviders]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsScmProviders, fieldsScmRepositories), id: "scmProviders-get_instance") + public func get(fieldsScmProviders: [FieldsScmProviders]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsScmProviders), id: "scmProviders_getInstance") } - private func makeGetQuery(_ fieldsScmProviders: [FieldsScmProviders]?, _ fieldsScmRepositories: [FieldsScmRepositories]?) -> [(String, String?)] { - let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]") - encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") + private func makeGetQuery(_ fieldsScmProviders: [FieldsScmProviders]?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]", explode: false) return encoder.items } public enum FieldsScmProviders: String, Codable, CaseIterable { - case repositories case scmProviderType case url - } - - public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" - case lastAccessedDate - case ownerName - case pullRequests - case repositoryName - case scmProvider - case sshCloneURL = "sshCloneUrl" + case repositories } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRepositories.swift index cde2430d..914f87a8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRepositories.swift @@ -14,53 +14,53 @@ extension APIEndpoint.V1.ScmProviders.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmProviders-repositories-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmProviders_repositories_getToManyRelated") } public struct GetParameters { public var filterID: [String]? - public var fieldsScmGitReferences: [FieldsScmGitReferences]? - public var fieldsScmProviders: [FieldsScmProviders]? public var fieldsScmRepositories: [FieldsScmRepositories]? + public var fieldsScmProviders: [FieldsScmProviders]? + public var fieldsScmGitReferences: [FieldsScmGitReferences]? public var limit: Int? public var include: [Include]? - public enum FieldsScmGitReferences: String, Codable, CaseIterable { - case canonicalName - case isDeleted - case kind - case name - case repository + public enum FieldsScmRepositories: String, Codable, CaseIterable { + case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" + case ownerName + case repositoryName + case scmProvider + case defaultBranch + case gitReferences + case pullRequests } public enum FieldsScmProviders: String, Codable, CaseIterable { - case repositories case scmProviderType case url + case repositories } - public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" - case lastAccessedDate - case ownerName - case pullRequests - case repositoryName - case scmProvider - case sshCloneURL = "sshCloneUrl" + public enum FieldsScmGitReferences: String, Codable, CaseIterable { + case name + case canonicalName + case isDeleted + case kind + case repository } public enum Include: String, Codable, CaseIterable { - case defaultBranch case scmProvider + case defaultBranch } - public init(filterID: [String]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsScmProviders: [FieldsScmProviders]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterID: [String]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, fieldsScmProviders: [FieldsScmProviders]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterID = filterID - self.fieldsScmGitReferences = fieldsScmGitReferences - self.fieldsScmProviders = fieldsScmProviders self.fieldsScmRepositories = fieldsScmRepositories + self.fieldsScmProviders = fieldsScmProviders + self.fieldsScmGitReferences = fieldsScmGitReferences self.limit = limit self.include = include } @@ -68,9 +68,9 @@ extension APIEndpoint.V1.ScmProviders.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") - encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]") encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") + encoder.encode(fieldsScmProviders, forKey: "fields[scmProviders]") + encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequestsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequestsWithID.swift index 78289bd8..14ba7e42 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequestsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequestsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.ScmPullRequests { public let path: String public func get(fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsScmPullRequests, include), id: "scmPullRequests-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsScmPullRequests, include), id: "scmPullRequests_getInstance") } private func makeGetQuery(_ fieldsScmPullRequests: [FieldsScmPullRequests]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,18 +25,18 @@ extension APIEndpoint.V1.ScmPullRequests { } public enum FieldsScmPullRequests: String, Codable, CaseIterable { - case destinationBranchName - case destinationRepositoryName + case title + case number + case webURL = "webUrl" + case sourceRepositoryOwner + case sourceRepositoryName + case sourceBranchName case destinationRepositoryOwner + case destinationRepositoryName + case destinationBranchName case isClosed case isCrossRepository - case number case repository - case sourceBranchName - case sourceRepositoryName - case sourceRepositoryOwner - case title - case webURL = "webUrl" } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositories.swift index 20584087..bac6cc3e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositories.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories_getCollection") } public struct GetParameters { @@ -22,56 +22,29 @@ extension APIEndpoint.V1 { public var fieldsScmRepositories: [FieldsScmRepositories]? public var limit: Int? public var include: [Include]? - public var fieldsScmGitReferences: [FieldsScmGitReferences]? - public var fieldsScmPullRequests: [FieldsScmPullRequests]? public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" case ownerName - case pullRequests case repositoryName case scmProvider - case sshCloneURL = "sshCloneUrl" + case defaultBranch + case gitReferences + case pullRequests } public enum Include: String, Codable, CaseIterable { - case defaultBranch case scmProvider + case defaultBranch } - public enum FieldsScmGitReferences: String, Codable, CaseIterable { - case canonicalName - case isDeleted - case kind - case name - case repository - } - - public enum FieldsScmPullRequests: String, Codable, CaseIterable { - case destinationBranchName - case destinationRepositoryName - case destinationRepositoryOwner - case isClosed - case isCrossRepository - case number - case repository - case sourceBranchName - case sourceRepositoryName - case sourceRepositoryOwner - case title - case webURL = "webUrl" - } - - public init(filterID: [String]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil) { + public init(filterID: [String]? = nil, fieldsScmRepositories: [FieldsScmRepositories]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterID = filterID self.fieldsScmRepositories = fieldsScmRepositories self.limit = limit self.include = include - self.fieldsScmGitReferences = fieldsScmGitReferences - self.fieldsScmPullRequests = fieldsScmPullRequests } public var asQuery: [(String, String?)] { @@ -80,8 +53,6 @@ extension APIEndpoint.V1 { encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") - encoder.encode(fieldsScmPullRequests, forKey: "fields[scmPullRequests]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithID.swift index e6b05c7a..7050e92c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithID.swift @@ -13,71 +13,32 @@ extension APIEndpoint.V1.ScmRepositories { /// Path: `/v1/scmRepositories/{id}` public let path: String - public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories-get_instance") + public func get(fieldsScmRepositories: [FieldsScmRepositories]? = nil, include: [Include]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsScmRepositories, include), id: "scmRepositories_getInstance") } - public struct GetParameters { - public var fieldsScmRepositories: [FieldsScmRepositories]? - public var include: [Include]? - public var fieldsScmGitReferences: [FieldsScmGitReferences]? - public var fieldsScmPullRequests: [FieldsScmPullRequests]? - - public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" - case lastAccessedDate - case ownerName - case pullRequests - case repositoryName - case scmProvider - case sshCloneURL = "sshCloneUrl" - } - - public enum Include: String, Codable, CaseIterable { - case defaultBranch - case scmProvider - } - - public enum FieldsScmGitReferences: String, Codable, CaseIterable { - case canonicalName - case isDeleted - case kind - case name - case repository - } - - public enum FieldsScmPullRequests: String, Codable, CaseIterable { - case destinationBranchName - case destinationRepositoryName - case destinationRepositoryOwner - case isClosed - case isCrossRepository - case number - case repository - case sourceBranchName - case sourceRepositoryName - case sourceRepositoryOwner - case title - case webURL = "webUrl" - } + private func makeGetQuery(_ fieldsScmRepositories: [FieldsScmRepositories]?, _ include: [Include]?) -> [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") + encoder.encode(include, forKey: "include") + return encoder.items + } - public init(fieldsScmRepositories: [FieldsScmRepositories]? = nil, include: [Include]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil) { - self.fieldsScmRepositories = fieldsScmRepositories - self.include = include - self.fieldsScmGitReferences = fieldsScmGitReferences - self.fieldsScmPullRequests = fieldsScmPullRequests - } + public enum FieldsScmRepositories: String, Codable, CaseIterable { + case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" + case ownerName + case repositoryName + case scmProvider + case defaultBranch + case gitReferences + case pullRequests + } - public var asQuery: [(String, String?)] { - let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsScmRepositories, forKey: "fields[scmRepositories]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") - encoder.encode(fieldsScmPullRequests, forKey: "fields[scmPullRequests]") - return encoder.items - } + public enum Include: String, Codable, CaseIterable { + case scmProvider + case defaultBranch } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDGitReferences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDGitReferences.swift index 411d5ec0..60c76dea 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDGitReferences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDGitReferences.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.ScmRepositories.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories-gitReferences-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories_gitReferences_getToManyRelated") } public struct GetParameters { @@ -24,23 +24,23 @@ extension APIEndpoint.V1.ScmRepositories.WithID { public var include: [Include]? public enum FieldsScmGitReferences: String, Codable, CaseIterable { + case name case canonicalName case isDeleted case kind - case name case repository } public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" case ownerName - case pullRequests case repositoryName case scmProvider - case sshCloneURL = "sshCloneUrl" + case defaultBranch + case gitReferences + case pullRequests } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDPullRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDPullRequests.swift index a0165b0a..c6335b15 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDPullRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDPullRequests.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.ScmRepositories.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories-pullRequests-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "scmRepositories_pullRequests_getToManyRelated") } public struct GetParameters { @@ -24,30 +24,30 @@ extension APIEndpoint.V1.ScmRepositories.WithID { public var include: [Include]? public enum FieldsScmPullRequests: String, Codable, CaseIterable { - case destinationBranchName - case destinationRepositoryName + case title + case number + case webURL = "webUrl" + case sourceRepositoryOwner + case sourceRepositoryName + case sourceBranchName case destinationRepositoryOwner + case destinationRepositoryName + case destinationBranchName case isClosed case isCrossRepository - case number case repository - case sourceBranchName - case sourceRepositoryName - case sourceRepositoryOwner - case title - case webURL = "webUrl" } public enum FieldsScmRepositories: String, Codable, CaseIterable { - case defaultBranch - case gitReferences - case httpCloneURL = "httpCloneUrl" case lastAccessedDate + case httpCloneURL = "httpCloneUrl" + case sshCloneURL = "sshCloneUrl" case ownerName - case pullRequests case repositoryName case scmProvider - case sshCloneURL = "sshCloneUrl" + case defaultBranch + case gitReferences + case pullRequests } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshots.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshots.swift index 544038a1..50732c52 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshots.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshots.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionAppStoreReviewScreenshotCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionAppStoreReviewScreenshots-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionAppStoreReviewScreenshots_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift index dc6e0122..5856de85 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAppStoreReviewScreenshotsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionAppStoreReviewScreenshots { public let path: String public func get(fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionAppStoreReviewScreenshots, include), id: "subscriptionAppStoreReviewScreenshots-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionAppStoreReviewScreenshots, include), id: "subscriptionAppStoreReviewScreenshots_getInstance") } private func makeGetQuery(_ fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,16 +25,16 @@ extension APIEndpoint.V1.SubscriptionAppStoreReviewScreenshots { } public enum FieldsSubscriptionAppStoreReviewScreenshots: String, Codable, CaseIterable { - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum - case subscription + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded + case subscription } public enum Include: String, Codable, CaseIterable { @@ -42,11 +42,11 @@ extension APIEndpoint.V1.SubscriptionAppStoreReviewScreenshots { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionAppStoreReviewScreenshotUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptionAppStoreReviewScreenshots-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptionAppStoreReviewScreenshots_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "subscriptionAppStoreReviewScreenshots-delete_instance") + Request(path: path, method: "DELETE", id: "subscriptionAppStoreReviewScreenshots_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilities.swift index b98ee4af..875edb1b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilities.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionAvailabilityCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionAvailabilities-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionAvailabilities_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift index a2aab996..d70924c8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithID.swift @@ -14,42 +14,42 @@ extension APIEndpoint.V1.SubscriptionAvailabilities { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionAvailabilities-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionAvailabilities_getInstance") } public struct GetParameters { public var fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? - public var include: [Include]? public var fieldsTerritories: [FieldsTerritories]? + public var include: [Include]? public var limitAvailableTerritories: Int? public enum FieldsSubscriptionAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case availableTerritories case subscription - } - - public enum Include: String, Codable, CaseIterable { case availableTerritories - case subscription } public enum FieldsTerritories: String, Codable, CaseIterable { case currency } - public init(fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? = nil, include: [Include]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitAvailableTerritories: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case subscription + case availableTerritories + } + + public init(fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, include: [Include]? = nil, limitAvailableTerritories: Int? = nil) { self.fieldsSubscriptionAvailabilities = fieldsSubscriptionAvailabilities - self.include = include self.fieldsTerritories = fieldsTerritories + self.include = include self.limitAvailableTerritories = limitAvailableTerritories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsSubscriptionAvailabilities, forKey: "fields[subscriptionAvailabilities]") - encoder.encode(include, forKey: "include") 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/PathsV1SubscriptionAvailabilitiesWithIDAvailableTerritories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDAvailableTerritories.swift index 2abddd75..cb439724 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDAvailableTerritories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDAvailableTerritories.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionAvailabilities.WithID { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "subscriptionAvailabilities-availableTerritories-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "subscriptionAvailabilities_availableTerritories_getToManyRelated") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriodsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriodsWithID.swift index d5e663dc..0d563144 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriodsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriodsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionGracePeriods { public let path: String public func get(fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionGracePeriods), id: "subscriptionGracePeriods-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionGracePeriods), id: "subscriptionGracePeriods_getInstance") } private func makeGetQuery(_ fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]?) -> [(String, String?)] { @@ -24,14 +24,14 @@ extension APIEndpoint.V1.SubscriptionGracePeriods { } public enum FieldsSubscriptionGracePeriods: String, Codable, CaseIterable { - case duration case optIn - case renewalType case sandboxOptIn + case duration + case renewalType } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionGracePeriodUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptionGracePeriods-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptionGracePeriods_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizations.swift index 95c759d0..f98fca8a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionGroupLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionGroupLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizationsWithID.swift index cd2476af..59881d18 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupLocalizationsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionGroupLocalizations { public let path: String public func get(fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionGroupLocalizations, include), id: "subscriptionGroupLocalizations-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionGroupLocalizations, include), id: "subscriptionGroupLocalizations_getInstance") } private func makeGetQuery(_ fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,9 +25,9 @@ extension APIEndpoint.V1.SubscriptionGroupLocalizations { } public enum FieldsSubscriptionGroupLocalizations: String, Codable, CaseIterable { + case name case customAppName case locale - case name case state case subscriptionGroup } @@ -37,11 +37,11 @@ extension APIEndpoint.V1.SubscriptionGroupLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptionGroupLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptionGroupLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "subscriptionGroupLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "subscriptionGroupLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupSubmissions.swift index 2089e85f..7e76cede 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupSubmissions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupSubmissionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionGroupSubmissions-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionGroupSubmissions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroups.swift index 607451a0..09c3949e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroups.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionGroups-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionGroups_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift index 64bc3c72..737a2d65 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift @@ -14,62 +14,64 @@ extension APIEndpoint.V1.SubscriptionGroups { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionGroups-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionGroups_getInstance") } public struct GetParameters { public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? - public var include: [Include]? public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? + public var include: [Include]? public var limitSubscriptionGroupLocalizations: Int? public var limitSubscriptions: Int? public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { - case app case referenceName - case subscriptionGroupLocalizations + case app case subscriptions - } - - public enum Include: String, Codable, CaseIterable { case subscriptionGroupLocalizations - case subscriptions } public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot + case name + case productID = "productId" case familySharable - case group + case state + case subscriptionPeriod + case reviewNote case groupLevel + case subscriptionLocalizations + case appStoreReviewScreenshot + case group case introductoryOffers - case name + case promotionalOffers case offerCodes - case pricePoints case prices - case productID = "productId" + case pricePoints case promotedPurchase - case promotionalOffers - case reviewNote - case state case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod + case winBackOffers + case images } public enum FieldsSubscriptionGroupLocalizations: String, Codable, CaseIterable { + case name case customAppName case locale - case name case state case subscriptionGroup } - public init(fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, include: [Include]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? = nil, limitSubscriptionGroupLocalizations: Int? = nil, limitSubscriptions: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case subscriptions + case subscriptionGroupLocalizations + } + + public init(fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? = nil, include: [Include]? = nil, limitSubscriptionGroupLocalizations: Int? = nil, limitSubscriptions: Int? = nil) { self.fieldsSubscriptionGroups = fieldsSubscriptionGroups - self.include = include self.fieldsSubscriptions = fieldsSubscriptions self.fieldsSubscriptionGroupLocalizations = fieldsSubscriptionGroupLocalizations + self.include = include self.limitSubscriptionGroupLocalizations = limitSubscriptionGroupLocalizations self.limitSubscriptions = limitSubscriptions } @@ -77,9 +79,9 @@ extension APIEndpoint.V1.SubscriptionGroups { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsSubscriptionGroups, forKey: "fields[subscriptionGroups]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsSubscriptionGroupLocalizations, forKey: "fields[subscriptionGroupLocalizations]") + encoder.encode(include, forKey: "include") encoder.encode(limitSubscriptionGroupLocalizations, forKey: "limit[subscriptionGroupLocalizations]") encoder.encode(limitSubscriptions, forKey: "limit[subscriptions]") return encoder.items @@ -87,11 +89,11 @@ extension APIEndpoint.V1.SubscriptionGroups { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptionGroups-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptionGroups_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "subscriptionGroups-delete_instance") + Request(path: path, method: "DELETE", id: "subscriptionGroups_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift index 7d36d4db..aafc63b7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptionGroupLocalizations.swift @@ -14,45 +14,45 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionGroups-subscriptionGroupLocalizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionGroups_subscriptionGroupLocalizations_getToManyRelated") } public struct GetParameters { - public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? public var fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? + public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? public var limit: Int? public var include: [Include]? - public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { - case app - case referenceName - case subscriptionGroupLocalizations - case subscriptions - } - public enum FieldsSubscriptionGroupLocalizations: String, Codable, CaseIterable { + case name case customAppName case locale - case name case state case subscriptionGroup } + public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { + case referenceName + case app + case subscriptions + case subscriptionGroupLocalizations + } + public enum Include: String, Codable, CaseIterable { case subscriptionGroup } - public init(fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.fieldsSubscriptionGroups = fieldsSubscriptionGroups + public init(fieldsSubscriptionGroupLocalizations: [FieldsSubscriptionGroupLocalizations]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsSubscriptionGroupLocalizations = fieldsSubscriptionGroupLocalizations + self.fieldsSubscriptionGroups = fieldsSubscriptionGroups self.limit = limit self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsSubscriptionGroups, forKey: "fields[subscriptionGroups]") encoder.encode(fieldsSubscriptionGroupLocalizations, forKey: "fields[subscriptionGroupLocalizations]") + encoder.encode(fieldsSubscriptionGroups, forKey: "fields[subscriptionGroups]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift index df171265..c58313d8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift @@ -14,31 +14,35 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionGroups-subscriptions-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionGroups_subscriptions_getToManyRelated") } public struct GetParameters { - public var filterName: [String]? public var filterProductID: [String]? + public var filterName: [String]? public var filterState: [FilterState]? public var sort: [Sort]? - public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? - public var fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? - public var fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]? public var fieldsSubscriptions: [FieldsSubscriptions]? - public var fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? + public var fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? + public var fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]? public var fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? public var fieldsSubscriptionIntroductoryOffers: [FieldsSubscriptionIntroductoryOffers]? + public var fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? + public var fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? public var fieldsSubscriptionPrices: [FieldsSubscriptionPrices]? - public var fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? + public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? + public var fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? + public var fieldsWinBackOffers: [FieldsWinBackOffers]? + public var fieldsSubscriptionImages: [FieldsSubscriptionImages]? public var limit: Int? + public var include: [Include]? public var limitSubscriptionLocalizations: Int? public var limitIntroductoryOffers: Int? public var limitPromotionalOffers: Int? public var limitOfferCodes: Int? public var limitPrices: Int? - public var include: [Include]? + public var limitWinBackOffers: Int? + public var limitImages: Int? public enum FilterState: String, Codable, CaseIterable { case missingMetadata = "MISSING_METADATA" @@ -58,174 +62,215 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { case minusname = "-name" } - public enum FieldsPromotedPurchases: String, Codable, CaseIterable { - case app - case enabled - case inAppPurchaseV2 - case promotionImages + 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 FieldsSubscriptionLocalizations: String, Codable, CaseIterable { + case name + case locale + case description case state case subscription - case visibleForAllUsers } - public enum FieldsSubscriptionPromotionalOffers: String, Codable, CaseIterable { + public enum FieldsSubscriptionAppStoreReviewScreenshots: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case imageAsset + case assetToken + case assetType + case uploadOperations + case assetDeliveryState + case uploaded + case subscription + } + + public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { + case referenceName + case app + case subscriptions + case subscriptionGroupLocalizations + } + + public enum FieldsSubscriptionIntroductoryOffers: String, Codable, CaseIterable { + case startDate + case endDate case duration - case name + case offerMode case numberOfPeriods + case subscription + case territory + case subscriptionPricePoint + } + + public enum FieldsSubscriptionPromotionalOffers: String, Codable, CaseIterable { + case name case offerCode + case duration case offerMode - case prices + case numberOfPeriods case subscription + case prices } public enum FieldsSubscriptionOfferCodes: String, Codable, CaseIterable { - case active - case customCodes - case customerEligibilities - case duration case name - case numberOfPeriods + case customerEligibilities case offerEligibility + case duration case offerMode + case numberOfPeriods + case totalNumberOfCodes + case active + case subscription case oneTimeUseCodes + case customCodes case prices - case subscription - case totalNumberOfCodes } - public enum FieldsSubscriptionAppStoreReviewScreenshots: String, Codable, CaseIterable { - case assetDeliveryState - case assetToken - case assetType - case fileName - case fileSize - case imageAsset - case sourceFileChecksum + public enum FieldsSubscriptionPrices: String, Codable, CaseIterable { + case startDate + case preserved + case preserveCurrentPrice case subscription - case uploadOperations - case uploaded + case territory + case subscriptionPricePoint } - public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot - case familySharable - case group - case groupLevel - case introductoryOffers - case name - case offerCodes - case pricePoints - case prices - case productID = "productId" - case promotedPurchase - case promotionalOffers - case reviewNote + public enum FieldsPromotedPurchases: String, Codable, CaseIterable { + case visibleForAllUsers + case enabled case state - case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod + case app + case inAppPurchaseV2 + case subscription + case promotionImages } public enum FieldsSubscriptionAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case availableTerritories case subscription + case availableTerritories } - public enum FieldsSubscriptionGroups: String, Codable, CaseIterable { - case app + public enum FieldsWinBackOffers: String, Codable, CaseIterable { case referenceName - case subscriptionGroupLocalizations - case subscriptions - } - - public enum FieldsSubscriptionIntroductoryOffers: String, Codable, CaseIterable { + case offerID = "offerId" case duration - case endDate - case numberOfPeriods case offerMode + case periodCount + case customerEligibilityPaidSubscriptionDurationInMonths + case customerEligibilityTimeSinceLastSubscribedInMonths + case customerEligibilityWaitBetweenOffersInMonths case startDate + case endDate + case priority + case promotionIntent case subscription - case subscriptionPricePoint - case territory - } - - public enum FieldsSubscriptionPrices: String, Codable, CaseIterable { - case preserveCurrentPrice - case preserved - case startDate - case subscription - case subscriptionPricePoint - case territory + case prices } - public enum FieldsSubscriptionLocalizations: String, Codable, CaseIterable { - case description - case locale - case name + public enum FieldsSubscriptionImages: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case assetToken + case imageAsset + case uploadOperations + case uploaded case state case subscription } public enum Include: String, Codable, CaseIterable { + case subscriptionLocalizations case appStoreReviewScreenshot case group case introductoryOffers + case promotionalOffers case offerCodes case prices case promotedPurchase - case promotionalOffers case subscriptionAvailability - case subscriptionLocalizations + case winBackOffers + case images } - public init(filterName: [String]? = nil, filterProductID: [String]? = nil, filterState: [FilterState]? = nil, sort: [Sort]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? = nil, fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? = nil, fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsSubscriptionIntroductoryOffers: [FieldsSubscriptionIntroductoryOffers]? = nil, fieldsSubscriptionPrices: [FieldsSubscriptionPrices]? = nil, fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? = nil, limit: Int? = nil, limitSubscriptionLocalizations: Int? = nil, limitIntroductoryOffers: Int? = nil, limitPromotionalOffers: Int? = nil, limitOfferCodes: Int? = nil, limitPrices: Int? = nil, include: [Include]? = nil) { - self.filterName = filterName + public init(filterProductID: [String]? = nil, filterName: [String]? = nil, filterState: [FilterState]? = nil, sort: [Sort]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? = nil, fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsSubscriptionIntroductoryOffers: [FieldsSubscriptionIntroductoryOffers]? = nil, fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? = nil, fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? = nil, fieldsSubscriptionPrices: [FieldsSubscriptionPrices]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? = nil, fieldsWinBackOffers: [FieldsWinBackOffers]? = nil, fieldsSubscriptionImages: [FieldsSubscriptionImages]? = nil, limit: Int? = nil, include: [Include]? = nil, limitSubscriptionLocalizations: Int? = nil, limitIntroductoryOffers: Int? = nil, limitPromotionalOffers: Int? = nil, limitOfferCodes: Int? = nil, limitPrices: Int? = nil, limitWinBackOffers: Int? = nil, limitImages: Int? = nil) { self.filterProductID = filterProductID + self.filterName = filterName self.filterState = filterState self.sort = sort - self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.fieldsSubscriptionPromotionalOffers = fieldsSubscriptionPromotionalOffers - self.fieldsSubscriptionOfferCodes = fieldsSubscriptionOfferCodes - self.fieldsSubscriptionAppStoreReviewScreenshots = fieldsSubscriptionAppStoreReviewScreenshots self.fieldsSubscriptions = fieldsSubscriptions - self.fieldsSubscriptionAvailabilities = fieldsSubscriptionAvailabilities + self.fieldsSubscriptionLocalizations = fieldsSubscriptionLocalizations + self.fieldsSubscriptionAppStoreReviewScreenshots = fieldsSubscriptionAppStoreReviewScreenshots self.fieldsSubscriptionGroups = fieldsSubscriptionGroups self.fieldsSubscriptionIntroductoryOffers = fieldsSubscriptionIntroductoryOffers + self.fieldsSubscriptionPromotionalOffers = fieldsSubscriptionPromotionalOffers + self.fieldsSubscriptionOfferCodes = fieldsSubscriptionOfferCodes self.fieldsSubscriptionPrices = fieldsSubscriptionPrices - self.fieldsSubscriptionLocalizations = fieldsSubscriptionLocalizations + self.fieldsPromotedPurchases = fieldsPromotedPurchases + self.fieldsSubscriptionAvailabilities = fieldsSubscriptionAvailabilities + self.fieldsWinBackOffers = fieldsWinBackOffers + self.fieldsSubscriptionImages = fieldsSubscriptionImages self.limit = limit + self.include = include self.limitSubscriptionLocalizations = limitSubscriptionLocalizations self.limitIntroductoryOffers = limitIntroductoryOffers self.limitPromotionalOffers = limitPromotionalOffers self.limitOfferCodes = limitOfferCodes self.limitPrices = limitPrices - self.include = include + self.limitWinBackOffers = limitWinBackOffers + self.limitImages = limitImages } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterName, forKey: "filter[name]") encoder.encode(filterProductID, forKey: "filter[productId]") + encoder.encode(filterName, forKey: "filter[name]") encoder.encode(filterState, forKey: "filter[state]") encoder.encode(sort, forKey: "sort") - encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(fieldsSubscriptionPromotionalOffers, forKey: "fields[subscriptionPromotionalOffers]") - encoder.encode(fieldsSubscriptionOfferCodes, forKey: "fields[subscriptionOfferCodes]") - encoder.encode(fieldsSubscriptionAppStoreReviewScreenshots, forKey: "fields[subscriptionAppStoreReviewScreenshots]") encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") - encoder.encode(fieldsSubscriptionAvailabilities, forKey: "fields[subscriptionAvailabilities]") + encoder.encode(fieldsSubscriptionLocalizations, forKey: "fields[subscriptionLocalizations]") + encoder.encode(fieldsSubscriptionAppStoreReviewScreenshots, forKey: "fields[subscriptionAppStoreReviewScreenshots]") encoder.encode(fieldsSubscriptionGroups, forKey: "fields[subscriptionGroups]") encoder.encode(fieldsSubscriptionIntroductoryOffers, forKey: "fields[subscriptionIntroductoryOffers]") + encoder.encode(fieldsSubscriptionPromotionalOffers, forKey: "fields[subscriptionPromotionalOffers]") + encoder.encode(fieldsSubscriptionOfferCodes, forKey: "fields[subscriptionOfferCodes]") encoder.encode(fieldsSubscriptionPrices, forKey: "fields[subscriptionPrices]") - encoder.encode(fieldsSubscriptionLocalizations, forKey: "fields[subscriptionLocalizations]") + encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") + encoder.encode(fieldsSubscriptionAvailabilities, forKey: "fields[subscriptionAvailabilities]") + encoder.encode(fieldsWinBackOffers, forKey: "fields[winBackOffers]") + encoder.encode(fieldsSubscriptionImages, forKey: "fields[subscriptionImages]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitSubscriptionLocalizations, forKey: "limit[subscriptionLocalizations]") encoder.encode(limitIntroductoryOffers, forKey: "limit[introductoryOffers]") encoder.encode(limitPromotionalOffers, forKey: "limit[promotionalOffers]") encoder.encode(limitOfferCodes, forKey: "limit[offerCodes]") encoder.encode(limitPrices, forKey: "limit[prices]") - encoder.encode(include, forKey: "include") + encoder.encode(limitWinBackOffers, forKey: "limit[winBackOffers]") + encoder.encode(limitImages, forKey: "limit[images]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImages.swift new file mode 100644 index 00000000..5b80e824 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImages.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var subscriptionImages: SubscriptionImages { + SubscriptionImages(path: path + "/subscriptionImages") + } + + public struct SubscriptionImages { + /// Path: `/v1/subscriptionImages` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionImageCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "subscriptionImages_createInstance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImagesWithID.swift new file mode 100644 index 00000000..caa89588 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImagesWithID.swift @@ -0,0 +1,51 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.SubscriptionImages { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/subscriptionImages/{id}` + public let path: String + + public func get(fieldsSubscriptionImages: [FieldsSubscriptionImages]? = nil, include: [Include]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionImages, include), id: "subscriptionImages_getInstance") + } + + private func makeGetQuery(_ fieldsSubscriptionImages: [FieldsSubscriptionImages]?, _ include: [Include]?) -> [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsSubscriptionImages, forKey: "fields[subscriptionImages]") + encoder.encode(include, forKey: "include") + return encoder.items + } + + public enum FieldsSubscriptionImages: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case assetToken + case imageAsset + case uploadOperations + case uploaded + case state + case subscription + } + + public enum Include: String, Codable, CaseIterable { + case subscription + } + + public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionImageUpdateRequest) -> Request { + Request(path: path, method: "PATCH", body: body, id: "subscriptionImages_updateInstance") + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "subscriptionImages_deleteInstance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffers.swift index 6ef0c0ba..54ecbbcf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffers.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionIntroductoryOfferCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionIntroductoryOffers-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionIntroductoryOffers_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffersWithID.swift index 7af71912..af88b39b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionIntroductoryOffersWithID.swift @@ -14,11 +14,11 @@ extension APIEndpoint.V1.SubscriptionIntroductoryOffers { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionIntroductoryOfferUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptionIntroductoryOffers-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptionIntroductoryOffers_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "subscriptionIntroductoryOffers-delete_instance") + Request(path: path, method: "DELETE", id: "subscriptionIntroductoryOffers_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizations.swift index 4ec7618f..936e7fe8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionLocalizationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionLocalizations-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionLocalizations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizationsWithID.swift index 8125da2d..2fd03fef 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionLocalizationsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionLocalizations { public let path: String public func get(fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionLocalizations, include), id: "subscriptionLocalizations-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionLocalizations, include), id: "subscriptionLocalizations_getInstance") } private func makeGetQuery(_ fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,9 +25,9 @@ extension APIEndpoint.V1.SubscriptionLocalizations { } public enum FieldsSubscriptionLocalizations: String, Codable, CaseIterable { - case description - case locale case name + case locale + case description case state case subscription } @@ -37,11 +37,11 @@ extension APIEndpoint.V1.SubscriptionLocalizations { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionLocalizationUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptionLocalizations-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptionLocalizations_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "subscriptionLocalizations-delete_instance") + Request(path: path, method: "DELETE", id: "subscriptionLocalizations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodes.swift index dacce979..eb76821c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodes.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeCustomCodeCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionOfferCodeCustomCodes-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionOfferCodeCustomCodes_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodesWithID.swift index 717ada5b..b4c68abc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeCustomCodesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodeCustomCodes { public let path: String public func get(fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionOfferCodeCustomCodes, include), id: "subscriptionOfferCodeCustomCodes-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionOfferCodeCustomCodes, include), id: "subscriptionOfferCodeCustomCodes_getInstance") } private func makeGetQuery(_ fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,11 +25,11 @@ extension APIEndpoint.V1.SubscriptionOfferCodeCustomCodes { } public enum FieldsSubscriptionOfferCodeCustomCodes: String, Codable, CaseIterable { - case active - case createdDate case customCode - case expirationDate case numberOfCodes + case createdDate + case expirationDate + case active case offerCode } @@ -38,7 +38,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodeCustomCodes { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeCustomCodeUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptionOfferCodeCustomCodes-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptionOfferCodeCustomCodes_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodes.swift index 89a6e975..fd7f2eef 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodes.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeOneTimeUseCodeCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionOfferCodeOneTimeUseCodes-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionOfferCodeOneTimeUseCodes_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithID.swift index f0e3f314..b6c8e128 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodeOneTimeUseCodes { public let path: String public func get(fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionOfferCodeOneTimeUseCodes, include), id: "subscriptionOfferCodeOneTimeUseCodes-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionOfferCodeOneTimeUseCodes, include), id: "subscriptionOfferCodeOneTimeUseCodes_getInstance") } private func makeGetQuery(_ fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,10 +25,10 @@ extension APIEndpoint.V1.SubscriptionOfferCodeOneTimeUseCodes { } public enum FieldsSubscriptionOfferCodeOneTimeUseCodes: String, Codable, CaseIterable { - case active + case numberOfCodes case createdDate case expirationDate - case numberOfCodes + case active case offerCode case values } @@ -38,7 +38,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodeOneTimeUseCodes { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeOneTimeUseCodeUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptionOfferCodeOneTimeUseCodes-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptionOfferCodeOneTimeUseCodes_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithIDValues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithIDValues.swift index 74b72501..ec56b920 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithIDValues.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithIDValues.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodeOneTimeUseCodes.WithID { public let path: String public var get: Request { - Request(path: path, method: "GET", id: "subscriptionOfferCodeOneTimeUseCodes-values-get_to_one_related") + Request(path: path, method: "GET", id: "subscriptionOfferCodeOneTimeUseCodes_values_getToOneRelated") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodes.swift index e71bf37c..23505120 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodes.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionOfferCodes-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionOfferCodes_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithID.swift index 59284b3b..7b938126 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithID.swift @@ -14,70 +14,70 @@ extension APIEndpoint.V1.SubscriptionOfferCodes { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes_getInstance") } public struct GetParameters { public var fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? - public var include: [Include]? - public var fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]? public var fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? + public var fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]? public var fieldsSubscriptionOfferCodePrices: [FieldsSubscriptionOfferCodePrices]? + public var include: [Include]? public var limitCustomCodes: Int? public var limitOneTimeUseCodes: Int? public var limitPrices: Int? public enum FieldsSubscriptionOfferCodes: String, Codable, CaseIterable { - case active - case customCodes - case customerEligibilities - case duration case name - case numberOfPeriods + case customerEligibilities case offerEligibility + case duration case offerMode - case oneTimeUseCodes - case prices - case subscription + case numberOfPeriods case totalNumberOfCodes - } - - public enum Include: String, Codable, CaseIterable { - case customCodes + case active + case subscription case oneTimeUseCodes + case customCodes case prices - case subscription } - public enum FieldsSubscriptionOfferCodeCustomCodes: String, Codable, CaseIterable { - case active + public enum FieldsSubscriptionOfferCodeOneTimeUseCodes: String, Codable, CaseIterable { + case numberOfCodes case createdDate - case customCode case expirationDate - case numberOfCodes + case active case offerCode + case values } - public enum FieldsSubscriptionOfferCodeOneTimeUseCodes: String, Codable, CaseIterable { - case active + public enum FieldsSubscriptionOfferCodeCustomCodes: String, Codable, CaseIterable { + case customCode + case numberOfCodes case createdDate case expirationDate - case numberOfCodes + case active case offerCode - case values } public enum FieldsSubscriptionOfferCodePrices: String, Codable, CaseIterable { - case subscriptionPricePoint case territory + case subscriptionPricePoint + } + + public enum Include: String, Codable, CaseIterable { + case subscription + case oneTimeUseCodes + case customCodes + case prices } - public init(fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? = nil, include: [Include]? = nil, fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]? = nil, fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? = nil, fieldsSubscriptionOfferCodePrices: [FieldsSubscriptionOfferCodePrices]? = nil, limitCustomCodes: Int? = nil, limitOneTimeUseCodes: Int? = nil, limitPrices: Int? = nil) { + public init(fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? = nil, fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? = nil, fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]? = nil, fieldsSubscriptionOfferCodePrices: [FieldsSubscriptionOfferCodePrices]? = nil, include: [Include]? = nil, limitCustomCodes: Int? = nil, limitOneTimeUseCodes: Int? = nil, limitPrices: Int? = nil) { self.fieldsSubscriptionOfferCodes = fieldsSubscriptionOfferCodes - self.include = include - self.fieldsSubscriptionOfferCodeCustomCodes = fieldsSubscriptionOfferCodeCustomCodes self.fieldsSubscriptionOfferCodeOneTimeUseCodes = fieldsSubscriptionOfferCodeOneTimeUseCodes + self.fieldsSubscriptionOfferCodeCustomCodes = fieldsSubscriptionOfferCodeCustomCodes self.fieldsSubscriptionOfferCodePrices = fieldsSubscriptionOfferCodePrices + self.include = include self.limitCustomCodes = limitCustomCodes self.limitOneTimeUseCodes = limitOneTimeUseCodes self.limitPrices = limitPrices @@ -86,10 +86,10 @@ extension APIEndpoint.V1.SubscriptionOfferCodes { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsSubscriptionOfferCodes, forKey: "fields[subscriptionOfferCodes]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsSubscriptionOfferCodeCustomCodes, forKey: "fields[subscriptionOfferCodeCustomCodes]") encoder.encode(fieldsSubscriptionOfferCodeOneTimeUseCodes, forKey: "fields[subscriptionOfferCodeOneTimeUseCodes]") + encoder.encode(fieldsSubscriptionOfferCodeCustomCodes, forKey: "fields[subscriptionOfferCodeCustomCodes]") encoder.encode(fieldsSubscriptionOfferCodePrices, forKey: "fields[subscriptionOfferCodePrices]") + encoder.encode(include, forKey: "include") encoder.encode(limitCustomCodes, forKey: "limit[customCodes]") encoder.encode(limitOneTimeUseCodes, forKey: "limit[oneTimeUseCodes]") encoder.encode(limitPrices, forKey: "limit[prices]") @@ -98,7 +98,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodes { } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptionOfferCodes-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptionOfferCodes_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDCustomCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDCustomCodes.swift index 5141c9c0..6711ee9e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDCustomCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDCustomCodes.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionOfferCodes.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes-customCodes-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes_customCodes_getToManyRelated") } public struct GetParameters { @@ -24,27 +24,27 @@ extension APIEndpoint.V1.SubscriptionOfferCodes.WithID { public var include: [Include]? public enum FieldsSubscriptionOfferCodeCustomCodes: String, Codable, CaseIterable { - case active - case createdDate case customCode - case expirationDate case numberOfCodes + case createdDate + case expirationDate + case active case offerCode } public enum FieldsSubscriptionOfferCodes: String, Codable, CaseIterable { - case active - case customCodes - case customerEligibilities - case duration case name - case numberOfPeriods + case customerEligibilities case offerEligibility + case duration case offerMode + case numberOfPeriods + case totalNumberOfCodes + case active + case subscription case oneTimeUseCodes + case customCodes case prices - case subscription - case totalNumberOfCodes } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDOneTimeUseCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDOneTimeUseCodes.swift index 2d511ac9..a07fd06d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDOneTimeUseCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDOneTimeUseCodes.swift @@ -14,54 +14,54 @@ extension APIEndpoint.V1.SubscriptionOfferCodes.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes-oneTimeUseCodes-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes_oneTimeUseCodes_getToManyRelated") } public struct GetParameters { - public var fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? public var fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? + public var fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? public var limit: Int? public var include: [Include]? - public enum FieldsSubscriptionOfferCodes: String, Codable, CaseIterable { + public enum FieldsSubscriptionOfferCodeOneTimeUseCodes: String, Codable, CaseIterable { + case numberOfCodes + case createdDate + case expirationDate case active - case customCodes - case customerEligibilities - case duration + case offerCode + case values + } + + public enum FieldsSubscriptionOfferCodes: String, Codable, CaseIterable { case name - case numberOfPeriods + case customerEligibilities case offerEligibility + case duration case offerMode - case oneTimeUseCodes - case prices - case subscription + case numberOfPeriods case totalNumberOfCodes - } - - public enum FieldsSubscriptionOfferCodeOneTimeUseCodes: String, Codable, CaseIterable { case active - case createdDate - case expirationDate - case numberOfCodes - case offerCode - case values + case subscription + case oneTimeUseCodes + case customCodes + case prices } public enum Include: String, Codable, CaseIterable { case offerCode } - public init(fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? = nil, fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.fieldsSubscriptionOfferCodes = fieldsSubscriptionOfferCodes + public init(fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? = nil, fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsSubscriptionOfferCodeOneTimeUseCodes = fieldsSubscriptionOfferCodeOneTimeUseCodes + self.fieldsSubscriptionOfferCodes = fieldsSubscriptionOfferCodes self.limit = limit self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsSubscriptionOfferCodes, forKey: "fields[subscriptionOfferCodes]") encoder.encode(fieldsSubscriptionOfferCodeOneTimeUseCodes, forKey: "fields[subscriptionOfferCodeOneTimeUseCodes]") + encoder.encode(fieldsSubscriptionOfferCodes, forKey: "fields[subscriptionOfferCodes]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift index 81b93bdf..6479b15d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDPrices.swift @@ -14,45 +14,45 @@ extension APIEndpoint.V1.SubscriptionOfferCodes.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes-prices-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionOfferCodes_prices_getToManyRelated") } public struct GetParameters { public var filterTerritory: [String]? - public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? - public var fieldsTerritories: [FieldsTerritories]? public var fieldsSubscriptionOfferCodePrices: [FieldsSubscriptionOfferCodePrices]? + public var fieldsTerritories: [FieldsTerritories]? + public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? public var limit: Int? public var include: [Include]? - public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { - case customerPrice - case equalizations - case proceeds - case proceedsYear2 - case subscription + public enum FieldsSubscriptionOfferCodePrices: String, Codable, CaseIterable { case territory + case subscriptionPricePoint } public enum FieldsTerritories: String, Codable, CaseIterable { case currency } - public enum FieldsSubscriptionOfferCodePrices: String, Codable, CaseIterable { - case subscriptionPricePoint + public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { + case customerPrice + case proceeds + case proceedsYear2 case territory + case subscription + case equalizations } public enum Include: String, Codable, CaseIterable { - case subscriptionPricePoint case territory + case subscriptionPricePoint } - public init(filterTerritory: [String]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsSubscriptionOfferCodePrices: [FieldsSubscriptionOfferCodePrices]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterTerritory: [String]? = nil, fieldsSubscriptionOfferCodePrices: [FieldsSubscriptionOfferCodePrices]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterTerritory = filterTerritory - self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints - self.fieldsTerritories = fieldsTerritories self.fieldsSubscriptionOfferCodePrices = fieldsSubscriptionOfferCodePrices + self.fieldsTerritories = fieldsTerritories + self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints self.limit = limit self.include = include } @@ -60,9 +60,9 @@ extension APIEndpoint.V1.SubscriptionOfferCodes.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterTerritory, forKey: "filter[territory]") - encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") - encoder.encode(fieldsTerritories, forKey: "fields[territories]") encoder.encode(fieldsSubscriptionOfferCodePrices, forKey: "fields[subscriptionOfferCodePrices]") + encoder.encode(fieldsTerritories, forKey: "fields[territories]") + encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift index 33da8db0..821d4377 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionPricePoints { public let path: String public func get(fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionPricePoints, include), id: "subscriptionPricePoints-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsSubscriptionPricePoints, include), id: "subscriptionPricePoints_getInstance") } private func makeGetQuery(_ fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]?, _ include: [Include]?) -> [(String, String?)] { @@ -26,11 +26,11 @@ extension APIEndpoint.V1.SubscriptionPricePoints { public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { case customerPrice - case equalizations case proceeds case proceedsYear2 - case subscription case territory + case subscription + case equalizations } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift index 690c9265..e63bb343 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDEqualizations.swift @@ -14,12 +14,12 @@ extension APIEndpoint.V1.SubscriptionPricePoints.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionPricePoints-equalizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionPricePoints_equalizations_getToManyRelated") } public struct GetParameters { - public var filterSubscription: [String]? public var filterTerritory: [String]? + public var filterSubscription: [String]? public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? public var fieldsTerritories: [FieldsTerritories]? public var limit: Int? @@ -27,11 +27,11 @@ extension APIEndpoint.V1.SubscriptionPricePoints.WithID { public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { case customerPrice - case equalizations case proceeds case proceedsYear2 - case subscription case territory + case subscription + case equalizations } public enum FieldsTerritories: String, Codable, CaseIterable { @@ -42,9 +42,9 @@ extension APIEndpoint.V1.SubscriptionPricePoints.WithID { case territory } - public init(filterSubscription: [String]? = nil, filterTerritory: [String]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.filterSubscription = filterSubscription + public init(filterTerritory: [String]? = nil, filterSubscription: [String]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterTerritory = filterTerritory + self.filterSubscription = filterSubscription self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints self.fieldsTerritories = fieldsTerritories self.limit = limit @@ -53,8 +53,8 @@ extension APIEndpoint.V1.SubscriptionPricePoints.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterSubscription, forKey: "filter[subscription]") encoder.encode(filterTerritory, forKey: "filter[territory]") + encoder.encode(filterSubscription, forKey: "filter[subscription]") encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") encoder.encode(limit, forKey: "limit") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPrices.swift index efafa10b..baf28691 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPrices.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionPriceCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionPrices-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionPrices_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricesWithID.swift index 2403a1e8..9c341a55 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.SubscriptionPrices { public let path: String public var delete: Request { - Request(path: path, method: "DELETE", id: "subscriptionPrices-delete_instance") + Request(path: path, method: "DELETE", id: "subscriptionPrices_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffers.swift index f53cad7c..c0adf315 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffers.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionPromotionalOfferCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionPromotionalOffers-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionPromotionalOffers_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithID.swift index af3cbf92..bc07a9b4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithID.swift @@ -14,58 +14,58 @@ extension APIEndpoint.V1.SubscriptionPromotionalOffers { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionPromotionalOffers-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionPromotionalOffers_getInstance") } public struct GetParameters { public var fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? - public var include: [Include]? public var fieldsSubscriptionPromotionalOfferPrices: [FieldsSubscriptionPromotionalOfferPrices]? + public var include: [Include]? public var limitPrices: Int? public enum FieldsSubscriptionPromotionalOffers: String, Codable, CaseIterable { - case duration case name - case numberOfPeriods case offerCode + case duration case offerMode - case prices + case numberOfPeriods case subscription - } - - public enum Include: String, Codable, CaseIterable { case prices - case subscription } public enum FieldsSubscriptionPromotionalOfferPrices: String, Codable, CaseIterable { - case subscriptionPricePoint case territory + case subscriptionPricePoint } - public init(fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? = nil, include: [Include]? = nil, fieldsSubscriptionPromotionalOfferPrices: [FieldsSubscriptionPromotionalOfferPrices]? = nil, limitPrices: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case subscription + case prices + } + + public init(fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? = nil, fieldsSubscriptionPromotionalOfferPrices: [FieldsSubscriptionPromotionalOfferPrices]? = nil, include: [Include]? = nil, limitPrices: Int? = nil) { self.fieldsSubscriptionPromotionalOffers = fieldsSubscriptionPromotionalOffers - self.include = include self.fieldsSubscriptionPromotionalOfferPrices = fieldsSubscriptionPromotionalOfferPrices + self.include = include self.limitPrices = limitPrices } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsSubscriptionPromotionalOffers, forKey: "fields[subscriptionPromotionalOffers]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsSubscriptionPromotionalOfferPrices, forKey: "fields[subscriptionPromotionalOfferPrices]") + encoder.encode(include, forKey: "include") encoder.encode(limitPrices, forKey: "limit[prices]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionPromotionalOfferUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptionPromotionalOffers-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptionPromotionalOffers_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "subscriptionPromotionalOffers-delete_instance") + Request(path: path, method: "DELETE", id: "subscriptionPromotionalOffers_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift index b8a3babf..38e8ebed 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDPrices.swift @@ -14,45 +14,45 @@ extension APIEndpoint.V1.SubscriptionPromotionalOffers.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionPromotionalOffers-prices-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptionPromotionalOffers_prices_getToManyRelated") } public struct GetParameters { public var filterTerritory: [String]? - public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? - public var fieldsTerritories: [FieldsTerritories]? public var fieldsSubscriptionPromotionalOfferPrices: [FieldsSubscriptionPromotionalOfferPrices]? + public var fieldsTerritories: [FieldsTerritories]? + public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? public var limit: Int? public var include: [Include]? - public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { - case customerPrice - case equalizations - case proceeds - case proceedsYear2 - case subscription + public enum FieldsSubscriptionPromotionalOfferPrices: String, Codable, CaseIterable { case territory + case subscriptionPricePoint } public enum FieldsTerritories: String, Codable, CaseIterable { case currency } - public enum FieldsSubscriptionPromotionalOfferPrices: String, Codable, CaseIterable { - case subscriptionPricePoint + public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { + case customerPrice + case proceeds + case proceedsYear2 case territory + case subscription + case equalizations } public enum Include: String, Codable, CaseIterable { - case subscriptionPricePoint case territory + case subscriptionPricePoint } - public init(filterTerritory: [String]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsSubscriptionPromotionalOfferPrices: [FieldsSubscriptionPromotionalOfferPrices]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterTerritory: [String]? = nil, fieldsSubscriptionPromotionalOfferPrices: [FieldsSubscriptionPromotionalOfferPrices]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterTerritory = filterTerritory - self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints - self.fieldsTerritories = fieldsTerritories self.fieldsSubscriptionPromotionalOfferPrices = fieldsSubscriptionPromotionalOfferPrices + self.fieldsTerritories = fieldsTerritories + self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints self.limit = limit self.include = include } @@ -60,9 +60,9 @@ extension APIEndpoint.V1.SubscriptionPromotionalOffers.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterTerritory, forKey: "filter[territory]") - encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") - encoder.encode(fieldsTerritories, forKey: "fields[territories]") encoder.encode(fieldsSubscriptionPromotionalOfferPrices, forKey: "fields[subscriptionPromotionalOfferPrices]") + encoder.encode(fieldsTerritories, forKey: "fields[territories]") + encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionSubmissions.swift index 4acdf100..393a677e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionSubmissions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionSubmissionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptionSubmissions-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptionSubmissions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Subscriptions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Subscriptions.swift index e2b893c3..7703bf6f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Subscriptions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Subscriptions.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "subscriptions-create_instance") + Request(path: path, method: "POST", body: body, id: "subscriptions_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift index db27812f..84438b22 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift @@ -14,197 +14,230 @@ extension APIEndpoint.V1.Subscriptions { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_getInstance") } public struct GetParameters { public var fieldsSubscriptions: [FieldsSubscriptions]? - public var include: [Include]? - public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? + public var fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? + public var fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]? + public var fieldsSubscriptionIntroductoryOffers: [FieldsSubscriptionIntroductoryOffers]? public var fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? public var fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? - public var fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]? - public var fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? public var fieldsSubscriptionPrices: [FieldsSubscriptionPrices]? - public var fieldsSubscriptionIntroductoryOffers: [FieldsSubscriptionIntroductoryOffers]? - public var fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? + public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? + public var fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? + public var fieldsWinBackOffers: [FieldsWinBackOffers]? + public var fieldsSubscriptionImages: [FieldsSubscriptionImages]? + public var include: [Include]? + public var limitImages: Int? public var limitIntroductoryOffers: Int? public var limitOfferCodes: Int? public var limitPrices: Int? public var limitPromotionalOffers: Int? public var limitSubscriptionLocalizations: Int? + public var limitWinBackOffers: Int? public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot - case familySharable - case group - case groupLevel - case introductoryOffers case name - case offerCodes - case pricePoints - case prices case productID = "productId" - case promotedPurchase - case promotionalOffers - case reviewNote + case familySharable case state - case subscriptionAvailability - case subscriptionLocalizations case subscriptionPeriod - } - - public enum Include: String, Codable, CaseIterable { + case reviewNote + case groupLevel + case subscriptionLocalizations case appStoreReviewScreenshot case group case introductoryOffers + case promotionalOffers case offerCodes case prices + case pricePoints case promotedPurchase - case promotionalOffers case subscriptionAvailability - case subscriptionLocalizations + case winBackOffers + case images } - public enum FieldsPromotedPurchases: String, Codable, CaseIterable { - case app - case enabled - case inAppPurchaseV2 - case promotionImages + public enum FieldsSubscriptionLocalizations: String, Codable, CaseIterable { + case name + case locale + case description case state case subscription - case visibleForAllUsers } - public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { - case customerPrice - case equalizations - case proceeds - case proceedsYear2 + public enum FieldsSubscriptionAppStoreReviewScreenshots: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case imageAsset + case assetToken + case assetType + case uploadOperations + case assetDeliveryState + case uploaded + case subscription + } + + public enum FieldsSubscriptionIntroductoryOffers: String, Codable, CaseIterable { + case startDate + case endDate + case duration + case offerMode + case numberOfPeriods case subscription case territory + case subscriptionPricePoint } public enum FieldsSubscriptionPromotionalOffers: String, Codable, CaseIterable { - case duration case name - case numberOfPeriods case offerCode + case duration case offerMode - case prices + case numberOfPeriods case subscription + case prices } public enum FieldsSubscriptionOfferCodes: String, Codable, CaseIterable { - case active - case customCodes - case customerEligibilities - case duration case name - case numberOfPeriods + case customerEligibilities case offerEligibility + case duration case offerMode + case numberOfPeriods + case totalNumberOfCodes + case active + case subscription case oneTimeUseCodes + case customCodes case prices - case subscription - case totalNumberOfCodes } - public enum FieldsSubscriptionAppStoreReviewScreenshots: String, Codable, CaseIterable { - case assetDeliveryState - case assetToken - case assetType - case fileName - case fileSize - case imageAsset - case sourceFileChecksum + public enum FieldsSubscriptionPrices: String, Codable, CaseIterable { + case startDate + case preserved + case preserveCurrentPrice case subscription - case uploadOperations - case uploaded + case territory + case subscriptionPricePoint } - public enum FieldsSubscriptionAvailabilities: String, Codable, CaseIterable { - case availableInNewTerritories - case availableTerritories + public enum FieldsPromotedPurchases: String, Codable, CaseIterable { + case visibleForAllUsers + case enabled + case state + case app + case inAppPurchaseV2 case subscription + case promotionImages } - public enum FieldsSubscriptionPrices: String, Codable, CaseIterable { - case preserveCurrentPrice - case preserved - case startDate + public enum FieldsSubscriptionAvailabilities: String, Codable, CaseIterable { + case availableInNewTerritories case subscription - case subscriptionPricePoint - case territory + case availableTerritories } - public enum FieldsSubscriptionIntroductoryOffers: String, Codable, CaseIterable { + public enum FieldsWinBackOffers: String, Codable, CaseIterable { + case referenceName + case offerID = "offerId" case duration - case endDate - case numberOfPeriods case offerMode + case periodCount + case customerEligibilityPaidSubscriptionDurationInMonths + case customerEligibilityTimeSinceLastSubscribedInMonths + case customerEligibilityWaitBetweenOffersInMonths case startDate + case endDate + case priority + case promotionIntent case subscription - case subscriptionPricePoint - case territory + case prices } - public enum FieldsSubscriptionLocalizations: String, Codable, CaseIterable { - case description - case locale - case name + public enum FieldsSubscriptionImages: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case assetToken + case imageAsset + case uploadOperations + case uploaded case state case subscription } - public init(fieldsSubscriptions: [FieldsSubscriptions]? = nil, include: [Include]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? = nil, fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? = nil, fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]? = nil, fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? = nil, fieldsSubscriptionPrices: [FieldsSubscriptionPrices]? = nil, fieldsSubscriptionIntroductoryOffers: [FieldsSubscriptionIntroductoryOffers]? = nil, fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? = nil, limitIntroductoryOffers: Int? = nil, limitOfferCodes: Int? = nil, limitPrices: Int? = nil, limitPromotionalOffers: Int? = nil, limitSubscriptionLocalizations: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case subscriptionLocalizations + case appStoreReviewScreenshot + case group + case introductoryOffers + case promotionalOffers + case offerCodes + case prices + case promotedPurchase + case subscriptionAvailability + case winBackOffers + case images + } + + public init(fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? = nil, fieldsSubscriptionAppStoreReviewScreenshots: [FieldsSubscriptionAppStoreReviewScreenshots]? = nil, fieldsSubscriptionIntroductoryOffers: [FieldsSubscriptionIntroductoryOffers]? = nil, fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? = nil, fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? = nil, fieldsSubscriptionPrices: [FieldsSubscriptionPrices]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? = nil, fieldsWinBackOffers: [FieldsWinBackOffers]? = nil, fieldsSubscriptionImages: [FieldsSubscriptionImages]? = nil, include: [Include]? = nil, limitImages: Int? = nil, limitIntroductoryOffers: Int? = nil, limitOfferCodes: Int? = nil, limitPrices: Int? = nil, limitPromotionalOffers: Int? = nil, limitSubscriptionLocalizations: Int? = nil, limitWinBackOffers: Int? = nil) { self.fieldsSubscriptions = fieldsSubscriptions - self.include = include - self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints + self.fieldsSubscriptionLocalizations = fieldsSubscriptionLocalizations + self.fieldsSubscriptionAppStoreReviewScreenshots = fieldsSubscriptionAppStoreReviewScreenshots + self.fieldsSubscriptionIntroductoryOffers = fieldsSubscriptionIntroductoryOffers self.fieldsSubscriptionPromotionalOffers = fieldsSubscriptionPromotionalOffers self.fieldsSubscriptionOfferCodes = fieldsSubscriptionOfferCodes - self.fieldsSubscriptionAppStoreReviewScreenshots = fieldsSubscriptionAppStoreReviewScreenshots - self.fieldsSubscriptionAvailabilities = fieldsSubscriptionAvailabilities self.fieldsSubscriptionPrices = fieldsSubscriptionPrices - self.fieldsSubscriptionIntroductoryOffers = fieldsSubscriptionIntroductoryOffers - self.fieldsSubscriptionLocalizations = fieldsSubscriptionLocalizations + self.fieldsPromotedPurchases = fieldsPromotedPurchases + self.fieldsSubscriptionAvailabilities = fieldsSubscriptionAvailabilities + self.fieldsWinBackOffers = fieldsWinBackOffers + self.fieldsSubscriptionImages = fieldsSubscriptionImages + self.include = include + self.limitImages = limitImages self.limitIntroductoryOffers = limitIntroductoryOffers self.limitOfferCodes = limitOfferCodes self.limitPrices = limitPrices self.limitPromotionalOffers = limitPromotionalOffers self.limitSubscriptionLocalizations = limitSubscriptionLocalizations + self.limitWinBackOffers = limitWinBackOffers } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") + encoder.encode(fieldsSubscriptionLocalizations, forKey: "fields[subscriptionLocalizations]") + encoder.encode(fieldsSubscriptionAppStoreReviewScreenshots, forKey: "fields[subscriptionAppStoreReviewScreenshots]") + encoder.encode(fieldsSubscriptionIntroductoryOffers, forKey: "fields[subscriptionIntroductoryOffers]") encoder.encode(fieldsSubscriptionPromotionalOffers, forKey: "fields[subscriptionPromotionalOffers]") encoder.encode(fieldsSubscriptionOfferCodes, forKey: "fields[subscriptionOfferCodes]") - encoder.encode(fieldsSubscriptionAppStoreReviewScreenshots, forKey: "fields[subscriptionAppStoreReviewScreenshots]") - encoder.encode(fieldsSubscriptionAvailabilities, forKey: "fields[subscriptionAvailabilities]") encoder.encode(fieldsSubscriptionPrices, forKey: "fields[subscriptionPrices]") - encoder.encode(fieldsSubscriptionIntroductoryOffers, forKey: "fields[subscriptionIntroductoryOffers]") - encoder.encode(fieldsSubscriptionLocalizations, forKey: "fields[subscriptionLocalizations]") + encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") + encoder.encode(fieldsSubscriptionAvailabilities, forKey: "fields[subscriptionAvailabilities]") + encoder.encode(fieldsWinBackOffers, forKey: "fields[winBackOffers]") + encoder.encode(fieldsSubscriptionImages, forKey: "fields[subscriptionImages]") + encoder.encode(include, forKey: "include") + encoder.encode(limitImages, forKey: "limit[images]") encoder.encode(limitIntroductoryOffers, forKey: "limit[introductoryOffers]") encoder.encode(limitOfferCodes, forKey: "limit[offerCodes]") encoder.encode(limitPrices, forKey: "limit[prices]") encoder.encode(limitPromotionalOffers, forKey: "limit[promotionalOffers]") encoder.encode(limitSubscriptionLocalizations, forKey: "limit[subscriptionLocalizations]") + encoder.encode(limitWinBackOffers, forKey: "limit[winBackOffers]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.SubscriptionUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "subscriptions-update_instance") + Request(path: path, method: "PATCH", body: body, id: "subscriptions_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "subscriptions-delete_instance") + Request(path: path, method: "DELETE", id: "subscriptions_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift index edd3d581..1220e4e7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-appStoreReviewScreenshot-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_appStoreReviewScreenshot_getToOneRelated") } public struct GetParameters { @@ -23,36 +23,38 @@ extension APIEndpoint.V1.Subscriptions.WithID { public var include: [Include]? public enum FieldsSubscriptionAppStoreReviewScreenshots: String, Codable, CaseIterable { - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset + case fileName case sourceFileChecksum - case subscription + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded + case subscription } public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot + case name + case productID = "productId" case familySharable - case group + case state + case subscriptionPeriod + case reviewNote case groupLevel + case subscriptionLocalizations + case appStoreReviewScreenshot + case group case introductoryOffers - case name + case promotionalOffers case offerCodes - case pricePoints case prices - case productID = "productId" + case pricePoints case promotedPurchase - case promotionalOffers - case reviewNote - case state case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod + case winBackOffers + case images } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDImages.swift new file mode 100644 index 00000000..230de76b --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDImages.swift @@ -0,0 +1,81 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Subscriptions.WithID { + public var images: Images { + Images(path: path + "/images") + } + + public struct Images { + /// Path: `/v1/subscriptions/{id}/images` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_images_getToManyRelated") + } + + public struct GetParameters { + public var fieldsSubscriptionImages: [FieldsSubscriptionImages]? + public var fieldsSubscriptions: [FieldsSubscriptions]? + public var limit: Int? + public var include: [Include]? + + public enum FieldsSubscriptionImages: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case assetToken + case imageAsset + case uploadOperations + case uploaded + case state + case subscription + } + + 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 Include: String, Codable, CaseIterable { + case subscription + } + + public init(fieldsSubscriptionImages: [FieldsSubscriptionImages]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, limit: Int? = nil, include: [Include]? = nil) { + self.fieldsSubscriptionImages = fieldsSubscriptionImages + self.fieldsSubscriptions = fieldsSubscriptions + self.limit = limit + self.include = include + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsSubscriptionImages, forKey: "fields[subscriptionImages]") + encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift index edecf041..6385f550 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift @@ -14,74 +14,76 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-introductoryOffers-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_introductoryOffers_getToManyRelated") } public struct GetParameters { public var filterTerritory: [String]? - public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? - public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsSubscriptionIntroductoryOffers: [FieldsSubscriptionIntroductoryOffers]? + public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsTerritories: [FieldsTerritories]? + public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? public var limit: Int? public var include: [Include]? - public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { - case customerPrice - case equalizations - case proceeds - case proceedsYear2 + public enum FieldsSubscriptionIntroductoryOffers: String, Codable, CaseIterable { + case startDate + case endDate + case duration + case offerMode + case numberOfPeriods case subscription case territory + case subscriptionPricePoint } public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot + case name + case productID = "productId" case familySharable - case group + case state + case subscriptionPeriod + case reviewNote case groupLevel + case subscriptionLocalizations + case appStoreReviewScreenshot + case group case introductoryOffers - case name + case promotionalOffers case offerCodes - case pricePoints case prices - case productID = "productId" + case pricePoints case promotedPurchase - case promotionalOffers - case reviewNote - case state case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod - } - - public enum FieldsSubscriptionIntroductoryOffers: String, Codable, CaseIterable { - case duration - case endDate - case numberOfPeriods - case offerMode - case startDate - case subscription - case subscriptionPricePoint - case territory + case winBackOffers + case images } public enum FieldsTerritories: String, Codable, CaseIterable { case currency } + public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { + case customerPrice + case proceeds + case proceedsYear2 + case territory + case subscription + case equalizations + } + public enum Include: String, Codable, CaseIterable { case subscription - case subscriptionPricePoint case territory + case subscriptionPricePoint } - public init(filterTerritory: [String]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionIntroductoryOffers: [FieldsSubscriptionIntroductoryOffers]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterTerritory: [String]? = nil, fieldsSubscriptionIntroductoryOffers: [FieldsSubscriptionIntroductoryOffers]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterTerritory = filterTerritory - self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints - self.fieldsSubscriptions = fieldsSubscriptions self.fieldsSubscriptionIntroductoryOffers = fieldsSubscriptionIntroductoryOffers + self.fieldsSubscriptions = fieldsSubscriptions self.fieldsTerritories = fieldsTerritories + self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints self.limit = limit self.include = include } @@ -89,10 +91,10 @@ extension APIEndpoint.V1.Subscriptions.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterTerritory, forKey: "filter[territory]") - encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") - encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsSubscriptionIntroductoryOffers, forKey: "fields[subscriptionIntroductoryOffers]") + encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") + encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift index 6ba4a776..6b4ac6d3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift @@ -14,114 +14,116 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-offerCodes-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_offerCodes_getToManyRelated") } public struct GetParameters { public var filterTerritory: [String]? - public var fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]? public var fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? - public var fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? public var fieldsSubscriptions: [FieldsSubscriptions]? + public var fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? + public var fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]? public var fieldsSubscriptionOfferCodePrices: [FieldsSubscriptionOfferCodePrices]? public var limit: Int? + public var include: [Include]? public var limitOneTimeUseCodes: Int? public var limitCustomCodes: Int? public var limitPrices: Int? - public var include: [Include]? - - public enum FieldsSubscriptionOfferCodeCustomCodes: String, Codable, CaseIterable { - case active - case createdDate - case customCode - case expirationDate - case numberOfCodes - case offerCode - } public enum FieldsSubscriptionOfferCodes: String, Codable, CaseIterable { - case active - case customCodes - case customerEligibilities - case duration case name - case numberOfPeriods + case customerEligibilities case offerEligibility + case duration case offerMode - case oneTimeUseCodes - case prices - case subscription + case numberOfPeriods case totalNumberOfCodes - } - - public enum FieldsSubscriptionOfferCodeOneTimeUseCodes: String, Codable, CaseIterable { case active - case createdDate - case expirationDate - case numberOfCodes - case offerCode - case values + case subscription + case oneTimeUseCodes + case customCodes + case prices } public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot + case name + case productID = "productId" case familySharable - case group + case state + case subscriptionPeriod + case reviewNote case groupLevel + case subscriptionLocalizations + case appStoreReviewScreenshot + case group case introductoryOffers - case name + case promotionalOffers case offerCodes - case pricePoints case prices - case productID = "productId" + case pricePoints case promotedPurchase - case promotionalOffers - case reviewNote - case state case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod + case winBackOffers + case images + } + + public enum FieldsSubscriptionOfferCodeOneTimeUseCodes: String, Codable, CaseIterable { + case numberOfCodes + case createdDate + case expirationDate + case active + case offerCode + case values + } + + public enum FieldsSubscriptionOfferCodeCustomCodes: String, Codable, CaseIterable { + case customCode + case numberOfCodes + case createdDate + case expirationDate + case active + case offerCode } public enum FieldsSubscriptionOfferCodePrices: String, Codable, CaseIterable { - case subscriptionPricePoint case territory + case subscriptionPricePoint } public enum Include: String, Codable, CaseIterable { - case customCodes + case subscription case oneTimeUseCodes + case customCodes case prices - case subscription } - public init(filterTerritory: [String]? = nil, fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]? = nil, fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? = nil, fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionOfferCodePrices: [FieldsSubscriptionOfferCodePrices]? = nil, limit: Int? = nil, limitOneTimeUseCodes: Int? = nil, limitCustomCodes: Int? = nil, limitPrices: Int? = nil, include: [Include]? = nil) { + public init(filterTerritory: [String]? = nil, fieldsSubscriptionOfferCodes: [FieldsSubscriptionOfferCodes]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionOfferCodeOneTimeUseCodes: [FieldsSubscriptionOfferCodeOneTimeUseCodes]? = nil, fieldsSubscriptionOfferCodeCustomCodes: [FieldsSubscriptionOfferCodeCustomCodes]? = nil, fieldsSubscriptionOfferCodePrices: [FieldsSubscriptionOfferCodePrices]? = nil, limit: Int? = nil, include: [Include]? = nil, limitOneTimeUseCodes: Int? = nil, limitCustomCodes: Int? = nil, limitPrices: Int? = nil) { self.filterTerritory = filterTerritory - self.fieldsSubscriptionOfferCodeCustomCodes = fieldsSubscriptionOfferCodeCustomCodes self.fieldsSubscriptionOfferCodes = fieldsSubscriptionOfferCodes - self.fieldsSubscriptionOfferCodeOneTimeUseCodes = fieldsSubscriptionOfferCodeOneTimeUseCodes self.fieldsSubscriptions = fieldsSubscriptions + self.fieldsSubscriptionOfferCodeOneTimeUseCodes = fieldsSubscriptionOfferCodeOneTimeUseCodes + self.fieldsSubscriptionOfferCodeCustomCodes = fieldsSubscriptionOfferCodeCustomCodes self.fieldsSubscriptionOfferCodePrices = fieldsSubscriptionOfferCodePrices self.limit = limit + self.include = include self.limitOneTimeUseCodes = limitOneTimeUseCodes self.limitCustomCodes = limitCustomCodes self.limitPrices = limitPrices - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterTerritory, forKey: "filter[territory]") - encoder.encode(fieldsSubscriptionOfferCodeCustomCodes, forKey: "fields[subscriptionOfferCodeCustomCodes]") encoder.encode(fieldsSubscriptionOfferCodes, forKey: "fields[subscriptionOfferCodes]") - encoder.encode(fieldsSubscriptionOfferCodeOneTimeUseCodes, forKey: "fields[subscriptionOfferCodeOneTimeUseCodes]") encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") + encoder.encode(fieldsSubscriptionOfferCodeOneTimeUseCodes, forKey: "fields[subscriptionOfferCodeOneTimeUseCodes]") + encoder.encode(fieldsSubscriptionOfferCodeCustomCodes, forKey: "fields[subscriptionOfferCodeCustomCodes]") encoder.encode(fieldsSubscriptionOfferCodePrices, forKey: "fields[subscriptionOfferCodePrices]") encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") encoder.encode(limitOneTimeUseCodes, forKey: "limit[oneTimeUseCodes]") encoder.encode(limitCustomCodes, forKey: "limit[customCodes]") encoder.encode(limitPrices, forKey: "limit[prices]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift index 93091ab0..bc2fca19 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPricePoints.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-pricePoints-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_pricePoints_getToManyRelated") } public struct GetParameters { @@ -26,11 +26,11 @@ extension APIEndpoint.V1.Subscriptions.WithID { public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { case customerPrice - case equalizations case proceeds case proceedsYear2 - case subscription case territory + case subscription + case equalizations } public enum FieldsTerritories: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift index ae0dfc51..6f251cdf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPrices.swift @@ -14,51 +14,51 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-prices-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_prices_getToManyRelated") } public struct GetParameters { public var filterSubscriptionPricePoint: [String]? public var filterTerritory: [String]? - public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? public var fieldsSubscriptionPrices: [FieldsSubscriptionPrices]? public var fieldsTerritories: [FieldsTerritories]? + public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? public var limit: Int? public var include: [Include]? - public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { - case customerPrice - case equalizations - case proceeds - case proceedsYear2 - case subscription - case territory - } - public enum FieldsSubscriptionPrices: String, Codable, CaseIterable { - case preserveCurrentPrice - case preserved case startDate + case preserved + case preserveCurrentPrice case subscription - case subscriptionPricePoint case territory + case subscriptionPricePoint } public enum FieldsTerritories: String, Codable, CaseIterable { case currency } + public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { + case customerPrice + case proceeds + case proceedsYear2 + case territory + case subscription + case equalizations + } + public enum Include: String, Codable, CaseIterable { - case subscriptionPricePoint case territory + case subscriptionPricePoint } - public init(filterSubscriptionPricePoint: [String]? = nil, filterTerritory: [String]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, fieldsSubscriptionPrices: [FieldsSubscriptionPrices]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil, include: [Include]? = nil) { + public init(filterSubscriptionPricePoint: [String]? = nil, filterTerritory: [String]? = nil, fieldsSubscriptionPrices: [FieldsSubscriptionPrices]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.filterSubscriptionPricePoint = filterSubscriptionPricePoint self.filterTerritory = filterTerritory - self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints self.fieldsSubscriptionPrices = fieldsSubscriptionPrices self.fieldsTerritories = fieldsTerritories + self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints self.limit = limit self.include = include } @@ -67,9 +67,9 @@ extension APIEndpoint.V1.Subscriptions.WithID { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterSubscriptionPricePoint, forKey: "filter[subscriptionPricePoint]") encoder.encode(filterTerritory, forKey: "filter[territory]") - encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") encoder.encode(fieldsSubscriptionPrices, forKey: "fields[subscriptionPrices]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") + encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift index 125156f5..6977729f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift @@ -14,101 +14,104 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-promotedPurchase-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_promotedPurchase_getToOneRelated") } public struct GetParameters { public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsInAppPurchases: [FieldsInAppPurchases]? + public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? - public var limitPromotionImages: Int? public var include: [Include]? + public var limitPromotionImages: Int? public enum FieldsPromotedPurchases: String, Codable, CaseIterable { - case app + case visibleForAllUsers case enabled - case inAppPurchaseV2 - case promotionImages case state + case app + case inAppPurchaseV2 case subscription - case visibleForAllUsers + case promotionImages } - public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot - case familySharable - case group - case groupLevel - case introductoryOffers + public enum FieldsInAppPurchases: String, Codable, CaseIterable { case name - case offerCodes - case pricePoints - case prices case productID = "productId" - case promotedPurchase - case promotionalOffers - case reviewNote + case inAppPurchaseType case state - case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod - } - - public enum FieldsInAppPurchases: String, Codable, CaseIterable { + case reviewNote + case familySharable + case contentHosting case app - case appStoreReviewScreenshot + case inAppPurchaseLocalizations + case pricePoints case content - case contentHosting - case familySharable + case appStoreReviewScreenshot + case promotedPurchase case iapPriceSchedule case inAppPurchaseAvailability - case inAppPurchaseLocalizations - case inAppPurchaseType + case images + } + + public enum FieldsSubscriptions: String, Codable, CaseIterable { case name - case pricePoints case productID = "productId" - case promotedPurchase - case reviewNote + 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 FieldsPromotedPurchaseImages: String, Codable, CaseIterable { - case assetToken - case assetType - case fileName case fileSize - case imageAsset - case promotedPurchase + case fileName case sourceFileChecksum - case state + case assetToken + case imageAsset + case assetType case uploadOperations case uploaded + case state + case promotedPurchase } public enum Include: String, Codable, CaseIterable { case inAppPurchaseV2 - case promotionImages case subscription + case promotionImages } - public init(fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, limitPromotionImages: Int? = nil, include: [Include]? = nil) { + public init(fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, include: [Include]? = nil, limitPromotionImages: Int? = nil) { self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.fieldsSubscriptions = fieldsSubscriptions self.fieldsInAppPurchases = fieldsInAppPurchases + self.fieldsSubscriptions = fieldsSubscriptions self.fieldsPromotedPurchaseImages = fieldsPromotedPurchaseImages - self.limitPromotionImages = limitPromotionImages self.include = include + self.limitPromotionImages = limitPromotionImages } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") + encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsPromotedPurchaseImages, forKey: "fields[promotedPurchaseImages]") - encoder.encode(limitPromotionImages, forKey: "limit[promotionImages]") encoder.encode(include, forKey: "include") + encoder.encode(limitPromotionImages, forKey: "limit[promotionImages]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift index 2a6c1f4d..8a30348b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-promotionalOffers-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_promotionalOffers_getToManyRelated") } public struct GetParameters { @@ -23,57 +23,59 @@ extension APIEndpoint.V1.Subscriptions.WithID { public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsSubscriptionPromotionalOfferPrices: [FieldsSubscriptionPromotionalOfferPrices]? public var limit: Int? - public var limitPrices: Int? public var include: [Include]? + public var limitPrices: Int? public enum FieldsSubscriptionPromotionalOffers: String, Codable, CaseIterable { - case duration case name - case numberOfPeriods case offerCode + case duration case offerMode - case prices + case numberOfPeriods case subscription + case prices } public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot + case name + case productID = "productId" case familySharable - case group + case state + case subscriptionPeriod + case reviewNote case groupLevel + case subscriptionLocalizations + case appStoreReviewScreenshot + case group case introductoryOffers - case name + case promotionalOffers case offerCodes - case pricePoints case prices - case productID = "productId" + case pricePoints case promotedPurchase - case promotionalOffers - case reviewNote - case state case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod + case winBackOffers + case images } public enum FieldsSubscriptionPromotionalOfferPrices: String, Codable, CaseIterable { - case subscriptionPricePoint case territory + case subscriptionPricePoint } public enum Include: String, Codable, CaseIterable { - case prices case subscription + case prices } - public init(filterTerritory: [String]? = nil, fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionPromotionalOfferPrices: [FieldsSubscriptionPromotionalOfferPrices]? = nil, limit: Int? = nil, limitPrices: Int? = nil, include: [Include]? = nil) { + public init(filterTerritory: [String]? = nil, fieldsSubscriptionPromotionalOffers: [FieldsSubscriptionPromotionalOffers]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionPromotionalOfferPrices: [FieldsSubscriptionPromotionalOfferPrices]? = nil, limit: Int? = nil, include: [Include]? = nil, limitPrices: Int? = nil) { self.filterTerritory = filterTerritory self.fieldsSubscriptionPromotionalOffers = fieldsSubscriptionPromotionalOffers self.fieldsSubscriptions = fieldsSubscriptions self.fieldsSubscriptionPromotionalOfferPrices = fieldsSubscriptionPromotionalOfferPrices self.limit = limit - self.limitPrices = limitPrices self.include = include + self.limitPrices = limitPrices } public var asQuery: [(String, String?)] { @@ -83,8 +85,8 @@ extension APIEndpoint.V1.Subscriptions.WithID { encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsSubscriptionPromotionalOfferPrices, forKey: "fields[subscriptionPromotionalOfferPrices]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitPrices, forKey: "limit[prices]") encoder.encode(include, forKey: "include") + encoder.encode(limitPrices, forKey: "limit[prices]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsIntroductoryOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsIntroductoryOffers.swift index c10750ed..9e6234d7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsIntroductoryOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsIntroductoryOffers.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "subscriptions-introductoryOffers-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "subscriptions_introductoryOffers_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.Subscriptions.WithID.Relationships { } public func delete(_ body: AppStoreConnect_Swift_SDK.SubscriptionIntroductoryOffersLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "subscriptions-introductoryOffers-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "subscriptions_introductoryOffers_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPrices.swift index ee7c6c25..787e30f8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPrices.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Subscriptions.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "subscriptions-prices-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "subscriptions_prices_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,7 +24,7 @@ extension APIEndpoint.V1.Subscriptions.WithID.Relationships { } public func delete(_ body: AppStoreConnect_Swift_SDK.SubscriptionPricesLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "subscriptions-prices-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "subscriptions_prices_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift index b0ad66a3..7b0f61a7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift @@ -14,40 +14,42 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-subscriptionAvailability-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_subscriptionAvailability_getToOneRelated") } public struct GetParameters { public var fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsTerritories: [FieldsTerritories]? - public var limitAvailableTerritories: Int? public var include: [Include]? + public var limitAvailableTerritories: Int? public enum FieldsSubscriptionAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case availableTerritories case subscription + case availableTerritories } public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot + case name + case productID = "productId" case familySharable - case group + case state + case subscriptionPeriod + case reviewNote case groupLevel + case subscriptionLocalizations + case appStoreReviewScreenshot + case group case introductoryOffers - case name + case promotionalOffers case offerCodes - case pricePoints case prices - case productID = "productId" + case pricePoints case promotedPurchase - case promotionalOffers - case reviewNote - case state case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod + case winBackOffers + case images } public enum FieldsTerritories: String, Codable, CaseIterable { @@ -55,16 +57,16 @@ extension APIEndpoint.V1.Subscriptions.WithID { } public enum Include: String, Codable, CaseIterable { - case availableTerritories case subscription + case availableTerritories } - public init(fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitAvailableTerritories: Int? = nil, include: [Include]? = nil) { + public init(fieldsSubscriptionAvailabilities: [FieldsSubscriptionAvailabilities]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, include: [Include]? = nil, limitAvailableTerritories: Int? = nil) { self.fieldsSubscriptionAvailabilities = fieldsSubscriptionAvailabilities self.fieldsSubscriptions = fieldsSubscriptions self.fieldsTerritories = fieldsTerritories - self.limitAvailableTerritories = limitAvailableTerritories self.include = include + self.limitAvailableTerritories = limitAvailableTerritories } public var asQuery: [(String, String?)] { @@ -72,8 +74,8 @@ extension APIEndpoint.V1.Subscriptions.WithID { encoder.encode(fieldsSubscriptionAvailabilities, forKey: "fields[subscriptionAvailabilities]") encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") - encoder.encode(limitAvailableTerritories, forKey: "limit[availableTerritories]") encoder.encode(include, forKey: "include") + encoder.encode(limitAvailableTerritories, forKey: "limit[availableTerritories]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift index 692f2b20..322b072c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift @@ -14,58 +14,60 @@ extension APIEndpoint.V1.Subscriptions.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions-subscriptionLocalizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_subscriptionLocalizations_getToManyRelated") } public struct GetParameters { - public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? + public var fieldsSubscriptions: [FieldsSubscriptions]? public var limit: Int? public var include: [Include]? + public enum FieldsSubscriptionLocalizations: String, Codable, CaseIterable { + case name + case locale + case description + case state + case subscription + } + public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot + case name + case productID = "productId" case familySharable - case group + case state + case subscriptionPeriod + case reviewNote case groupLevel + case subscriptionLocalizations + case appStoreReviewScreenshot + case group case introductoryOffers - case name + case promotionalOffers case offerCodes - case pricePoints case prices - case productID = "productId" + case pricePoints case promotedPurchase - case promotionalOffers - case reviewNote - case state case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod - } - - public enum FieldsSubscriptionLocalizations: String, Codable, CaseIterable { - case description - case locale - case name - case state - case subscription + case winBackOffers + case images } public enum Include: String, Codable, CaseIterable { case subscription } - public init(fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil) { - self.fieldsSubscriptions = fieldsSubscriptions + public init(fieldsSubscriptionLocalizations: [FieldsSubscriptionLocalizations]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, limit: Int? = nil, include: [Include]? = nil) { self.fieldsSubscriptionLocalizations = fieldsSubscriptionLocalizations + self.fieldsSubscriptions = fieldsSubscriptions self.limit = limit self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsSubscriptionLocalizations, forKey: "fields[subscriptionLocalizations]") + encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") return encoder.items diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDWinBackOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDWinBackOffers.swift new file mode 100644 index 00000000..47d66413 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDWinBackOffers.swift @@ -0,0 +1,72 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Subscriptions.WithID { + public var winBackOffers: WinBackOffers { + WinBackOffers(path: path + "/winBackOffers") + } + + public struct WinBackOffers { + /// Path: `/v1/subscriptions/{id}/winBackOffers` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "subscriptions_winBackOffers_getToManyRelated") + } + + public struct GetParameters { + public var fieldsWinBackOffers: [FieldsWinBackOffers]? + public var fieldsWinBackOfferPrices: [FieldsWinBackOfferPrices]? + public var limit: Int? + public var include: [Include]? + public var limitPrices: Int? + + public enum FieldsWinBackOffers: String, Codable, CaseIterable { + case referenceName + case offerID = "offerId" + case duration + case offerMode + case periodCount + case customerEligibilityPaidSubscriptionDurationInMonths + case customerEligibilityTimeSinceLastSubscribedInMonths + case customerEligibilityWaitBetweenOffersInMonths + case startDate + case endDate + case priority + case promotionIntent + case subscription + case prices + } + + public enum FieldsWinBackOfferPrices: String, Codable, CaseIterable { + case territory + case subscriptionPricePoint + } + + public enum Include: String, Codable, CaseIterable { + case prices + } + + public init(fieldsWinBackOffers: [FieldsWinBackOffers]? = nil, fieldsWinBackOfferPrices: [FieldsWinBackOfferPrices]? = nil, limit: Int? = nil, include: [Include]? = nil, limitPrices: Int? = nil) { + self.fieldsWinBackOffers = fieldsWinBackOffers + self.fieldsWinBackOfferPrices = fieldsWinBackOfferPrices + self.limit = limit + self.include = include + self.limitPrices = limitPrices + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsWinBackOffers, forKey: "fields[winBackOffers]") + encoder.encode(fieldsWinBackOfferPrices, forKey: "fields[winBackOfferPrices]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") + encoder.encode(limitPrices, forKey: "limit[prices]") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Territories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Territories.swift index a6bb6431..e5ad1755 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Territories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Territories.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(fieldsTerritories: [FieldsTerritories]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "territories-get_collection") + Request(path: path, method: "GET", query: makeGetQuery(fieldsTerritories, limit), id: "territories_getCollection") } private func makeGetQuery(_ fieldsTerritories: [FieldsTerritories]?, _ limit: Int?) -> [(String, String?)] { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilitiesWithID.swift index 8dba9da9..08354a60 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilitiesWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.TerritoryAvailabilities { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.TerritoryAvailabilityUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "territoryAvailabilities-update_instance") + Request(path: path, method: "PATCH", body: body, id: "territoryAvailabilities_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift index 57cb1719..31b7db89 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "userInvitations-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "userInvitations_getCollection") } public struct GetParameters { @@ -23,9 +23,9 @@ extension APIEndpoint.V1 { public var filterVisibleApps: [String]? public var sort: [Sort]? public var fieldsUserInvitations: [FieldsUserInvitations]? + public var fieldsApps: [FieldsApps]? public var limit: Int? public var include: [Include]? - public var fieldsApps: [FieldsApps]? public var limitVisibleApps: Int? public enum FilterRoles: String, Codable, CaseIterable { @@ -52,75 +52,77 @@ extension APIEndpoint.V1 { } public enum FieldsUserInvitations: String, Codable, CaseIterable { - case allAppsVisible case email - case expirationDate case firstName case lastName - case provisioningAllowed + case expirationDate case roles - case visibleApps - } - - public enum Include: String, Codable, CaseIterable { + case allAppsVisible + case provisioningAllowed case visibleApps } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum Include: String, Codable, CaseIterable { + case visibleApps } - public init(filterEmail: [String]? = nil, filterRoles: [FilterRoles]? = nil, filterVisibleApps: [String]? = nil, sort: [Sort]? = nil, fieldsUserInvitations: [FieldsUserInvitations]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil, limitVisibleApps: Int? = nil) { + public init(filterEmail: [String]? = nil, filterRoles: [FilterRoles]? = nil, filterVisibleApps: [String]? = nil, sort: [Sort]? = nil, fieldsUserInvitations: [FieldsUserInvitations]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil, limitVisibleApps: Int? = nil) { self.filterEmail = filterEmail self.filterRoles = filterRoles self.filterVisibleApps = filterVisibleApps self.sort = sort self.fieldsUserInvitations = fieldsUserInvitations + self.fieldsApps = fieldsApps self.limit = limit self.include = include - self.fieldsApps = fieldsApps self.limitVisibleApps = limitVisibleApps } @@ -131,16 +133,16 @@ extension APIEndpoint.V1 { encoder.encode(filterVisibleApps, forKey: "filter[visibleApps]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsUserInvitations, forKey: "fields[userInvitations]") + encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limitVisibleApps, forKey: "limit[visibleApps]") return encoder.items } } public func post(_ body: AppStoreConnect_Swift_SDK.UserInvitationCreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "userInvitations-create_instance") + Request(path: path, method: "POST", body: body, id: "userInvitations_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift index 99851d15..1cc67a0a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift @@ -14,95 +14,97 @@ extension APIEndpoint.V1.UserInvitations { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "userInvitations-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "userInvitations_getInstance") } public struct GetParameters { public var fieldsUserInvitations: [FieldsUserInvitations]? - public var include: [Include]? public var fieldsApps: [FieldsApps]? + public var include: [Include]? public var limitVisibleApps: Int? public enum FieldsUserInvitations: String, Codable, CaseIterable { - case allAppsVisible case email - case expirationDate case firstName case lastName - case provisioningAllowed + case expirationDate case roles - case visibleApps - } - - public enum Include: String, Codable, CaseIterable { + case allAppsVisible + case provisioningAllowed case visibleApps } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum Include: String, Codable, CaseIterable { + case visibleApps } - public init(fieldsUserInvitations: [FieldsUserInvitations]? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil, limitVisibleApps: Int? = nil) { + public init(fieldsUserInvitations: [FieldsUserInvitations]? = nil, fieldsApps: [FieldsApps]? = nil, include: [Include]? = nil, limitVisibleApps: Int? = nil) { self.fieldsUserInvitations = fieldsUserInvitations - self.include = include self.fieldsApps = fieldsApps + self.include = include self.limitVisibleApps = limitVisibleApps } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsUserInvitations, forKey: "fields[userInvitations]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(include, forKey: "include") encoder.encode(limitVisibleApps, forKey: "limit[visibleApps]") return encoder.items } } public var delete: Request { - Request(path: path, method: "DELETE", id: "userInvitations-delete_instance") + Request(path: path, method: "DELETE", id: "userInvitations_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift index f4df5eae..9923ff47 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.UserInvitations.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps, limit), id: "userInvitations-visibleApps-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps, limit), id: "userInvitations_visibleApps_getToManyRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?, _ limit: Int?) -> [(String, String?)] { @@ -25,49 +25,51 @@ extension APIEndpoint.V1.UserInvitations.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift index fb9a751c..981df2b9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift @@ -14,18 +14,18 @@ extension APIEndpoint.V1 { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "users-get_collection") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "users_getCollection") } public struct GetParameters { - public var filterRoles: [FilterRoles]? public var filterUsername: [String]? + public var filterRoles: [FilterRoles]? public var filterVisibleApps: [String]? public var sort: [Sort]? public var fieldsUsers: [FieldsUsers]? + public var fieldsApps: [FieldsApps]? public var limit: Int? public var include: [Include]? - public var fieldsApps: [FieldsApps]? public var limitVisibleApps: Int? public enum FilterRoles: String, Codable, CaseIterable { @@ -45,94 +45,96 @@ extension APIEndpoint.V1 { } public enum Sort: String, Codable, CaseIterable { - case lastName - case minuslastName = "-lastName" case username case minususername = "-username" + case lastName + case minuslastName = "-lastName" } public enum FieldsUsers: String, Codable, CaseIterable { - case allAppsVisible + case username case firstName case lastName - case provisioningAllowed case roles - case username - case visibleApps - } - - public enum Include: String, Codable, CaseIterable { + case allAppsVisible + case provisioningAllowed case visibleApps } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } - public init(filterRoles: [FilterRoles]? = nil, filterUsername: [String]? = nil, filterVisibleApps: [String]? = nil, sort: [Sort]? = nil, fieldsUsers: [FieldsUsers]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil, limitVisibleApps: Int? = nil) { - self.filterRoles = filterRoles + public enum Include: String, Codable, CaseIterable { + case visibleApps + } + + public init(filterUsername: [String]? = nil, filterRoles: [FilterRoles]? = nil, filterVisibleApps: [String]? = nil, sort: [Sort]? = nil, fieldsUsers: [FieldsUsers]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil, limitVisibleApps: Int? = nil) { self.filterUsername = filterUsername + self.filterRoles = filterRoles self.filterVisibleApps = filterVisibleApps self.sort = sort self.fieldsUsers = fieldsUsers + self.fieldsApps = fieldsApps self.limit = limit self.include = include - self.fieldsApps = fieldsApps self.limitVisibleApps = limitVisibleApps } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(filterRoles, forKey: "filter[roles]") encoder.encode(filterUsername, forKey: "filter[username]") + encoder.encode(filterRoles, forKey: "filter[roles]") encoder.encode(filterVisibleApps, forKey: "filter[visibleApps]") encoder.encode(sort, forKey: "sort") encoder.encode(fieldsUsers, forKey: "fields[users]") + encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limit, forKey: "limit") encoder.encode(include, forKey: "include") - encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(limitVisibleApps, forKey: "limit[visibleApps]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift index 21dea568..b7b53569 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift @@ -14,98 +14,100 @@ extension APIEndpoint.V1.Users { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "users-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "users_getInstance") } public struct GetParameters { public var fieldsUsers: [FieldsUsers]? - public var include: [Include]? public var fieldsApps: [FieldsApps]? + public var include: [Include]? public var limitVisibleApps: Int? public enum FieldsUsers: String, Codable, CaseIterable { - case allAppsVisible + case username case firstName case lastName - case provisioningAllowed case roles - case username - case visibleApps - } - - public enum Include: String, Codable, CaseIterable { + case allAppsVisible + case provisioningAllowed case visibleApps } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail + } + + public enum Include: String, Codable, CaseIterable { + case visibleApps } - public init(fieldsUsers: [FieldsUsers]? = nil, include: [Include]? = nil, fieldsApps: [FieldsApps]? = nil, limitVisibleApps: Int? = nil) { + public init(fieldsUsers: [FieldsUsers]? = nil, fieldsApps: [FieldsApps]? = nil, include: [Include]? = nil, limitVisibleApps: Int? = nil) { self.fieldsUsers = fieldsUsers - self.include = include self.fieldsApps = fieldsApps + self.include = include self.limitVisibleApps = limitVisibleApps } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsUsers, forKey: "fields[users]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsApps, forKey: "fields[apps]") + encoder.encode(include, forKey: "include") encoder.encode(limitVisibleApps, forKey: "limit[visibleApps]") return encoder.items } } public func patch(_ body: AppStoreConnect_Swift_SDK.UserUpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "users-update_instance") + Request(path: path, method: "PATCH", body: body, id: "users_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "users-delete_instance") + Request(path: path, method: "DELETE", id: "users_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationshipsVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationshipsVisibleApps.swift index 18ccb40a..c5544408 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationshipsVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationshipsVisibleApps.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Users.WithID.Relationships { public let path: String public func get(limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(limit), id: "users-visibleApps-get_to_many_relationship") + Request(path: path, method: "GET", query: makeGetQuery(limit), id: "users_visibleApps_getToManyRelationship") } private func makeGetQuery(_ limit: Int?) -> [(String, String?)] { @@ -24,15 +24,15 @@ extension APIEndpoint.V1.Users.WithID.Relationships { } public func post(_ body: AppStoreConnect_Swift_SDK.UserVisibleAppsLinkagesRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "users-visibleApps-create_to_many_relationship") + Request(path: path, method: "POST", body: body, id: "users_visibleApps_createToManyRelationship") } public func patch(_ body: AppStoreConnect_Swift_SDK.UserVisibleAppsLinkagesRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "users-visibleApps-replace_to_many_relationship") + Request(path: path, method: "PATCH", body: body, id: "users_visibleApps_replaceToManyRelationship") } public func delete(_ body: AppStoreConnect_Swift_SDK.UserVisibleAppsLinkagesRequest) -> Request { - Request(path: path, method: "DELETE", body: body, id: "users-visibleApps-delete_to_many_relationship") + Request(path: path, method: "DELETE", body: body, id: "users_visibleApps_deleteToManyRelationship") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift index 1a18b02a..be82e3f8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V1.Users.WithID { public let path: String public func get(fieldsApps: [FieldsApps]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsApps, limit), id: "users-visibleApps-get_to_many_related") + Request(path: path, method: "GET", query: makeGetQuery(fieldsApps, limit), id: "users_visibleApps_getToManyRelated") } private func makeGetQuery(_ fieldsApps: [FieldsApps]?, _ limit: Int?) -> [(String, String?)] { @@ -25,49 +25,51 @@ extension APIEndpoint.V1.Users.WithID { } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffers.swift new file mode 100644 index 00000000..c3beb169 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffers.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var winBackOffers: WinBackOffers { + WinBackOffers(path: path + "/winBackOffers") + } + + public struct WinBackOffers { + /// Path: `/v1/winBackOffers` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.WinBackOfferCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "winBackOffers_createInstance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithID.swift new file mode 100644 index 00000000..631c2161 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithID.swift @@ -0,0 +1,77 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.WinBackOffers { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/winBackOffers/{id}` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "winBackOffers_getInstance") + } + + public struct GetParameters { + public var fieldsWinBackOffers: [FieldsWinBackOffers]? + public var fieldsWinBackOfferPrices: [FieldsWinBackOfferPrices]? + public var include: [Include]? + public var limitPrices: Int? + + public enum FieldsWinBackOffers: String, Codable, CaseIterable { + case referenceName + case offerID = "offerId" + case duration + case offerMode + case periodCount + case customerEligibilityPaidSubscriptionDurationInMonths + case customerEligibilityTimeSinceLastSubscribedInMonths + case customerEligibilityWaitBetweenOffersInMonths + case startDate + case endDate + case priority + case promotionIntent + case subscription + case prices + } + + public enum FieldsWinBackOfferPrices: String, Codable, CaseIterable { + case territory + case subscriptionPricePoint + } + + public enum Include: String, Codable, CaseIterable { + case prices + } + + public init(fieldsWinBackOffers: [FieldsWinBackOffers]? = nil, fieldsWinBackOfferPrices: [FieldsWinBackOfferPrices]? = nil, include: [Include]? = nil, limitPrices: Int? = nil) { + self.fieldsWinBackOffers = fieldsWinBackOffers + self.fieldsWinBackOfferPrices = fieldsWinBackOfferPrices + self.include = include + self.limitPrices = limitPrices + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsWinBackOffers, forKey: "fields[winBackOffers]") + encoder.encode(fieldsWinBackOfferPrices, forKey: "fields[winBackOfferPrices]") + encoder.encode(include, forKey: "include") + encoder.encode(limitPrices, forKey: "limit[prices]") + return encoder.items + } + } + + public func patch(_ body: AppStoreConnect_Swift_SDK.WinBackOfferUpdateRequest) -> Request { + Request(path: path, method: "PATCH", body: body, id: "winBackOffers_updateInstance") + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "winBackOffers_deleteInstance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithIDPrices.swift new file mode 100644 index 00000000..ec5357a1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithIDPrices.swift @@ -0,0 +1,72 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.WinBackOffers.WithID { + public var prices: Prices { + Prices(path: path + "/prices") + } + + public struct Prices { + /// Path: `/v1/winBackOffers/{id}/prices` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "winBackOffers_prices_getToManyRelated") + } + + public struct GetParameters { + public var filterTerritory: [String]? + public var fieldsWinBackOfferPrices: [FieldsWinBackOfferPrices]? + public var fieldsTerritories: [FieldsTerritories]? + public var fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? + public var limit: Int? + public var include: [Include]? + + public enum FieldsWinBackOfferPrices: String, Codable, CaseIterable { + case territory + case subscriptionPricePoint + } + + public enum FieldsTerritories: String, Codable, CaseIterable { + case currency + } + + public enum FieldsSubscriptionPricePoints: String, Codable, CaseIterable { + case customerPrice + case proceeds + case proceedsYear2 + case territory + case subscription + case equalizations + } + + public enum Include: String, Codable, CaseIterable { + case territory + case subscriptionPricePoint + } + + public init(filterTerritory: [String]? = nil, fieldsWinBackOfferPrices: [FieldsWinBackOfferPrices]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsSubscriptionPricePoints: [FieldsSubscriptionPricePoints]? = nil, limit: Int? = nil, include: [Include]? = nil) { + self.filterTerritory = filterTerritory + self.fieldsWinBackOfferPrices = fieldsWinBackOfferPrices + self.fieldsTerritories = fieldsTerritories + self.fieldsSubscriptionPricePoints = fieldsSubscriptionPricePoints + self.limit = limit + self.include = include + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(filterTerritory, forKey: "filter[territory]") + encoder.encode(fieldsWinBackOfferPrices, forKey: "fields[winBackOfferPrices]") + encoder.encode(fieldsTerritories, forKey: "fields[territories]") + encoder.encode(fieldsSubscriptionPricePoints, forKey: "fields[subscriptionPricePoints]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilities.swift index 0b30775a..cac5ae84 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilities.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V2 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppAvailabilityV2CreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appAvailabilitiesV2-create_instance") + Request(path: path, method: "POST", body: body, id: "appAvailabilitiesV2_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift index 0da18181..cca0a527 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithID.swift @@ -14,46 +14,46 @@ extension APIEndpoint.V2.AppAvailabilities { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appAvailabilitiesV2-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appAvailabilitiesV2_getInstance") } public struct GetParameters { public var fieldsAppAvailabilities: [FieldsAppAvailabilities]? - public var include: [Include]? public var fieldsTerritoryAvailabilities: [FieldsTerritoryAvailabilities]? + public var include: [Include]? public var limitTerritoryAvailabilities: Int? public enum FieldsAppAvailabilities: String, Codable, CaseIterable { - case app case availableInNewTerritories - case territoryAvailabilities - } - - public enum Include: String, Codable, CaseIterable { + case app case territoryAvailabilities } public enum FieldsTerritoryAvailabilities: String, Codable, CaseIterable { case available - case contentStatuses + case releaseDate case preOrderEnabled case preOrderPublishDate - case releaseDate + case contentStatuses case territory } - public init(fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, include: [Include]? = nil, fieldsTerritoryAvailabilities: [FieldsTerritoryAvailabilities]? = nil, limitTerritoryAvailabilities: Int? = nil) { + public enum Include: String, Codable, CaseIterable { + case territoryAvailabilities + } + + public init(fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsTerritoryAvailabilities: [FieldsTerritoryAvailabilities]? = nil, include: [Include]? = nil, limitTerritoryAvailabilities: Int? = nil) { self.fieldsAppAvailabilities = fieldsAppAvailabilities - self.include = include self.fieldsTerritoryAvailabilities = fieldsTerritoryAvailabilities + self.include = include self.limitTerritoryAvailabilities = limitTerritoryAvailabilities } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppAvailabilities, forKey: "fields[appAvailabilities]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsTerritoryAvailabilities, forKey: "fields[territoryAvailabilities]") + encoder.encode(include, forKey: "include") encoder.encode(limitTerritoryAvailabilities, forKey: "limit[territoryAvailabilities]") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDTerritoryAvailabilities.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDTerritoryAvailabilities.swift index e62e2a2f..11039147 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDTerritoryAvailabilities.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDTerritoryAvailabilities.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V2.AppAvailabilities.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appAvailabilitiesV2-territoryAvailabilities-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appAvailabilitiesV2_territoryAvailabilities_getToManyRelated") } public struct GetParameters { @@ -25,10 +25,10 @@ extension APIEndpoint.V2.AppAvailabilities.WithID { public enum FieldsTerritoryAvailabilities: String, Codable, CaseIterable { case available - case contentStatuses + case releaseDate case preOrderEnabled case preOrderPublishDate - case releaseDate + case contentStatuses case territory } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperiments.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperiments.swift index ad68bfc4..b029b889 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperiments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperiments.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V2 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentV2CreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "appStoreVersionExperimentsV2-create_instance") + Request(path: path, method: "POST", body: body, id: "appStoreVersionExperimentsV2_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift index eb929212..9317498a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithID.swift @@ -14,52 +14,52 @@ extension APIEndpoint.V2.AppStoreVersionExperiments { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentsV2-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentsV2_getInstance") } public struct GetParameters { public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? - public var include: [Include]? public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? + public var include: [Include]? public var limitAppStoreVersionExperimentTreatments: Int? public var limitControlVersions: Int? public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion case name case platform + case trafficProportion + case state case reviewRequired case startDate + case endDate case started - case state - case trafficProportion - } - - public enum Include: String, Codable, CaseIterable { case app - case appStoreVersionExperimentTreatments - case controlVersions case latestControlVersion + case controlVersions + case appStoreVersionExperimentTreatments } public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { + case name case appIcon case appIconName + case promotedDate case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations case appStoreVersionExperimentV2 - case name - case promotedDate + case appStoreVersionExperimentTreatmentLocalizations + } + + public enum Include: String, Codable, CaseIterable { + case app + case latestControlVersion + case controlVersions + case appStoreVersionExperimentTreatments } - public init(fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, include: [Include]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, limitAppStoreVersionExperimentTreatments: Int? = nil, limitControlVersions: Int? = nil) { + public init(fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, include: [Include]? = nil, limitAppStoreVersionExperimentTreatments: Int? = nil, limitControlVersions: Int? = nil) { self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments - self.include = include self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments + self.include = include self.limitAppStoreVersionExperimentTreatments = limitAppStoreVersionExperimentTreatments self.limitControlVersions = limitControlVersions } @@ -67,8 +67,8 @@ extension APIEndpoint.V2.AppStoreVersionExperiments { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") - encoder.encode(include, forKey: "include") encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") + encoder.encode(include, forKey: "include") encoder.encode(limitAppStoreVersionExperimentTreatments, forKey: "limit[appStoreVersionExperimentTreatments]") encoder.encode(limitControlVersions, forKey: "limit[controlVersions]") return encoder.items @@ -76,11 +76,11 @@ extension APIEndpoint.V2.AppStoreVersionExperiments { } public func patch(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionExperimentV2UpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "appStoreVersionExperimentsV2-update_instance") + Request(path: path, method: "PATCH", body: body, id: "appStoreVersionExperimentsV2_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "appStoreVersionExperimentsV2-delete_instance") + Request(path: path, method: "DELETE", id: "appStoreVersionExperimentsV2_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift index 74c4cc02..5975fcd8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDAppStoreVersionExperimentTreatments.swift @@ -14,73 +14,73 @@ extension APIEndpoint.V2.AppStoreVersionExperiments.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentsV2-appStoreVersionExperimentTreatments-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersionExperimentsV2_appStoreVersionExperimentTreatments_getToManyRelated") } public struct GetParameters { - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? public var limit: Int? - public var limitAppStoreVersionExperimentTreatmentLocalizations: Int? public var include: [Include]? - - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion - } + public var limitAppStoreVersionExperimentTreatmentLocalizations: Int? public enum FieldsAppStoreVersionExperimentTreatments: String, Codable, CaseIterable { + case name case appIcon case appIconName + case promotedDate case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations case appStoreVersionExperimentV2 + case appStoreVersionExperimentTreatmentLocalizations + } + + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { case name - case promotedDate + case trafficProportion + case state + case reviewRequired + case startDate + case endDate + case started + case appStoreVersion + case appStoreVersionExperimentTreatments + case platform + case app + case latestControlVersion + case controlVersions } public enum FieldsAppStoreVersionExperimentTreatmentLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersionExperimentTreatment case locale + case appStoreVersionExperimentTreatment + case appScreenshotSets + case appPreviewSets } public enum Include: String, Codable, CaseIterable { case appStoreVersionExperiment - case appStoreVersionExperimentTreatmentLocalizations case appStoreVersionExperimentV2 + case appStoreVersionExperimentTreatmentLocalizations } - public init(fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, limit: Int? = nil, limitAppStoreVersionExperimentTreatmentLocalizations: Int? = nil, include: [Include]? = nil) { - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + public init(fieldsAppStoreVersionExperimentTreatments: [FieldsAppStoreVersionExperimentTreatments]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionExperimentTreatmentLocalizations: [FieldsAppStoreVersionExperimentTreatmentLocalizations]? = nil, limit: Int? = nil, include: [Include]? = nil, limitAppStoreVersionExperimentTreatmentLocalizations: Int? = nil) { self.fieldsAppStoreVersionExperimentTreatments = fieldsAppStoreVersionExperimentTreatments + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments self.fieldsAppStoreVersionExperimentTreatmentLocalizations = fieldsAppStoreVersionExperimentTreatmentLocalizations self.limit = limit - self.limitAppStoreVersionExperimentTreatmentLocalizations = limitAppStoreVersionExperimentTreatmentLocalizations self.include = include + self.limitAppStoreVersionExperimentTreatmentLocalizations = limitAppStoreVersionExperimentTreatmentLocalizations } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsAppStoreVersionExperimentTreatments, forKey: "fields[appStoreVersionExperimentTreatments]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsAppStoreVersionExperimentTreatmentLocalizations, forKey: "fields[appStoreVersionExperimentTreatmentLocalizations]") encoder.encode(limit, forKey: "limit") - encoder.encode(limitAppStoreVersionExperimentTreatmentLocalizations, forKey: "limit[appStoreVersionExperimentTreatmentLocalizations]") encoder.encode(include, forKey: "include") + encoder.encode(limitAppStoreVersionExperimentTreatmentLocalizations, forKey: "limit[appStoreVersionExperimentTreatmentLocalizations]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchases.swift index 70a90f20..5d193d04 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchases.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V2 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseV2CreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "inAppPurchasesV2-create_instance") + Request(path: path, method: "POST", body: body, id: "inAppPurchasesV2_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift index a45497f9..c572c9ff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift @@ -14,119 +14,137 @@ extension APIEndpoint.V2.InAppPurchases { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-get_instance") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2_getInstance") } public struct GetParameters { public var fieldsInAppPurchases: [FieldsInAppPurchases]? - public var include: [Include]? - public var fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? + public var fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]? + public var fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? + public var fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? public var fieldsInAppPurchaseAppStoreReviewScreenshots: [FieldsInAppPurchaseAppStoreReviewScreenshots]? public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? - public var fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]? public var fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? - public var fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? + public var fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? + public var fieldsInAppPurchaseImages: [FieldsInAppPurchaseImages]? + public var include: [Include]? + public var limitImages: Int? public var limitInAppPurchaseLocalizations: Int? public var limitPricePoints: Int? public enum FieldsInAppPurchases: String, Codable, CaseIterable { + case name + case productID = "productId" + case inAppPurchaseType + case state + case reviewNote + case familySharable + case contentHosting case app - case appStoreReviewScreenshot + case inAppPurchaseLocalizations + case pricePoints case content - case contentHosting - case familySharable + case appStoreReviewScreenshot + case promotedPurchase case iapPriceSchedule case inAppPurchaseAvailability - case inAppPurchaseLocalizations - case inAppPurchaseType + case images + } + + public enum FieldsInAppPurchaseLocalizations: String, Codable, CaseIterable { case name - case pricePoints - case productID = "productId" - case promotedPurchase - case reviewNote + case locale + case description case state + case inAppPurchaseV2 } - public enum Include: String, Codable, CaseIterable { - case appStoreReviewScreenshot - case content - case iapPriceSchedule - case inAppPurchaseAvailability - case inAppPurchaseLocalizations - case pricePoints - case promotedPurchase + public enum FieldsInAppPurchasePricePoints: String, Codable, CaseIterable { + case customerPrice + case proceeds + case territory + case inAppPurchaseV2 } - public enum FieldsInAppPurchaseAvailabilities: String, Codable, CaseIterable { - case availableInNewTerritories - case availableTerritories - case inAppPurchase + public enum FieldsInAppPurchaseContents: String, Codable, CaseIterable { + case fileName + case fileSize + case url + case lastModifiedDate + case inAppPurchaseV2 } public enum FieldsInAppPurchaseAppStoreReviewScreenshots: String, Codable, CaseIterable { - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset - case inAppPurchaseV2 + case fileName case sourceFileChecksum + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded + case inAppPurchaseV2 } public enum FieldsPromotedPurchases: String, Codable, CaseIterable { - case app + case visibleForAllUsers case enabled - case inAppPurchaseV2 - case promotionImages case state + case app + case inAppPurchaseV2 case subscription - case visibleForAllUsers + case promotionImages } - public enum FieldsInAppPurchasePricePoints: String, Codable, CaseIterable { - case customerPrice - case inAppPurchaseV2 - case proceeds - case territory + public enum FieldsInAppPurchasePriceSchedules: String, Codable, CaseIterable { + case inAppPurchase + case baseTerritory + case manualPrices + case automaticPrices } - public enum FieldsInAppPurchaseLocalizations: String, Codable, CaseIterable { - case description - case inAppPurchaseV2 - case locale - case name - case state + public enum FieldsInAppPurchaseAvailabilities: String, Codable, CaseIterable { + case availableInNewTerritories + case inAppPurchase + case availableTerritories } - public enum FieldsInAppPurchasePriceSchedules: String, Codable, CaseIterable { - case automaticPrices - case baseTerritory + public enum FieldsInAppPurchaseImages: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case assetToken + case imageAsset + case uploadOperations + case uploaded + case state case inAppPurchase - case manualPrices } - public enum FieldsInAppPurchaseContents: String, Codable, CaseIterable { - case fileName - case fileSize - case inAppPurchaseV2 - case lastModifiedDate - case url + public enum Include: String, Codable, CaseIterable { + case inAppPurchaseLocalizations + case pricePoints + case content + case appStoreReviewScreenshot + case promotedPurchase + case iapPriceSchedule + case inAppPurchaseAvailability + case images } - public init(fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, include: [Include]? = nil, fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? = nil, fieldsInAppPurchaseAppStoreReviewScreenshots: [FieldsInAppPurchaseAppStoreReviewScreenshots]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? = nil, fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]? = nil, fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? = nil, fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? = nil, limitInAppPurchaseLocalizations: Int? = nil, limitPricePoints: Int? = nil) { + public init(fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsInAppPurchaseLocalizations: [FieldsInAppPurchaseLocalizations]? = nil, fieldsInAppPurchasePricePoints: [FieldsInAppPurchasePricePoints]? = nil, fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? = nil, fieldsInAppPurchaseAppStoreReviewScreenshots: [FieldsInAppPurchaseAppStoreReviewScreenshots]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? = nil, fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? = nil, fieldsInAppPurchaseImages: [FieldsInAppPurchaseImages]? = nil, include: [Include]? = nil, limitImages: Int? = nil, limitInAppPurchaseLocalizations: Int? = nil, limitPricePoints: Int? = nil) { self.fieldsInAppPurchases = fieldsInAppPurchases - self.include = include - self.fieldsInAppPurchaseAvailabilities = fieldsInAppPurchaseAvailabilities + self.fieldsInAppPurchaseLocalizations = fieldsInAppPurchaseLocalizations + self.fieldsInAppPurchasePricePoints = fieldsInAppPurchasePricePoints + self.fieldsInAppPurchaseContents = fieldsInAppPurchaseContents self.fieldsInAppPurchaseAppStoreReviewScreenshots = fieldsInAppPurchaseAppStoreReviewScreenshots self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.fieldsInAppPurchasePricePoints = fieldsInAppPurchasePricePoints - self.fieldsInAppPurchaseLocalizations = fieldsInAppPurchaseLocalizations self.fieldsInAppPurchasePriceSchedules = fieldsInAppPurchasePriceSchedules - self.fieldsInAppPurchaseContents = fieldsInAppPurchaseContents + self.fieldsInAppPurchaseAvailabilities = fieldsInAppPurchaseAvailabilities + self.fieldsInAppPurchaseImages = fieldsInAppPurchaseImages + self.include = include + self.limitImages = limitImages self.limitInAppPurchaseLocalizations = limitInAppPurchaseLocalizations self.limitPricePoints = limitPricePoints } @@ -134,14 +152,16 @@ extension APIEndpoint.V2.InAppPurchases { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") - encoder.encode(include, forKey: "include") - encoder.encode(fieldsInAppPurchaseAvailabilities, forKey: "fields[inAppPurchaseAvailabilities]") + encoder.encode(fieldsInAppPurchaseLocalizations, forKey: "fields[inAppPurchaseLocalizations]") + encoder.encode(fieldsInAppPurchasePricePoints, forKey: "fields[inAppPurchasePricePoints]") + encoder.encode(fieldsInAppPurchaseContents, forKey: "fields[inAppPurchaseContents]") encoder.encode(fieldsInAppPurchaseAppStoreReviewScreenshots, forKey: "fields[inAppPurchaseAppStoreReviewScreenshots]") encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(fieldsInAppPurchasePricePoints, forKey: "fields[inAppPurchasePricePoints]") - encoder.encode(fieldsInAppPurchaseLocalizations, forKey: "fields[inAppPurchaseLocalizations]") encoder.encode(fieldsInAppPurchasePriceSchedules, forKey: "fields[inAppPurchasePriceSchedules]") - encoder.encode(fieldsInAppPurchaseContents, forKey: "fields[inAppPurchaseContents]") + encoder.encode(fieldsInAppPurchaseAvailabilities, forKey: "fields[inAppPurchaseAvailabilities]") + encoder.encode(fieldsInAppPurchaseImages, forKey: "fields[inAppPurchaseImages]") + encoder.encode(include, forKey: "include") + encoder.encode(limitImages, forKey: "limit[images]") encoder.encode(limitInAppPurchaseLocalizations, forKey: "limit[inAppPurchaseLocalizations]") encoder.encode(limitPricePoints, forKey: "limit[pricePoints]") return encoder.items @@ -149,11 +169,11 @@ extension APIEndpoint.V2.InAppPurchases { } public func patch(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseV2UpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "inAppPurchasesV2-update_instance") + Request(path: path, method: "PATCH", body: body, id: "inAppPurchasesV2_updateInstance") } public var delete: Request { - Request(path: path, method: "DELETE", id: "inAppPurchasesV2-delete_instance") + Request(path: path, method: "DELETE", id: "inAppPurchasesV2_deleteInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift index a7fb82c6..a05ec869 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-appStoreReviewScreenshot-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2_appStoreReviewScreenshot_getToOneRelated") } public struct GetParameters { @@ -23,34 +23,35 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public var include: [Include]? public enum FieldsInAppPurchaseAppStoreReviewScreenshots: String, Codable, CaseIterable { - case assetDeliveryState - case assetToken - case assetType - case fileName case fileSize - case imageAsset - case inAppPurchaseV2 + case fileName case sourceFileChecksum + case imageAsset + case assetToken + case assetType case uploadOperations + case assetDeliveryState case uploaded + case inAppPurchaseV2 } public enum FieldsInAppPurchases: String, Codable, CaseIterable { - case app - case appStoreReviewScreenshot - case content - case contentHosting + case name + case productID = "productId" + case inAppPurchaseType + case state + case reviewNote case familySharable - case iapPriceSchedule - case inAppPurchaseAvailability + case contentHosting + case app case inAppPurchaseLocalizations - case inAppPurchaseType - case name case pricePoints - case productID = "productId" + case content + case appStoreReviewScreenshot case promotedPurchase - case reviewNote - case state + case iapPriceSchedule + case inAppPurchaseAvailability + case images } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift index 36c65d35..5776d4ca 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift @@ -14,54 +14,55 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-content-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2_content_getToOneRelated") } public struct GetParameters { - public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? + public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var include: [Include]? + public enum FieldsInAppPurchaseContents: String, Codable, CaseIterable { + case fileName + case fileSize + case url + case lastModifiedDate + case inAppPurchaseV2 + } + public enum FieldsInAppPurchases: String, Codable, CaseIterable { - case app - case appStoreReviewScreenshot - case content - case contentHosting + case name + case productID = "productId" + case inAppPurchaseType + case state + case reviewNote case familySharable - case iapPriceSchedule - case inAppPurchaseAvailability + case contentHosting + case app case inAppPurchaseLocalizations - case inAppPurchaseType - case name case pricePoints - case productID = "productId" + case content + case appStoreReviewScreenshot case promotedPurchase - case reviewNote - case state - } - - public enum FieldsInAppPurchaseContents: String, Codable, CaseIterable { - case fileName - case fileSize - case inAppPurchaseV2 - case lastModifiedDate - case url + case iapPriceSchedule + case inAppPurchaseAvailability + case images } public enum Include: String, Codable, CaseIterable { case inAppPurchaseV2 } - public init(fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? = nil, include: [Include]? = nil) { - self.fieldsInAppPurchases = fieldsInAppPurchases + public init(fieldsInAppPurchaseContents: [FieldsInAppPurchaseContents]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, include: [Include]? = nil) { self.fieldsInAppPurchaseContents = fieldsInAppPurchaseContents + self.fieldsInAppPurchases = fieldsInAppPurchases self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") encoder.encode(fieldsInAppPurchaseContents, forKey: "fields[inAppPurchaseContents]") + encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") encoder.encode(include, forKey: "include") return encoder.items } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift index b56ffb2c..96d98010 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift @@ -14,82 +14,83 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-iapPriceSchedule-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2_iapPriceSchedule_getToOneRelated") } public struct GetParameters { - public var fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? - public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? + public var fieldsInAppPurchases: [FieldsInAppPurchases]? public var fieldsTerritories: [FieldsTerritories]? + public var fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? + public var include: [Include]? public var limitManualPrices: Int? public var limitAutomaticPrices: Int? - public var include: [Include]? - public enum FieldsInAppPurchasePrices: String, Codable, CaseIterable { - case endDate - case inAppPurchasePricePoint - case inAppPurchaseV2 - case manual - case startDate - case territory + public enum FieldsInAppPurchasePriceSchedules: String, Codable, CaseIterable { + case inAppPurchase + case baseTerritory + case manualPrices + case automaticPrices } public enum FieldsInAppPurchases: String, Codable, CaseIterable { - case app - case appStoreReviewScreenshot - case content - case contentHosting + case name + case productID = "productId" + case inAppPurchaseType + case state + case reviewNote case familySharable - case iapPriceSchedule - case inAppPurchaseAvailability + case contentHosting + case app case inAppPurchaseLocalizations - case inAppPurchaseType - case name case pricePoints - case productID = "productId" + case content + case appStoreReviewScreenshot case promotedPurchase - case reviewNote - case state - } - - public enum FieldsInAppPurchasePriceSchedules: String, Codable, CaseIterable { - case automaticPrices - case baseTerritory - case inAppPurchase - case manualPrices + case iapPriceSchedule + case inAppPurchaseAvailability + case images } public enum FieldsTerritories: String, Codable, CaseIterable { case currency } + public enum FieldsInAppPurchasePrices: String, Codable, CaseIterable { + case startDate + case endDate + case manual + case inAppPurchaseV2 + case inAppPurchasePricePoint + case territory + } + public enum Include: String, Codable, CaseIterable { - case automaticPrices - case baseTerritory case inAppPurchase + case baseTerritory case manualPrices + case automaticPrices } - public init(fieldsInAppPurchasePrices: [FieldsInAppPurchasePrices]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitManualPrices: Int? = nil, limitAutomaticPrices: Int? = nil, include: [Include]? = nil) { - self.fieldsInAppPurchasePrices = fieldsInAppPurchasePrices - self.fieldsInAppPurchases = fieldsInAppPurchases + public init(fieldsInAppPurchasePriceSchedules: [FieldsInAppPurchasePriceSchedules]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = 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 self.limitManualPrices = limitManualPrices self.limitAutomaticPrices = limitAutomaticPrices - self.include = include } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsInAppPurchasePrices, forKey: "fields[inAppPurchasePrices]") - encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") 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") encoder.encode(limitManualPrices, forKey: "limit[manualPrices]") encoder.encode(limitAutomaticPrices, forKey: "limit[automaticPrices]") - encoder.encode(include, forKey: "include") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDImages.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDImages.swift new file mode 100644 index 00000000..d4316a20 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDImages.swift @@ -0,0 +1,78 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V2.InAppPurchases.WithID { + public var images: Images { + Images(path: path + "/images") + } + + public struct Images { + /// Path: `/v2/inAppPurchases/{id}/images` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2_images_getToManyRelated") + } + + public struct GetParameters { + public var fieldsInAppPurchaseImages: [FieldsInAppPurchaseImages]? + public var fieldsInAppPurchases: [FieldsInAppPurchases]? + public var limit: Int? + public var include: [Include]? + + public enum FieldsInAppPurchaseImages: String, Codable, CaseIterable { + case fileSize + case fileName + case sourceFileChecksum + case assetToken + case imageAsset + case uploadOperations + case uploaded + case state + case inAppPurchase + } + + 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 Include: String, Codable, CaseIterable { + case inAppPurchase + } + + public init(fieldsInAppPurchaseImages: [FieldsInAppPurchaseImages]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, limit: Int? = nil, include: [Include]? = nil) { + self.fieldsInAppPurchaseImages = fieldsInAppPurchaseImages + self.fieldsInAppPurchases = fieldsInAppPurchases + self.limit = limit + self.include = include + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsInAppPurchaseImages, forKey: "fields[inAppPurchaseImages]") + encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") + encoder.encode(limit, forKey: "limit") + encoder.encode(include, forKey: "include") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift index 309d0cb6..f89fdb58 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseAvailability.swift @@ -14,19 +14,19 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-inAppPurchaseAvailability-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2_inAppPurchaseAvailability_getToOneRelated") } public struct GetParameters { public var fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? public var fieldsTerritories: [FieldsTerritories]? - public var limitAvailableTerritories: Int? public var include: [Include]? + public var limitAvailableTerritories: Int? public enum FieldsInAppPurchaseAvailabilities: String, Codable, CaseIterable { case availableInNewTerritories - case availableTerritories case inAppPurchase + case availableTerritories } public enum FieldsTerritories: String, Codable, CaseIterable { @@ -37,19 +37,19 @@ extension APIEndpoint.V2.InAppPurchases.WithID { case availableTerritories } - public init(fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, limitAvailableTerritories: Int? = nil, include: [Include]? = nil) { + public init(fieldsInAppPurchaseAvailabilities: [FieldsInAppPurchaseAvailabilities]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, include: [Include]? = nil, limitAvailableTerritories: Int? = nil) { self.fieldsInAppPurchaseAvailabilities = fieldsInAppPurchaseAvailabilities self.fieldsTerritories = fieldsTerritories - self.limitAvailableTerritories = limitAvailableTerritories self.include = include + self.limitAvailableTerritories = limitAvailableTerritories } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsInAppPurchaseAvailabilities, forKey: "fields[inAppPurchaseAvailabilities]") encoder.encode(fieldsTerritories, forKey: "fields[territories]") - encoder.encode(limitAvailableTerritories, forKey: "limit[availableTerritories]") encoder.encode(include, forKey: "include") + encoder.encode(limitAvailableTerritories, forKey: "limit[availableTerritories]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift index 80564e03..8a32796b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-inAppPurchaseLocalizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelated") } public struct GetParameters { @@ -24,29 +24,30 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public var include: [Include]? public enum FieldsInAppPurchaseLocalizations: String, Codable, CaseIterable { - case description - case inAppPurchaseV2 - case locale case name + case locale + case description case state + case inAppPurchaseV2 } public enum FieldsInAppPurchases: String, Codable, CaseIterable { - case app - case appStoreReviewScreenshot - case content - case contentHosting + case name + case productID = "productId" + case inAppPurchaseType + case state + case reviewNote case familySharable - case iapPriceSchedule - case inAppPurchaseAvailability + case contentHosting + case app case inAppPurchaseLocalizations - case inAppPurchaseType - case name case pricePoints - case productID = "productId" + case content + case appStoreReviewScreenshot case promotedPurchase - case reviewNote - case state + case iapPriceSchedule + case inAppPurchaseAvailability + case images } public enum Include: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift index 922e7322..be98b52f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPricePoints.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-pricePoints-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2_pricePoints_getToManyRelated") } public struct GetParameters { @@ -26,9 +26,9 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public enum FieldsInAppPurchasePricePoints: String, Codable, CaseIterable { case customerPrice - case inAppPurchaseV2 case proceeds case territory + case inAppPurchaseV2 } public enum FieldsTerritories: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift index 1d8215c6..5ce729c5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift @@ -14,101 +14,104 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2-promotedPurchase-get_to_one_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "inAppPurchasesV2_promotedPurchase_getToOneRelated") } public struct GetParameters { public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? - public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsInAppPurchases: [FieldsInAppPurchases]? + public var fieldsSubscriptions: [FieldsSubscriptions]? public var fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? - public var limitPromotionImages: Int? public var include: [Include]? + public var limitPromotionImages: Int? public enum FieldsPromotedPurchases: String, Codable, CaseIterable { - case app + case visibleForAllUsers case enabled - case inAppPurchaseV2 - case promotionImages case state + case app + case inAppPurchaseV2 case subscription - case visibleForAllUsers + case promotionImages } - public enum FieldsSubscriptions: String, Codable, CaseIterable { - case appStoreReviewScreenshot - case familySharable - case group - case groupLevel - case introductoryOffers + public enum FieldsInAppPurchases: String, Codable, CaseIterable { case name - case offerCodes - case pricePoints - case prices case productID = "productId" - case promotedPurchase - case promotionalOffers - case reviewNote + case inAppPurchaseType case state - case subscriptionAvailability - case subscriptionLocalizations - case subscriptionPeriod - } - - public enum FieldsInAppPurchases: String, Codable, CaseIterable { + case reviewNote + case familySharable + case contentHosting case app - case appStoreReviewScreenshot + case inAppPurchaseLocalizations + case pricePoints case content - case contentHosting - case familySharable + case appStoreReviewScreenshot + case promotedPurchase case iapPriceSchedule case inAppPurchaseAvailability - case inAppPurchaseLocalizations - case inAppPurchaseType + case images + } + + public enum FieldsSubscriptions: String, Codable, CaseIterable { case name - case pricePoints case productID = "productId" - case promotedPurchase - case reviewNote + 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 FieldsPromotedPurchaseImages: String, Codable, CaseIterable { - case assetToken - case assetType - case fileName case fileSize - case imageAsset - case promotedPurchase + case fileName case sourceFileChecksum - case state + case assetToken + case imageAsset + case assetType case uploadOperations case uploaded + case state + case promotedPurchase } public enum Include: String, Codable, CaseIterable { case inAppPurchaseV2 - case promotionImages case subscription + case promotionImages } - public init(fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, limitPromotionImages: Int? = nil, include: [Include]? = nil) { + public init(fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsSubscriptions: [FieldsSubscriptions]? = nil, fieldsPromotedPurchaseImages: [FieldsPromotedPurchaseImages]? = nil, include: [Include]? = nil, limitPromotionImages: Int? = nil) { self.fieldsPromotedPurchases = fieldsPromotedPurchases - self.fieldsSubscriptions = fieldsSubscriptions self.fieldsInAppPurchases = fieldsInAppPurchases + self.fieldsSubscriptions = fieldsSubscriptions self.fieldsPromotedPurchaseImages = fieldsPromotedPurchaseImages - self.limitPromotionImages = limitPromotionImages self.include = include + self.limitPromotionImages = limitPromotionImages } public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") - encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsInAppPurchases, forKey: "fields[inAppPurchases]") + encoder.encode(fieldsSubscriptions, forKey: "fields[subscriptions]") encoder.encode(fieldsPromotedPurchaseImages, forKey: "fields[promotedPurchaseImages]") - encoder.encode(limitPromotionImages, forKey: "limit[promotionImages]") encoder.encode(include, forKey: "include") + encoder.encode(limitPromotionImages, forKey: "limit[promotionImages]") return encoder.items } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTesters.swift index b3e34821..672c1d2a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTesters.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V2 { public let path: String public func get(fieldsSandboxTesters: [FieldsSandboxTesters]? = nil, limit: Int? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsSandboxTesters, limit), id: "sandboxTestersV2-get_collection") + Request(path: path, method: "GET", query: makeGetQuery(fieldsSandboxTesters, limit), id: "sandboxTestersV2_getCollection") } private func makeGetQuery(_ fieldsSandboxTesters: [FieldsSandboxTesters]?, _ limit: Int?) -> [(String, String?)] { @@ -25,13 +25,13 @@ extension APIEndpoint.V2 { } public enum FieldsSandboxTesters: String, Codable, CaseIterable { + case firstName + case lastName case acAccountName + case territory case applePayCompatible - case firstName case interruptPurchases - case lastName case subscriptionRenewalRate - case territory } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersClearPurchaseHistoryRequest.swift b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersClearPurchaseHistoryRequest.swift index e381660b..ba5ac767 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersClearPurchaseHistoryRequest.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersClearPurchaseHistoryRequest.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V2 { public let path: String public func post(_ body: AppStoreConnect_Swift_SDK.SandboxTestersClearPurchaseHistoryRequestV2CreateRequest) -> Request { - Request(path: path, method: "POST", body: body, id: "sandboxTestersClearPurchaseHistoryRequestV2-create_instance") + Request(path: path, method: "POST", body: body, id: "sandboxTestersClearPurchaseHistoryRequestV2_createInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersWithID.swift index eeeb88fc..bf4a9c6a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V2.SandboxTesters { public let path: String public func patch(_ body: AppStoreConnect_Swift_SDK.SandboxTesterV2UpdateRequest) -> Request { - Request(path: path, method: "PATCH", body: body, id: "sandboxTestersV2-update_instance") + Request(path: path, method: "PATCH", body: body, id: "sandboxTestersV2_updateInstance") } } } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithID.swift index 8d9e1bc5..738874a3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithID.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V3.AppPricePoints { public let path: String public func get(fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, include: [Include]? = nil) -> Request { - Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPricePoints, include), id: "appPricePointsV3-get_instance") + Request(path: path, method: "GET", query: makeGetQuery(fieldsAppPricePoints, include), id: "appPricePointsV3_getInstance") } private func makeGetQuery(_ fieldsAppPricePoints: [FieldsAppPricePoints]?, _ include: [Include]?) -> [(String, String?)] { @@ -25,10 +25,10 @@ extension APIEndpoint.V3.AppPricePoints { } public enum FieldsAppPricePoints: String, Codable, CaseIterable { - case app case customerPrice - case equalizations case proceeds + case app + case equalizations case territory } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift index d9b4e40d..4f04e8ba 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift @@ -14,7 +14,7 @@ extension APIEndpoint.V3.AppPricePoints.WithID { public let path: String public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPricePointsV3-equalizations-get_to_many_related") + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appPricePointsV3_equalizations_getToManyRelated") } public struct GetParameters { @@ -26,57 +26,59 @@ extension APIEndpoint.V3.AppPricePoints.WithID { public var include: [Include]? public enum FieldsAppPricePoints: String, Codable, CaseIterable { - case app case customerPrice - case equalizations case proceeds + case app + case equalizations case territory } public enum FieldsApps: String, Codable, CaseIterable { - case alternativeDistributionKey - case analyticsReportRequests - case appAvailability - case appClips - case appCustomProductPages + 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 appEvents - case appInfos - case appPricePoints - case appPriceSchedule - case appStoreVersionExperimentsV2 + case ciProduct + case betaTesters + case betaGroups case appStoreVersions + case preReleaseVersions case betaAppLocalizations - case betaAppReviewDetail - case betaGroups - case betaLicenseAgreement - case betaTesters case builds - case bundleID = "bundleId" - case ciProduct - case contentRightsDeclaration - case customerReviews + case betaLicenseAgreement + case betaAppReviewDetail + case appInfos + case appClips + case appPricePoints case endUserLicenseAgreement - case gameCenterDetail - case gameCenterEnabledVersions + case preOrder + case appPriceSchedule + case appAvailability + case appAvailabilityV2 case inAppPurchases - case inAppPurchasesV2 - case isOrEverWasMadeForKids - case marketplaceSearchDetail - case name + case subscriptionGroups + case gameCenterEnabledVersions case perfPowerMetrics - case preOrder - case preReleaseVersions - case primaryLocale + case appCustomProductPages + case inAppPurchasesV2 case promotedPurchases + case appEvents case reviewSubmissions - case sku case subscriptionGracePeriod - case subscriptionGroups - case subscriptionStatusURL = "subscriptionStatusUrl" - case subscriptionStatusURLForSandbox = "subscriptionStatusUrlForSandbox" - case subscriptionStatusURLVersion = "subscriptionStatusUrlVersion" - case subscriptionStatusURLVersionForSandbox = "subscriptionStatusUrlVersionForSandbox" + case customerReviews + case gameCenterDetail + case appStoreVersionExperimentsV2 + case alternativeDistributionKey + case analyticsReportRequests + case marketplaceSearchDetail } public enum FieldsTerritories: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/app_store_connect_api.json b/Sources/OpenAPI/app_store_connect_api.json index 503d158d..742691fb 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.5", + "version": "3.6.0", "x-platform": "app_store_connect_api" }, "servers": [ @@ -16,7 +16,7 @@ "tags": [ "Actors" ], - "operationId": "actors-get_collection", + "operationId": "actors_getCollection", "parameters": [ { "name": "filter[id]", @@ -42,10 +42,10 @@ "type": "string", "enum": [ "actorType", - "apiKeyId", - "userEmail", "userFirstName", - "userLastName" + "userLastName", + "userEmail", + "apiKeyId" ] } }, @@ -113,7 +113,7 @@ "tags": [ "Actors" ], - "operationId": "actors-get_instance", + "operationId": "actors_getInstance", "parameters": [ { "name": "fields[actors]", @@ -125,10 +125,10 @@ "type": "string", "enum": [ "actorType", - "apiKeyId", - "userEmail", "userFirstName", - "userLastName" + "userLastName", + "userEmail", + "apiKeyId" ] } }, @@ -208,7 +208,7 @@ "tags": [ "AgeRatingDeclarations" ], - "operationId": "ageRatingDeclarations-update_instance", + "operationId": "ageRatingDeclarations_updateInstance", "requestBody": { "description": "AgeRatingDeclaration representation", "content": { @@ -311,7 +311,7 @@ "tags": [ "AlternativeDistributionDomains" ], - "operationId": "alternativeDistributionDomains-get_collection", + "operationId": "alternativeDistributionDomains_getCollection", "parameters": [ { "name": "fields[alternativeDistributionDomains]", @@ -322,9 +322,9 @@ "items": { "type": "string", "enum": [ - "createdDate", "domain", - "referenceName" + "referenceName", + "createdDate" ] } }, @@ -390,7 +390,7 @@ "tags": [ "AlternativeDistributionDomains" ], - "operationId": "alternativeDistributionDomains-create_instance", + "operationId": "alternativeDistributionDomains_createInstance", "requestBody": { "description": "AlternativeDistributionDomain representation", "content": { @@ -471,7 +471,7 @@ "tags": [ "AlternativeDistributionDomains" ], - "operationId": "alternativeDistributionDomains-get_instance", + "operationId": "alternativeDistributionDomains_getInstance", "parameters": [ { "name": "fields[alternativeDistributionDomains]", @@ -482,9 +482,9 @@ "items": { "type": "string", "enum": [ - "createdDate", "domain", - "referenceName" + "referenceName", + "createdDate" ] } }, @@ -550,7 +550,7 @@ "tags": [ "AlternativeDistributionDomains" ], - "operationId": "alternativeDistributionDomains-delete_instance", + "operationId": "alternativeDistributionDomains_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -625,7 +625,7 @@ "tags": [ "AlternativeDistributionKeys" ], - "operationId": "alternativeDistributionKeys-get_collection", + "operationId": "alternativeDistributionKeys_getCollection", "parameters": [ { "name": "exists[app]", @@ -647,8 +647,8 @@ "items": { "type": "string", "enum": [ - "app", - "publicKey" + "publicKey", + "app" ] } }, @@ -714,7 +714,7 @@ "tags": [ "AlternativeDistributionKeys" ], - "operationId": "alternativeDistributionKeys-create_instance", + "operationId": "alternativeDistributionKeys_createInstance", "requestBody": { "description": "AlternativeDistributionKey representation", "content": { @@ -795,7 +795,7 @@ "tags": [ "AlternativeDistributionKeys" ], - "operationId": "alternativeDistributionKeys-get_instance", + "operationId": "alternativeDistributionKeys_getInstance", "parameters": [ { "name": "fields[alternativeDistributionKeys]", @@ -806,8 +806,8 @@ "items": { "type": "string", "enum": [ - "app", - "publicKey" + "publicKey", + "app" ] } }, @@ -873,7 +873,7 @@ "tags": [ "AlternativeDistributionKeys" ], - "operationId": "alternativeDistributionKeys-delete_instance", + "operationId": "alternativeDistributionKeys_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -948,7 +948,7 @@ "tags": [ "AlternativeDistributionPackageDeltas" ], - "operationId": "alternativeDistributionPackageDeltas-get_instance", + "operationId": "alternativeDistributionPackageDeltas_getInstance", "parameters": [ { "name": "fields[alternativeDistributionPackageDeltas]", @@ -959,10 +959,10 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKeyBlob", - "fileChecksum", "url", - "urlExpirationDate" + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" ] } }, @@ -1042,7 +1042,7 @@ "tags": [ "AlternativeDistributionPackageVariants" ], - "operationId": "alternativeDistributionPackageVariants-get_instance", + "operationId": "alternativeDistributionPackageVariants_getInstance", "parameters": [ { "name": "fields[alternativeDistributionPackageVariants]", @@ -1053,10 +1053,10 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKeyBlob", - "fileChecksum", "url", - "urlExpirationDate" + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" ] } }, @@ -1136,7 +1136,7 @@ "tags": [ "AlternativeDistributionPackageVersions" ], - "operationId": "alternativeDistributionPackageVersions-get_instance", + "operationId": "alternativeDistributionPackageVersions_getInstance", "parameters": [ { "name": "fields[alternativeDistributionPackageVersions]", @@ -1147,33 +1147,14 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionPackage", - "deltas", - "fileChecksum", - "state", "url", "urlExpirationDate", + "version", + "fileChecksum", + "state", "variants", - "version" - ] - } - }, - "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": [ - "alternativeDistributionPackage", "deltas", - "variants" + "alternativeDistributionPackage" ] } }, @@ -1190,10 +1171,10 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKeyBlob", - "fileChecksum", "url", - "urlExpirationDate" + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" ] } }, @@ -1210,205 +1191,10 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKeyBlob", - "fileChecksum", "url", - "urlExpirationDate" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "limit[deltas]", - "in": "query", - "description": "maximum number of related deltas returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[variants]", - "in": "query", - "description": "maximum number of related variants 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 AlternativeDistributionPackageVersion", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVersionResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/alternativeDistributionPackages": { - "post": { - "tags": [ - "AlternativeDistributionPackages" - ], - "operationId": "alternativeDistributionPackages-create_instance", - "requestBody": { - "description": "AlternativeDistributionPackage representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageCreateRequest" - } - } - }, - "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 AlternativeDistributionPackage", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - } - }, - "/v1/alternativeDistributionPackages/{id}": { - "get": { - "tags": [ - "AlternativeDistributionPackages" - ], - "operationId": "alternativeDistributionPackages-get_instance", - "parameters": [ - { - "name": "fields[alternativeDistributionPackages]", - "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion", - "versions" + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" ] } }, @@ -1425,7 +1211,9 @@ "items": { "type": "string", "enum": [ - "versions" + "variants", + "deltas", + "alternativeDistributionPackage" ] } }, @@ -1434,33 +1222,20 @@ "required": false }, { - "name": "fields[alternativeDistributionPackageVersions]", + "name": "limit[deltas]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", + "description": "maximum number of related deltas returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alternativeDistributionPackage", - "deltas", - "fileChecksum", - "state", - "url", - "urlExpirationDate", - "variants", - "version" - ] - } + "type": "integer", + "maximum": 50 }, "style": "form", - "explode": false, "required": false }, { - "name": "limit[versions]", + "name": "limit[variants]", "in": "query", - "description": "maximum number of related versions returned (when they are included)", + "description": "maximum number of related variants returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -1511,11 +1286,11 @@ } }, "200": { - "description": "Single AlternativeDistributionPackage", + "description": "Single AlternativeDistributionPackageVersion", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageVersionResponse" } } } @@ -1535,25 +1310,105 @@ } ] }, - "/v1/analyticsReportInstances/{id}": { + "/v1/alternativeDistributionPackages": { + "post": { + "tags": [ + "AlternativeDistributionPackages" + ], + "operationId": "alternativeDistributionPackages_createInstance", + "requestBody": { + "description": "AlternativeDistributionPackage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageCreateRequest" + } + } + }, + "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 AlternativeDistributionPackage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/alternativeDistributionPackages/{id}": { "get": { "tags": [ - "AnalyticsReportInstances" + "AlternativeDistributionPackages" ], - "operationId": "analyticsReportInstances-get_instance", + "operationId": "alternativeDistributionPackages_getInstance", "parameters": [ { - "name": "fields[analyticsReportInstances]", + "name": "fields[alternativeDistributionPackages]", "in": "query", - "description": "the fields to include for returned resources of type analyticsReportInstances", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "granularity", - "processingDate", - "segments" + "appStoreVersion", + "versions" ] } }, @@ -1562,17 +1417,143 @@ "required": false }, { - "name": "fields[analyticsReportSegments]", + "name": "fields[alternativeDistributionPackageVersions]", "in": "query", - "description": "the fields to include for returned resources of type analyticsReportSegments", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "checksum", - "sizeInBytes", - "url" + "url", + "urlExpirationDate", + "version", + "fileChecksum", + "state", + "variants", + "deltas", + "alternativeDistributionPackage" + ] + } + }, + "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": [ + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions 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 AlternativeDistributionPackage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/analyticsReportInstances/{id}": { + "get": { + "tags": [ + "AnalyticsReportInstances" + ], + "operationId": "analyticsReportInstances_getInstance", + "parameters": [ + { + "name": "fields[analyticsReportInstances]", + "in": "query", + "description": "the fields to include for returned resources of type analyticsReportInstances", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "granularity", + "processingDate", + "segments" ] } }, @@ -1652,7 +1633,7 @@ "tags": [ "AnalyticsReportRequests" ], - "operationId": "analyticsReportRequests-create_instance", + "operationId": "analyticsReportRequests_createInstance", "requestBody": { "description": "AnalyticsReportRequest representation", "content": { @@ -1733,7 +1714,7 @@ "tags": [ "AnalyticsReportRequests" ], - "operationId": "analyticsReportRequests-get_instance", + "operationId": "analyticsReportRequests_getInstance", "parameters": [ { "name": "fields[analyticsReportRequests]", @@ -1745,9 +1726,9 @@ "type": "string", "enum": [ "accessType", + "stoppedDueToInactivity", "app", - "reports", - "stoppedDueToInactivity" + "reports" ] } }, @@ -1756,15 +1737,17 @@ "required": false }, { - "name": "include", + "name": "fields[analyticsReports]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type analyticsReports", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "reports" + "name", + "category", + "instances" ] } }, @@ -1773,17 +1756,15 @@ "required": false }, { - "name": "fields[analyticsReports]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type analyticsReports", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "category", - "instances", - "name" + "reports" ] } }, @@ -1860,7 +1841,7 @@ "tags": [ "AnalyticsReportRequests" ], - "operationId": "analyticsReportRequests-delete_instance", + "operationId": "analyticsReportRequests_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -1935,7 +1916,7 @@ "tags": [ "AnalyticsReportSegments" ], - "operationId": "analyticsReportSegments-get_instance", + "operationId": "analyticsReportSegments_getInstance", "parameters": [ { "name": "fields[analyticsReportSegments]", @@ -2028,7 +2009,7 @@ "tags": [ "AnalyticsReports" ], - "operationId": "analyticsReports-get_instance", + "operationId": "analyticsReports_getInstance", "parameters": [ { "name": "fields[analyticsReports]", @@ -2039,28 +2020,9 @@ "items": { "type": "string", "enum": [ + "name", "category", - "instances", - "name" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[analyticsReportInstances]", - "in": "query", - "description": "the fields to include for returned resources of type analyticsReportInstances", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "granularity", - "processingDate", - "segments" + "instances" ] } }, @@ -2140,7 +2102,7 @@ "tags": [ "AppAvailabilities" ], - "operationId": "appAvailabilitiesV2-create_instance", + "operationId": "appAvailabilitiesV2_createInstance", "requestBody": { "description": "AppAvailability representation", "content": { @@ -2221,7 +2183,7 @@ "tags": [ "AppAvailabilities" ], - "operationId": "appAvailabilitiesV2-get_instance", + "operationId": "appAvailabilitiesV2_getInstance", "parameters": [ { "name": "fields[appAvailabilities]", @@ -2232,8 +2194,8 @@ "items": { "type": "string", "enum": [ - "app", "availableInNewTerritories", + "app", "territoryAvailabilities" ] } @@ -2243,15 +2205,20 @@ "required": false }, { - "name": "include", + "name": "fields[territoryAvailabilities]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territoryAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "territoryAvailabilities" + "available", + "releaseDate", + "preOrderEnabled", + "preOrderPublishDate", + "contentStatuses", + "territory" ] } }, @@ -2260,20 +2227,15 @@ "required": false }, { - "name": "fields[territoryAvailabilities]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type territoryAvailabilities", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "available", - "contentStatuses", - "preOrderEnabled", - "preOrderPublishDate", - "releaseDate", - "territory" + "territoryAvailabilities" ] } }, @@ -2364,7 +2326,7 @@ "tags": [ "AppAvailabilities" ], - "operationId": "appAvailabilities-create_instance", + "operationId": "appAvailabilities_createInstance", "deprecated": true, "requestBody": { "description": "AppAvailability representation", @@ -2446,7 +2408,7 @@ "tags": [ "AppAvailabilities" ], - "operationId": "appAvailabilities-get_instance", + "operationId": "appAvailabilities_getInstance", "deprecated": true, "parameters": [ { @@ -2458,8 +2420,8 @@ "items": { "type": "string", "enum": [ - "app", "availableInNewTerritories", + "app", "availableTerritories" ] } @@ -2469,16 +2431,15 @@ "required": false }, { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "availableTerritories" + "currency" ] } }, @@ -2487,15 +2448,16 @@ "required": false }, { - "name": "fields[territories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "app", + "availableTerritories" ] } }, @@ -2586,7 +2548,7 @@ "tags": [ "AppCategories" ], - "operationId": "appCategories-get_collection", + "operationId": "appCategories_getCollection", "parameters": [ { "name": "filter[platforms]", @@ -2628,9 +2590,9 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "subcategories", + "parent" ] } }, @@ -2657,8 +2619,8 @@ "items": { "type": "string", "enum": [ - "parent", - "subcategories" + "subcategories", + "parent" ] } }, @@ -2727,7 +2689,7 @@ "tags": [ "AppCategories" ], - "operationId": "appCategories-get_instance", + "operationId": "appCategories_getInstance", "parameters": [ { "name": "fields[appCategories]", @@ -2738,9 +2700,9 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "subcategories", + "parent" ] } }, @@ -2757,8 +2719,8 @@ "items": { "type": "string", "enum": [ - "parent", - "subcategories" + "subcategories", + "parent" ] } }, @@ -2849,7 +2811,7 @@ "tags": [ "AppClipAdvancedExperienceImages" ], - "operationId": "appClipAdvancedExperienceImages-create_instance", + "operationId": "appClipAdvancedExperienceImages_createInstance", "requestBody": { "description": "AppClipAdvancedExperienceImage representation", "content": { @@ -2930,7 +2892,7 @@ "tags": [ "AppClipAdvancedExperienceImages" ], - "operationId": "appClipAdvancedExperienceImages-get_instance", + "operationId": "appClipAdvancedExperienceImages_getInstance", "parameters": [ { "name": "fields[appClipAdvancedExperienceImages]", @@ -2941,12 +2903,12 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", "fileSize", - "imageAsset", + "fileName", "sourceFileChecksum", + "imageAsset", "uploadOperations", + "assetDeliveryState", "uploaded" ] } @@ -3013,7 +2975,7 @@ "tags": [ "AppClipAdvancedExperienceImages" ], - "operationId": "appClipAdvancedExperienceImages-update_instance", + "operationId": "appClipAdvancedExperienceImages_updateInstance", "requestBody": { "description": "AppClipAdvancedExperienceImage representation", "content": { @@ -3116,7 +3078,7 @@ "tags": [ "AppClipAdvancedExperiences" ], - "operationId": "appClipAdvancedExperiences-create_instance", + "operationId": "appClipAdvancedExperiences_createInstance", "requestBody": { "description": "AppClipAdvancedExperience representation", "content": { @@ -3197,7 +3159,7 @@ "tags": [ "AppClipAdvancedExperiences" ], - "operationId": "appClipAdvancedExperiences-get_instance", + "operationId": "appClipAdvancedExperiences_getInstance", "parameters": [ { "name": "fields[appClipAdvancedExperiences]", @@ -3208,19 +3170,19 @@ "items": { "type": "string", "enum": [ + "link", + "version", + "status", "action", - "appClip", - "businessCategory", - "defaultLanguage", - "headerImage", "isPoweredBy", - "link", - "localizations", "place", "placeStatus", + "businessCategory", + "defaultLanguage", "removed", - "status", - "version" + "appClip", + "headerImage", + "localizations" ] } }, @@ -3316,7 +3278,7 @@ "tags": [ "AppClipAdvancedExperiences" ], - "operationId": "appClipAdvancedExperiences-update_instance", + "operationId": "appClipAdvancedExperiences_updateInstance", "requestBody": { "description": "AppClipAdvancedExperience representation", "content": { @@ -3419,7 +3381,7 @@ "tags": [ "AppClipAppStoreReviewDetails" ], - "operationId": "appClipAppStoreReviewDetails-create_instance", + "operationId": "appClipAppStoreReviewDetails_createInstance", "requestBody": { "description": "AppClipAppStoreReviewDetail representation", "content": { @@ -3500,7 +3462,7 @@ "tags": [ "AppClipAppStoreReviewDetails" ], - "operationId": "appClipAppStoreReviewDetails-get_instance", + "operationId": "appClipAppStoreReviewDetails_getInstance", "parameters": [ { "name": "fields[appClipAppStoreReviewDetails]", @@ -3511,8 +3473,8 @@ "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "invocationUrls" + "invocationUrls", + "appClipDefaultExperience" ] } }, @@ -3595,7 +3557,7 @@ "tags": [ "AppClipAppStoreReviewDetails" ], - "operationId": "appClipAppStoreReviewDetails-update_instance", + "operationId": "appClipAppStoreReviewDetails_updateInstance", "requestBody": { "description": "AppClipAppStoreReviewDetail representation", "content": { @@ -3698,7 +3660,7 @@ "tags": [ "AppClipDefaultExperienceLocalizations" ], - "operationId": "appClipDefaultExperienceLocalizations-create_instance", + "operationId": "appClipDefaultExperienceLocalizations_createInstance", "requestBody": { "description": "AppClipDefaultExperienceLocalization representation", "content": { @@ -3779,7 +3741,7 @@ "tags": [ "AppClipDefaultExperienceLocalizations" ], - "operationId": "appClipDefaultExperienceLocalizations-get_instance", + "operationId": "appClipDefaultExperienceLocalizations_getInstance", "parameters": [ { "name": "fields[appClipDefaultExperienceLocalizations]", @@ -3790,10 +3752,10 @@ "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "appClipHeaderImage", "locale", - "subtitle" + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" ] } }, @@ -3802,16 +3764,22 @@ "required": false }, { - "name": "include", + "name": "fields[appClipHeaderImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appClipHeaderImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "appClipHeaderImage" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appClipDefaultExperienceLocalization" ] } }, @@ -3820,22 +3788,16 @@ "required": false }, { - "name": "fields[appClipHeaderImages]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appClipHeaderImages", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDefaultExperienceLocalization", - "assetDeliveryState", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "appClipDefaultExperience", + "appClipHeaderImage" ] } }, @@ -3901,7 +3863,7 @@ "tags": [ "AppClipDefaultExperienceLocalizations" ], - "operationId": "appClipDefaultExperienceLocalizations-update_instance", + "operationId": "appClipDefaultExperienceLocalizations_updateInstance", "requestBody": { "description": "AppClipDefaultExperienceLocalization representation", "content": { @@ -3990,7 +3952,7 @@ "tags": [ "AppClipDefaultExperienceLocalizations" ], - "operationId": "appClipDefaultExperienceLocalizations-delete_instance", + "operationId": "appClipDefaultExperienceLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -4065,7 +4027,7 @@ "tags": [ "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences-create_instance", + "operationId": "appClipDefaultExperiences_createInstance", "requestBody": { "description": "AppClipDefaultExperience representation", "content": { @@ -4146,7 +4108,7 @@ "tags": [ "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences-get_instance", + "operationId": "appClipDefaultExperiences_getInstance", "parameters": [ { "name": "fields[appClipDefaultExperiences]", @@ -4159,10 +4121,10 @@ "enum": [ "action", "appClip", - "appClipAppStoreReviewDetail", + "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -4171,18 +4133,38 @@ "required": false }, { - "name": "include", + "name": "fields[appStoreVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClip", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceLocalizations", - "releaseWithAppStoreVersion" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -4191,16 +4173,18 @@ "required": false }, { - "name": "fields[appClipAppStoreReviewDetails]", + "name": "fields[appClipDefaultExperienceLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "locale", + "subtitle", "appClipDefaultExperience", - "invocationUrls" + "appClipHeaderImage" ] } }, @@ -4209,37 +4193,16 @@ "required": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[appClipAppStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "invocationUrls", + "appClipDefaultExperience" ] } }, @@ -4248,18 +4211,18 @@ "required": false }, { - "name": "fields[appClipDefaultExperienceLocalizations]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "appClipHeaderImage", - "locale", - "subtitle" + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail" ] } }, @@ -4336,7 +4299,7 @@ "tags": [ "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences-update_instance", + "operationId": "appClipDefaultExperiences_updateInstance", "requestBody": { "description": "AppClipDefaultExperience representation", "content": { @@ -4425,7 +4388,7 @@ "tags": [ "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences-delete_instance", + "operationId": "appClipDefaultExperiences_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -4500,7 +4463,7 @@ "tags": [ "AppClipHeaderImages" ], - "operationId": "appClipHeaderImages-create_instance", + "operationId": "appClipHeaderImages_createInstance", "requestBody": { "description": "AppClipHeaderImage representation", "content": { @@ -4581,7 +4544,7 @@ "tags": [ "AppClipHeaderImages" ], - "operationId": "appClipHeaderImages-get_instance", + "operationId": "appClipHeaderImages_getInstance", "parameters": [ { "name": "fields[appClipHeaderImages]", @@ -4592,14 +4555,14 @@ "items": { "type": "string", "enum": [ - "appClipDefaultExperienceLocalization", - "assetDeliveryState", - "fileName", "fileSize", - "imageAsset", + "fileName", "sourceFileChecksum", + "imageAsset", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appClipDefaultExperienceLocalization" ] } }, @@ -4682,7 +4645,7 @@ "tags": [ "AppClipHeaderImages" ], - "operationId": "appClipHeaderImages-update_instance", + "operationId": "appClipHeaderImages_updateInstance", "requestBody": { "description": "AppClipHeaderImage representation", "content": { @@ -4771,7 +4734,7 @@ "tags": [ "AppClipHeaderImages" ], - "operationId": "appClipHeaderImages-delete_instance", + "operationId": "appClipHeaderImages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -4846,7 +4809,7 @@ "tags": [ "AppClips" ], - "operationId": "appClips-get_instance", + "operationId": "appClips_getInstance", "parameters": [ { "name": "fields[appClips]", @@ -4857,28 +4820,10 @@ "items": { "type": "string", "enum": [ + "bundleId", "app", - "appClipAdvancedExperiences", "appClipDefaultExperiences", - "bundleId" - ] - } - }, - "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", - "appClipDefaultExperiences" + "appClipAdvancedExperiences" ] } }, @@ -4887,9 +4832,9 @@ "required": false }, { - "name": "fields[appClipAdvancedExperiences]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appClipAdvancedExperiences", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { @@ -4897,17 +4842,10 @@ "enum": [ "action", "appClip", - "businessCategory", - "defaultLanguage", - "headerImage", - "isPoweredBy", - "link", - "localizations", - "place", - "placeStatus", - "removed", - "status", - "version" + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -4916,20 +4854,16 @@ "required": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "app", + "appClipDefaultExperiences" ] } }, @@ -5020,7 +4954,7 @@ "tags": [ "AppCustomProductPageLocalizations" ], - "operationId": "appCustomProductPageLocalizations-create_instance", + "operationId": "appCustomProductPageLocalizations_createInstance", "requestBody": { "description": "AppCustomProductPageLocalization representation", "content": { @@ -5101,7 +5035,7 @@ "tags": [ "AppCustomProductPageLocalizations" ], - "operationId": "appCustomProductPageLocalizations-get_instance", + "operationId": "appCustomProductPageLocalizations_getInstance", "parameters": [ { "name": "fields[appCustomProductPageLocalizations]", @@ -5112,11 +5046,11 @@ "items": { "type": "string", "enum": [ + "locale", + "promotionalText", "appCustomProductPageVersion", - "appPreviewSets", "appScreenshotSets", - "locale", - "promotionalText" + "appPreviewSets" ] } }, @@ -5125,17 +5059,19 @@ "required": false }, { - "name": "include", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -5144,19 +5080,19 @@ "required": false }, { - "name": "fields[appScreenshotSets]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "previewType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appScreenshots", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "appPreviews" ] } }, @@ -5165,19 +5101,17 @@ "required": false }, { - "name": "fields[appPreviewSets]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appPreviews", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -5265,7 +5199,7 @@ "tags": [ "AppCustomProductPageLocalizations" ], - "operationId": "appCustomProductPageLocalizations-update_instance", + "operationId": "appCustomProductPageLocalizations_updateInstance", "requestBody": { "description": "AppCustomProductPageLocalization representation", "content": { @@ -5354,7 +5288,7 @@ "tags": [ "AppCustomProductPageLocalizations" ], - "operationId": "appCustomProductPageLocalizations-delete_instance", + "operationId": "appCustomProductPageLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -5429,7 +5363,7 @@ "tags": [ "AppCustomProductPageVersions" ], - "operationId": "appCustomProductPageVersions-create_instance", + "operationId": "appCustomProductPageVersions_createInstance", "requestBody": { "description": "AppCustomProductPageVersion representation", "content": { @@ -5510,7 +5444,7 @@ "tags": [ "AppCustomProductPageVersions" ], - "operationId": "appCustomProductPageVersions-get_instance", + "operationId": "appCustomProductPageVersions_getInstance", "parameters": [ { "name": "fields[appCustomProductPageVersions]", @@ -5521,11 +5455,11 @@ "items": { "type": "string", "enum": [ - "appCustomProductPage", - "appCustomProductPageLocalizations", - "deepLink", + "version", "state", - "version" + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -5534,16 +5468,19 @@ "required": false }, { - "name": "include", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPage", - "appCustomProductPageLocalizations" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -5552,19 +5489,16 @@ "required": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets", - "locale", - "promotionalText" + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -5641,7 +5575,7 @@ "tags": [ "AppCustomProductPageVersions" ], - "operationId": "appCustomProductPageVersions-update_instance", + "operationId": "appCustomProductPageVersions_updateInstance", "requestBody": { "description": "AppCustomProductPageVersion representation", "content": { @@ -5744,7 +5678,7 @@ "tags": [ "AppCustomProductPages" ], - "operationId": "appCustomProductPages-create_instance", + "operationId": "appCustomProductPages_createInstance", "requestBody": { "description": "AppCustomProductPage representation", "content": { @@ -5825,7 +5759,7 @@ "tags": [ "AppCustomProductPages" ], - "operationId": "appCustomProductPages-get_instance", + "operationId": "appCustomProductPages_getInstance", "parameters": [ { "name": "fields[appCustomProductPages]", @@ -5836,13 +5770,13 @@ "items": { "type": "string", "enum": [ + "name", + "url", + "visible", "app", "appCustomProductPageVersions", "appStoreVersionTemplate", - "customProductPageTemplate", - "name", - "url", - "visible" + "customProductPageTemplate" ] } }, @@ -5851,16 +5785,19 @@ "required": false }, { - "name": "include", + "name": "fields[appCustomProductPageVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appCustomProductPageVersions" + "version", + "state", + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -5869,19 +5806,16 @@ "required": false }, { - "name": "fields[appCustomProductPageVersions]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPage", - "appCustomProductPageLocalizations", - "deepLink", - "state", - "version" + "app", + "appCustomProductPageVersions" ] } }, @@ -5958,7 +5892,7 @@ "tags": [ "AppCustomProductPages" ], - "operationId": "appCustomProductPages-update_instance", + "operationId": "appCustomProductPages_updateInstance", "requestBody": { "description": "AppCustomProductPage representation", "content": { @@ -6047,7 +5981,7 @@ "tags": [ "AppCustomProductPages" ], - "operationId": "appCustomProductPages-delete_instance", + "operationId": "appCustomProductPages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -6122,7 +6056,7 @@ "tags": [ "AppEncryptionDeclarationDocuments" ], - "operationId": "appEncryptionDeclarationDocuments-create_instance", + "operationId": "appEncryptionDeclarationDocuments_createInstance", "requestBody": { "description": "AppEncryptionDeclarationDocument representation", "content": { @@ -6203,7 +6137,7 @@ "tags": [ "AppEncryptionDeclarationDocuments" ], - "operationId": "appEncryptionDeclarationDocuments-get_instance", + "operationId": "appEncryptionDeclarationDocuments_getInstance", "parameters": [ { "name": "fields[appEncryptionDeclarationDocuments]", @@ -6214,15 +6148,15 @@ "items": { "type": "string", "enum": [ - "appEncryptionDeclaration", - "assetDeliveryState", + "fileSize", + "fileName", "assetToken", "downloadUrl", - "fileName", - "fileSize", "sourceFileChecksum", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appEncryptionDeclaration" ] } }, @@ -6288,7 +6222,7 @@ "tags": [ "AppEncryptionDeclarationDocuments" ], - "operationId": "appEncryptionDeclarationDocuments-update_instance", + "operationId": "appEncryptionDeclarationDocuments_updateInstance", "requestBody": { "description": "AppEncryptionDeclarationDocument representation", "content": { @@ -6391,7 +6325,7 @@ "tags": [ "AppEncryptionDeclarations" ], - "operationId": "appEncryptionDeclarations-get_collection", + "operationId": "appEncryptionDeclarations_getCollection", "parameters": [ { "name": "filter[platform]", @@ -6450,23 +6384,23 @@ "items": { "type": "string", "enum": [ - "app", "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", "createdDate", - "documentName", - "documentType", - "documentUrl", + "usesEncryption", "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", "platform", "uploadedDate", - "usesEncryption" + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -6475,33 +6409,66 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclarationDocument", - "builds" + "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" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { "name": "fields[appEncryptionDeclarationDocuments]", @@ -6512,15 +6479,15 @@ "items": { "type": "string", "enum": [ - "appEncryptionDeclaration", - "assetDeliveryState", + "fileSize", + "fileName", "assetToken", "downloadUrl", - "fileName", - "fileSize", "sourceFileChecksum", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appEncryptionDeclaration" ] } }, @@ -6529,57 +6496,27 @@ "required": false }, { - "name": "fields[apps]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type apps", + "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": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", + "app", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "appEncryptionDeclarationDocument" ] } }, @@ -6641,163 +6578,245 @@ } } } - } - }, - "/v1/appEncryptionDeclarations/{id}": { - "get": { + }, + "post": { "tags": [ "AppEncryptionDeclarations" ], - "operationId": "appEncryptionDeclarations-get_instance", - "parameters": [ - { - "name": "fields[appEncryptionDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "createdDate", - "documentName", - "documentType", - "documentUrl", - "exempt", - "platform", - "uploadedDate", - "usesEncryption" - ] - } - }, - "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", - "appEncryptionDeclarationDocument", - "builds" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appEncryptionDeclarationDocuments]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appEncryptionDeclaration", - "assetDeliveryState", - "assetToken", - "downloadUrl", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] + "operationId": "appEncryptionDeclarations_createInstance", + "requestBody": { + "description": "AppEncryptionDeclaration representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEncryptionDeclarationCreateRequest" } - }, - "style": "form", - "explode": false, - "required": false + } }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - } - ], + "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 AppEncryptionDeclaration", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEncryptionDeclarationResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/appEncryptionDeclarations/{id}": { + "get": { + "tags": [ + "AppEncryptionDeclarations" + ], + "operationId": "appEncryptionDeclarations_getInstance", + "parameters": [ + { + "name": "fields[appEncryptionDeclarations]", + "in": "query", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "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" + ] + } + }, + "style": "form", + "explode": false, + "required": false, + "deprecated": true + }, + { + "name": "fields[appEncryptionDeclarationDocuments]", + "in": "query", + "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "assetToken", + "downloadUrl", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appEncryptionDeclaration" + ] + } + }, + "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", + "builds", + "appEncryptionDeclarationDocument" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], "responses": { "400": { "description": "Parameter error(s)", @@ -6869,7 +6888,7 @@ "tags": [ "AppEventLocalizations" ], - "operationId": "appEventLocalizations-create_instance", + "operationId": "appEventLocalizations_createInstance", "requestBody": { "description": "AppEventLocalization representation", "content": { @@ -6950,7 +6969,7 @@ "tags": [ "AppEventLocalizations" ], - "operationId": "appEventLocalizations-get_instance", + "operationId": "appEventLocalizations_getInstance", "parameters": [ { "name": "fields[appEventLocalizations]", @@ -6961,13 +6980,13 @@ "items": { "type": "string", "enum": [ - "appEvent", - "appEventScreenshots", - "appEventVideoClips", "locale", - "longDescription", "name", - "shortDescription" + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips" ] } }, @@ -6976,17 +6995,23 @@ "required": false }, { - "name": "include", + "name": "fields[appEventScreenshots]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appEventScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appEvent", - "appEventScreenshots", - "appEventVideoClips" + "fileSize", + "fileName", + "imageAsset", + "assetToken", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appEventAssetType", + "appEventLocalization" ] } }, @@ -6995,23 +7020,24 @@ "required": false }, { - "name": "fields[appEventScreenshots]", + "name": "fields[appEventVideoClips]", "in": "query", - "description": "the fields to include for returned resources of type appEventScreenshots", + "description": "the fields to include for returned resources of type appEventVideoClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appEventAssetType", - "appEventLocalization", - "assetDeliveryState", - "assetToken", - "fileName", "fileSize", - "imageAsset", + "fileName", + "previewFrameTimeCode", + "videoUrl", + "previewImage", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appEventAssetType", + "appEventLocalization" ] } }, @@ -7020,24 +7046,17 @@ "required": false }, { - "name": "fields[appEventVideoClips]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appEventVideoClips", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appEventAssetType", - "appEventLocalization", - "assetDeliveryState", - "fileName", - "fileSize", - "previewFrameTimeCode", - "previewImage", - "uploadOperations", - "uploaded", - "videoUrl" + "appEvent", + "appEventScreenshots", + "appEventVideoClips" ] } }, @@ -7125,7 +7144,7 @@ "tags": [ "AppEventLocalizations" ], - "operationId": "appEventLocalizations-update_instance", + "operationId": "appEventLocalizations_updateInstance", "requestBody": { "description": "AppEventLocalization representation", "content": { @@ -7214,7 +7233,7 @@ "tags": [ "AppEventLocalizations" ], - "operationId": "appEventLocalizations-delete_instance", + "operationId": "appEventLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -7289,7 +7308,7 @@ "tags": [ "AppEventScreenshots" ], - "operationId": "appEventScreenshots-create_instance", + "operationId": "appEventScreenshots_createInstance", "requestBody": { "description": "AppEventScreenshot representation", "content": { @@ -7370,7 +7389,7 @@ "tags": [ "AppEventScreenshots" ], - "operationId": "appEventScreenshots-get_instance", + "operationId": "appEventScreenshots_getInstance", "parameters": [ { "name": "fields[appEventScreenshots]", @@ -7381,15 +7400,15 @@ "items": { "type": "string", "enum": [ - "appEventAssetType", - "appEventLocalization", - "assetDeliveryState", - "assetToken", - "fileName", "fileSize", + "fileName", "imageAsset", + "assetToken", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appEventAssetType", + "appEventLocalization" ] } }, @@ -7472,7 +7491,7 @@ "tags": [ "AppEventScreenshots" ], - "operationId": "appEventScreenshots-update_instance", + "operationId": "appEventScreenshots_updateInstance", "requestBody": { "description": "AppEventScreenshot representation", "content": { @@ -7561,7 +7580,7 @@ "tags": [ "AppEventScreenshots" ], - "operationId": "appEventScreenshots-delete_instance", + "operationId": "appEventScreenshots_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -7636,7 +7655,7 @@ "tags": [ "AppEventVideoClips" ], - "operationId": "appEventVideoClips-create_instance", + "operationId": "appEventVideoClips_createInstance", "requestBody": { "description": "AppEventVideoClip representation", "content": { @@ -7717,7 +7736,7 @@ "tags": [ "AppEventVideoClips" ], - "operationId": "appEventVideoClips-get_instance", + "operationId": "appEventVideoClips_getInstance", "parameters": [ { "name": "fields[appEventVideoClips]", @@ -7728,16 +7747,16 @@ "items": { "type": "string", "enum": [ - "appEventAssetType", - "appEventLocalization", - "assetDeliveryState", - "fileName", "fileSize", + "fileName", "previewFrameTimeCode", + "videoUrl", "previewImage", "uploadOperations", + "assetDeliveryState", "uploaded", - "videoUrl" + "appEventAssetType", + "appEventLocalization" ] } }, @@ -7820,7 +7839,7 @@ "tags": [ "AppEventVideoClips" ], - "operationId": "appEventVideoClips-update_instance", + "operationId": "appEventVideoClips_updateInstance", "requestBody": { "description": "AppEventVideoClip representation", "content": { @@ -7909,7 +7928,7 @@ "tags": [ "AppEventVideoClips" ], - "operationId": "appEventVideoClips-delete_instance", + "operationId": "appEventVideoClips_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -7984,7 +8003,7 @@ "tags": [ "AppEvents" ], - "operationId": "appEvents-create_instance", + "operationId": "appEvents_createInstance", "requestBody": { "description": "AppEvent representation", "content": { @@ -8065,7 +8084,7 @@ "tags": [ "AppEvents" ], - "operationId": "appEvents-get_instance", + "operationId": "appEvents_getInstance", "parameters": [ { "name": "fields[appEvents]", @@ -8076,18 +8095,18 @@ "items": { "type": "string", "enum": [ - "app", - "archivedTerritorySchedules", + "referenceName", "badge", - "deepLink", "eventState", - "localizations", + "deepLink", + "purchaseRequirement", "primaryLocale", "priority", - "purchaseRequirement", "purpose", - "referenceName", - "territorySchedules" + "territorySchedules", + "archivedTerritorySchedules", + "app", + "localizations" ] } }, @@ -8096,15 +8115,21 @@ "required": false }, { - "name": "include", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "localizations" + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips" ] } }, @@ -8113,21 +8138,15 @@ "required": false }, { - "name": "fields[appEventLocalizations]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appEvent", - "appEventScreenshots", - "appEventVideoClips", - "locale", - "longDescription", - "name", - "shortDescription" + "localizations" ] } }, @@ -8204,7 +8223,7 @@ "tags": [ "AppEvents" ], - "operationId": "appEvents-update_instance", + "operationId": "appEvents_updateInstance", "requestBody": { "description": "AppEvent representation", "content": { @@ -8293,7 +8312,7 @@ "tags": [ "AppEvents" ], - "operationId": "appEvents-delete_instance", + "operationId": "appEvents_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -8368,7 +8387,7 @@ "tags": [ "AppInfoLocalizations" ], - "operationId": "appInfoLocalizations-create_instance", + "operationId": "appInfoLocalizations_createInstance", "requestBody": { "description": "AppInfoLocalization representation", "content": { @@ -8449,7 +8468,7 @@ "tags": [ "AppInfoLocalizations" ], - "operationId": "appInfoLocalizations-get_instance", + "operationId": "appInfoLocalizations_getInstance", "parameters": [ { "name": "fields[appInfoLocalizations]", @@ -8460,13 +8479,13 @@ "items": { "type": "string", "enum": [ - "appInfo", "locale", "name", + "subtitle", + "privacyPolicyUrl", "privacyChoicesUrl", "privacyPolicyText", - "privacyPolicyUrl", - "subtitle" + "appInfo" ] } }, @@ -8549,7 +8568,7 @@ "tags": [ "AppInfoLocalizations" ], - "operationId": "appInfoLocalizations-update_instance", + "operationId": "appInfoLocalizations_updateInstance", "requestBody": { "description": "AppInfoLocalization representation", "content": { @@ -8638,7 +8657,7 @@ "tags": [ "AppInfoLocalizations" ], - "operationId": "appInfoLocalizations-delete_instance", + "operationId": "appInfoLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -8713,7 +8732,7 @@ "tags": [ "AppInfos" ], - "operationId": "appInfos-get_instance", + "operationId": "appInfos_getInstance", "parameters": [ { "name": "fields[appInfos]", @@ -8724,39 +8743,16 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appInfoLocalizations", - "appStoreAgeRating", "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", "brazilAgeRating", "brazilAgeRatingV2", + "koreaAgeRating", "kidsAgeBand", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "state" - ] - } - }, - "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": [ - "ageRatingDeclaration", "app", + "ageRatingDeclaration", "appInfoLocalizations", "primaryCategory", "primarySubcategoryOne", @@ -8780,24 +8776,26 @@ "items": { "type": "string", "enum": [ - "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", - "gambling", "gamblingAndContests", + "gambling", "gamblingSimulated", - "horrorOrFearThemes", "kidsAgeBand", - "matureOrSuggestiveThemes", + "lootBox", "medicalOrTreatmentInformation", "profanityOrCrudeHumor", - "seventeenPlus", "sexualContentGraphicAndNudity", "sexualContentOrNudity", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", "unrestrictedWebAccess", "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", "violenceRealistic", - "violenceRealisticProlongedGraphicOrSadistic" + "ageRatingOverride", + "koreaAgeRatingOverride", + "seventeenPlus" ] } }, @@ -8814,13 +8812,13 @@ "items": { "type": "string", "enum": [ - "appInfo", "locale", "name", + "subtitle", + "privacyPolicyUrl", "privacyChoicesUrl", "privacyPolicyText", - "privacyPolicyUrl", - "subtitle" + "appInfo" ] } }, @@ -8837,9 +8835,34 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "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" ] } }, @@ -8916,7 +8939,7 @@ "tags": [ "AppInfos" ], - "operationId": "appInfos-update_instance", + "operationId": "appInfos_updateInstance", "requestBody": { "description": "AppInfo representation", "content": { @@ -9019,7 +9042,7 @@ "tags": [ "AppPreOrders" ], - "operationId": "appPreOrders-create_instance", + "operationId": "appPreOrders_createInstance", "deprecated": true, "requestBody": { "description": "AppPreOrder representation", @@ -9101,7 +9124,7 @@ "tags": [ "AppPreOrders" ], - "operationId": "appPreOrders-get_instance", + "operationId": "appPreOrders_getInstance", "deprecated": true, "parameters": [ { @@ -9113,9 +9136,9 @@ "items": { "type": "string", "enum": [ - "app", + "preOrderAvailableDate", "appReleaseDate", - "preOrderAvailableDate" + "app" ] } }, @@ -9198,7 +9221,7 @@ "tags": [ "AppPreOrders" ], - "operationId": "appPreOrders-update_instance", + "operationId": "appPreOrders_updateInstance", "deprecated": true, "requestBody": { "description": "AppPreOrder representation", @@ -9288,7 +9311,7 @@ "tags": [ "AppPreOrders" ], - "operationId": "appPreOrders-delete_instance", + "operationId": "appPreOrders_deleteInstance", "deprecated": true, "responses": { "400": { @@ -9364,7 +9387,7 @@ "tags": [ "AppPreviewSets" ], - "operationId": "appPreviewSets-create_instance", + "operationId": "appPreviewSets_createInstance", "requestBody": { "description": "AppPreviewSet representation", "content": { @@ -9445,7 +9468,7 @@ "tags": [ "AppPreviewSets" ], - "operationId": "appPreviewSets-get_instance", + "operationId": "appPreviewSets_getInstance", "parameters": [ { "name": "fields[appPreviewSets]", @@ -9456,11 +9479,11 @@ "items": { "type": "string", "enum": [ + "previewType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appPreviews", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "appPreviews" ] } }, @@ -9469,18 +9492,25 @@ "required": false }, { - "name": "include", + "name": "fields[appPreviews]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appPreviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appPreviews", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization" + "fileSize", + "fileName", + "sourceFileChecksum", + "previewFrameTimeCode", + "mimeType", + "videoUrl", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appPreviewSet" ] } }, @@ -9489,25 +9519,18 @@ "required": false }, { - "name": "fields[appPreviews]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appPreviews", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSet", - "assetDeliveryState", - "fileName", - "fileSize", - "mimeType", - "previewFrameTimeCode", - "previewImage", - "sourceFileChecksum", - "uploadOperations", - "uploaded", - "videoUrl" + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -9584,7 +9607,7 @@ "tags": [ "AppPreviewSets" ], - "operationId": "appPreviewSets-delete_instance", + "operationId": "appPreviewSets_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -9659,7 +9682,7 @@ "tags": [ "AppPreviews" ], - "operationId": "appPreviews-create_instance", + "operationId": "appPreviews_createInstance", "requestBody": { "description": "AppPreview representation", "content": { @@ -9740,7 +9763,7 @@ "tags": [ "AppPreviews" ], - "operationId": "appPreviews-get_instance", + "operationId": "appPreviews_getInstance", "parameters": [ { "name": "fields[appPreviews]", @@ -9751,17 +9774,17 @@ "items": { "type": "string", "enum": [ - "appPreviewSet", - "assetDeliveryState", - "fileName", "fileSize", - "mimeType", + "fileName", + "sourceFileChecksum", "previewFrameTimeCode", + "mimeType", + "videoUrl", "previewImage", - "sourceFileChecksum", "uploadOperations", + "assetDeliveryState", "uploaded", - "videoUrl" + "appPreviewSet" ] } }, @@ -9844,7 +9867,7 @@ "tags": [ "AppPreviews" ], - "operationId": "appPreviews-update_instance", + "operationId": "appPreviews_updateInstance", "requestBody": { "description": "AppPreview representation", "content": { @@ -9933,7 +9956,7 @@ "tags": [ "AppPreviews" ], - "operationId": "appPreviews-delete_instance", + "operationId": "appPreviews_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -10008,7 +10031,7 @@ "tags": [ "AppPricePoints" ], - "operationId": "appPricePointsV3-get_instance", + "operationId": "appPricePointsV3_getInstance", "parameters": [ { "name": "fields[appPricePoints]", @@ -10019,10 +10042,10 @@ "items": { "type": "string", "enum": [ - "app", "customerPrice", - "equalizations", "proceeds", + "app", + "equalizations", "territory" ] } @@ -10121,7 +10144,7 @@ "tags": [ "AppPriceSchedules" ], - "operationId": "appPriceSchedules-create_instance", + "operationId": "appPriceSchedules_createInstance", "requestBody": { "description": "AppPriceSchedule representation", "content": { @@ -10202,7 +10225,7 @@ "tags": [ "AppPriceSchedules" ], - "operationId": "appPriceSchedules-get_instance", + "operationId": "appPriceSchedules_getInstance", "parameters": [ { "name": "fields[appPriceSchedules]", @@ -10214,9 +10237,9 @@ "type": "string", "enum": [ "app", - "automaticPrices", "baseTerritory", - "manualPrices" + "manualPrices", + "automaticPrices" ] } }, @@ -10225,18 +10248,15 @@ "required": false }, { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "automaticPrices", - "baseTerritory", - "manualPrices" + "currency" ] } }, @@ -10253,10 +10273,10 @@ "items": { "type": "string", "enum": [ - "appPricePoint", - "endDate", "manual", "startDate", + "endDate", + "appPricePoint", "territory" ] } @@ -10266,15 +10286,18 @@ "required": false }, { - "name": "fields[territories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "app", + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, @@ -10376,7 +10399,7 @@ "tags": [ "AppScreenshotSets" ], - "operationId": "appScreenshotSets-create_instance", + "operationId": "appScreenshotSets_createInstance", "requestBody": { "description": "AppScreenshotSet representation", "content": { @@ -10457,7 +10480,7 @@ "tags": [ "AppScreenshotSets" ], - "operationId": "appScreenshotSets-get_instance", + "operationId": "appScreenshotSets_getInstance", "parameters": [ { "name": "fields[appScreenshotSets]", @@ -10468,11 +10491,11 @@ "items": { "type": "string", "enum": [ + "screenshotDisplayType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appScreenshots", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "appScreenshots" ] } }, @@ -10481,18 +10504,24 @@ "required": false }, { - "name": "include", + "name": "fields[appScreenshots]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appScreenshots", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appScreenshotSet" ] } }, @@ -10501,24 +10530,18 @@ "required": false }, { - "name": "fields[appScreenshots]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appScreenshotSet", - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -10595,7 +10618,7 @@ "tags": [ "AppScreenshotSets" ], - "operationId": "appScreenshotSets-delete_instance", + "operationId": "appScreenshotSets_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -10670,7 +10693,7 @@ "tags": [ "AppScreenshots" ], - "operationId": "appScreenshots-create_instance", + "operationId": "appScreenshots_createInstance", "requestBody": { "description": "AppScreenshot representation", "content": { @@ -10751,7 +10774,7 @@ "tags": [ "AppScreenshots" ], - "operationId": "appScreenshots-get_instance", + "operationId": "appScreenshots_getInstance", "parameters": [ { "name": "fields[appScreenshots]", @@ -10762,16 +10785,16 @@ "items": { "type": "string", "enum": [ - "appScreenshotSet", - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", "fileSize", - "imageAsset", + "fileName", "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appScreenshotSet" ] } }, @@ -10854,7 +10877,7 @@ "tags": [ "AppScreenshots" ], - "operationId": "appScreenshots-update_instance", + "operationId": "appScreenshots_updateInstance", "requestBody": { "description": "AppScreenshot representation", "content": { @@ -10943,7 +10966,7 @@ "tags": [ "AppScreenshots" ], - "operationId": "appScreenshots-delete_instance", + "operationId": "appScreenshots_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -11018,7 +11041,7 @@ "tags": [ "AppStoreReviewAttachments" ], - "operationId": "appStoreReviewAttachments-create_instance", + "operationId": "appStoreReviewAttachments_createInstance", "requestBody": { "description": "AppStoreReviewAttachment representation", "content": { @@ -11099,7 +11122,7 @@ "tags": [ "AppStoreReviewAttachments" ], - "operationId": "appStoreReviewAttachments-get_instance", + "operationId": "appStoreReviewAttachments_getInstance", "parameters": [ { "name": "fields[appStoreReviewAttachments]", @@ -11110,13 +11133,13 @@ "items": { "type": "string", "enum": [ - "appStoreReviewDetail", - "assetDeliveryState", - "fileName", "fileSize", + "fileName", "sourceFileChecksum", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appStoreReviewDetail" ] } }, @@ -11199,7 +11222,7 @@ "tags": [ "AppStoreReviewAttachments" ], - "operationId": "appStoreReviewAttachments-update_instance", + "operationId": "appStoreReviewAttachments_updateInstance", "requestBody": { "description": "AppStoreReviewAttachment representation", "content": { @@ -11288,7 +11311,7 @@ "tags": [ "AppStoreReviewAttachments" ], - "operationId": "appStoreReviewAttachments-delete_instance", + "operationId": "appStoreReviewAttachments_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -11363,7 +11386,7 @@ "tags": [ "AppStoreReviewDetails" ], - "operationId": "appStoreReviewDetails-create_instance", + "operationId": "appStoreReviewDetails_createInstance", "requestBody": { "description": "AppStoreReviewDetail representation", "content": { @@ -11444,7 +11467,7 @@ "tags": [ "AppStoreReviewDetails" ], - "operationId": "appStoreReviewDetails-get_instance", + "operationId": "appStoreReviewDetails_getInstance", "parameters": [ { "name": "fields[appStoreReviewDetails]", @@ -11455,16 +11478,16 @@ "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", - "appStoreVersion", - "contactEmail", "contactFirstName", "contactLastName", "contactPhone", + "contactEmail", "demoAccountName", "demoAccountPassword", "demoAccountRequired", - "notes" + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -11473,16 +11496,21 @@ "required": false }, { - "name": "include", + "name": "fields[appStoreReviewAttachments]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreReviewAttachments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", - "appStoreVersion" + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appStoreReviewDetail" ] } }, @@ -11491,21 +11519,16 @@ "required": false }, { - "name": "fields[appStoreReviewAttachments]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewAttachments", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewDetail", - "assetDeliveryState", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -11582,7 +11605,7 @@ "tags": [ "AppStoreReviewDetails" ], - "operationId": "appStoreReviewDetails-update_instance", + "operationId": "appStoreReviewDetails_updateInstance", "requestBody": { "description": "AppStoreReviewDetail representation", "content": { @@ -11685,7 +11708,7 @@ "tags": [ "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations-create_instance", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_createInstance", "requestBody": { "description": "AppStoreVersionExperimentTreatmentLocalization representation", "content": { @@ -11766,7 +11789,7 @@ "tags": [ "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations-get_instance", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_getInstance", "parameters": [ { "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", @@ -11777,10 +11800,10 @@ "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", + "locale", "appStoreVersionExperimentTreatment", - "locale" + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -11789,17 +11812,19 @@ "required": false }, { - "name": "include", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersionExperimentTreatment" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -11808,19 +11833,19 @@ "required": false }, { - "name": "fields[appScreenshotSets]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "previewType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appScreenshots", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "appPreviews" ] } }, @@ -11829,19 +11854,17 @@ "required": false }, { - "name": "fields[appPreviewSets]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appPreviews", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -11929,7 +11952,7 @@ "tags": [ "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations-delete_instance", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -12004,7 +12027,7 @@ "tags": [ "AppStoreVersionExperimentTreatments" ], - "operationId": "appStoreVersionExperimentTreatments-create_instance", + "operationId": "appStoreVersionExperimentTreatments_createInstance", "requestBody": { "description": "AppStoreVersionExperimentTreatment representation", "content": { @@ -12085,7 +12108,7 @@ "tags": [ "AppStoreVersionExperimentTreatments" ], - "operationId": "appStoreVersionExperimentTreatments-get_instance", + "operationId": "appStoreVersionExperimentTreatments_getInstance", "parameters": [ { "name": "fields[appStoreVersionExperimentTreatments]", @@ -12096,13 +12119,13 @@ "items": { "type": "string", "enum": [ + "name", "appIcon", "appIconName", + "promotedDate", "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", "appStoreVersionExperimentV2", - "name", - "promotedDate" + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -12111,17 +12134,18 @@ "required": false }, { - "name": "include", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", - "appStoreVersionExperimentV2" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -12130,18 +12154,17 @@ "required": false }, { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersionExperimentTreatment", - "locale" + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -12218,7 +12241,7 @@ "tags": [ "AppStoreVersionExperimentTreatments" ], - "operationId": "appStoreVersionExperimentTreatments-update_instance", + "operationId": "appStoreVersionExperimentTreatments_updateInstance", "requestBody": { "description": "AppStoreVersionExperimentTreatment representation", "content": { @@ -12307,7 +12330,7 @@ "tags": [ "AppStoreVersionExperimentTreatments" ], - "operationId": "appStoreVersionExperimentTreatments-delete_instance", + "operationId": "appStoreVersionExperimentTreatments_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -12382,7 +12405,7 @@ "tags": [ "AppStoreVersionExperiments" ], - "operationId": "appStoreVersionExperimentsV2-create_instance", + "operationId": "appStoreVersionExperimentsV2_createInstance", "requestBody": { "description": "AppStoreVersionExperiment representation", "content": { @@ -12463,7 +12486,7 @@ "tags": [ "AppStoreVersionExperiments" ], - "operationId": "appStoreVersionExperimentsV2-get_instance", + "operationId": "appStoreVersionExperimentsV2_getInstance", "parameters": [ { "name": "fields[appStoreVersionExperiments]", @@ -12474,18 +12497,18 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", "name", "platform", + "trafficProportion", + "state", "reviewRequired", "startDate", + "endDate", "started", - "state", - "trafficProportion" + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -12494,18 +12517,21 @@ "required": false }, { - "name": "include", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersionExperimentTreatments", - "controlVersions", - "latestControlVersion" + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -12514,21 +12540,18 @@ "required": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appIcon", - "appIconName", - "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", - "appStoreVersionExperimentV2", - "name", - "promotedDate" + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -12616,7 +12639,7 @@ "tags": [ "AppStoreVersionExperiments" ], - "operationId": "appStoreVersionExperimentsV2-update_instance", + "operationId": "appStoreVersionExperimentsV2_updateInstance", "requestBody": { "description": "AppStoreVersionExperiment representation", "content": { @@ -12705,7 +12728,7 @@ "tags": [ "AppStoreVersionExperiments" ], - "operationId": "appStoreVersionExperimentsV2-delete_instance", + "operationId": "appStoreVersionExperimentsV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -12780,7 +12803,7 @@ "tags": [ "AppStoreVersionExperiments" ], - "operationId": "appStoreVersionExperiments-create_instance", + "operationId": "appStoreVersionExperiments_createInstance", "deprecated": true, "requestBody": { "description": "AppStoreVersionExperiment representation", @@ -12862,7 +12885,7 @@ "tags": [ "AppStoreVersionExperiments" ], - "operationId": "appStoreVersionExperiments-get_instance", + "operationId": "appStoreVersionExperiments_getInstance", "deprecated": true, "parameters": [ { @@ -12874,15 +12897,15 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "endDate", "name", + "trafficProportion", + "state", "reviewRequired", "startDate", + "endDate", "started", - "state", - "trafficProportion" + "appStoreVersion", + "appStoreVersionExperimentTreatments" ] } }, @@ -12891,16 +12914,21 @@ "required": false }, { - "name": "include", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "appStoreVersionExperimentTreatments" + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -12909,21 +12937,16 @@ "required": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appIcon", - "appIconName", - "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", - "appStoreVersionExperimentV2", - "name", - "promotedDate" + "appStoreVersion", + "appStoreVersionExperimentTreatments" ] } }, @@ -13000,7 +13023,7 @@ "tags": [ "AppStoreVersionExperiments" ], - "operationId": "appStoreVersionExperiments-update_instance", + "operationId": "appStoreVersionExperiments_updateInstance", "deprecated": true, "requestBody": { "description": "AppStoreVersionExperiment representation", @@ -13090,7 +13113,7 @@ "tags": [ "AppStoreVersionExperiments" ], - "operationId": "appStoreVersionExperiments-delete_instance", + "operationId": "appStoreVersionExperiments_deleteInstance", "deprecated": true, "responses": { "400": { @@ -13166,7 +13189,7 @@ "tags": [ "AppStoreVersionLocalizations" ], - "operationId": "appStoreVersionLocalizations-create_instance", + "operationId": "appStoreVersionLocalizations_createInstance", "requestBody": { "description": "AppStoreVersionLocalization representation", "content": { @@ -13247,7 +13270,7 @@ "tags": [ "AppStoreVersionLocalizations" ], - "operationId": "appStoreVersionLocalizations-get_instance", + "operationId": "appStoreVersionLocalizations_getInstance", "parameters": [ { "name": "fields[appStoreVersionLocalizations]", @@ -13258,16 +13281,16 @@ "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", "description", - "keywords", "locale", + "keywords", "marketingUrl", "promotionalText", "supportUrl", - "whatsNew" + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -13276,17 +13299,19 @@ "required": false }, { - "name": "include", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -13295,19 +13320,19 @@ "required": false }, { - "name": "fields[appScreenshotSets]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "previewType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appScreenshots", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "appPreviews" ] } }, @@ -13316,19 +13341,17 @@ "required": false }, { - "name": "fields[appPreviewSets]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appPreviews", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -13416,7 +13439,7 @@ "tags": [ "AppStoreVersionLocalizations" ], - "operationId": "appStoreVersionLocalizations-update_instance", + "operationId": "appStoreVersionLocalizations_updateInstance", "requestBody": { "description": "AppStoreVersionLocalization representation", "content": { @@ -13505,7 +13528,7 @@ "tags": [ "AppStoreVersionLocalizations" ], - "operationId": "appStoreVersionLocalizations-delete_instance", + "operationId": "appStoreVersionLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -13580,7 +13603,7 @@ "tags": [ "AppStoreVersionPhasedReleases" ], - "operationId": "appStoreVersionPhasedReleases-create_instance", + "operationId": "appStoreVersionPhasedReleases_createInstance", "requestBody": { "description": "AppStoreVersionPhasedRelease representation", "content": { @@ -13661,7 +13684,7 @@ "tags": [ "AppStoreVersionPhasedReleases" ], - "operationId": "appStoreVersionPhasedReleases-update_instance", + "operationId": "appStoreVersionPhasedReleases_updateInstance", "requestBody": { "description": "AppStoreVersionPhasedRelease representation", "content": { @@ -13750,7 +13773,7 @@ "tags": [ "AppStoreVersionPhasedReleases" ], - "operationId": "appStoreVersionPhasedReleases-delete_instance", + "operationId": "appStoreVersionPhasedReleases_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -13825,7 +13848,7 @@ "tags": [ "AppStoreVersionPromotions" ], - "operationId": "appStoreVersionPromotions-create_instance", + "operationId": "appStoreVersionPromotions_createInstance", "requestBody": { "description": "AppStoreVersionPromotion representation", "content": { @@ -13906,7 +13929,7 @@ "tags": [ "AppStoreVersionReleaseRequests" ], - "operationId": "appStoreVersionReleaseRequests-create_instance", + "operationId": "appStoreVersionReleaseRequests_createInstance", "requestBody": { "description": "AppStoreVersionReleaseRequest representation", "content": { @@ -13987,7 +14010,7 @@ "tags": [ "AppStoreVersionSubmissions" ], - "operationId": "appStoreVersionSubmissions-create_instance", + "operationId": "appStoreVersionSubmissions_createInstance", "deprecated": true, "requestBody": { "description": "AppStoreVersionSubmission representation", @@ -14069,7 +14092,7 @@ "tags": [ "AppStoreVersionSubmissions" ], - "operationId": "appStoreVersionSubmissions-delete_instance", + "operationId": "appStoreVersionSubmissions_deleteInstance", "deprecated": true, "responses": { "400": { @@ -14145,7 +14168,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-create_instance", + "operationId": "appStoreVersions_createInstance", "requestBody": { "description": "AppStoreVersion representation", "content": { @@ -14226,7 +14249,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-get_instance", + "operationId": "appStoreVersions_getInstance", "parameters": [ { "name": "fields[appStoreVersions]", @@ -14237,29 +14260,30 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", + "platform", + "versionString", "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", "appVersionState", - "build", "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -14268,55 +14292,61 @@ "required": false }, { - "name": "include", + "name": "fields[ageRatingDeclarations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type ageRatingDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "routingAppCoverage" + "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 + "required": false, + "deprecated": true }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -14325,69 +14355,78 @@ "required": false }, { - "name": "fields[appStoreVersionSubmissions]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "fields[ageRatingDeclarations]", + "name": "fields[appStoreVersionPhasedReleases]", "in": "query", - "description": "the fields to include for returned resources of type ageRatingDeclarations", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingOverride", - "alcoholTobaccoOrDrugUseOrReferences", - "contests", - "gambling", - "gamblingAndContests", - "gamblingSimulated", - "horrorOrFearThemes", - "kidsAgeBand", - "matureOrSuggestiveThemes", - "medicalOrTreatmentInformation", - "profanityOrCrudeHumor", - "seventeenPlus", - "sexualContentGraphicAndNudity", - "sexualContentOrNudity", - "unrestrictedWebAccess", - "violenceCartoonOrFantasy", - "violenceRealistic", - "violenceRealisticProlongedGraphicOrSadistic" + "phasedReleaseState", + "startDate", + "totalPauseDuration", + "currentDayNumber", + "appStoreVersion" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "fields[alternativeDistributionPackages]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "versions" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -14396,21 +14435,21 @@ "required": false }, { - "name": "fields[customerReviews]", + "name": "fields[routingAppCoverages]", "in": "query", - "description": "the fields to include for returned resources of type customerReviews", + "description": "the fields to include for returned resources of type routingAppCoverages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "body", - "createdDate", - "rating", - "response", - "reviewerNickname", - "territory", - "title" + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appStoreVersion" ] } }, @@ -14427,16 +14466,16 @@ "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", - "appStoreVersion", - "contactEmail", "contactFirstName", "contactLastName", "contactPhone", + "contactEmail", "demoAccountName", "demoAccountPassword", "demoAccountRequired", - "notes" + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -14445,43 +14484,38 @@ "required": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[appStoreVersionSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "appStoreVersion" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { - "name": "fields[routingAppCoverages]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "assetDeliveryState", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -14490,19 +14524,27 @@ "required": false }, { - "name": "fields[appStoreVersionPhasedReleases]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "currentDayNumber", - "phasedReleaseState", + "name", + "trafficProportion", + "state", + "reviewRequired", "startDate", - "totalPauseDuration" + "endDate", + "started", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" ] } }, @@ -14511,38 +14553,16 @@ "required": false }, { - "name": "fields[builds]", + "name": "fields[alternativeDistributionPackages]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "versions" ] } }, @@ -14551,24 +14571,27 @@ "required": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "alternativeDistributionPackage" ] } }, @@ -14668,7 +14691,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-update_instance", + "operationId": "appStoreVersions_updateInstance", "requestBody": { "description": "AppStoreVersion representation", "content": { @@ -14757,7 +14780,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-delete_instance", + "operationId": "appStoreVersions_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -14832,8 +14855,50 @@ "tags": [ "Apps" ], - "operationId": "apps-get_collection", + "operationId": "apps_getCollection", "parameters": [ + { + "name": "filter[name]", + "in": "query", + "description": "filter by attribute 'name'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[bundleId]", + "in": "query", + "description": "filter by attribute 'bundleId'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "filter[sku]", + "in": "query", + "description": "filter by attribute 'sku'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "filter[appStoreVersions.appStoreState]", "in": "query", @@ -14870,6 +14935,26 @@ "explode": false, "required": false }, + { + "name": "filter[appStoreVersions.platform]", + "in": "query", + "description": "filter by attribute 'appStoreVersions.platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "filter[appStoreVersions.appVersionState]", "in": "query", @@ -14902,18 +14987,21 @@ "required": false }, { - "name": "filter[appStoreVersions.platform]", + "name": "filter[reviewSubmissions.state]", "in": "query", - "description": "filter by attribute 'appStoreVersions.platform'", + "description": "filter by attribute 'reviewSubmissions.state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" + "READY_FOR_REVIEW", + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "UNRESOLVED_ISSUES", + "CANCELING", + "COMPLETING", + "COMPLETE" ] } }, @@ -14922,41 +15010,19 @@ "required": false }, { - "name": "filter[bundleId]", + "name": "filter[reviewSubmissions.platform]", "in": "query", - "description": "filter by attribute 'bundleId'", + "description": "filter by attribute 'reviewSubmissions.platform'", "schema": { "type": "array", "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[name]", - "in": "query", - "description": "filter by attribute 'name'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "filter[sku]", - "in": "query", - "description": "filter by attribute 'sku'", - "schema": { - "type": "array", - "items": { - "type": "string" + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] } }, "style": "form", @@ -15012,10 +15078,10 @@ "items": { "type": "string", "enum": [ - "bundleId", - "-bundleId", "name", "-name", + "bundleId", + "-bundleId", "sku", "-sku" ] @@ -15034,153 +15100,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", + "bundleId", "sku", - "subscriptionGracePeriod", - "subscriptionGroups", + "primaryLocale", + "isOrEverWasMadeForKids", "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } - }, - "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": [ - "appClips", - "appCustomProductPages", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", "builds", - "ciProduct", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "perfPowerMetrics", + "appCustomProductPages", "inAppPurchasesV2", - "preOrder", - "preReleaseVersions", "promotedPurchases", + "appEvents", "reviewSubmissions", "subscriptionGracePeriod", - "subscriptionGroups" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaAppReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -15189,18 +15153,31 @@ "required": false }, { - "name": "fields[appPriceSchedules]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type appPriceSchedules", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", "app", - "automaticPrices", - "baseTerritory", - "manualPrices" + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -15217,59 +15194,15 @@ "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", "name", - "primaryRepositories", + "createdDate", "productType", - "workflows" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[alternativeDistributionKeys]", - "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionKeys", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "publicKey" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[reviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ "app", - "appStoreVersionForReview", - "canceled", - "items", - "lastUpdatedByActor", - "platform", - "state", - "submitted", - "submittedByActor", - "submittedDate" + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -15286,43 +15219,20 @@ "items": { "type": "string", "enum": [ - "app", - "betaTesters", - "builds", + "name", "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", "isInternalGroup", - "name", - "publicLink", + "hasAccessToAllBuilds", "publicLinkEnabled", "publicLinkId", + "publicLinkLimitEnabled", "publicLinkLimit", - "publicLinkLimitEnabled" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" + "builds", + "betaTesters" ] } }, @@ -15331,41 +15241,58 @@ "required": false }, { - "name": "fields[appAvailabilities]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type appAvailabilities", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", "app", - "availableInNewTerritories", - "availableTerritories" + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "fields[customerReviews]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type customerReviews", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "body", - "createdDate", - "rating", - "response", - "reviewerNickname", - "territory", - "title" + "version", + "platform", + "builds", + "app" ] } }, @@ -15374,26 +15301,21 @@ "required": false }, { - "name": "fields[appEvents]", + "name": "fields[betaAppLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appEvents", + "description": "the fields to include for returned resources of type betaAppLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "archivedTerritorySchedules", - "badge", - "deepLink", - "eventState", - "localizations", - "primaryLocale", - "priority", - "purchaseRequirement", - "purpose", - "referenceName", - "territorySchedules" + "feedbackEmail", + "marketingUrl", + "privacyPolicyUrl", + "tvOsPrivacyPolicy", + "description", + "locale", + "app" ] } }, @@ -15410,30 +15332,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -15460,36 +15382,23 @@ "required": false }, { - "name": "fields[marketplaceSearchDetails]", - "in": "query", - "description": "the fields to include for returned resources of type marketplaceSearchDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "catalogUrl" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appClips]", + "name": "fields[betaAppReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "the fields to include for returned resources of type betaAppReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appClipAdvancedExperiences", - "appClipDefaultExperiences", - "bundleId" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "app" ] } }, @@ -15506,21 +15415,23 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appInfoLocalizations", - "appStoreAgeRating", "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", "brazilAgeRating", "brazilAgeRatingV2", + "koreaAgeRating", "kidsAgeBand", + "app", + "ageRatingDeclaration", + "appInfoLocalizations", "primaryCategory", "primarySubcategoryOne", "primarySubcategoryTwo", "secondaryCategory", "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "state" + "secondarySubcategoryTwo" ] } }, @@ -15529,21 +15440,18 @@ "required": false }, { - "name": "fields[betaAppLocalizations]", + "name": "fields[appClips]", "in": "query", - "description": "the fields to include for returned resources of type betaAppLocalizations", + "description": "the fields to include for returned resources of type appClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "bundleId", "app", - "description", - "feedbackEmail", - "locale", - "marketingUrl", - "privacyPolicyUrl", - "tvOsPrivacyPolicy" + "appClipDefaultExperiences", + "appClipAdvancedExperiences" ] } }, @@ -15552,19 +15460,17 @@ "required": false }, { - "name": "fields[appPricePoints]", + "name": "fields[endUserLicenseAgreements]", "in": "query", - "description": "the fields to include for returned resources of type appPricePoints", + "description": "the fields to include for returned resources of type endUserLicenseAgreements", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "agreementText", "app", - "customerPrice", - "equalizations", - "proceeds", - "territory" + "territories" ] } }, @@ -15573,51 +15479,52 @@ "required": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[appPreOrders]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type appPreOrders", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "apps", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", - "pricePoints", - "productId", - "promotedPurchase", - "referenceName", - "reviewNote", - "state" + "preOrderAvailableDate", + "appReleaseDate", + "app" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { - "name": "fields[preReleaseVersions]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "referenceName", + "productId", + "inAppPurchaseType", + "state", + "apps", + "name", + "reviewNote", + "familySharable", + "contentHosting", "app", - "builds", - "platform", - "version" + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -15634,10 +15541,10 @@ "items": { "type": "string", "enum": [ - "app", "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" + "app", + "subscriptions", + "subscriptionGroupLocalizations" ] } }, @@ -15646,66 +15553,66 @@ "required": false }, { - "name": "fields[analyticsReportRequests]", + "name": "fields[gameCenterEnabledVersions]", "in": "query", - "description": "the fields to include for returned resources of type analyticsReportRequests", + "description": "the fields to include for returned resources of type gameCenterEnabledVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "accessType", - "app", - "reports", - "stoppedDueToInactivity" + "platform", + "versionString", + "iconAsset", + "compatibleVersions", + "app" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { - "name": "fields[appPreOrders]", + "name": "fields[appCustomProductPages]", "in": "query", - "description": "the fields to include for returned resources of type appPreOrders", + "description": "the fields to include for returned resources of type appCustomProductPages", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "name", + "url", + "visible", "app", - "appReleaseDate", - "preOrderAvailableDate" + "appCustomProductPageVersions", + "appStoreVersionTemplate", + "customProductPageTemplate" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", + "visibleForAllUsers", + "enabled", "state", - "trafficProportion" + "app", + "inAppPurchaseV2", + "subscription", + "promotionImages" ] } }, @@ -15714,40 +15621,52 @@ "required": false }, { - "name": "fields[gameCenterEnabledVersions]", + "name": "fields[appEvents]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterEnabledVersions", + "description": "the fields to include for returned resources of type appEvents", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", "app", - "compatibleVersions", - "iconAsset", - "platform", - "versionString" + "localizations" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "fields[subscriptionGracePeriods]", + "name": "fields[reviewSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "description": "the fields to include for returned resources of type reviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "optIn", - "renewalType", - "sandboxOptIn" + "platform", + "submittedDate", + "state", + "submitted", + "canceled", + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" ] } }, @@ -15756,17 +15675,18 @@ "required": false }, { - "name": "fields[endUserLicenseAgreements]", + "name": "fields[subscriptionGracePeriods]", "in": "query", - "description": "the fields to include for returned resources of type endUserLicenseAgreements", + "description": "the fields to include for returned resources of type subscriptionGracePeriods", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "agreementText", - "app", - "territories" + "optIn", + "sandboxOptIn", + "duration", + "renewalType" ] } }, @@ -15775,37 +15695,27 @@ "required": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", + "arcadeEnabled", + "challengeEnabled", "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -15814,21 +15724,26 @@ "required": false }, { - "name": "fields[appCustomProductPages]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate", "name", - "url", - "visible" + "platform", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "started", + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -15837,50 +15752,48 @@ "required": false }, { - "name": "fields[appEncryptionDeclarations]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "createdDate", - "documentName", - "documentType", - "documentUrl", - "exempt", - "platform", - "uploadedDate", - "usesEncryption" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false, - "required": false + "style": "form" }, { - "name": "fields[perfPowerMetrics]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type perfPowerMetrics", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "deviceType", - "metricType", - "platform" + "appEncryptionDeclarations", + "ciProduct", + "betaGroups", + "appStoreVersions", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "endUserLicenseAgreement", + "preOrder", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "gameCenterDetail", + "appStoreVersionExperimentsV2" ] } }, @@ -16127,7 +16040,7 @@ "tags": [ "Apps" ], - "operationId": "apps-get_instance", + "operationId": "apps_getInstance", "parameters": [ { "name": "fields[apps]", @@ -16138,143 +16051,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", + "bundleId", "sku", - "subscriptionGracePeriod", - "subscriptionGroups", + "primaryLocale", + "isOrEverWasMadeForKids", "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } - }, - "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": [ - "appClips", - "appCustomProductPages", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", "builds", - "ciProduct", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "perfPowerMetrics", + "appCustomProductPages", "inAppPurchasesV2", - "preOrder", - "preReleaseVersions", "promotedPurchases", + "appEvents", "reviewSubmissions", "subscriptionGracePeriod", - "subscriptionGroups" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[betaAppReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -16283,18 +16104,31 @@ "required": false }, { - "name": "fields[appPriceSchedules]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type appPriceSchedules", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", "app", - "automaticPrices", - "baseTerritory", - "manualPrices" + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -16311,59 +16145,15 @@ "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", "name", - "primaryRepositories", + "createdDate", "productType", - "workflows" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[alternativeDistributionKeys]", - "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionKeys", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "publicKey" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[reviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ "app", - "appStoreVersionForReview", - "canceled", - "items", - "lastUpdatedByActor", - "platform", - "state", - "submitted", - "submittedByActor", - "submittedDate" + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -16380,43 +16170,20 @@ "items": { "type": "string", "enum": [ - "app", - "betaTesters", - "builds", + "name", "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", "isInternalGroup", - "name", - "publicLink", + "hasAccessToAllBuilds", "publicLinkEnabled", "publicLinkId", + "publicLinkLimitEnabled", "publicLinkLimit", - "publicLinkLimitEnabled" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[promotedPurchases]", - "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" + "builds", + "betaTesters" ] } }, @@ -16425,41 +16192,58 @@ "required": false }, { - "name": "fields[appAvailabilities]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type appAvailabilities", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", "app", - "availableInNewTerritories", - "availableTerritories" + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "fields[customerReviews]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type customerReviews", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "body", - "createdDate", - "rating", - "response", - "reviewerNickname", - "territory", - "title" + "version", + "platform", + "builds", + "app" ] } }, @@ -16468,26 +16252,21 @@ "required": false }, { - "name": "fields[appEvents]", + "name": "fields[betaAppLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appEvents", + "description": "the fields to include for returned resources of type betaAppLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "archivedTerritorySchedules", - "badge", - "deepLink", - "eventState", - "localizations", - "primaryLocale", - "priority", - "purchaseRequirement", - "purpose", - "referenceName", - "territorySchedules" + "feedbackEmail", + "marketingUrl", + "privacyPolicyUrl", + "tvOsPrivacyPolicy", + "description", + "locale", + "app" ] } }, @@ -16504,30 +16283,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -16554,36 +16333,23 @@ "required": false }, { - "name": "fields[marketplaceSearchDetails]", - "in": "query", - "description": "the fields to include for returned resources of type marketplaceSearchDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "catalogUrl" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appClips]", + "name": "fields[betaAppReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "the fields to include for returned resources of type betaAppReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appClipAdvancedExperiences", - "appClipDefaultExperiences", - "bundleId" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "app" ] } }, @@ -16600,21 +16366,23 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appInfoLocalizations", - "appStoreAgeRating", "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", "brazilAgeRating", "brazilAgeRatingV2", + "koreaAgeRating", "kidsAgeBand", + "app", + "ageRatingDeclaration", + "appInfoLocalizations", "primaryCategory", "primarySubcategoryOne", "primarySubcategoryTwo", "secondaryCategory", "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "state" + "secondarySubcategoryTwo" ] } }, @@ -16623,21 +16391,18 @@ "required": false }, { - "name": "fields[betaAppLocalizations]", + "name": "fields[appClips]", "in": "query", - "description": "the fields to include for returned resources of type betaAppLocalizations", + "description": "the fields to include for returned resources of type appClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "bundleId", "app", - "description", - "feedbackEmail", - "locale", - "marketingUrl", - "privacyPolicyUrl", - "tvOsPrivacyPolicy" + "appClipDefaultExperiences", + "appClipAdvancedExperiences" ] } }, @@ -16646,19 +16411,17 @@ "required": false }, { - "name": "fields[appPricePoints]", + "name": "fields[endUserLicenseAgreements]", "in": "query", - "description": "the fields to include for returned resources of type appPricePoints", + "description": "the fields to include for returned resources of type endUserLicenseAgreements", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "agreementText", "app", - "customerPrice", - "equalizations", - "proceeds", - "territory" + "territories" ] } }, @@ -16667,51 +16430,52 @@ "required": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[appPreOrders]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type appPreOrders", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "apps", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", - "pricePoints", - "productId", - "promotedPurchase", - "referenceName", - "reviewNote", - "state" + "preOrderAvailableDate", + "appReleaseDate", + "app" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { - "name": "fields[preReleaseVersions]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "referenceName", + "productId", + "inAppPurchaseType", + "state", + "apps", + "name", + "reviewNote", + "familySharable", + "contentHosting", "app", - "builds", - "platform", - "version" + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -16728,30 +16492,10 @@ "items": { "type": "string", "enum": [ - "app", "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" - ] - } - }, - "style": "form", - "explode": false, - "required": 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", "app", - "reports", - "stoppedDueToInactivity" + "subscriptions", + "subscriptionGroupLocalizations" ] } }, @@ -16760,17 +16504,19 @@ "required": false }, { - "name": "fields[appPreOrders]", + "name": "fields[gameCenterEnabledVersions]", "in": "query", - "description": "the fields to include for returned resources of type appPreOrders", + "description": "the fields to include for returned resources of type gameCenterEnabledVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appReleaseDate", - "preOrderAvailableDate" + "platform", + "versionString", + "iconAsset", + "compatibleVersions", + "app" ] } }, @@ -16780,26 +16526,21 @@ "deprecated": true }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[appCustomProductPages]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type appCustomProductPages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" + "url", + "visible", + "app", + "appCustomProductPageVersions", + "appStoreVersionTemplate", + "customProductPageTemplate" ] } }, @@ -16808,40 +16549,49 @@ "required": false }, { - "name": "fields[gameCenterEnabledVersions]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterEnabledVersions", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "visibleForAllUsers", + "enabled", + "state", "app", - "compatibleVersions", - "iconAsset", - "platform", - "versionString" + "inAppPurchaseV2", + "subscription", + "promotionImages" ] } }, "style": "form", "explode": false, - "required": false, - "deprecated": true + "required": false }, { - "name": "fields[subscriptionGracePeriods]", + "name": "fields[appEvents]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "description": "the fields to include for returned resources of type appEvents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "optIn", - "renewalType", - "sandboxOptIn" + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "app", + "localizations" ] } }, @@ -16850,17 +16600,24 @@ "required": false }, { - "name": "fields[endUserLicenseAgreements]", + "name": "fields[reviewSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type endUserLicenseAgreements", + "description": "the fields to include for returned resources of type reviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "agreementText", + "platform", + "submittedDate", + "state", + "submitted", + "canceled", "app", - "territories" + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" ] } }, @@ -16869,37 +16626,18 @@ "required": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[subscriptionGracePeriods]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type subscriptionGracePeriods", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "optIn", + "sandboxOptIn", + "duration", + "renewalType" ] } }, @@ -16908,21 +16646,27 @@ "required": false }, { - "name": "fields[appCustomProductPages]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "arcadeEnabled", + "challengeEnabled", "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate", - "name", - "url", - "visible" + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -16931,31 +16675,26 @@ "required": false }, { - "name": "fields[appEncryptionDeclarations]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "createdDate", - "documentName", - "documentType", - "documentUrl", - "exempt", + "name", "platform", - "uploadedDate", - "usesEncryption" + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "started", + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -16964,17 +16703,38 @@ "required": false }, { - "name": "fields[perfPowerMetrics]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type perfPowerMetrics", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "deviceType", - "metricType", - "platform" + "appEncryptionDeclarations", + "ciProduct", + "betaGroups", + "appStoreVersions", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "endUserLicenseAgreement", + "preOrder", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "gameCenterDetail", + "appStoreVersionExperimentsV2" ] } }, @@ -17229,7 +16989,7 @@ "tags": [ "Apps" ], - "operationId": "apps-update_instance", + "operationId": "apps_updateInstance", "requestBody": { "description": "App representation", "content": { @@ -17332,7 +17092,7 @@ "tags": [ "BetaAppClipInvocationLocalizations" ], - "operationId": "betaAppClipInvocationLocalizations-create_instance", + "operationId": "betaAppClipInvocationLocalizations_createInstance", "requestBody": { "description": "BetaAppClipInvocationLocalization representation", "content": { @@ -17413,7 +17173,7 @@ "tags": [ "BetaAppClipInvocationLocalizations" ], - "operationId": "betaAppClipInvocationLocalizations-update_instance", + "operationId": "betaAppClipInvocationLocalizations_updateInstance", "requestBody": { "description": "BetaAppClipInvocationLocalization representation", "content": { @@ -17502,7 +17262,7 @@ "tags": [ "BetaAppClipInvocationLocalizations" ], - "operationId": "betaAppClipInvocationLocalizations-delete_instance", + "operationId": "betaAppClipInvocationLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -17577,7 +17337,7 @@ "tags": [ "BetaAppClipInvocations" ], - "operationId": "betaAppClipInvocations-create_instance", + "operationId": "betaAppClipInvocations_createInstance", "requestBody": { "description": "BetaAppClipInvocation representation", "content": { @@ -17658,7 +17418,7 @@ "tags": [ "BetaAppClipInvocations" ], - "operationId": "betaAppClipInvocations-get_instance", + "operationId": "betaAppClipInvocations_getInstance", "parameters": [ { "name": "fields[betaAppClipInvocations]", @@ -17669,9 +17429,9 @@ "items": { "type": "string", "enum": [ - "betaAppClipInvocationLocalizations", + "url", "buildBundle", - "url" + "betaAppClipInvocationLocalizations" ] } }, @@ -17765,7 +17525,7 @@ "tags": [ "BetaAppClipInvocations" ], - "operationId": "betaAppClipInvocations-update_instance", + "operationId": "betaAppClipInvocations_updateInstance", "requestBody": { "description": "BetaAppClipInvocation representation", "content": { @@ -17854,7 +17614,7 @@ "tags": [ "BetaAppClipInvocations" ], - "operationId": "betaAppClipInvocations-delete_instance", + "operationId": "betaAppClipInvocations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -17929,7 +17689,7 @@ "tags": [ "BetaAppLocalizations" ], - "operationId": "betaAppLocalizations-get_collection", + "operationId": "betaAppLocalizations_getCollection", "parameters": [ { "name": "filter[locale]", @@ -17968,13 +17728,74 @@ "items": { "type": "string", "enum": [ - "app", - "description", "feedbackEmail", - "locale", "marketingUrl", "privacyPolicyUrl", - "tvOsPrivacyPolicy" + "tvOsPrivacyPolicy", + "description", + "locale", + "app" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "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" ] } }, @@ -18008,65 +17829,6 @@ "style": "form", "explode": false, "required": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } - }, - "style": "form", - "explode": false, - "required": false } ], "responses": { @@ -18116,7 +17878,7 @@ "tags": [ "BetaAppLocalizations" ], - "operationId": "betaAppLocalizations-create_instance", + "operationId": "betaAppLocalizations_createInstance", "requestBody": { "description": "BetaAppLocalization representation", "content": { @@ -18197,7 +17959,7 @@ "tags": [ "BetaAppLocalizations" ], - "operationId": "betaAppLocalizations-get_instance", + "operationId": "betaAppLocalizations_getInstance", "parameters": [ { "name": "fields[betaAppLocalizations]", @@ -18208,13 +17970,13 @@ "items": { "type": "string", "enum": [ - "app", - "description", "feedbackEmail", - "locale", "marketingUrl", "privacyPolicyUrl", - "tvOsPrivacyPolicy" + "tvOsPrivacyPolicy", + "description", + "locale", + "app" ] } }, @@ -18223,15 +17985,59 @@ "required": false }, { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app" + "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" ] } }, @@ -18240,57 +18046,15 @@ "required": false }, { - "name": "fields[apps]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "app" ] } }, @@ -18356,7 +18120,7 @@ "tags": [ "BetaAppLocalizations" ], - "operationId": "betaAppLocalizations-update_instance", + "operationId": "betaAppLocalizations_updateInstance", "requestBody": { "description": "BetaAppLocalization representation", "content": { @@ -18445,7 +18209,7 @@ "tags": [ "BetaAppLocalizations" ], - "operationId": "betaAppLocalizations-delete_instance", + "operationId": "betaAppLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -18520,7 +18284,7 @@ "tags": [ "BetaAppReviewDetails" ], - "operationId": "betaAppReviewDetails-get_collection", + "operationId": "betaAppReviewDetails_getCollection", "parameters": [ { "name": "filter[app]", @@ -18545,15 +18309,15 @@ "items": { "type": "string", "enum": [ - "app", - "contactEmail", "contactFirstName", "contactLastName", "contactPhone", + "contactEmail", "demoAccountName", "demoAccountPassword", "demoAccountRequired", - "notes" + "notes", + "app" ] } }, @@ -18562,25 +18326,59 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app" + "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" ] } }, @@ -18589,57 +18387,25 @@ "required": false }, { - "name": "fields[apps]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type apps", + "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": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "app" ] } }, @@ -18697,7 +18463,7 @@ "tags": [ "BetaAppReviewDetails" ], - "operationId": "betaAppReviewDetails-get_instance", + "operationId": "betaAppReviewDetails_getInstance", "parameters": [ { "name": "fields[betaAppReviewDetails]", @@ -18708,15 +18474,15 @@ "items": { "type": "string", "enum": [ - "app", - "contactEmail", "contactFirstName", "contactLastName", "contactPhone", + "contactEmail", "demoAccountName", "demoAccountPassword", "demoAccountRequired", - "notes" + "notes", + "app" ] } }, @@ -18725,15 +18491,59 @@ "required": false }, { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app" + "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" ] } }, @@ -18742,57 +18552,15 @@ "required": false }, { - "name": "fields[apps]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "app" ] } }, @@ -18858,7 +18626,7 @@ "tags": [ "BetaAppReviewDetails" ], - "operationId": "betaAppReviewDetails-update_instance", + "operationId": "betaAppReviewDetails_updateInstance", "requestBody": { "description": "BetaAppReviewDetail representation", "content": { @@ -18961,7 +18729,7 @@ "tags": [ "BetaAppReviewSubmissions" ], - "operationId": "betaAppReviewSubmissions-get_collection", + "operationId": "betaAppReviewSubmissions_getCollection", "parameters": [ { "name": "filter[betaReviewState]", @@ -19007,8 +18775,8 @@ "type": "string", "enum": [ "betaReviewState", - "build", - "submittedDate" + "submittedDate", + "build" ] } }, @@ -19017,25 +18785,38 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[builds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -19044,38 +18825,25 @@ "required": false }, { - "name": "fields[builds]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type builds", + "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": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "build" ] } }, @@ -19131,7 +18899,7 @@ "tags": [ "BetaAppReviewSubmissions" ], - "operationId": "betaAppReviewSubmissions-create_instance", + "operationId": "betaAppReviewSubmissions_createInstance", "requestBody": { "description": "BetaAppReviewSubmission representation", "content": { @@ -19212,7 +18980,7 @@ "tags": [ "BetaAppReviewSubmissions" ], - "operationId": "betaAppReviewSubmissions-get_instance", + "operationId": "betaAppReviewSubmissions_getInstance", "parameters": [ { "name": "fields[betaAppReviewSubmissions]", @@ -19224,8 +18992,8 @@ "type": "string", "enum": [ "betaReviewState", - "build", - "submittedDate" + "submittedDate", + "build" ] } }, @@ -19234,15 +19002,38 @@ "required": false }, { - "name": "include", + "name": "fields[builds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -19251,38 +19042,15 @@ "required": false }, { - "name": "fields[builds]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "build" ] } }, @@ -19362,7 +19130,7 @@ "tags": [ "BetaBuildLocalizations" ], - "operationId": "betaBuildLocalizations-get_collection", + "operationId": "betaBuildLocalizations_getCollection", "parameters": [ { "name": "filter[locale]", @@ -19401,9 +19169,9 @@ "items": { "type": "string", "enum": [ - "build", + "whatsNew", "locale", - "whatsNew" + "build" ] } }, @@ -19412,25 +19180,38 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[builds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -19439,38 +19220,25 @@ "required": false }, { - "name": "fields[builds]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type builds", + "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": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "build" ] } }, @@ -19526,7 +19294,7 @@ "tags": [ "BetaBuildLocalizations" ], - "operationId": "betaBuildLocalizations-create_instance", + "operationId": "betaBuildLocalizations_createInstance", "requestBody": { "description": "BetaBuildLocalization representation", "content": { @@ -19607,7 +19375,7 @@ "tags": [ "BetaBuildLocalizations" ], - "operationId": "betaBuildLocalizations-get_instance", + "operationId": "betaBuildLocalizations_getInstance", "parameters": [ { "name": "fields[betaBuildLocalizations]", @@ -19618,9 +19386,9 @@ "items": { "type": "string", "enum": [ - "build", + "whatsNew", "locale", - "whatsNew" + "build" ] } }, @@ -19629,15 +19397,38 @@ "required": false }, { - "name": "include", + "name": "fields[builds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -19646,38 +19437,15 @@ "required": false }, { - "name": "fields[builds]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "build" ] } }, @@ -19743,7 +19511,7 @@ "tags": [ "BetaBuildLocalizations" ], - "operationId": "betaBuildLocalizations-update_instance", + "operationId": "betaBuildLocalizations_updateInstance", "requestBody": { "description": "BetaBuildLocalization representation", "content": { @@ -19832,7 +19600,7 @@ "tags": [ "BetaBuildLocalizations" ], - "operationId": "betaBuildLocalizations-delete_instance", + "operationId": "betaBuildLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -19907,12 +19675,12 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-get_collection", + "operationId": "betaGroups_getCollection", "parameters": [ { - "name": "filter[isInternalGroup]", + "name": "filter[name]", "in": "query", - "description": "filter by attribute 'isInternalGroup'", + "description": "filter by attribute 'name'", "schema": { "type": "array", "items": { @@ -19924,9 +19692,9 @@ "required": false }, { - "name": "filter[name]", + "name": "filter[isInternalGroup]", "in": "query", - "description": "filter by attribute 'name'", + "description": "filter by attribute 'isInternalGroup'", "schema": { "type": "array", "items": { @@ -19938,9 +19706,9 @@ "required": false }, { - "name": "filter[publicLink]", + "name": "filter[publicLinkEnabled]", "in": "query", - "description": "filter by attribute 'publicLink'", + "description": "filter by attribute 'publicLinkEnabled'", "schema": { "type": "array", "items": { @@ -19952,9 +19720,9 @@ "required": false }, { - "name": "filter[publicLinkEnabled]", + "name": "filter[publicLinkLimitEnabled]", "in": "query", - "description": "filter by attribute 'publicLinkEnabled'", + "description": "filter by attribute 'publicLinkLimitEnabled'", "schema": { "type": "array", "items": { @@ -19966,9 +19734,9 @@ "required": false }, { - "name": "filter[publicLinkLimitEnabled]", + "name": "filter[publicLink]", "in": "query", - "description": "filter by attribute 'publicLinkLimitEnabled'", + "description": "filter by attribute 'publicLink'", "schema": { "type": "array", "items": { @@ -20030,10 +19798,10 @@ "items": { "type": "string", "enum": [ - "createdDate", - "-createdDate", "name", "-name", + "createdDate", + "-createdDate", "publicLinkEnabled", "-publicLinkEnabled", "publicLinkLimit", @@ -20054,20 +19822,20 @@ "items": { "type": "string", "enum": [ - "app", - "betaTesters", - "builds", + "name", "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", "isInternalGroup", - "name", - "publicLink", + "hasAccessToAllBuilds", "publicLinkEnabled", "publicLinkId", + "publicLinkLimitEnabled", "publicLinkLimit", - "publicLinkLimitEnabled" + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "app", + "builds", + "betaTesters" ] } }, @@ -20076,27 +19844,59 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "appEncryptionDeclarations", + "ciProduct", "betaTesters", - "builds" + "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" ] } }, @@ -20105,22 +19905,38 @@ "required": false }, { - "name": "fields[betaTesters]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "apps", + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", "betaGroups", - "builds", - "email", - "firstName", - "inviteType", - "lastName", - "state" + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -20129,57 +19945,22 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", + "firstName", + "lastName", + "email", + "inviteType", + "state", + "apps", "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "builds" ] } }, @@ -20188,38 +19969,27 @@ "required": false }, { - "name": "fields[builds]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type builds", + "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": [ "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "builds", + "betaTesters" ] } }, @@ -20297,7 +20067,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-create_instance", + "operationId": "betaGroups_createInstance", "requestBody": { "description": "BetaGroup representation", "content": { @@ -20378,7 +20148,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-get_instance", + "operationId": "betaGroups_getInstance", "parameters": [ { "name": "fields[betaGroups]", @@ -20389,20 +20159,20 @@ "items": { "type": "string", "enum": [ - "app", - "betaTesters", - "builds", + "name", "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", "isInternalGroup", - "name", - "publicLink", + "hasAccessToAllBuilds", "publicLinkEnabled", "publicLinkId", + "publicLinkLimitEnabled", "publicLinkLimit", - "publicLinkLimitEnabled" + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "app", + "builds", + "betaTesters" ] } }, @@ -20411,17 +20181,59 @@ "required": false }, { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "appEncryptionDeclarations", + "ciProduct", "betaTesters", - "builds" + "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" ] } }, @@ -20430,22 +20242,38 @@ "required": false }, { - "name": "fields[betaTesters]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "apps", + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", "betaGroups", - "builds", - "email", - "firstName", - "inviteType", - "lastName", - "state" + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -20454,57 +20282,22 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", + "firstName", + "lastName", + "email", + "inviteType", + "state", + "apps", "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "builds" ] } }, @@ -20513,38 +20306,17 @@ "required": false }, { - "name": "fields[builds]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "builds", + "betaTesters" ] } }, @@ -20632,7 +20404,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-update_instance", + "operationId": "betaGroups_updateInstance", "requestBody": { "description": "BetaGroup representation", "content": { @@ -20721,7 +20493,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-delete_instance", + "operationId": "betaGroups_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -20796,7 +20568,7 @@ "tags": [ "BetaLicenseAgreements" ], - "operationId": "betaLicenseAgreements-get_collection", + "operationId": "betaLicenseAgreements_getCollection", "parameters": [ { "name": "filter[app]", @@ -20831,25 +20603,59 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app" + "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" ] } }, @@ -20858,57 +20664,25 @@ "required": false }, { - "name": "fields[apps]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type apps", + "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": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "app" ] } }, @@ -20966,7 +20740,7 @@ "tags": [ "BetaLicenseAgreements" ], - "operationId": "betaLicenseAgreements-get_instance", + "operationId": "betaLicenseAgreements_getInstance", "parameters": [ { "name": "fields[betaLicenseAgreements]", @@ -20987,15 +20761,59 @@ "required": false }, { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app" + "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" ] } }, @@ -21004,57 +20822,15 @@ "required": false }, { - "name": "fields[apps]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "app" ] } }, @@ -21120,7 +20896,7 @@ "tags": [ "BetaLicenseAgreements" ], - "operationId": "betaLicenseAgreements-update_instance", + "operationId": "betaLicenseAgreements_updateInstance", "requestBody": { "description": "BetaLicenseAgreement representation", "content": { @@ -21223,7 +20999,7 @@ "tags": [ "BetaTesterInvitations" ], - "operationId": "betaTesterInvitations-create_instance", + "operationId": "betaTesterInvitations_createInstance", "requestBody": { "description": "BetaTesterInvitation representation", "content": { @@ -21304,12 +21080,12 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-get_collection", + "operationId": "betaTesters_getCollection", "parameters": [ { - "name": "filter[email]", + "name": "filter[firstName]", "in": "query", - "description": "filter by attribute 'email'", + "description": "filter by attribute 'firstName'", "schema": { "type": "array", "items": { @@ -21321,9 +21097,9 @@ "required": false }, { - "name": "filter[firstName]", + "name": "filter[lastName]", "in": "query", - "description": "filter by attribute 'firstName'", + "description": "filter by attribute 'lastName'", "schema": { "type": "array", "items": { @@ -21335,17 +21111,13 @@ "required": false }, { - "name": "filter[inviteType]", + "name": "filter[email]", "in": "query", - "description": "filter by attribute 'inviteType'", + "description": "filter by attribute 'email'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "EMAIL", - "PUBLIC_LINK" - ] + "type": "string" } }, "style": "form", @@ -21353,13 +21125,17 @@ "required": false }, { - "name": "filter[lastName]", + "name": "filter[inviteType]", "in": "query", - "description": "filter by attribute 'lastName'", + "description": "filter by attribute 'inviteType'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "EMAIL", + "PUBLIC_LINK" + ] } }, "style": "form", @@ -21431,14 +21207,14 @@ "items": { "type": "string", "enum": [ - "email", - "-email", "firstName", "-firstName", - "inviteType", - "-inviteType", "lastName", "-lastName", + "email", + "-email", + "inviteType", + "-inviteType", "state", "-state" ] @@ -21457,14 +21233,14 @@ "items": { "type": "string", "enum": [ - "apps", - "betaGroups", - "builds", - "email", "firstName", - "inviteType", "lastName", - "state" + "email", + "inviteType", + "state", + "apps", + "betaGroups", + "builds" ] } }, @@ -21473,27 +21249,59 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "apps", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "appEncryptionDeclarations", + "ciProduct", + "betaTesters", "betaGroups", - "builds" + "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" ] } }, @@ -21502,57 +21310,28 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[betaGroups]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "app", + "builds", + "betaTesters" ] } }, @@ -21569,30 +21348,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -21601,28 +21380,27 @@ "required": false }, { - "name": "fields[betaGroups]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type betaGroups", + "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": [ - "app", - "betaTesters", - "builds", - "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", - "isInternalGroup", - "name", - "publicLink", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimit", - "publicLinkLimitEnabled" + "apps", + "betaGroups", + "builds" ] } }, @@ -21711,7 +21489,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-create_instance", + "operationId": "betaTesters_createInstance", "requestBody": { "description": "BetaTester representation", "content": { @@ -21785,48 +21563,29 @@ } } } - } - }, - "/v1/betaTesters/{id}": { - "get": { - "tags": [ - "BetaTesters" - ], - "operationId": "betaTesters-get_instance", - "parameters": [ - { - "name": "fields[betaTesters]", - "in": "query", - "description": "the fields to include for returned resources of type betaTesters", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "apps", - "betaGroups", - "builds", - "email", - "firstName", - "inviteType", - "lastName", - "state" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, + } + }, + "/v1/betaTesters/{id}": { + "get": { + "tags": [ + "BetaTesters" + ], + "operationId": "betaTesters_getInstance", + "parameters": [ { - "name": "include", + "name": "fields[betaTesters]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "firstName", + "lastName", + "email", + "inviteType", + "state", "apps", "betaGroups", "builds" @@ -21846,49 +21605,81 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[betaGroups]", + "in": "query", + "description": "the fields to include for returned resources of type betaGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "app", + "builds", + "betaTesters" ] } }, @@ -21905,30 +21696,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -21937,28 +21728,17 @@ "required": false }, { - "name": "fields[betaGroups]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type betaGroups", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "betaTesters", - "builds", - "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", - "isInternalGroup", - "name", - "publicLink", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimit", - "publicLinkLimitEnabled" + "apps", + "betaGroups", + "builds" ] } }, @@ -22057,7 +21837,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-delete_instance", + "operationId": "betaTesters_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -22135,7 +21915,7 @@ "tags": [ "BuildBetaDetails" ], - "operationId": "buildBetaDetails-get_collection", + "operationId": "buildBetaDetails_getCollection", "parameters": [ { "name": "filter[build]", @@ -22175,9 +21955,9 @@ "type": "string", "enum": [ "autoNotifyEnabled", - "build", + "internalBuildState", "externalBuildState", - "internalBuildState" + "build" ] } }, @@ -22186,25 +21966,38 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[builds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -22213,38 +22006,25 @@ "required": false }, { - "name": "fields[builds]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type builds", + "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": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "build" ] } }, @@ -22302,7 +22082,7 @@ "tags": [ "BuildBetaDetails" ], - "operationId": "buildBetaDetails-get_instance", + "operationId": "buildBetaDetails_getInstance", "parameters": [ { "name": "fields[buildBetaDetails]", @@ -22314,9 +22094,9 @@ "type": "string", "enum": [ "autoNotifyEnabled", - "build", + "internalBuildState", "externalBuildState", - "internalBuildState" + "build" ] } }, @@ -22325,15 +22105,38 @@ "required": false }, { - "name": "include", + "name": "fields[builds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -22342,38 +22145,15 @@ "required": false }, { - "name": "fields[builds]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "build" ] } }, @@ -22439,7 +22219,7 @@ "tags": [ "BuildBetaDetails" ], - "operationId": "buildBetaDetails-update_instance", + "operationId": "buildBetaDetails_updateInstance", "requestBody": { "description": "BuildBetaDetail representation", "content": { @@ -22542,7 +22322,7 @@ "tags": [ "BuildBetaNotifications" ], - "operationId": "buildBetaNotifications-create_instance", + "operationId": "buildBetaNotifications_createInstance", "requestBody": { "description": "BuildBetaNotification representation", "content": { @@ -22623,22 +22403,16 @@ "tags": [ "Builds" ], - "operationId": "builds-get_collection", + "operationId": "builds_getCollection", "parameters": [ { - "name": "filter[betaAppReviewSubmission.betaReviewState]", + "name": "filter[version]", "in": "query", - "description": "filter by attribute 'betaAppReviewSubmission.betaReviewState'", + "description": "filter by attribute 'version'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "REJECTED", - "APPROVED" - ] + "type": "string" } }, "style": "form", @@ -22646,17 +22420,13 @@ "required": false }, { - "name": "filter[buildAudienceType]", + "name": "filter[expired]", "in": "query", - "description": "filter by attribute 'buildAudienceType'", + "description": "filter by attribute 'expired'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "INTERNAL_ONLY", - "APP_STORE_ELIGIBLE" - ] + "type": "string" } }, "style": "form", @@ -22664,13 +22434,19 @@ "required": false }, { - "name": "filter[expired]", + "name": "filter[processingState]", "in": "query", - "description": "filter by attribute 'expired'", + "description": "filter by attribute 'processingState'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "PROCESSING", + "FAILED", + "INVALID", + "VALID" + ] } }, "style": "form", @@ -22678,18 +22454,18 @@ "required": false }, { - "name": "filter[preReleaseVersion.platform]", + "name": "filter[betaAppReviewSubmission.betaReviewState]", "in": "query", - "description": "filter by attribute 'preReleaseVersion.platform'", + "description": "filter by attribute 'betaAppReviewSubmission.betaReviewState'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "REJECTED", + "APPROVED" ] } }, @@ -22698,9 +22474,9 @@ "required": false }, { - "name": "filter[preReleaseVersion.version]", + "name": "filter[usesNonExemptEncryption]", "in": "query", - "description": "filter by attribute 'preReleaseVersion.version'", + "description": "filter by attribute 'usesNonExemptEncryption'", "schema": { "type": "array", "items": { @@ -22712,19 +22488,13 @@ "required": false }, { - "name": "filter[processingState]", + "name": "filter[preReleaseVersion.version]", "in": "query", - "description": "filter by attribute 'processingState'", + "description": "filter by attribute 'preReleaseVersion.version'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "PROCESSING", - "FAILED", - "INVALID", - "VALID" - ] + "type": "string" } }, "style": "form", @@ -22732,13 +22502,19 @@ "required": false }, { - "name": "filter[usesNonExemptEncryption]", + "name": "filter[preReleaseVersion.platform]", "in": "query", - "description": "filter by attribute 'usesNonExemptEncryption'", + "description": "filter by attribute 'preReleaseVersion.platform'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] } }, "style": "form", @@ -22746,13 +22522,17 @@ "required": false }, { - "name": "filter[version]", + "name": "filter[buildAudienceType]", "in": "query", - "description": "filter by attribute 'version'", + "description": "filter by attribute 'buildAudienceType'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "INTERNAL_ONLY", + "APP_STORE_ELIGIBLE" + ] } }, "style": "form", @@ -22760,9 +22540,9 @@ "required": false }, { - "name": "filter[app]", + "name": "filter[preReleaseVersion]", "in": "query", - "description": "filter by id(s) of related 'app'", + "description": "filter by id(s) of related 'preReleaseVersion'", "schema": { "type": "array", "items": { @@ -22774,9 +22554,9 @@ "required": false }, { - "name": "filter[appStoreVersion]", + "name": "filter[app]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersion'", + "description": "filter by id(s) of related 'app'", "schema": { "type": "array", "items": { @@ -22802,9 +22582,9 @@ "required": false }, { - "name": "filter[preReleaseVersion]", + "name": "filter[appStoreVersion]", "in": "query", - "description": "filter by id(s) of related 'preReleaseVersion'", + "description": "filter by id(s) of related 'appStoreVersion'", "schema": { "type": "array", "items": { @@ -22838,12 +22618,12 @@ "items": { "type": "string", "enum": [ - "preReleaseVersion", - "-preReleaseVersion", + "version", + "-version", "uploadedDate", "-uploadedDate", - "version", - "-version" + "preReleaseVersion", + "-preReleaseVersion" ] } }, @@ -22860,30 +22640,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -22892,35 +22672,18 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildBetaDetail", - "buildBundles", - "icons", - "individualTesters", - "preReleaseVersion" + "version", + "platform", + "builds", + "app" ] } }, @@ -22929,19 +22692,22 @@ "required": false }, { - "name": "fields[diagnosticSignatures]", + "name": "fields[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type diagnosticSignatures", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "diagnosticType", - "insight", - "logs", - "signature", - "weight" + "firstName", + "lastName", + "email", + "inviteType", + "state", + "apps", + "betaGroups", + "builds" ] } }, @@ -22950,17 +22716,17 @@ "required": false }, { - "name": "fields[buildIcons]", + "name": "fields[betaBuildLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type buildIcons", + "description": "the fields to include for returned resources of type betaBuildLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "iconAsset", - "iconType", - "name" + "whatsNew", + "locale", + "build" ] } }, @@ -22969,18 +22735,31 @@ "required": false }, { - "name": "fields[buildBetaDetails]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "autoNotifyEnabled", - "build", - "externalBuildState", - "internalBuildState" + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -22998,8 +22777,8 @@ "type": "string", "enum": [ "betaReviewState", - "build", - "submittedDate" + "submittedDate", + "build" ] } }, @@ -23008,61 +22787,59 @@ "required": false }, { - "name": "fields[betaTesters]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "apps", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "appEncryptionDeclarations", + "ciProduct", + "betaTesters", "betaGroups", + "appStoreVersions", + "preReleaseVersions", + "betaAppLocalizations", "builds", - "email", - "firstName", - "inviteType", - "lastName", - "state" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -23071,17 +22848,18 @@ "required": false }, { - "name": "fields[betaBuildLocalizations]", + "name": "fields[buildBetaDetails]", "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", + "description": "the fields to include for returned resources of type buildBetaDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build", - "locale", - "whatsNew" + "autoNotifyEnabled", + "internalBuildState", + "externalBuildState", + "build" ] } }, @@ -23090,18 +22868,38 @@ "required": false }, { - "name": "fields[preReleaseVersions]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "builds", "platform", - "version" + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -23110,31 +22908,17 @@ "required": false }, { - "name": "fields[appEncryptionDeclarations]", + "name": "fields[buildIcons]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "description": "the fields to include for returned resources of type buildIcons", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "createdDate", - "documentName", - "documentType", - "documentUrl", - "exempt", - "platform", - "uploadedDate", - "usesEncryption" + "name", + "iconAsset", + "iconType" ] } }, @@ -23143,76 +22927,35 @@ "required": false }, { - "name": "fields[apps]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false, - "required": false + "style": "form" }, { - "name": "fields[perfPowerMetrics]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type perfPowerMetrics", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "deviceType", - "metricType", - "platform" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles" ] } }, @@ -23325,7 +23068,7 @@ "tags": [ "Builds" ], - "operationId": "builds-get_instance", + "operationId": "builds_getInstance", "parameters": [ { "name": "fields[builds]", @@ -23336,30 +23079,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -23368,25 +23111,18 @@ "required": false }, { - "name": "include", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildBetaDetail", - "buildBundles", - "icons", - "individualTesters", - "preReleaseVersion" + "version", + "platform", + "builds", + "app" ] } }, @@ -23395,19 +23131,22 @@ "required": false }, { - "name": "fields[diagnosticSignatures]", + "name": "fields[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type diagnosticSignatures", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "diagnosticType", - "insight", - "logs", - "signature", - "weight" + "firstName", + "lastName", + "email", + "inviteType", + "state", + "apps", + "betaGroups", + "builds" ] } }, @@ -23416,17 +23155,17 @@ "required": false }, { - "name": "fields[buildIcons]", + "name": "fields[betaBuildLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type buildIcons", + "description": "the fields to include for returned resources of type betaBuildLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "iconAsset", - "iconType", - "name" + "whatsNew", + "locale", + "build" ] } }, @@ -23435,18 +23174,31 @@ "required": false }, { - "name": "fields[buildBetaDetails]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "autoNotifyEnabled", - "build", - "externalBuildState", - "internalBuildState" + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -23464,8 +23216,8 @@ "type": "string", "enum": [ "betaReviewState", - "build", - "submittedDate" + "submittedDate", + "build" ] } }, @@ -23474,61 +23226,59 @@ "required": false }, { - "name": "fields[betaTesters]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "apps", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "appEncryptionDeclarations", + "ciProduct", + "betaTesters", "betaGroups", + "appStoreVersions", + "preReleaseVersions", + "betaAppLocalizations", "builds", - "email", - "firstName", - "inviteType", - "lastName", - "state" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appStoreVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", + "endUserLicenseAgreement", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "perfPowerMetrics", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -23537,17 +23287,18 @@ "required": false }, { - "name": "fields[betaBuildLocalizations]", + "name": "fields[buildBetaDetails]", "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", + "description": "the fields to include for returned resources of type buildBetaDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build", - "locale", - "whatsNew" + "autoNotifyEnabled", + "internalBuildState", + "externalBuildState", + "build" ] } }, @@ -23556,51 +23307,38 @@ "required": false }, { - "name": "fields[preReleaseVersions]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "builds", "platform", - "version" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[appEncryptionDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", "createdDate", - "documentName", - "documentType", - "documentUrl", - "exempt", - "platform", - "uploadedDate", - "usesEncryption" + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -23609,57 +23347,17 @@ "required": false }, { - "name": "fields[apps]", + "name": "fields[buildIcons]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type buildIcons", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "iconAsset", + "iconType" ] } }, @@ -23668,17 +23366,25 @@ "required": false }, { - "name": "fields[perfPowerMetrics]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type perfPowerMetrics", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "deviceType", - "metricType", - "platform" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles" ] } }, @@ -23799,7 +23505,7 @@ "tags": [ "Builds" ], - "operationId": "builds-update_instance", + "operationId": "builds_updateInstance", "requestBody": { "description": "Build representation", "content": { @@ -23902,7 +23608,7 @@ "tags": [ "BundleIdCapabilities" ], - "operationId": "bundleIdCapabilities-create_instance", + "operationId": "bundleIdCapabilities_createInstance", "requestBody": { "description": "BundleIdCapability representation", "content": { @@ -23983,7 +23689,7 @@ "tags": [ "BundleIdCapabilities" ], - "operationId": "bundleIdCapabilities-update_instance", + "operationId": "bundleIdCapabilities_updateInstance", "requestBody": { "description": "BundleIdCapability representation", "content": { @@ -24072,7 +23778,7 @@ "tags": [ "BundleIdCapabilities" ], - "operationId": "bundleIdCapabilities-delete_instance", + "operationId": "bundleIdCapabilities_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -24147,12 +23853,12 @@ "tags": [ "BundleIds" ], - "operationId": "bundleIds-get_collection", + "operationId": "bundleIds_getCollection", "parameters": [ { - "name": "filter[identifier]", + "name": "filter[name]", "in": "query", - "description": "filter by attribute 'identifier'", + "description": "filter by attribute 'name'", "schema": { "type": "array", "items": { @@ -24164,13 +23870,17 @@ "required": false }, { - "name": "filter[name]", + "name": "filter[platform]", "in": "query", - "description": "filter by attribute 'name'", + "description": "filter by attribute 'platform'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "IOS", + "MAC_OS" + ] } }, "style": "form", @@ -24178,17 +23888,13 @@ "required": false }, { - "name": "filter[platform]", + "name": "filter[identifier]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "filter by attribute 'identifier'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS" - ] + "type": "string" } }, "style": "form", @@ -24232,16 +23938,16 @@ "items": { "type": "string", "enum": [ - "id", - "-id", - "identifier", - "-identifier", "name", "-name", "platform", "-platform", + "identifier", + "-identifier", "seedId", - "-seedId" + "-seedId", + "id", + "-id" ] } }, @@ -24258,13 +23964,13 @@ "items": { "type": "string", "enum": [ - "app", - "bundleIdCapabilities", - "identifier", "name", "platform", + "identifier", + "seedId", "profiles", - "seedId" + "bundleIdCapabilities", + "app" ] } }, @@ -24273,27 +23979,25 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[profiles]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type profiles", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "bundleIdCapabilities", - "profiles" + "name", + "platform", + "profileType", + "profileState", + "profileContent", + "uuid", + "createdDate", + "expirationDate", + "bundleId", + "devices", + "certificates" ] } }, @@ -24310,9 +24014,9 @@ "items": { "type": "string", "enum": [ - "bundleId", "capabilityType", - "settings" + "settings", + "bundleId" ] } }, @@ -24321,25 +24025,59 @@ "required": false }, { - "name": "fields[profiles]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type profiles", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "certificates", - "createdDate", - "devices", - "expirationDate", "name", - "platform", - "profileContent", - "profileState", - "profileType", - "uuid" + "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" ] } }, @@ -24348,57 +24086,27 @@ "required": false }, { - "name": "fields[apps]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type apps", + "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": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -24476,7 +24184,7 @@ "tags": [ "BundleIds" ], - "operationId": "bundleIds-create_instance", + "operationId": "bundleIds_createInstance", "requestBody": { "description": "BundleId representation", "content": { @@ -24557,7 +24265,7 @@ "tags": [ "BundleIds" ], - "operationId": "bundleIds-get_instance", + "operationId": "bundleIds_getInstance", "parameters": [ { "name": "fields[bundleIds]", @@ -24568,13 +24276,13 @@ "items": { "type": "string", "enum": [ - "app", - "bundleIdCapabilities", - "identifier", "name", "platform", + "identifier", + "seedId", "profiles", - "seedId" + "bundleIdCapabilities", + "app" ] } }, @@ -24583,17 +24291,25 @@ "required": false }, { - "name": "include", + "name": "fields[profiles]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type profiles", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "bundleIdCapabilities", - "profiles" + "name", + "platform", + "profileType", + "profileState", + "profileContent", + "uuid", + "createdDate", + "expirationDate", + "bundleId", + "devices", + "certificates" ] } }, @@ -24610,9 +24326,9 @@ "items": { "type": "string", "enum": [ - "bundleId", "capabilityType", - "settings" + "settings", + "bundleId" ] } }, @@ -24621,25 +24337,59 @@ "required": false }, { - "name": "fields[profiles]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type profiles", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "certificates", - "createdDate", - "devices", - "expirationDate", "name", - "platform", - "profileContent", - "profileState", - "profileType", - "uuid" + "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" ] } }, @@ -24648,57 +24398,17 @@ "required": false }, { - "name": "fields[apps]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -24786,7 +24496,7 @@ "tags": [ "BundleIds" ], - "operationId": "bundleIds-update_instance", + "operationId": "bundleIds_updateInstance", "requestBody": { "description": "BundleId representation", "content": { @@ -24875,7 +24585,7 @@ "tags": [ "BundleIds" ], - "operationId": "bundleIds-delete_instance", + "operationId": "bundleIds_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -24950,8 +24660,22 @@ "tags": [ "Certificates" ], - "operationId": "certificates-get_collection", + "operationId": "certificates_getCollection", "parameters": [ + { + "name": "filter[displayName]", + "in": "query", + "description": "filter by attribute 'displayName'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "filter[certificateType]", "in": "query", @@ -24980,20 +24704,6 @@ "explode": false, "required": false }, - { - "name": "filter[displayName]", - "in": "query", - "description": "filter by attribute 'displayName'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "filter[serialNumber]", "in": "query", @@ -25031,14 +24741,14 @@ "items": { "type": "string", "enum": [ - "certificateType", - "-certificateType", "displayName", "-displayName", - "id", - "-id", + "certificateType", + "-certificateType", "serialNumber", - "-serialNumber" + "-serialNumber", + "id", + "-id" ] } }, @@ -25055,14 +24765,14 @@ "items": { "type": "string", "enum": [ - "certificateContent", - "certificateType", + "name", "csrContent", + "certificateType", "displayName", - "expirationDate", - "name", + "serialNumber", "platform", - "serialNumber" + "expirationDate", + "certificateContent" ] } }, @@ -25128,7 +24838,7 @@ "tags": [ "Certificates" ], - "operationId": "certificates-create_instance", + "operationId": "certificates_createInstance", "requestBody": { "description": "Certificate representation", "content": { @@ -25209,7 +24919,7 @@ "tags": [ "Certificates" ], - "operationId": "certificates-get_instance", + "operationId": "certificates_getInstance", "parameters": [ { "name": "fields[certificates]", @@ -25220,14 +24930,14 @@ "items": { "type": "string", "enum": [ - "certificateContent", - "certificateType", + "name", "csrContent", + "certificateType", "displayName", - "expirationDate", - "name", + "serialNumber", "platform", - "serialNumber" + "expirationDate", + "certificateContent" ] } }, @@ -25293,7 +25003,7 @@ "tags": [ "Certificates" ], - "operationId": "certificates-delete_instance", + "operationId": "certificates_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -25368,7 +25078,7 @@ "tags": [ "CiArtifacts" ], - "operationId": "ciArtifacts-get_instance", + "operationId": "ciArtifacts_getInstance", "parameters": [ { "name": "fields[ciArtifacts]", @@ -25379,10 +25089,10 @@ "items": { "type": "string", "enum": [ - "downloadUrl", + "fileType", "fileName", "fileSize", - "fileType" + "downloadUrl" ] } }, @@ -25462,7 +25172,7 @@ "tags": [ "CiBuildActions" ], - "operationId": "ciBuildActions-get_instance", + "operationId": "ciBuildActions_getInstance", "parameters": [ { "name": "fields[ciBuildActions]", @@ -25473,17 +25183,17 @@ "items": { "type": "string", "enum": [ + "name", "actionType", - "artifacts", - "buildRun", - "completionStatus", - "executionProgress", + "startedDate", "finishedDate", - "isRequiredToPass", "issueCounts", + "executionProgress", + "completionStatus", + "isRequiredToPass", + "buildRun", + "artifacts", "issues", - "name", - "startedDate", "testResults" ] } @@ -25492,43 +25202,6 @@ "explode": false, "required": false }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "buildRun" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[ciIssues]", - "in": "query", - "description": "the fields to include for returned resources of type ciIssues", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "category", - "fileSource", - "issueType", - "message" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "fields[ciBuildRuns]", "in": "query", @@ -25538,49 +25211,27 @@ "items": { "type": "string", "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", "clean", - "completionStatus", + "number", "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", + "startedDate", "finishedDate", + "sourceCommit", + "destinationCommit", "isPullRequestBuild", "issueCounts", - "number", + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", + "buildRun", + "builds", + "workflow", "product", - "pullRequest", "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[ciTestResults]", - "in": "query", - "description": "the fields to include for returned resources of type ciTestResults", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "className", - "destinationTestResults", - "fileSource", - "message", - "name", - "status" + "destinationBranch", + "actions", + "pullRequest" ] } }, @@ -25589,18 +25240,15 @@ "required": false }, { - "name": "fields[ciArtifacts]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type ciArtifacts", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "downloadUrl", - "fileName", - "fileSize", - "fileType" + "buildRun" ] } }, @@ -25680,7 +25328,7 @@ "tags": [ "CiBuildRuns" ], - "operationId": "ciBuildRuns-create_instance", + "operationId": "ciBuildRuns_createInstance", "requestBody": { "description": "CiBuildRun representation", "content": { @@ -25761,7 +25409,7 @@ "tags": [ "CiBuildRuns" ], - "operationId": "ciBuildRuns-get_instance", + "operationId": "ciBuildRuns_getInstance", "parameters": [ { "name": "fields[ciBuildRuns]", @@ -25772,49 +25420,27 @@ "items": { "type": "string", "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", "clean", - "completionStatus", + "number", "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", + "startedDate", "finishedDate", + "sourceCommit", + "destinationCommit", "isPullRequestBuild", "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", + "executionProgress", + "completionStatus", "startReason", - "startedDate", - "workflow" - ] - } - }, - "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": [ + "cancelReason", + "buildRun", "builds", - "destinationBranch", + "workflow", "product", - "pullRequest", "sourceBranchOrTag", - "workflow" + "destinationBranch", + "actions", + "pullRequest" ] } }, @@ -25823,26 +25449,38 @@ "required": false }, { - "name": "fields[ciBuildActions]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildActions", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actionType", - "artifacts", - "buildRun", - "completionStatus", - "executionProgress", - "finishedDate", - "isRequiredToPass", - "issueCounts", - "issues", - "name", - "startedDate", - "testResults" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -25851,38 +25489,20 @@ "required": false }, { - "name": "fields[builds]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "pullRequest" ] } }, @@ -25973,7 +25593,7 @@ "tags": [ "CiIssues" ], - "operationId": "ciIssues-get_instance", + "operationId": "ciIssues_getInstance", "parameters": [ { "name": "fields[ciIssues]", @@ -25984,10 +25604,10 @@ "items": { "type": "string", "enum": [ - "category", - "fileSource", "issueType", - "message" + "message", + "fileSource", + "category" ] } }, @@ -26067,7 +25687,7 @@ "tags": [ "CiMacOsVersions" ], - "operationId": "ciMacOsVersions-get_collection", + "operationId": "ciMacOsVersions_getCollection", "parameters": [ { "name": "fields[ciMacOsVersions]", @@ -26078,8 +25698,8 @@ "items": { "type": "string", "enum": [ - "name", "version", + "name", "xcodeVersions" ] } @@ -26089,25 +25709,18 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[ciXcodeVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type ciXcodeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "xcodeVersions" + "version", + "name", + "testDestinations", + "macOsVersions" ] } }, @@ -26116,18 +25729,25 @@ "required": false }, { - "name": "fields[ciXcodeVersions]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "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": [ - "macOsVersions", - "name", - "testDestinations", - "version" + "xcodeVersions" ] } }, @@ -26196,7 +25816,7 @@ "tags": [ "CiMacOsVersions" ], - "operationId": "ciMacOsVersions-get_instance", + "operationId": "ciMacOsVersions_getInstance", "parameters": [ { "name": "fields[ciMacOsVersions]", @@ -26207,8 +25827,8 @@ "items": { "type": "string", "enum": [ - "name", "version", + "name", "xcodeVersions" ] } @@ -26218,15 +25838,18 @@ "required": false }, { - "name": "include", + "name": "fields[ciXcodeVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type ciXcodeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "xcodeVersions" + "version", + "name", + "testDestinations", + "macOsVersions" ] } }, @@ -26235,18 +25858,15 @@ "required": false }, { - "name": "fields[ciXcodeVersions]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "macOsVersions", - "name", - "testDestinations", - "version" + "xcodeVersions" ] } }, @@ -26337,7 +25957,7 @@ "tags": [ "CiProducts" ], - "operationId": "ciProducts-get_collection", + "operationId": "ciProducts_getCollection", "parameters": [ { "name": "filter[productType]", @@ -26380,44 +26000,15 @@ "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", "name", - "primaryRepositories", + "createdDate", "productType", - "workflows" - ] - } - }, - "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": [ "app", "bundleId", - "primaryRepositories" + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -26426,35 +26017,59 @@ "required": false }, { - "name": "fields[ciBuildRuns]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "buildRun", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", + "appEncryptionDeclarations", + "ciProduct", + "betaTesters", + "betaGroups", + "appStoreVersions", + "preReleaseVersions", + "betaAppLocalizations", "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", - "finishedDate", - "isPullRequestBuild", - "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" + "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" ] } }, @@ -26463,34 +26078,23 @@ "required": false }, { - "name": "fields[ciWorkflows]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", - "description", - "isEnabled", - "isLockedForEditing", - "lastModifiedDate", - "macOsVersion", - "manualBranchStartCondition", - "manualPullRequestStartCondition", - "manualTagStartCondition", - "name", - "product", - "pullRequestStartCondition", - "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -26499,82 +26103,27 @@ "required": false }, { - "name": "fields[apps]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false, - "required": false + "style": "form" }, { - "name": "fields[scmRepositories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "app", + "bundleId", + "primaryRepositories" ] } }, @@ -26643,7 +26192,7 @@ "tags": [ "CiProducts" ], - "operationId": "ciProducts-get_instance", + "operationId": "ciProducts_getInstance", "parameters": [ { "name": "fields[ciProducts]", @@ -26654,107 +26203,15 @@ "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", "name", - "primaryRepositories", + "createdDate", "productType", - "workflows" - ] - } - }, - "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", "bundleId", - "primaryRepositories" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[ciBuildRuns]", - "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", - "finishedDate", - "isPullRequestBuild", - "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[ciWorkflows]", - "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", - "description", - "isEnabled", - "isLockedForEditing", - "lastModifiedDate", - "macOsVersion", - "manualBranchStartCondition", - "manualPullRequestStartCondition", - "manualTagStartCondition", - "name", - "product", - "pullRequestStartCondition", - "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -26771,49 +26228,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -26830,15 +26289,34 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", "ownerName", - "pullRequests", "repositoryName", "scmProvider", - "sshCloneUrl" + "defaultBranch", + "gitReferences", + "pullRequests" + ] + } + }, + "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", + "bundleId", + "primaryRepositories" ] } }, @@ -26915,7 +26393,7 @@ "tags": [ "CiProducts" ], - "operationId": "ciProducts-delete_instance", + "operationId": "ciProducts_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -26990,7 +26468,7 @@ "tags": [ "CiTestResults" ], - "operationId": "ciTestResults-get_instance", + "operationId": "ciTestResults_getInstance", "parameters": [ { "name": "fields[ciTestResults]", @@ -27002,11 +26480,11 @@ "type": "string", "enum": [ "className", - "destinationTestResults", + "name", + "status", "fileSource", "message", - "name", - "status" + "destinationTestResults" ] } }, @@ -27086,7 +26564,7 @@ "tags": [ "CiWorkflows" ], - "operationId": "ciWorkflows-create_instance", + "operationId": "ciWorkflows_createInstance", "requestBody": { "description": "CiWorkflow representation", "content": { @@ -27167,7 +26645,7 @@ "tags": [ "CiWorkflows" ], - "operationId": "ciWorkflows-get_instance", + "operationId": "ciWorkflows_getInstance", "parameters": [ { "name": "fields[ciWorkflows]", @@ -27178,46 +26656,26 @@ "items": { "type": "string", "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", + "name", "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", "isEnabled", "isLockedForEditing", + "clean", + "containerFilePath", "lastModifiedDate", - "macOsVersion", - "manualBranchStartCondition", - "manualPullRequestStartCondition", - "manualTagStartCondition", - "name", "product", - "pullRequestStartCondition", "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" - ] - } - }, - "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": [ + "xcodeVersion", "macOsVersion", - "product", - "repository", - "xcodeVersion" + "buildRuns" ] } }, @@ -27226,35 +26684,23 @@ "required": false }, { - "name": "fields[ciBuildRuns]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", - "finishedDate", - "isPullRequestBuild", - "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -27263,23 +26709,18 @@ "required": false }, { - "name": "fields[scmRepositories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "product", + "repository", + "xcodeVersion", + "macOsVersion" ] } }, @@ -27345,7 +26786,7 @@ "tags": [ "CiWorkflows" ], - "operationId": "ciWorkflows-update_instance", + "operationId": "ciWorkflows_updateInstance", "requestBody": { "description": "CiWorkflow representation", "content": { @@ -27434,7 +26875,7 @@ "tags": [ "CiWorkflows" ], - "operationId": "ciWorkflows-delete_instance", + "operationId": "ciWorkflows_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -27509,7 +26950,7 @@ "tags": [ "CiXcodeVersions" ], - "operationId": "ciXcodeVersions-get_collection", + "operationId": "ciXcodeVersions_getCollection", "parameters": [ { "name": "fields[ciXcodeVersions]", @@ -27520,10 +26961,10 @@ "items": { "type": "string", "enum": [ - "macOsVersions", + "version", "name", "testDestinations", - "version" + "macOsVersions" ] } }, @@ -27532,25 +26973,17 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[ciMacOsVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type ciMacOsVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "macOsVersions" + "version", + "name", + "xcodeVersions" ] } }, @@ -27559,17 +26992,25 @@ "required": false }, { - "name": "fields[ciMacOsVersions]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", + "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": [ - "name", - "version", - "xcodeVersions" + "macOsVersions" ] } }, @@ -27638,7 +27079,7 @@ "tags": [ "CiXcodeVersions" ], - "operationId": "ciXcodeVersions-get_instance", + "operationId": "ciXcodeVersions_getInstance", "parameters": [ { "name": "fields[ciXcodeVersions]", @@ -27649,10 +27090,10 @@ "items": { "type": "string", "enum": [ - "macOsVersions", + "version", "name", "testDestinations", - "version" + "macOsVersions" ] } }, @@ -27661,15 +27102,17 @@ "required": false }, { - "name": "include", + "name": "fields[ciMacOsVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type ciMacOsVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "macOsVersions" + "version", + "name", + "xcodeVersions" ] } }, @@ -27678,17 +27121,15 @@ "required": false }, { - "name": "fields[ciMacOsVersions]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "version", - "xcodeVersions" + "macOsVersions" ] } }, @@ -27779,7 +27220,7 @@ "tags": [ "CustomerReviewResponses" ], - "operationId": "customerReviewResponses-create_instance", + "operationId": "customerReviewResponses_createInstance", "requestBody": { "description": "CustomerReviewResponse representation", "content": { @@ -27860,7 +27301,7 @@ "tags": [ "CustomerReviewResponses" ], - "operationId": "customerReviewResponses-get_instance", + "operationId": "customerReviewResponses_getInstance", "parameters": [ { "name": "fields[customerReviewResponses]", @@ -27871,10 +27312,10 @@ "items": { "type": "string", "enum": [ - "lastModifiedDate", "responseBody", - "review", - "state" + "lastModifiedDate", + "state", + "review" ] } }, @@ -27957,7 +27398,7 @@ "tags": [ "CustomerReviewResponses" ], - "operationId": "customerReviewResponses-delete_instance", + "operationId": "customerReviewResponses_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -28032,7 +27473,7 @@ "tags": [ "CustomerReviews" ], - "operationId": "customerReviews-get_instance", + "operationId": "customerReviews_getInstance", "parameters": [ { "name": "fields[customerReviews]", @@ -28043,13 +27484,13 @@ "items": { "type": "string", "enum": [ - "body", - "createdDate", "rating", - "response", + "title", + "body", "reviewerNickname", + "createdDate", "territory", - "title" + "response" ] } }, @@ -28058,15 +27499,18 @@ "required": false }, { - "name": "include", + "name": "fields[customerReviewResponses]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type customerReviewResponses", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "response" + "responseBody", + "lastModifiedDate", + "state", + "review" ] } }, @@ -28075,18 +27519,15 @@ "required": false }, { - "name": "fields[customerReviewResponses]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type customerReviewResponses", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastModifiedDate", - "responseBody", - "review", - "state" + "response" ] } }, @@ -28166,7 +27607,7 @@ "tags": [ "Devices" ], - "operationId": "devices-get_collection", + "operationId": "devices_getCollection", "parameters": [ { "name": "filter[name]", @@ -28201,17 +27642,13 @@ "required": false }, { - "name": "filter[status]", + "name": "filter[udid]", "in": "query", - "description": "filter by attribute 'status'", + "description": "filter by attribute 'udid'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "ENABLED", - "DISABLED" - ] + "type": "string" } }, "style": "form", @@ -28219,13 +27656,17 @@ "required": false }, { - "name": "filter[udid]", + "name": "filter[status]", "in": "query", - "description": "filter by attribute 'udid'", + "description": "filter by attribute 'status'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "ENABLED", + "DISABLED" + ] } }, "style": "form", @@ -28255,16 +27696,16 @@ "items": { "type": "string", "enum": [ - "id", - "-id", "name", "-name", "platform", "-platform", + "udid", + "-udid", "status", "-status", - "udid", - "-udid" + "id", + "-id" ] } }, @@ -28281,13 +27722,13 @@ "items": { "type": "string", "enum": [ - "addedDate", - "deviceClass", - "model", "name", "platform", + "udid", + "deviceClass", "status", - "udid" + "model", + "addedDate" ] } }, @@ -28353,7 +27794,7 @@ "tags": [ "Devices" ], - "operationId": "devices-create_instance", + "operationId": "devices_createInstance", "requestBody": { "description": "Device representation", "content": { @@ -28434,7 +27875,7 @@ "tags": [ "Devices" ], - "operationId": "devices-get_instance", + "operationId": "devices_getInstance", "parameters": [ { "name": "fields[devices]", @@ -28445,13 +27886,13 @@ "items": { "type": "string", "enum": [ - "addedDate", - "deviceClass", - "model", "name", "platform", + "udid", + "deviceClass", "status", - "udid" + "model", + "addedDate" ] } }, @@ -28517,7 +27958,7 @@ "tags": [ "Devices" ], - "operationId": "devices-update_instance", + "operationId": "devices_updateInstance", "requestBody": { "description": "Device representation", "content": { @@ -28620,7 +28061,7 @@ "tags": [ "EndAppAvailabilityPreOrders" ], - "operationId": "endAppAvailabilityPreOrders-create_instance", + "operationId": "endAppAvailabilityPreOrders_createInstance", "requestBody": { "description": "EndAppAvailabilityPreOrder representation", "content": { @@ -28701,7 +28142,7 @@ "tags": [ "EndUserLicenseAgreements" ], - "operationId": "endUserLicenseAgreements-create_instance", + "operationId": "endUserLicenseAgreements_createInstance", "requestBody": { "description": "EndUserLicenseAgreement representation", "content": { @@ -28782,7 +28223,7 @@ "tags": [ "EndUserLicenseAgreements" ], - "operationId": "endUserLicenseAgreements-get_instance", + "operationId": "endUserLicenseAgreements_getInstance", "parameters": [ { "name": "fields[endUserLicenseAgreements]", @@ -28804,16 +28245,15 @@ "required": false }, { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "territories" + "currency" ] } }, @@ -28822,15 +28262,16 @@ "required": false }, { - "name": "fields[territories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "app", + "territories" ] } }, @@ -28907,7 +28348,7 @@ "tags": [ "EndUserLicenseAgreements" ], - "operationId": "endUserLicenseAgreements-update_instance", + "operationId": "endUserLicenseAgreements_updateInstance", "requestBody": { "description": "EndUserLicenseAgreement representation", "content": { @@ -28996,7 +28437,7 @@ "tags": [ "EndUserLicenseAgreements" ], - "operationId": "endUserLicenseAgreements-delete_instance", + "operationId": "endUserLicenseAgreements_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -29071,12 +28512,12 @@ "tags": [ "FinanceReports" ], - "operationId": "financeReports-get_collection", + "operationId": "financeReports_getCollection", "parameters": [ { - "name": "filter[regionCode]", + "name": "filter[vendorNumber]", "in": "query", - "description": "filter by attribute 'regionCode'", + "description": "filter by attribute 'vendorNumber'", "schema": { "type": "array", "items": { @@ -29088,13 +28529,17 @@ "required": true }, { - "name": "filter[reportDate]", + "name": "filter[reportType]", "in": "query", - "description": "filter by attribute 'reportDate'", + "description": "filter by attribute 'reportType'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "FINANCIAL", + "FINANCE_DETAIL" + ] } }, "style": "form", @@ -29102,17 +28547,13 @@ "required": true }, { - "name": "filter[reportType]", + "name": "filter[regionCode]", "in": "query", - "description": "filter by attribute 'reportType'", + "description": "filter by attribute 'regionCode'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "FINANCIAL", - "FINANCE_DETAIL" - ] + "type": "string" } }, "style": "form", @@ -29120,9 +28561,9 @@ "required": true }, { - "name": "filter[vendorNumber]", + "name": "filter[reportDate]", "in": "query", - "description": "filter by attribute 'vendorNumber'", + "description": "filter by attribute 'reportDate'", "schema": { "type": "array", "items": { @@ -29183,7 +28624,7 @@ "tags": [ "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievementImages-create_instance", + "operationId": "gameCenterAchievementImages_createInstance", "requestBody": { "description": "GameCenterAchievementImage representation", "content": { @@ -29264,7 +28705,7 @@ "tags": [ "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievementImages-get_instance", + "operationId": "gameCenterAchievementImages_getInstance", "parameters": [ { "name": "fields[gameCenterAchievementImages]", @@ -29275,13 +28716,13 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", "fileSize", - "gameCenterAchievementLocalization", + "fileName", "imageAsset", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "gameCenterAchievementLocalization" ] } }, @@ -29364,7 +28805,7 @@ "tags": [ "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievementImages-update_instance", + "operationId": "gameCenterAchievementImages_updateInstance", "requestBody": { "description": "GameCenterAchievementImage representation", "content": { @@ -29453,7 +28894,7 @@ "tags": [ "GameCenterAchievementImages" ], - "operationId": "gameCenterAchievementImages-delete_instance", + "operationId": "gameCenterAchievementImages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -29528,7 +28969,7 @@ "tags": [ "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievementLocalizations-create_instance", + "operationId": "gameCenterAchievementLocalizations_createInstance", "requestBody": { "description": "GameCenterAchievementLocalization representation", "content": { @@ -29609,7 +29050,7 @@ "tags": [ "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievementLocalizations-get_instance", + "operationId": "gameCenterAchievementLocalizations_getInstance", "parameters": [ { "name": "fields[gameCenterAchievementLocalizations]", @@ -29620,12 +29061,12 @@ "items": { "type": "string", "enum": [ - "afterEarnedDescription", + "locale", + "name", "beforeEarnedDescription", + "afterEarnedDescription", "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "gameCenterAchievementImage" ] } }, @@ -29634,16 +29075,25 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterAchievementImage" + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -29660,13 +29110,13 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", "fileSize", - "gameCenterAchievementLocalization", + "fileName", "imageAsset", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "gameCenterAchievementLocalization" ] } }, @@ -29675,25 +29125,16 @@ "required": false }, { - "name": "fields[gameCenterAchievements]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "gameCenterAchievement", + "gameCenterAchievementImage" ] } }, @@ -29759,7 +29200,7 @@ "tags": [ "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievementLocalizations-update_instance", + "operationId": "gameCenterAchievementLocalizations_updateInstance", "requestBody": { "description": "GameCenterAchievementLocalization representation", "content": { @@ -29848,7 +29289,7 @@ "tags": [ "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievementLocalizations-delete_instance", + "operationId": "gameCenterAchievementLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -29923,7 +29364,7 @@ "tags": [ "GameCenterAchievementReleases" ], - "operationId": "gameCenterAchievementReleases-create_instance", + "operationId": "gameCenterAchievementReleases_createInstance", "requestBody": { "description": "GameCenterAchievementRelease representation", "content": { @@ -30004,7 +29445,7 @@ "tags": [ "GameCenterAchievementReleases" ], - "operationId": "gameCenterAchievementReleases-get_instance", + "operationId": "gameCenterAchievementReleases_getInstance", "parameters": [ { "name": "fields[gameCenterAchievementReleases]", @@ -30015,9 +29456,9 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievement", + "live", "gameCenterDetail", - "live" + "gameCenterAchievement" ] } }, @@ -30034,8 +29475,8 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterDetail" + "gameCenterDetail", + "gameCenterAchievement" ] } }, @@ -30101,7 +29542,7 @@ "tags": [ "GameCenterAchievementReleases" ], - "operationId": "gameCenterAchievementReleases-delete_instance", + "operationId": "gameCenterAchievementReleases_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -30176,7 +29617,7 @@ "tags": [ "GameCenterAchievements" ], - "operationId": "gameCenterAchievements-create_instance", + "operationId": "gameCenterAchievements_createInstance", "requestBody": { "description": "GameCenterAchievement representation", "content": { @@ -30257,7 +29698,7 @@ "tags": [ "GameCenterAchievements" ], - "operationId": "gameCenterAchievements-get_instance", + "operationId": "gameCenterAchievements_getInstance", "parameters": [ { "name": "fields[gameCenterAchievements]", @@ -30268,17 +29709,17 @@ "items": { "type": "string", "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", "archived", "gameCenterDetail", "gameCenterGroup", "groupAchievement", "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "releases" ] } }, @@ -30287,19 +29728,20 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases" + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage" ] } }, @@ -30316,9 +29758,9 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievement", + "live", "gameCenterDetail", - "live" + "gameCenterAchievement" ] } }, @@ -30327,20 +29769,19 @@ "required": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "afterEarnedDescription", - "beforeEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -30428,7 +29869,7 @@ "tags": [ "GameCenterAchievements" ], - "operationId": "gameCenterAchievements-update_instance", + "operationId": "gameCenterAchievements_updateInstance", "requestBody": { "description": "GameCenterAchievement representation", "content": { @@ -30517,7 +29958,7 @@ "tags": [ "GameCenterAchievements" ], - "operationId": "gameCenterAchievements-delete_instance", + "operationId": "gameCenterAchievements_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -30592,7 +30033,7 @@ "tags": [ "GameCenterAppVersions" ], - "operationId": "gameCenterAppVersions-create_instance", + "operationId": "gameCenterAppVersions_createInstance", "requestBody": { "description": "GameCenterAppVersion representation", "content": { @@ -30673,7 +30114,7 @@ "tags": [ "GameCenterAppVersions" ], - "operationId": "gameCenterAppVersions-get_instance", + "operationId": "gameCenterAppVersions_getInstance", "parameters": [ { "name": "fields[gameCenterAppVersions]", @@ -30684,9 +30125,9 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", + "enabled", "compatibilityVersions", - "enabled" + "appStoreVersion" ] } }, @@ -30695,16 +30136,38 @@ "required": false }, { - "name": "include", + "name": "fields[appStoreVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -30713,37 +30176,16 @@ "required": false }, { - "name": "fields[appStoreVersions]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -30820,7 +30262,7 @@ "tags": [ "GameCenterAppVersions" ], - "operationId": "gameCenterAppVersions-update_instance", + "operationId": "gameCenterAppVersions_updateInstance", "requestBody": { "description": "GameCenterAppVersion representation", "content": { @@ -30923,7 +30365,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-create_instance", + "operationId": "gameCenterDetails_createInstance", "requestBody": { "description": "GameCenterDetail representation", "content": { @@ -31004,7 +30446,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-get_instance", + "operationId": "gameCenterDetails_getInstance", "parameters": [ { "name": "fields[gameCenterDetails]", @@ -31015,17 +30457,17 @@ "items": { "type": "string", "enum": [ - "achievementReleases", - "app", "arcadeEnabled", "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", + "app", "gameCenterAppVersions", "gameCenterGroup", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", "leaderboardReleases", "leaderboardSetReleases" ] @@ -31036,25 +30478,17 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -31063,17 +30497,19 @@ "required": false }, { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterDetail", - "live" + "referenceName", + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -31082,17 +30518,31 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -31109,14 +30559,14 @@ "items": { "type": "string", "enum": [ + "referenceName", + "vendorIdentifier", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboards", "groupLeaderboardSet", "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "gameCenterLeaderboards", + "releases" ] } }, @@ -31125,19 +30575,25 @@ "required": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -31146,31 +30602,17 @@ "required": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", + "live", "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "gameCenterAchievement" ] } }, @@ -31179,25 +30621,17 @@ "required": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", + "live", "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "gameCenterLeaderboard" ] } }, @@ -31206,17 +30640,17 @@ "required": false }, { - "name": "fields[gameCenterAppVersions]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions", - "enabled" + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" ] } }, @@ -31225,17 +30659,25 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardReleases]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -31378,7 +30820,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-update_instance", + "operationId": "gameCenterDetails_updateInstance", "requestBody": { "description": "GameCenterDetail representation", "content": { @@ -31481,7 +30923,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-get_collection", + "operationId": "gameCenterGroups_getCollection", "parameters": [ { "name": "filter[gameCenterDetails]", @@ -31506,11 +30948,124 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", + "referenceName", "gameCenterDetails", + "gameCenterLeaderboards", "gameCenterLeaderboardSets", + "gameCenterAchievements" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterDetails]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterAchievements]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAchievements", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -31537,123 +31092,10 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterAchievements]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "archived", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "gameCenterAchievements" ] } }, @@ -31753,7 +31195,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-create_instance", + "operationId": "gameCenterGroups_createInstance", "requestBody": { "description": "GameCenterGroup representation", "content": { @@ -31834,7 +31276,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-get_instance", + "operationId": "gameCenterGroups_getInstance", "parameters": [ { "name": "fields[gameCenterGroups]", @@ -31845,11 +31287,11 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", + "referenceName", "gameCenterDetails", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -31858,18 +31300,27 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", "gameCenterLeaderboardSets", - "gameCenterLeaderboards" + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -31878,22 +31329,31 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", + "groupLeaderboard", + "gameCenterLeaderboardSets", "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "releases" ] } }, @@ -31902,27 +31362,22 @@ "required": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "referenceName", + "vendorIdentifier", + "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", + "groupLeaderboardSet", + "localizations", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "releases" ] } }, @@ -31931,31 +31386,25 @@ "required": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", "archived", - "defaultFormatter", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", + "groupAchievement", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "releases" ] } }, @@ -31964,25 +31413,18 @@ "required": false }, { - "name": "fields[gameCenterAchievements]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -32092,7 +31534,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-update_instance", + "operationId": "gameCenterGroups_updateInstance", "requestBody": { "description": "GameCenterGroup representation", "content": { @@ -32181,7 +31623,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-delete_instance", + "operationId": "gameCenterGroups_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -32256,7 +31698,7 @@ "tags": [ "GameCenterLeaderboardEntrySubmissions" ], - "operationId": "gameCenterLeaderboardEntrySubmissions-create_instance", + "operationId": "gameCenterLeaderboardEntrySubmissions_createInstance", "requestBody": { "description": "GameCenterLeaderboardEntrySubmission representation", "content": { @@ -32337,7 +31779,7 @@ "tags": [ "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardImages-create_instance", + "operationId": "gameCenterLeaderboardImages_createInstance", "requestBody": { "description": "GameCenterLeaderboardImage representation", "content": { @@ -32418,7 +31860,7 @@ "tags": [ "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardImages-get_instance", + "operationId": "gameCenterLeaderboardImages_getInstance", "parameters": [ { "name": "fields[gameCenterLeaderboardImages]", @@ -32429,13 +31871,13 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", "fileSize", - "gameCenterLeaderboardLocalization", + "fileName", "imageAsset", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "gameCenterLeaderboardLocalization" ] } }, @@ -32518,7 +31960,7 @@ "tags": [ "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardImages-update_instance", + "operationId": "gameCenterLeaderboardImages_updateInstance", "requestBody": { "description": "GameCenterLeaderboardImage representation", "content": { @@ -32607,7 +32049,7 @@ "tags": [ "GameCenterLeaderboardImages" ], - "operationId": "gameCenterLeaderboardImages-delete_instance", + "operationId": "gameCenterLeaderboardImages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -32682,7 +32124,7 @@ "tags": [ "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardLocalizations-create_instance", + "operationId": "gameCenterLeaderboardLocalizations_createInstance", "requestBody": { "description": "GameCenterLeaderboardLocalization representation", "content": { @@ -32763,7 +32205,7 @@ "tags": [ "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardLocalizations-get_instance", + "operationId": "gameCenterLeaderboardLocalizations_getInstance", "parameters": [ { "name": "fields[gameCenterLeaderboardLocalizations]", @@ -32774,13 +32216,13 @@ "items": { "type": "string", "enum": [ + "locale", + "name", "formatterOverride", "formatterSuffix", "formatterSuffixSingular", "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "gameCenterLeaderboardImage" ] } }, @@ -32789,16 +32231,21 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterLeaderboardImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "gameCenterLeaderboardLocalization" ] } }, @@ -32807,21 +32254,16 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardImages]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterLeaderboardLocalization", - "imageAsset", - "uploadOperations", - "uploaded" + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -32887,7 +32329,7 @@ "tags": [ "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardLocalizations-update_instance", + "operationId": "gameCenterLeaderboardLocalizations_updateInstance", "requestBody": { "description": "GameCenterLeaderboardLocalization representation", "content": { @@ -32976,7 +32418,7 @@ "tags": [ "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardLocalizations-delete_instance", + "operationId": "gameCenterLeaderboardLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -33051,7 +32493,7 @@ "tags": [ "GameCenterLeaderboardReleases" ], - "operationId": "gameCenterLeaderboardReleases-create_instance", + "operationId": "gameCenterLeaderboardReleases_createInstance", "requestBody": { "description": "GameCenterLeaderboardRelease representation", "content": { @@ -33132,7 +32574,7 @@ "tags": [ "GameCenterLeaderboardReleases" ], - "operationId": "gameCenterLeaderboardReleases-get_instance", + "operationId": "gameCenterLeaderboardReleases_getInstance", "parameters": [ { "name": "fields[gameCenterLeaderboardReleases]", @@ -33143,9 +32585,9 @@ "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "gameCenterLeaderboard" ] } }, @@ -33229,7 +32671,7 @@ "tags": [ "GameCenterLeaderboardReleases" ], - "operationId": "gameCenterLeaderboardReleases-delete_instance", + "operationId": "gameCenterLeaderboardReleases_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -33304,7 +32746,7 @@ "tags": [ "GameCenterLeaderboardSetImages" ], - "operationId": "gameCenterLeaderboardSetImages-create_instance", + "operationId": "gameCenterLeaderboardSetImages_createInstance", "requestBody": { "description": "GameCenterLeaderboardSetImage representation", "content": { @@ -33385,7 +32827,7 @@ "tags": [ "GameCenterLeaderboardSetImages" ], - "operationId": "gameCenterLeaderboardSetImages-get_instance", + "operationId": "gameCenterLeaderboardSetImages_getInstance", "parameters": [ { "name": "fields[gameCenterLeaderboardSetImages]", @@ -33396,13 +32838,13 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", "fileSize", - "gameCenterLeaderboardSetLocalization", + "fileName", "imageAsset", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "gameCenterLeaderboardSetLocalization" ] } }, @@ -33485,7 +32927,7 @@ "tags": [ "GameCenterLeaderboardSetImages" ], - "operationId": "gameCenterLeaderboardSetImages-update_instance", + "operationId": "gameCenterLeaderboardSetImages_updateInstance", "requestBody": { "description": "GameCenterLeaderboardSetImage representation", "content": { @@ -33574,7 +33016,7 @@ "tags": [ "GameCenterLeaderboardSetImages" ], - "operationId": "gameCenterLeaderboardSetImages-delete_instance", + "operationId": "gameCenterLeaderboardSetImages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -33649,7 +33091,7 @@ "tags": [ "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSetLocalizations-create_instance", + "operationId": "gameCenterLeaderboardSetLocalizations_createInstance", "requestBody": { "description": "GameCenterLeaderboardSetLocalization representation", "content": { @@ -33730,7 +33172,7 @@ "tags": [ "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSetLocalizations-get_instance", + "operationId": "gameCenterLeaderboardSetLocalizations_getInstance", "parameters": [ { "name": "fields[gameCenterLeaderboardSetLocalizations]", @@ -33741,10 +33183,10 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", "locale", - "name" + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -33753,16 +33195,21 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterLeaderboardSetImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "gameCenterLeaderboardSetLocalization" ] } }, @@ -33771,21 +33218,16 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardSetImages]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterLeaderboardSetLocalization", - "imageAsset", - "uploadOperations", - "uploaded" + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -33851,7 +33293,7 @@ "tags": [ "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSetLocalizations-update_instance", + "operationId": "gameCenterLeaderboardSetLocalizations_updateInstance", "requestBody": { "description": "GameCenterLeaderboardSetLocalization representation", "content": { @@ -33940,7 +33382,7 @@ "tags": [ "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSetLocalizations-delete_instance", + "operationId": "gameCenterLeaderboardSetLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -34015,12 +33457,12 @@ "tags": [ "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations-get_collection", + "operationId": "gameCenterLeaderboardSetMemberLocalizations_getCollection", "parameters": [ { - "name": "filter[gameCenterLeaderboard]", + "name": "filter[gameCenterLeaderboardSet]", "in": "query", - "description": "filter by id(s) of related 'gameCenterLeaderboard'", + "description": "filter by id(s) of related 'gameCenterLeaderboardSet'", "schema": { "type": "array", "items": { @@ -34032,9 +33474,9 @@ "required": true }, { - "name": "filter[gameCenterLeaderboardSet]", + "name": "filter[gameCenterLeaderboard]", "in": "query", - "description": "filter by id(s) of related 'gameCenterLeaderboardSet'", + "description": "filter by id(s) of related 'gameCenterLeaderboard'", "schema": { "type": "array", "items": { @@ -34054,10 +33496,67 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboard", - "gameCenterLeaderboardSet", + "name", "locale", - "name" + "gameCenterLeaderboardSet", + "gameCenterLeaderboard" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -34084,65 +33583,8 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboard", - "gameCenterLeaderboardSet" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "gameCenterLeaderboardSet", + "gameCenterLeaderboard" ] } }, @@ -34198,7 +33640,7 @@ "tags": [ "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations-create_instance", + "operationId": "gameCenterLeaderboardSetMemberLocalizations_createInstance", "requestBody": { "description": "GameCenterLeaderboardSetMemberLocalization representation", "content": { @@ -34279,7 +33721,7 @@ "tags": [ "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations-update_instance", + "operationId": "gameCenterLeaderboardSetMemberLocalizations_updateInstance", "requestBody": { "description": "GameCenterLeaderboardSetMemberLocalization representation", "content": { @@ -34368,7 +33810,7 @@ "tags": [ "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations-delete_instance", + "operationId": "gameCenterLeaderboardSetMemberLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -34443,7 +33885,7 @@ "tags": [ "GameCenterLeaderboardSetReleases" ], - "operationId": "gameCenterLeaderboardSetReleases-create_instance", + "operationId": "gameCenterLeaderboardSetReleases_createInstance", "requestBody": { "description": "GameCenterLeaderboardSetRelease representation", "content": { @@ -34524,7 +33966,7 @@ "tags": [ "GameCenterLeaderboardSetReleases" ], - "operationId": "gameCenterLeaderboardSetReleases-get_instance", + "operationId": "gameCenterLeaderboardSetReleases_getInstance", "parameters": [ { "name": "fields[gameCenterLeaderboardSetReleases]", @@ -34535,9 +33977,9 @@ "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "gameCenterLeaderboardSet" ] } }, @@ -34621,7 +34063,7 @@ "tags": [ "GameCenterLeaderboardSetReleases" ], - "operationId": "gameCenterLeaderboardSetReleases-delete_instance", + "operationId": "gameCenterLeaderboardSetReleases_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -34696,7 +34138,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-create_instance", + "operationId": "gameCenterLeaderboardSets_createInstance", "requestBody": { "description": "GameCenterLeaderboardSet representation", "content": { @@ -34777,7 +34219,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-get_instance", + "operationId": "gameCenterLeaderboardSets_getInstance", "parameters": [ { "name": "fields[gameCenterLeaderboardSets]", @@ -34788,14 +34230,14 @@ "items": { "type": "string", "enum": [ + "referenceName", + "vendorIdentifier", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboards", "groupLeaderboardSet", "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "gameCenterLeaderboards", + "releases" ] } }, @@ -34804,20 +34246,18 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "releases" + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -34826,18 +34266,31 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -34854,9 +34307,9 @@ "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "gameCenterLeaderboardSet" ] } }, @@ -34865,31 +34318,20 @@ "required": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", + "groupLeaderboardSet", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "gameCenterLeaderboards", + "releases" ] } }, @@ -34988,7 +34430,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-update_instance", + "operationId": "gameCenterLeaderboardSets_updateInstance", "requestBody": { "description": "GameCenterLeaderboardSet representation", "content": { @@ -35077,7 +34519,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-delete_instance", + "operationId": "gameCenterLeaderboardSets_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -35152,7 +34594,7 @@ "tags": [ "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboards-create_instance", + "operationId": "gameCenterLeaderboards_createInstance", "requestBody": { "description": "GameCenterLeaderboard representation", "content": { @@ -35233,7 +34675,7 @@ "tags": [ "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboards-get_instance", + "operationId": "gameCenterLeaderboards_getInstance", "parameters": [ { "name": "fields[gameCenterLeaderboards]", @@ -35244,23 +34686,23 @@ "items": { "type": "string", "enum": [ - "archived", "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", "groupLeaderboard", + "gameCenterLeaderboardSets", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "releases" ] } }, @@ -35269,20 +34711,21 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "releases" + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -35291,21 +34734,17 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "live", + "gameCenterDetail", + "gameCenterLeaderboard" ] } }, @@ -35314,17 +34753,20 @@ "required": false }, { - "name": "fields[gameCenterLeaderboardReleases]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -35423,7 +34865,7 @@ "tags": [ "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboards-update_instance", + "operationId": "gameCenterLeaderboards_updateInstance", "requestBody": { "description": "GameCenterLeaderboard representation", "content": { @@ -35512,7 +34954,7 @@ "tags": [ "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboards-delete_instance", + "operationId": "gameCenterLeaderboards_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -35587,7 +35029,7 @@ "tags": [ "GameCenterMatchmakingQueues" ], - "operationId": "gameCenterMatchmakingQueues-get_collection", + "operationId": "gameCenterMatchmakingQueues_getCollection", "parameters": [ { "name": "fields[gameCenterMatchmakingQueues]", @@ -35598,10 +35040,10 @@ "items": { "type": "string", "enum": [ - "classicMatchmakingBundleIds", - "experimentRuleSet", "referenceName", - "ruleSet" + "classicMatchmakingBundleIds", + "ruleSet", + "experimentRuleSet" ] } }, @@ -35628,8 +35070,8 @@ "items": { "type": "string", "enum": [ - "experimentRuleSet", - "ruleSet" + "ruleSet", + "experimentRuleSet" ] } }, @@ -35685,7 +35127,7 @@ "tags": [ "GameCenterMatchmakingQueues" ], - "operationId": "gameCenterMatchmakingQueues-create_instance", + "operationId": "gameCenterMatchmakingQueues_createInstance", "requestBody": { "description": "GameCenterMatchmakingQueue representation", "content": { @@ -35766,7 +35208,7 @@ "tags": [ "GameCenterMatchmakingQueues" ], - "operationId": "gameCenterMatchmakingQueues-get_instance", + "operationId": "gameCenterMatchmakingQueues_getInstance", "parameters": [ { "name": "fields[gameCenterMatchmakingQueues]", @@ -35777,10 +35219,10 @@ "items": { "type": "string", "enum": [ - "classicMatchmakingBundleIds", - "experimentRuleSet", "referenceName", - "ruleSet" + "classicMatchmakingBundleIds", + "ruleSet", + "experimentRuleSet" ] } }, @@ -35797,8 +35239,8 @@ "items": { "type": "string", "enum": [ - "experimentRuleSet", - "ruleSet" + "ruleSet", + "experimentRuleSet" ] } }, @@ -35864,7 +35306,7 @@ "tags": [ "GameCenterMatchmakingQueues" ], - "operationId": "gameCenterMatchmakingQueues-update_instance", + "operationId": "gameCenterMatchmakingQueues_updateInstance", "requestBody": { "description": "GameCenterMatchmakingQueue representation", "content": { @@ -35953,7 +35395,7 @@ "tags": [ "GameCenterMatchmakingQueues" ], - "operationId": "gameCenterMatchmakingQueues-delete_instance", + "operationId": "gameCenterMatchmakingQueues_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -36028,7 +35470,7 @@ "tags": [ "GameCenterMatchmakingRuleSetTests" ], - "operationId": "gameCenterMatchmakingRuleSetTests-create_instance", + "operationId": "gameCenterMatchmakingRuleSetTests_createInstance", "requestBody": { "description": "GameCenterMatchmakingRuleSetTest representation", "content": { @@ -36109,7 +35551,7 @@ "tags": [ "GameCenterMatchmakingRuleSets" ], - "operationId": "gameCenterMatchmakingRuleSets-get_collection", + "operationId": "gameCenterMatchmakingRuleSets_getCollection", "parameters": [ { "name": "fields[gameCenterMatchmakingRuleSets]", @@ -36120,13 +35562,13 @@ "items": { "type": "string", "enum": [ - "matchmakingQueues", - "maxPlayers", - "minPlayers", "referenceName", "ruleLanguageVersion", + "minPlayers", + "maxPlayers", + "teams", "rules", - "teams" + "matchmakingQueues" ] } }, @@ -36135,27 +35577,18 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[gameCenterMatchmakingTeams]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "matchmakingQueues", - "rules", - "teams" + "referenceName", + "minPlayers", + "maxPlayers", + "ruleSet" ] } }, @@ -36164,17 +35597,19 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingQueues]", + "name": "fields[gameCenterMatchmakingRules]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "classicMatchmakingBundleIds", - "experimentRuleSet", "referenceName", + "description", + "type", + "expression", + "weight", "ruleSet" ] } @@ -36184,18 +35619,18 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingTeams]", + "name": "fields[gameCenterMatchmakingQueues]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "maxPlayers", - "minPlayers", "referenceName", - "ruleSet" + "classicMatchmakingBundleIds", + "ruleSet", + "experimentRuleSet" ] } }, @@ -36204,20 +35639,27 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingRules]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", + "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": [ - "description", - "expression", - "referenceName", - "ruleSet", - "type", - "weight" + "teams", + "rules", + "matchmakingQueues" ] } }, @@ -36306,7 +35748,7 @@ "tags": [ "GameCenterMatchmakingRuleSets" ], - "operationId": "gameCenterMatchmakingRuleSets-create_instance", + "operationId": "gameCenterMatchmakingRuleSets_createInstance", "requestBody": { "description": "GameCenterMatchmakingRuleSet representation", "content": { @@ -36387,7 +35829,7 @@ "tags": [ "GameCenterMatchmakingRuleSets" ], - "operationId": "gameCenterMatchmakingRuleSets-get_instance", + "operationId": "gameCenterMatchmakingRuleSets_getInstance", "parameters": [ { "name": "fields[gameCenterMatchmakingRuleSets]", @@ -36398,13 +35840,13 @@ "items": { "type": "string", "enum": [ - "matchmakingQueues", - "maxPlayers", - "minPlayers", "referenceName", "ruleLanguageVersion", + "minPlayers", + "maxPlayers", + "teams", "rules", - "teams" + "matchmakingQueues" ] } }, @@ -36413,17 +35855,18 @@ "required": false }, { - "name": "include", + "name": "fields[gameCenterMatchmakingTeams]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "matchmakingQueues", - "rules", - "teams" + "referenceName", + "minPlayers", + "maxPlayers", + "ruleSet" ] } }, @@ -36432,17 +35875,19 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingQueues]", + "name": "fields[gameCenterMatchmakingRules]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", + "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "classicMatchmakingBundleIds", - "experimentRuleSet", "referenceName", + "description", + "type", + "expression", + "weight", "ruleSet" ] } @@ -36452,18 +35897,18 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingTeams]", + "name": "fields[gameCenterMatchmakingQueues]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingTeams", + "description": "the fields to include for returned resources of type gameCenterMatchmakingQueues", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "maxPlayers", - "minPlayers", "referenceName", - "ruleSet" + "classicMatchmakingBundleIds", + "ruleSet", + "experimentRuleSet" ] } }, @@ -36472,20 +35917,17 @@ "required": false }, { - "name": "fields[gameCenterMatchmakingRules]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterMatchmakingRules", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "expression", - "referenceName", - "ruleSet", - "type", - "weight" + "teams", + "rules", + "matchmakingQueues" ] } }, @@ -36584,7 +36026,7 @@ "tags": [ "GameCenterMatchmakingRuleSets" ], - "operationId": "gameCenterMatchmakingRuleSets-update_instance", + "operationId": "gameCenterMatchmakingRuleSets_updateInstance", "requestBody": { "description": "GameCenterMatchmakingRuleSet representation", "content": { @@ -36673,7 +36115,7 @@ "tags": [ "GameCenterMatchmakingRuleSets" ], - "operationId": "gameCenterMatchmakingRuleSets-delete_instance", + "operationId": "gameCenterMatchmakingRuleSets_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -36748,7 +36190,7 @@ "tags": [ "GameCenterMatchmakingRules" ], - "operationId": "gameCenterMatchmakingRules-create_instance", + "operationId": "gameCenterMatchmakingRules_createInstance", "requestBody": { "description": "GameCenterMatchmakingRule representation", "content": { @@ -36829,7 +36271,7 @@ "tags": [ "GameCenterMatchmakingRules" ], - "operationId": "gameCenterMatchmakingRules-update_instance", + "operationId": "gameCenterMatchmakingRules_updateInstance", "requestBody": { "description": "GameCenterMatchmakingRule representation", "content": { @@ -36918,7 +36360,7 @@ "tags": [ "GameCenterMatchmakingRules" ], - "operationId": "gameCenterMatchmakingRules-delete_instance", + "operationId": "gameCenterMatchmakingRules_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -36993,7 +36435,7 @@ "tags": [ "GameCenterMatchmakingTeams" ], - "operationId": "gameCenterMatchmakingTeams-create_instance", + "operationId": "gameCenterMatchmakingTeams_createInstance", "requestBody": { "description": "GameCenterMatchmakingTeam representation", "content": { @@ -37074,7 +36516,7 @@ "tags": [ "GameCenterMatchmakingTeams" ], - "operationId": "gameCenterMatchmakingTeams-update_instance", + "operationId": "gameCenterMatchmakingTeams_updateInstance", "requestBody": { "description": "GameCenterMatchmakingTeam representation", "content": { @@ -37163,7 +36605,7 @@ "tags": [ "GameCenterMatchmakingTeams" ], - "operationId": "gameCenterMatchmakingTeams-delete_instance", + "operationId": "gameCenterMatchmakingTeams_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -37238,7 +36680,7 @@ "tags": [ "GameCenterPlayerAchievementSubmissions" ], - "operationId": "gameCenterPlayerAchievementSubmissions-create_instance", + "operationId": "gameCenterPlayerAchievementSubmissions_createInstance", "requestBody": { "description": "GameCenterPlayerAchievementSubmission representation", "content": { @@ -37319,7 +36761,7 @@ "tags": [ "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots-create_instance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots_createInstance", "requestBody": { "description": "InAppPurchaseAppStoreReviewScreenshot representation", "content": { @@ -37400,7 +36842,7 @@ "tags": [ "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots-get_instance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots_getInstance", "parameters": [ { "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", @@ -37411,16 +36853,16 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", "fileSize", - "imageAsset", - "inAppPurchaseV2", + "fileName", "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "inAppPurchaseV2" ] } }, @@ -37503,7 +36945,7 @@ "tags": [ "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots-update_instance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots_updateInstance", "requestBody": { "description": "InAppPurchaseAppStoreReviewScreenshot representation", "content": { @@ -37592,7 +37034,7 @@ "tags": [ "InAppPurchaseAppStoreReviewScreenshots" ], - "operationId": "inAppPurchaseAppStoreReviewScreenshots-delete_instance", + "operationId": "inAppPurchaseAppStoreReviewScreenshots_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -37667,7 +37109,7 @@ "tags": [ "InAppPurchaseAvailabilities" ], - "operationId": "inAppPurchaseAvailabilities-create_instance", + "operationId": "inAppPurchaseAvailabilities_createInstance", "requestBody": { "description": "InAppPurchaseAvailability representation", "content": { @@ -37748,7 +37190,7 @@ "tags": [ "InAppPurchaseAvailabilities" ], - "operationId": "inAppPurchaseAvailabilities-get_instance", + "operationId": "inAppPurchaseAvailabilities_getInstance", "parameters": [ { "name": "fields[inAppPurchaseAvailabilities]", @@ -37760,8 +37202,8 @@ "type": "string", "enum": [ "availableInNewTerritories", - "availableTerritories", - "inAppPurchase" + "inAppPurchase", + "availableTerritories" ] } }, @@ -37770,15 +37212,15 @@ "required": false }, { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableTerritories" + "currency" ] } }, @@ -37787,15 +37229,15 @@ "required": false }, { - "name": "fields[territories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "availableTerritories" ] } }, @@ -37886,7 +37328,7 @@ "tags": [ "InAppPurchaseContents" ], - "operationId": "inAppPurchaseContents-get_instance", + "operationId": "inAppPurchaseContents_getInstance", "parameters": [ { "name": "fields[inAppPurchaseContents]", @@ -37899,9 +37341,9 @@ "enum": [ "fileName", "fileSize", - "inAppPurchaseV2", + "url", "lastModifiedDate", - "url" + "inAppPurchaseV2" ] } }, @@ -37969,17 +37411,364 @@ } }, "200": { - "description": "Single InAppPurchaseContent", + "description": "Single InAppPurchaseContent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseContentResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/inAppPurchaseImages": { + "post": { + "tags": [ + "InAppPurchaseImages" + ], + "operationId": "inAppPurchaseImages_createInstance", + "requestBody": { + "description": "InAppPurchaseImage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseImageCreateRequest" + } + } + }, + "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 InAppPurchaseImage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseImageResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/inAppPurchaseImages/{id}": { + "get": { + "tags": [ + "InAppPurchaseImages" + ], + "operationId": "inAppPurchaseImages_getInstance", + "parameters": [ + { + "name": "fields[inAppPurchaseImages]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "uploaded", + "state", + "inAppPurchase" + ] + } + }, + "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": [ + "inAppPurchase" + ] + } + }, + "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 InAppPurchaseImage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseImageResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "InAppPurchaseImages" + ], + "operationId": "inAppPurchaseImages_updateInstance", + "requestBody": { + "description": "InAppPurchaseImage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseImageUpdateRequest" + } + } + }, + "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 InAppPurchaseImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseContentResponse" + "$ref": "#/components/schemas/InAppPurchaseImageResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } } }, + "delete": { + "tags": [ + "InAppPurchaseImages" + ], + "operationId": "inAppPurchaseImages_deleteInstance", + "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" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, "parameters": [ { "name": "id", @@ -37998,7 +37787,7 @@ "tags": [ "InAppPurchaseLocalizations" ], - "operationId": "inAppPurchaseLocalizations-create_instance", + "operationId": "inAppPurchaseLocalizations_createInstance", "requestBody": { "description": "InAppPurchaseLocalization representation", "content": { @@ -38079,7 +37868,7 @@ "tags": [ "InAppPurchaseLocalizations" ], - "operationId": "inAppPurchaseLocalizations-get_instance", + "operationId": "inAppPurchaseLocalizations_getInstance", "parameters": [ { "name": "fields[inAppPurchaseLocalizations]", @@ -38090,11 +37879,11 @@ "items": { "type": "string", "enum": [ - "description", - "inAppPurchaseV2", - "locale", "name", - "state" + "locale", + "description", + "state", + "inAppPurchaseV2" ] } }, @@ -38177,7 +37966,7 @@ "tags": [ "InAppPurchaseLocalizations" ], - "operationId": "inAppPurchaseLocalizations-update_instance", + "operationId": "inAppPurchaseLocalizations_updateInstance", "requestBody": { "description": "InAppPurchaseLocalization representation", "content": { @@ -38266,7 +38055,7 @@ "tags": [ "InAppPurchaseLocalizations" ], - "operationId": "inAppPurchaseLocalizations-delete_instance", + "operationId": "inAppPurchaseLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -38341,7 +38130,7 @@ "tags": [ "InAppPurchasePriceSchedules" ], - "operationId": "inAppPurchasePriceSchedules-create_instance", + "operationId": "inAppPurchasePriceSchedules_createInstance", "requestBody": { "description": "InAppPurchasePriceSchedule representation", "content": { @@ -38422,7 +38211,7 @@ "tags": [ "InAppPurchasePriceSchedules" ], - "operationId": "inAppPurchasePriceSchedules-get_instance", + "operationId": "inAppPurchasePriceSchedules_getInstance", "parameters": [ { "name": "fields[inAppPurchasePriceSchedules]", @@ -38433,10 +38222,10 @@ "items": { "type": "string", "enum": [ - "automaticPrices", - "baseTerritory", "inAppPurchase", - "manualPrices" + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, @@ -38445,18 +38234,15 @@ "required": false }, { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "automaticPrices", - "baseTerritory", - "inAppPurchase", - "manualPrices" + "currency" ] } }, @@ -38473,11 +38259,11 @@ "items": { "type": "string", "enum": [ + "startDate", "endDate", - "inAppPurchasePricePoint", - "inAppPurchaseV2", "manual", - "startDate", + "inAppPurchaseV2", + "inAppPurchasePricePoint", "territory" ] } @@ -38487,15 +38273,18 @@ "required": false }, { - "name": "fields[territories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "inAppPurchase", + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, @@ -38597,7 +38386,7 @@ "tags": [ "InAppPurchaseSubmissions" ], - "operationId": "inAppPurchaseSubmissions-create_instance", + "operationId": "inAppPurchaseSubmissions_createInstance", "requestBody": { "description": "InAppPurchaseSubmission representation", "content": { @@ -38678,7 +38467,7 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchases-get_instance", + "operationId": "inAppPurchases_getInstance", "deprecated": true, "parameters": [ { @@ -38690,11 +38479,11 @@ "items": { "type": "string", "enum": [ - "apps", - "inAppPurchaseType", - "productId", "referenceName", - "state" + "productId", + "inAppPurchaseType", + "state", + "apps" ] } }, @@ -38802,7 +38591,7 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-create_instance", + "operationId": "inAppPurchasesV2_createInstance", "requestBody": { "description": "InAppPurchase representation", "content": { @@ -38883,7 +38672,7 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-get_instance", + "operationId": "inAppPurchasesV2_getInstance", "parameters": [ { "name": "fields[inAppPurchases]", @@ -38894,21 +38683,43 @@ "items": { "type": "string", "enum": [ + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", "app", - "appStoreReviewScreenshot", + "inAppPurchaseLocalizations", + "pricePoints", "content", - "contentHosting", - "familySharable", + "appStoreReviewScreenshot", + "promotedPurchase", "iapPriceSchedule", "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", + "images" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[inAppPurchaseLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ "name", - "pricePoints", - "productId", - "promotedPurchase", - "reviewNote", - "state" + "locale", + "description", + "state", + "inAppPurchaseV2" ] } }, @@ -38917,21 +38728,18 @@ "required": false }, { - "name": "include", + "name": "fields[inAppPurchasePricePoints]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "content", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "pricePoints", - "promotedPurchase" + "customerPrice", + "proceeds", + "territory", + "inAppPurchaseV2" ] } }, @@ -38940,17 +38748,19 @@ "required": false }, { - "name": "fields[inAppPurchaseAvailabilities]", + "name": "fields[inAppPurchaseContents]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", + "description": "the fields to include for returned resources of type inAppPurchaseContents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories", - "inAppPurchase" + "fileName", + "fileSize", + "url", + "lastModifiedDate", + "inAppPurchaseV2" ] } }, @@ -38967,16 +38777,16 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", "fileSize", - "imageAsset", - "inAppPurchaseV2", + "fileName", "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "inAppPurchaseV2" ] } }, @@ -38993,13 +38803,13 @@ "items": { "type": "string", "enum": [ - "app", + "visibleForAllUsers", "enabled", - "inAppPurchaseV2", - "promotionImages", "state", + "app", + "inAppPurchaseV2", "subscription", - "visibleForAllUsers" + "promotionImages" ] } }, @@ -39008,18 +38818,18 @@ "required": false }, { - "name": "fields[inAppPurchasePricePoints]", + "name": "fields[inAppPurchasePriceSchedules]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "inAppPurchaseV2", - "proceeds", - "territory" + "inAppPurchase", + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, @@ -39028,19 +38838,17 @@ "required": false }, { - "name": "fields[inAppPurchaseLocalizations]", + "name": "fields[inAppPurchaseAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "inAppPurchaseV2", - "locale", - "name", - "state" + "availableInNewTerritories", + "inAppPurchase", + "availableTerritories" ] } }, @@ -39049,18 +38857,23 @@ "required": false }, { - "name": "fields[inAppPurchasePriceSchedules]", + "name": "fields[inAppPurchaseImages]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", + "description": "the fields to include for returned resources of type inAppPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "automaticPrices", - "baseTerritory", - "inAppPurchase", - "manualPrices" + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "uploaded", + "state", + "inAppPurchase" ] } }, @@ -39069,19 +38882,22 @@ "required": false }, { - "name": "fields[inAppPurchaseContents]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseContents", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileName", - "fileSize", - "inAppPurchaseV2", - "lastModifiedDate", - "url" + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -39089,6 +38905,17 @@ "explode": false, "required": false }, + { + "name": "limit[images]", + "in": "query", + "description": "maximum number of related images returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, { "name": "limit[inAppPurchaseLocalizations]", "in": "query", @@ -39169,7 +38996,7 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-update_instance", + "operationId": "inAppPurchasesV2_updateInstance", "requestBody": { "description": "InAppPurchase representation", "content": { @@ -39258,7 +39085,7 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-delete_instance", + "operationId": "inAppPurchasesV2_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -39333,7 +39160,7 @@ "tags": [ "MarketplaceDomains" ], - "operationId": "marketplaceDomains-get_collection", + "operationId": "marketplaceDomains_getCollection", "deprecated": true, "parameters": [ { @@ -39345,9 +39172,9 @@ "items": { "type": "string", "enum": [ - "createdDate", "domain", - "referenceName" + "referenceName", + "createdDate" ] } }, @@ -39413,7 +39240,7 @@ "tags": [ "MarketplaceDomains" ], - "operationId": "marketplaceDomains-create_instance", + "operationId": "marketplaceDomains_createInstance", "deprecated": true, "requestBody": { "description": "MarketplaceDomain representation", @@ -39495,7 +39322,7 @@ "tags": [ "MarketplaceDomains" ], - "operationId": "marketplaceDomains-get_instance", + "operationId": "marketplaceDomains_getInstance", "deprecated": true, "parameters": [ { @@ -39507,9 +39334,9 @@ "items": { "type": "string", "enum": [ - "createdDate", "domain", - "referenceName" + "referenceName", + "createdDate" ] } }, @@ -39575,7 +39402,7 @@ "tags": [ "MarketplaceDomains" ], - "operationId": "marketplaceDomains-delete_instance", + "operationId": "marketplaceDomains_deleteInstance", "deprecated": true, "responses": { "400": { @@ -39651,7 +39478,7 @@ "tags": [ "MarketplaceSearchDetails" ], - "operationId": "marketplaceSearchDetails-create_instance", + "operationId": "marketplaceSearchDetails_createInstance", "requestBody": { "description": "MarketplaceSearchDetail representation", "content": { @@ -39732,7 +39559,7 @@ "tags": [ "MarketplaceSearchDetails" ], - "operationId": "marketplaceSearchDetails-update_instance", + "operationId": "marketplaceSearchDetails_updateInstance", "requestBody": { "description": "MarketplaceSearchDetail representation", "content": { @@ -39821,7 +39648,7 @@ "tags": [ "MarketplaceSearchDetails" ], - "operationId": "marketplaceSearchDetails-delete_instance", + "operationId": "marketplaceSearchDetails_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -39896,7 +39723,7 @@ "tags": [ "MarketplaceWebhooks" ], - "operationId": "marketplaceWebhooks-get_collection", + "operationId": "marketplaceWebhooks_getCollection", "parameters": [ { "name": "fields[marketplaceWebhooks]", @@ -39974,7 +39801,7 @@ "tags": [ "MarketplaceWebhooks" ], - "operationId": "marketplaceWebhooks-create_instance", + "operationId": "marketplaceWebhooks_createInstance", "requestBody": { "description": "MarketplaceWebhook representation", "content": { @@ -40055,7 +39882,7 @@ "tags": [ "MarketplaceWebhooks" ], - "operationId": "marketplaceWebhooks-update_instance", + "operationId": "marketplaceWebhooks_updateInstance", "requestBody": { "description": "MarketplaceWebhook representation", "content": { @@ -40144,7 +39971,7 @@ "tags": [ "MarketplaceWebhooks" ], - "operationId": "marketplaceWebhooks-delete_instance", + "operationId": "marketplaceWebhooks_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -40219,7 +40046,7 @@ "tags": [ "PreReleaseVersions" ], - "operationId": "preReleaseVersions-get_collection", + "operationId": "preReleaseVersions_getCollection", "parameters": [ { "name": "filter[builds.expired]", @@ -40358,10 +40185,10 @@ "items": { "type": "string", "enum": [ - "app", - "builds", + "version", "platform", - "version" + "builds", + "app" ] } }, @@ -40370,26 +40197,38 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[builds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", "app", - "builds" + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -40406,49 +40245,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -40457,38 +40298,26 @@ "required": false }, { - "name": "fields[builds]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type builds", + "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": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "builds", + "app" ] } }, @@ -40557,7 +40386,7 @@ "tags": [ "PreReleaseVersions" ], - "operationId": "preReleaseVersions-get_instance", + "operationId": "preReleaseVersions_getInstance", "parameters": [ { "name": "fields[preReleaseVersions]", @@ -40568,10 +40397,10 @@ "items": { "type": "string", "enum": [ - "app", - "builds", + "version", "platform", - "version" + "builds", + "app" ] } }, @@ -40580,16 +40409,38 @@ "required": false }, { - "name": "include", + "name": "fields[builds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", "app", - "builds" + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -40606,49 +40457,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -40657,38 +40510,16 @@ "required": false }, { - "name": "fields[builds]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "builds", + "app" ] } }, @@ -40779,7 +40610,7 @@ "tags": [ "Profiles" ], - "operationId": "profiles-get_collection", + "operationId": "profiles_getCollection", "parameters": [ { "name": "filter[name]", @@ -40795,24 +40626,6 @@ "explode": false, "required": false }, - { - "name": "filter[profileState]", - "in": "query", - "description": "filter by attribute 'profileState'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ACTIVE", - "INVALID" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "filter[profileType]", "in": "query", @@ -40843,6 +40656,24 @@ "explode": false, "required": false }, + { + "name": "filter[profileState]", + "in": "query", + "description": "filter by attribute 'profileState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ACTIVE", + "INVALID" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "filter[id]", "in": "query", @@ -40866,14 +40697,14 @@ "items": { "type": "string", "enum": [ - "id", - "-id", "name", "-name", + "profileType", + "-profileType", "profileState", "-profileState", - "profileType", - "-profileType" + "id", + "-id" ] } }, @@ -40890,17 +40721,17 @@ "items": { "type": "string", "enum": [ - "bundleId", - "certificates", - "createdDate", - "devices", - "expirationDate", "name", "platform", - "profileContent", - "profileState", "profileType", - "uuid" + "profileState", + "profileContent", + "uuid", + "createdDate", + "expirationDate", + "bundleId", + "devices", + "certificates" ] } }, @@ -40909,27 +40740,21 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[bundleIds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type bundleIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "certificates", - "devices" + "name", + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -40938,22 +40763,21 @@ "required": false }, { - "name": "fields[certificates]", + "name": "fields[devices]", "in": "query", - "description": "the fields to include for returned resources of type certificates", + "description": "the fields to include for returned resources of type devices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "certificateContent", - "certificateType", - "csrContent", - "displayName", - "expirationDate", "name", "platform", - "serialNumber" + "udid", + "deviceClass", + "status", + "model", + "addedDate" ] } }, @@ -40962,21 +40786,22 @@ "required": false }, { - "name": "fields[devices]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type devices", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "addedDate", - "deviceClass", - "model", "name", + "csrContent", + "certificateType", + "displayName", + "serialNumber", "platform", - "status", - "udid" + "expirationDate", + "certificateContent" ] } }, @@ -40985,21 +40810,27 @@ "required": false }, { - "name": "fields[bundleIds]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "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": [ - "app", - "bundleIdCapabilities", - "identifier", - "name", - "platform", - "profiles", - "seedId" + "bundleId", + "devices", + "certificates" ] } }, @@ -41077,7 +40908,7 @@ "tags": [ "Profiles" ], - "operationId": "profiles-create_instance", + "operationId": "profiles_createInstance", "requestBody": { "description": "Profile representation", "content": { @@ -41158,7 +40989,7 @@ "tags": [ "Profiles" ], - "operationId": "profiles-get_instance", + "operationId": "profiles_getInstance", "parameters": [ { "name": "fields[profiles]", @@ -41169,17 +41000,17 @@ "items": { "type": "string", "enum": [ - "bundleId", - "certificates", - "createdDate", - "devices", - "expirationDate", "name", "platform", - "profileContent", - "profileState", "profileType", - "uuid" + "profileState", + "profileContent", + "uuid", + "createdDate", + "expirationDate", + "bundleId", + "devices", + "certificates" ] } }, @@ -41188,17 +41019,21 @@ "required": false }, { - "name": "include", + "name": "fields[bundleIds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type bundleIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "bundleId", - "certificates", - "devices" + "name", + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -41207,22 +41042,21 @@ "required": false }, { - "name": "fields[certificates]", + "name": "fields[devices]", "in": "query", - "description": "the fields to include for returned resources of type certificates", + "description": "the fields to include for returned resources of type devices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "certificateContent", - "certificateType", - "csrContent", - "displayName", - "expirationDate", "name", "platform", - "serialNumber" + "udid", + "deviceClass", + "status", + "model", + "addedDate" ] } }, @@ -41231,21 +41065,22 @@ "required": false }, { - "name": "fields[devices]", + "name": "fields[certificates]", "in": "query", - "description": "the fields to include for returned resources of type devices", + "description": "the fields to include for returned resources of type certificates", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "addedDate", - "deviceClass", - "model", "name", + "csrContent", + "certificateType", + "displayName", + "serialNumber", "platform", - "status", - "udid" + "expirationDate", + "certificateContent" ] } }, @@ -41254,21 +41089,17 @@ "required": false }, { - "name": "fields[bundleIds]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "bundleIdCapabilities", - "identifier", - "name", - "platform", - "profiles", - "seedId" + "bundleId", + "devices", + "certificates" ] } }, @@ -41356,7 +41187,7 @@ "tags": [ "Profiles" ], - "operationId": "profiles-delete_instance", + "operationId": "profiles_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -41431,7 +41262,8 @@ "tags": [ "PromotedPurchaseImages" ], - "operationId": "promotedPurchaseImages-create_instance", + "operationId": "promotedPurchaseImages_createInstance", + "deprecated": true, "requestBody": { "description": "PromotedPurchaseImage representation", "content": { @@ -41512,7 +41344,8 @@ "tags": [ "PromotedPurchaseImages" ], - "operationId": "promotedPurchaseImages-get_instance", + "operationId": "promotedPurchaseImages_getInstance", + "deprecated": true, "parameters": [ { "name": "fields[promotedPurchaseImages]", @@ -41523,16 +41356,16 @@ "items": { "type": "string", "enum": [ - "assetToken", - "assetType", - "fileName", "fileSize", - "imageAsset", - "promotedPurchase", + "fileName", "sourceFileChecksum", - "state", + "assetToken", + "imageAsset", + "assetType", "uploadOperations", - "uploaded" + "uploaded", + "state", + "promotedPurchase" ] } }, @@ -41615,7 +41448,8 @@ "tags": [ "PromotedPurchaseImages" ], - "operationId": "promotedPurchaseImages-update_instance", + "operationId": "promotedPurchaseImages_updateInstance", + "deprecated": true, "requestBody": { "description": "PromotedPurchaseImage representation", "content": { @@ -41704,7 +41538,8 @@ "tags": [ "PromotedPurchaseImages" ], - "operationId": "promotedPurchaseImages-delete_instance", + "operationId": "promotedPurchaseImages_deleteInstance", + "deprecated": true, "responses": { "400": { "description": "Parameter error(s)", @@ -41779,7 +41614,7 @@ "tags": [ "PromotedPurchases" ], - "operationId": "promotedPurchases-create_instance", + "operationId": "promotedPurchases_createInstance", "requestBody": { "description": "PromotedPurchase representation", "content": { @@ -41860,7 +41695,7 @@ "tags": [ "PromotedPurchases" ], - "operationId": "promotedPurchases-get_instance", + "operationId": "promotedPurchases_getInstance", "parameters": [ { "name": "fields[promotedPurchases]", @@ -41871,13 +41706,13 @@ "items": { "type": "string", "enum": [ - "app", + "visibleForAllUsers", "enabled", - "inAppPurchaseV2", - "promotionImages", "state", + "app", + "inAppPurchaseV2", "subscription", - "visibleForAllUsers" + "promotionImages" ] } }, @@ -41886,43 +41721,44 @@ "required": false }, { - "name": "include", + "name": "fields[promotedPurchaseImages]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type promotedPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "inAppPurchaseV2", - "promotionImages", - "subscription" + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "assetType", + "uploadOperations", + "uploaded", + "state", + "promotedPurchase" ] } }, "style": "form", "explode": false, - "required": false + "required": false, + "deprecated": true }, { - "name": "fields[promotedPurchaseImages]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchaseImages", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "promotedPurchase", - "sourceFileChecksum", - "state", - "uploadOperations", - "uploaded" + "inAppPurchaseV2", + "subscription", + "promotionImages" ] } }, @@ -41939,7 +41775,8 @@ "maximum": 50 }, "style": "form", - "required": false + "required": false, + "deprecated": true } ], "responses": { @@ -41999,7 +41836,7 @@ "tags": [ "PromotedPurchases" ], - "operationId": "promotedPurchases-update_instance", + "operationId": "promotedPurchases_updateInstance", "requestBody": { "description": "PromotedPurchase representation", "content": { @@ -42088,7 +41925,7 @@ "tags": [ "PromotedPurchases" ], - "operationId": "promotedPurchases-delete_instance", + "operationId": "promotedPurchases_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -42163,7 +42000,7 @@ "tags": [ "ReviewSubmissionItems" ], - "operationId": "reviewSubmissionItems-create_instance", + "operationId": "reviewSubmissionItems_createInstance", "requestBody": { "description": "ReviewSubmissionItem representation", "content": { @@ -42244,7 +42081,7 @@ "tags": [ "ReviewSubmissionItems" ], - "operationId": "reviewSubmissionItems-update_instance", + "operationId": "reviewSubmissionItems_updateInstance", "requestBody": { "description": "ReviewSubmissionItem representation", "content": { @@ -42333,7 +42170,7 @@ "tags": [ "ReviewSubmissionItems" ], - "operationId": "reviewSubmissionItems-delete_instance", + "operationId": "reviewSubmissionItems_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -42408,7 +42245,7 @@ "tags": [ "ReviewSubmissions" ], - "operationId": "reviewSubmissions-get_collection", + "operationId": "reviewSubmissions_getCollection", "parameters": [ { "name": "filter[platform]", @@ -42476,16 +42313,16 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreVersionForReview", - "canceled", - "items", - "lastUpdatedByActor", "platform", + "submittedDate", "state", "submitted", + "canceled", + "app", + "items", + "appStoreVersionForReview", "submittedByActor", - "submittedDate" + "lastUpdatedByActor" ] } }, @@ -42494,29 +42331,23 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[reviewSubmissionItems]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type reviewSubmissionItems", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersionForReview", - "items", - "lastUpdatedByActor", - "submittedByActor" + "state", + "resolved", + "removed", + "reviewSubmission", + "appStoreVersion", + "appCustomProductPageVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appEvent" ] } }, @@ -42525,23 +42356,29 @@ "required": false }, { - "name": "fields[reviewSubmissionItems]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissionItems", + "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": [ - "appCustomProductPageVersion", - "appEvent", - "appStoreVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "removed", - "resolved", - "reviewSubmission", - "state" + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" ] } }, @@ -42608,7 +42445,7 @@ "tags": [ "ReviewSubmissions" ], - "operationId": "reviewSubmissions-create_instance", + "operationId": "reviewSubmissions_createInstance", "requestBody": { "description": "ReviewSubmission representation", "content": { @@ -42689,7 +42526,7 @@ "tags": [ "ReviewSubmissions" ], - "operationId": "reviewSubmissions-get_instance", + "operationId": "reviewSubmissions_getInstance", "parameters": [ { "name": "fields[reviewSubmissions]", @@ -42700,16 +42537,16 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreVersionForReview", - "canceled", - "items", - "lastUpdatedByActor", "platform", + "submittedDate", "state", "submitted", + "canceled", + "app", + "items", + "appStoreVersionForReview", "submittedByActor", - "submittedDate" + "lastUpdatedByActor" ] } }, @@ -42718,19 +42555,23 @@ "required": false }, { - "name": "include", + "name": "fields[reviewSubmissionItems]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type reviewSubmissionItems", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersionForReview", - "items", - "lastUpdatedByActor", - "submittedByActor" + "state", + "resolved", + "removed", + "reviewSubmission", + "appStoreVersion", + "appCustomProductPageVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appEvent" ] } }, @@ -42739,23 +42580,19 @@ "required": false }, { - "name": "fields[reviewSubmissionItems]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissionItems", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appEvent", - "appStoreVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "removed", - "resolved", - "reviewSubmission", - "state" + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" ] } }, @@ -42832,7 +42669,7 @@ "tags": [ "ReviewSubmissions" ], - "operationId": "reviewSubmissions-update_instance", + "operationId": "reviewSubmissions_updateInstance", "requestBody": { "description": "ReviewSubmission representation", "content": { @@ -42935,7 +42772,7 @@ "tags": [ "RoutingAppCoverages" ], - "operationId": "routingAppCoverages-create_instance", + "operationId": "routingAppCoverages_createInstance", "requestBody": { "description": "RoutingAppCoverage representation", "content": { @@ -43016,7 +42853,7 @@ "tags": [ "RoutingAppCoverages" ], - "operationId": "routingAppCoverages-get_instance", + "operationId": "routingAppCoverages_getInstance", "parameters": [ { "name": "fields[routingAppCoverages]", @@ -43027,13 +42864,13 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "assetDeliveryState", - "fileName", "fileSize", + "fileName", "sourceFileChecksum", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appStoreVersion" ] } }, @@ -43116,7 +42953,7 @@ "tags": [ "RoutingAppCoverages" ], - "operationId": "routingAppCoverages-update_instance", + "operationId": "routingAppCoverages_updateInstance", "requestBody": { "description": "RoutingAppCoverage representation", "content": { @@ -43205,7 +43042,7 @@ "tags": [ "RoutingAppCoverages" ], - "operationId": "routingAppCoverages-delete_instance", + "operationId": "routingAppCoverages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -43280,8 +43117,68 @@ "tags": [ "SalesReports" ], - "operationId": "salesReports-get_collection", + "operationId": "salesReports_getCollection", "parameters": [ + { + "name": "filter[vendorNumber]", + "in": "query", + "description": "filter by attribute 'vendorNumber'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": true + }, + { + "name": "filter[reportType]", + "in": "query", + "description": "filter by attribute 'reportType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "SALES", + "PRE_ORDER", + "NEWSSTAND", + "SUBSCRIPTION", + "SUBSCRIPTION_EVENT", + "SUBSCRIBER", + "SUBSCRIPTION_OFFER_CODE_REDEMPTION", + "INSTALLS", + "FIRST_ANNUAL" + ] + } + }, + "style": "form", + "explode": false, + "required": true + }, + { + "name": "filter[reportSubType]", + "in": "query", + "description": "filter by attribute 'reportSubType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "SUMMARY", + "DETAILED", + "SUMMARY_INSTALL_TYPE", + "SUMMARY_TERRITORY", + "SUMMARY_CHANNEL" + ] + } + }, + "style": "form", + "explode": false, + "required": true + }, { "name": "filter[frequency]", "in": "query", @@ -43316,66 +43213,6 @@ "explode": false, "required": false }, - { - "name": "filter[reportSubType]", - "in": "query", - "description": "filter by attribute 'reportSubType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "SUMMARY", - "DETAILED", - "SUMMARY_INSTALL_TYPE", - "SUMMARY_TERRITORY", - "SUMMARY_CHANNEL" - ] - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[reportType]", - "in": "query", - "description": "filter by attribute 'reportType'", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "SALES", - "PRE_ORDER", - "NEWSSTAND", - "SUBSCRIPTION", - "SUBSCRIPTION_EVENT", - "SUBSCRIBER", - "SUBSCRIPTION_OFFER_CODE_REDEMPTION", - "INSTALLS", - "FIRST_ANNUAL" - ] - } - }, - "style": "form", - "explode": false, - "required": true - }, - { - "name": "filter[vendorNumber]", - "in": "query", - "description": "filter by attribute 'vendorNumber'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false, - "required": true - }, { "name": "filter[version]", "in": "query", @@ -43440,7 +43277,7 @@ "tags": [ "SandboxTesters" ], - "operationId": "sandboxTestersV2-get_collection", + "operationId": "sandboxTestersV2_getCollection", "parameters": [ { "name": "fields[sandboxTesters]", @@ -43451,13 +43288,13 @@ "items": { "type": "string", "enum": [ + "firstName", + "lastName", "acAccountName", + "territory", "applePayCompatible", - "firstName", "interruptPurchases", - "lastName", - "subscriptionRenewalRate", - "territory" + "subscriptionRenewalRate" ] } }, @@ -43525,7 +43362,7 @@ "tags": [ "SandboxTesters" ], - "operationId": "sandboxTestersV2-update_instance", + "operationId": "sandboxTestersV2_updateInstance", "requestBody": { "description": "SandboxTester representation", "content": { @@ -43628,7 +43465,7 @@ "tags": [ "SandboxTestersClearPurchaseHistoryRequest" ], - "operationId": "sandboxTestersClearPurchaseHistoryRequestV2-create_instance", + "operationId": "sandboxTestersClearPurchaseHistoryRequestV2_createInstance", "requestBody": { "description": "SandboxTestersClearPurchaseHistoryRequest representation", "content": { @@ -43709,7 +43546,7 @@ "tags": [ "ScmGitReferences" ], - "operationId": "scmGitReferences-get_instance", + "operationId": "scmGitReferences_getInstance", "parameters": [ { "name": "fields[scmGitReferences]", @@ -43720,10 +43557,10 @@ "items": { "type": "string", "enum": [ + "name", "canonicalName", "isDeleted", "kind", - "name", "repository" ] } @@ -43821,7 +43658,7 @@ "tags": [ "ScmProviders" ], - "operationId": "scmProviders-get_collection", + "operationId": "scmProviders_getCollection", "parameters": [ { "name": "fields[scmProviders]", @@ -43832,9 +43669,9 @@ "items": { "type": "string", "enum": [ - "repositories", "scmProviderType", - "url" + "url", + "repositories" ] } }, @@ -43851,31 +43688,6 @@ "maximum": 200 }, "style": "form" - }, - { - "name": "fields[scmRepositories]", - "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" - ] - } - }, - "style": "form", - "explode": false, - "required": false } ], "responses": { @@ -43927,7 +43739,7 @@ "tags": [ "ScmProviders" ], - "operationId": "scmProviders-get_instance", + "operationId": "scmProviders_getInstance", "parameters": [ { "name": "fields[scmProviders]", @@ -43938,34 +43750,9 @@ "items": { "type": "string", "enum": [ - "repositories", "scmProviderType", - "url" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[scmRepositories]", - "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "url", + "repositories" ] } }, @@ -44045,7 +43832,7 @@ "tags": [ "ScmPullRequests" ], - "operationId": "scmPullRequests-get_instance", + "operationId": "scmPullRequests_getInstance", "parameters": [ { "name": "fields[scmPullRequests]", @@ -44056,18 +43843,18 @@ "items": { "type": "string", "enum": [ - "destinationBranchName", - "destinationRepositoryName", + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", "isClosed", "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "repository" ] } }, @@ -44164,7 +43951,7 @@ "tags": [ "ScmRepositories" ], - "operationId": "scmRepositories-get_collection", + "operationId": "scmRepositories_getCollection", "parameters": [ { "name": "filter[id]", @@ -44189,15 +43976,15 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", "ownerName", - "pullRequests", "repositoryName", "scmProvider", - "sshCloneUrl" + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -44224,57 +44011,8 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "scmProvider" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[scmGitReferences]", - "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[scmPullRequests]", - "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "scmProvider", + "defaultBranch" ] } }, @@ -44332,7 +44070,7 @@ "tags": [ "ScmRepositories" ], - "operationId": "scmRepositories-get_instance", + "operationId": "scmRepositories_getInstance", "parameters": [ { "name": "fields[scmRepositories]", @@ -44343,15 +44081,15 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", "ownerName", - "pullRequests", "repositoryName", "scmProvider", - "sshCloneUrl" + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -44368,57 +44106,8 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "scmProvider" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[scmGitReferences]", - "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "fields[scmPullRequests]", - "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "scmProvider", + "defaultBranch" ] } }, @@ -44498,7 +44187,7 @@ "tags": [ "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionAppStoreReviewScreenshots-create_instance", + "operationId": "subscriptionAppStoreReviewScreenshots_createInstance", "requestBody": { "description": "SubscriptionAppStoreReviewScreenshot representation", "content": { @@ -44579,7 +44268,7 @@ "tags": [ "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionAppStoreReviewScreenshots-get_instance", + "operationId": "subscriptionAppStoreReviewScreenshots_getInstance", "parameters": [ { "name": "fields[subscriptionAppStoreReviewScreenshots]", @@ -44590,16 +44279,16 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", "fileSize", - "imageAsset", + "fileName", "sourceFileChecksum", - "subscription", + "imageAsset", + "assetToken", + "assetType", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "subscription" ] } }, @@ -44682,7 +44371,7 @@ "tags": [ "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionAppStoreReviewScreenshots-update_instance", + "operationId": "subscriptionAppStoreReviewScreenshots_updateInstance", "requestBody": { "description": "SubscriptionAppStoreReviewScreenshot representation", "content": { @@ -44771,7 +44460,7 @@ "tags": [ "SubscriptionAppStoreReviewScreenshots" ], - "operationId": "subscriptionAppStoreReviewScreenshots-delete_instance", + "operationId": "subscriptionAppStoreReviewScreenshots_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -44846,7 +44535,7 @@ "tags": [ "SubscriptionAvailabilities" ], - "operationId": "subscriptionAvailabilities-create_instance", + "operationId": "subscriptionAvailabilities_createInstance", "requestBody": { "description": "SubscriptionAvailability representation", "content": { @@ -44927,7 +44616,7 @@ "tags": [ "SubscriptionAvailabilities" ], - "operationId": "subscriptionAvailabilities-get_instance", + "operationId": "subscriptionAvailabilities_getInstance", "parameters": [ { "name": "fields[subscriptionAvailabilities]", @@ -44939,8 +44628,8 @@ "type": "string", "enum": [ "availableInNewTerritories", - "availableTerritories", - "subscription" + "subscription", + "availableTerritories" ] } }, @@ -44949,16 +44638,15 @@ "required": false }, { - "name": "include", + "name": "fields[territories]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableTerritories", - "subscription" + "currency" ] } }, @@ -44967,15 +44655,16 @@ "required": false }, { - "name": "fields[territories]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "subscription", + "availableTerritories" ] } }, @@ -45066,7 +44755,7 @@ "tags": [ "SubscriptionGracePeriods" ], - "operationId": "subscriptionGracePeriods-get_instance", + "operationId": "subscriptionGracePeriods_getInstance", "parameters": [ { "name": "fields[subscriptionGracePeriods]", @@ -45077,10 +44766,10 @@ "items": { "type": "string", "enum": [ - "duration", "optIn", - "renewalType", - "sandboxOptIn" + "sandboxOptIn", + "duration", + "renewalType" ] } }, @@ -45146,7 +44835,7 @@ "tags": [ "SubscriptionGracePeriods" ], - "operationId": "subscriptionGracePeriods-update_instance", + "operationId": "subscriptionGracePeriods_updateInstance", "requestBody": { "description": "SubscriptionGracePeriod representation", "content": { @@ -45249,7 +44938,7 @@ "tags": [ "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionGroupLocalizations-create_instance", + "operationId": "subscriptionGroupLocalizations_createInstance", "requestBody": { "description": "SubscriptionGroupLocalization representation", "content": { @@ -45330,7 +45019,7 @@ "tags": [ "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionGroupLocalizations-get_instance", + "operationId": "subscriptionGroupLocalizations_getInstance", "parameters": [ { "name": "fields[subscriptionGroupLocalizations]", @@ -45341,9 +45030,9 @@ "items": { "type": "string", "enum": [ + "name", "customAppName", "locale", - "name", "state", "subscriptionGroup" ] @@ -45428,7 +45117,7 @@ "tags": [ "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionGroupLocalizations-update_instance", + "operationId": "subscriptionGroupLocalizations_updateInstance", "requestBody": { "description": "SubscriptionGroupLocalization representation", "content": { @@ -45517,7 +45206,7 @@ "tags": [ "SubscriptionGroupLocalizations" ], - "operationId": "subscriptionGroupLocalizations-delete_instance", + "operationId": "subscriptionGroupLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -45592,7 +45281,7 @@ "tags": [ "SubscriptionGroupSubmissions" ], - "operationId": "subscriptionGroupSubmissions-create_instance", + "operationId": "subscriptionGroupSubmissions_createInstance", "requestBody": { "description": "SubscriptionGroupSubmission representation", "content": { @@ -45673,7 +45362,7 @@ "tags": [ "SubscriptionGroups" ], - "operationId": "subscriptionGroups-create_instance", + "operationId": "subscriptionGroups_createInstance", "requestBody": { "description": "SubscriptionGroup representation", "content": { @@ -45726,7 +45415,274 @@ } } }, - "201": { + "201": { + "description": "Single SubscriptionGroup", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionGroupResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/subscriptionGroups/{id}": { + "get": { + "tags": [ + "SubscriptionGroups" + ], + "operationId": "subscriptionGroups_getInstance", + "parameters": [ + { + "name": "fields[subscriptionGroups]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "app", + "subscriptions", + "subscriptionGroupLocalizations" + ] + } + }, + "style": "form", + "explode": false, + "required": 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, + "required": false + }, + { + "name": "fields[subscriptionGroupLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "customAppName", + "locale", + "state", + "subscriptionGroup" + ] + } + }, + "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": [ + "subscriptions", + "subscriptionGroupLocalizations" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[subscriptionGroupLocalizations]", + "in": "query", + "description": "maximum number of related subscriptionGroupLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[subscriptions]", + "in": "query", + "description": "maximum number of related subscriptions 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 SubscriptionGroup", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionGroupResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "SubscriptionGroups" + ], + "operationId": "subscriptionGroups_updateInstance", + "requestBody": { + "description": "SubscriptionGroup representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionGroupUpdateRequest" + } + } + }, + "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 SubscriptionGroup", "content": { "application/json": { @@ -45747,79 +45703,187 @@ } } } - } - }, - "/v1/subscriptionGroups/{id}": { - "get": { + }, + "delete": { "tags": [ "SubscriptionGroups" ], - "operationId": "subscriptionGroups-get_instance", - "parameters": [ - { - "name": "fields[subscriptionGroups]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" - ] + "operationId": "subscriptionGroups_deleteInstance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "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": [ - "subscriptionGroupLocalizations", - "subscriptions" - ] + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } } - }, - "style": "form", - "explode": false, - "required": false + } }, + "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" + } + } + } + }, + "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/subscriptionImages": { + "post": { + "tags": [ + "SubscriptionImages" + ], + "operationId": "subscriptionImages_createInstance", + "requestBody": { + "description": "SubscriptionImage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionImageCreateRequest" + } + } + }, + "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 SubscriptionImage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionImageResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/subscriptionImages/{id}": { + "get": { + "tags": [ + "SubscriptionImages" + ], + "operationId": "subscriptionImages_getInstance", + "parameters": [ { - "name": "fields[subscriptions]", + "name": "fields[subscriptionImages]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "uploaded", "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "subscription" ] } }, @@ -45828,47 +45892,21 @@ "required": false }, { - "name": "fields[subscriptionGroupLocalizations]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customAppName", - "locale", - "name", - "state", - "subscriptionGroup" + "subscription" ] } }, "style": "form", "explode": false, "required": false - }, - { - "name": "limit[subscriptionGroupLocalizations]", - "in": "query", - "description": "maximum number of related subscriptionGroupLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false - }, - { - "name": "limit[subscriptions]", - "in": "query", - "description": "maximum number of related subscriptions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "required": false } ], "responses": { @@ -45913,11 +45951,11 @@ } }, "200": { - "description": "Single SubscriptionGroup", + "description": "Single SubscriptionImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupResponse" + "$ref": "#/components/schemas/SubscriptionImageResponse" } } } @@ -45926,15 +45964,15 @@ }, "patch": { "tags": [ - "SubscriptionGroups" + "SubscriptionImages" ], - "operationId": "subscriptionGroups-update_instance", + "operationId": "subscriptionImages_updateInstance", "requestBody": { - "description": "SubscriptionGroup representation", + "description": "SubscriptionImage representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupUpdateRequest" + "$ref": "#/components/schemas/SubscriptionImageUpdateRequest" } } }, @@ -45992,11 +46030,11 @@ } }, "200": { - "description": "Single SubscriptionGroup", + "description": "Single SubscriptionImage", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionGroupResponse" + "$ref": "#/components/schemas/SubscriptionImageResponse" } } } @@ -46015,9 +46053,9 @@ }, "delete": { "tags": [ - "SubscriptionGroups" + "SubscriptionImages" ], - "operationId": "subscriptionGroups-delete_instance", + "operationId": "subscriptionImages_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -46092,7 +46130,7 @@ "tags": [ "SubscriptionIntroductoryOffers" ], - "operationId": "subscriptionIntroductoryOffers-create_instance", + "operationId": "subscriptionIntroductoryOffers_createInstance", "requestBody": { "description": "SubscriptionIntroductoryOffer representation", "content": { @@ -46173,7 +46211,7 @@ "tags": [ "SubscriptionIntroductoryOffers" ], - "operationId": "subscriptionIntroductoryOffers-update_instance", + "operationId": "subscriptionIntroductoryOffers_updateInstance", "requestBody": { "description": "SubscriptionIntroductoryOffer representation", "content": { @@ -46262,7 +46300,7 @@ "tags": [ "SubscriptionIntroductoryOffers" ], - "operationId": "subscriptionIntroductoryOffers-delete_instance", + "operationId": "subscriptionIntroductoryOffers_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -46337,7 +46375,7 @@ "tags": [ "SubscriptionLocalizations" ], - "operationId": "subscriptionLocalizations-create_instance", + "operationId": "subscriptionLocalizations_createInstance", "requestBody": { "description": "SubscriptionLocalization representation", "content": { @@ -46418,7 +46456,7 @@ "tags": [ "SubscriptionLocalizations" ], - "operationId": "subscriptionLocalizations-get_instance", + "operationId": "subscriptionLocalizations_getInstance", "parameters": [ { "name": "fields[subscriptionLocalizations]", @@ -46429,9 +46467,9 @@ "items": { "type": "string", "enum": [ - "description", - "locale", "name", + "locale", + "description", "state", "subscription" ] @@ -46516,7 +46554,7 @@ "tags": [ "SubscriptionLocalizations" ], - "operationId": "subscriptionLocalizations-update_instance", + "operationId": "subscriptionLocalizations_updateInstance", "requestBody": { "description": "SubscriptionLocalization representation", "content": { @@ -46605,7 +46643,7 @@ "tags": [ "SubscriptionLocalizations" ], - "operationId": "subscriptionLocalizations-delete_instance", + "operationId": "subscriptionLocalizations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -46680,7 +46718,7 @@ "tags": [ "SubscriptionOfferCodeCustomCodes" ], - "operationId": "subscriptionOfferCodeCustomCodes-create_instance", + "operationId": "subscriptionOfferCodeCustomCodes_createInstance", "requestBody": { "description": "SubscriptionOfferCodeCustomCode representation", "content": { @@ -46761,7 +46799,7 @@ "tags": [ "SubscriptionOfferCodeCustomCodes" ], - "operationId": "subscriptionOfferCodeCustomCodes-get_instance", + "operationId": "subscriptionOfferCodeCustomCodes_getInstance", "parameters": [ { "name": "fields[subscriptionOfferCodeCustomCodes]", @@ -46772,11 +46810,11 @@ "items": { "type": "string", "enum": [ - "active", - "createdDate", "customCode", - "expirationDate", "numberOfCodes", + "createdDate", + "expirationDate", + "active", "offerCode" ] } @@ -46860,7 +46898,7 @@ "tags": [ "SubscriptionOfferCodeCustomCodes" ], - "operationId": "subscriptionOfferCodeCustomCodes-update_instance", + "operationId": "subscriptionOfferCodeCustomCodes_updateInstance", "requestBody": { "description": "SubscriptionOfferCodeCustomCode representation", "content": { @@ -46963,7 +47001,7 @@ "tags": [ "SubscriptionOfferCodeOneTimeUseCodes" ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes-create_instance", + "operationId": "subscriptionOfferCodeOneTimeUseCodes_createInstance", "requestBody": { "description": "SubscriptionOfferCodeOneTimeUseCode representation", "content": { @@ -47044,7 +47082,7 @@ "tags": [ "SubscriptionOfferCodeOneTimeUseCodes" ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes-get_instance", + "operationId": "subscriptionOfferCodeOneTimeUseCodes_getInstance", "parameters": [ { "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", @@ -47055,10 +47093,10 @@ "items": { "type": "string", "enum": [ - "active", + "numberOfCodes", "createdDate", "expirationDate", - "numberOfCodes", + "active", "offerCode", "values" ] @@ -47143,7 +47181,7 @@ "tags": [ "SubscriptionOfferCodeOneTimeUseCodes" ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes-update_instance", + "operationId": "subscriptionOfferCodeOneTimeUseCodes_updateInstance", "requestBody": { "description": "SubscriptionOfferCodeOneTimeUseCode representation", "content": { @@ -47246,7 +47284,7 @@ "tags": [ "SubscriptionOfferCodes" ], - "operationId": "subscriptionOfferCodes-create_instance", + "operationId": "subscriptionOfferCodes_createInstance", "requestBody": { "description": "SubscriptionOfferCode representation", "content": { @@ -47327,7 +47365,7 @@ "tags": [ "SubscriptionOfferCodes" ], - "operationId": "subscriptionOfferCodes-get_instance", + "operationId": "subscriptionOfferCodes_getInstance", "parameters": [ { "name": "fields[subscriptionOfferCodes]", @@ -47338,18 +47376,18 @@ "items": { "type": "string", "enum": [ - "active", - "customCodes", - "customerEligibilities", - "duration", "name", - "numberOfPeriods", + "customerEligibilities", "offerEligibility", + "duration", "offerMode", - "oneTimeUseCodes", - "prices", + "numberOfPeriods", + "totalNumberOfCodes", + "active", "subscription", - "totalNumberOfCodes" + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -47358,18 +47396,20 @@ "required": false }, { - "name": "include", + "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customCodes", - "oneTimeUseCodes", - "prices", - "subscription" + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "offerCode", + "values" ] } }, @@ -47386,11 +47426,11 @@ "items": { "type": "string", "enum": [ - "active", - "createdDate", "customCode", - "expirationDate", "numberOfCodes", + "createdDate", + "expirationDate", + "active", "offerCode" ] } @@ -47400,20 +47440,16 @@ "required": false }, { - "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", + "name": "fields[subscriptionOfferCodePrices]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", + "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "active", - "createdDate", - "expirationDate", - "numberOfCodes", - "offerCode", - "values" + "territory", + "subscriptionPricePoint" ] } }, @@ -47422,16 +47458,18 @@ "required": false }, { - "name": "fields[subscriptionOfferCodePrices]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -47530,7 +47568,7 @@ "tags": [ "SubscriptionOfferCodes" ], - "operationId": "subscriptionOfferCodes-update_instance", + "operationId": "subscriptionOfferCodes_updateInstance", "requestBody": { "description": "SubscriptionOfferCode representation", "content": { @@ -47633,7 +47671,7 @@ "tags": [ "SubscriptionPricePoints" ], - "operationId": "subscriptionPricePoints-get_instance", + "operationId": "subscriptionPricePoints_getInstance", "parameters": [ { "name": "fields[subscriptionPricePoints]", @@ -47645,11 +47683,11 @@ "type": "string", "enum": [ "customerPrice", - "equalizations", "proceeds", "proceedsYear2", + "territory", "subscription", - "territory" + "equalizations" ] } }, @@ -47746,7 +47784,7 @@ "tags": [ "SubscriptionPrices" ], - "operationId": "subscriptionPrices-create_instance", + "operationId": "subscriptionPrices_createInstance", "requestBody": { "description": "SubscriptionPrice representation", "content": { @@ -47827,7 +47865,7 @@ "tags": [ "SubscriptionPrices" ], - "operationId": "subscriptionPrices-delete_instance", + "operationId": "subscriptionPrices_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -47902,7 +47940,7 @@ "tags": [ "SubscriptionPromotionalOffers" ], - "operationId": "subscriptionPromotionalOffers-create_instance", + "operationId": "subscriptionPromotionalOffers_createInstance", "requestBody": { "description": "SubscriptionPromotionalOffer representation", "content": { @@ -47983,7 +48021,7 @@ "tags": [ "SubscriptionPromotionalOffers" ], - "operationId": "subscriptionPromotionalOffers-get_instance", + "operationId": "subscriptionPromotionalOffers_getInstance", "parameters": [ { "name": "fields[subscriptionPromotionalOffers]", @@ -47994,13 +48032,13 @@ "items": { "type": "string", "enum": [ - "duration", "name", - "numberOfPeriods", "offerCode", + "duration", "offerMode", - "prices", - "subscription" + "numberOfPeriods", + "subscription", + "prices" ] } }, @@ -48009,16 +48047,16 @@ "required": false }, { - "name": "include", + "name": "fields[subscriptionPromotionalOfferPrices]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "prices", - "subscription" + "territory", + "subscriptionPricePoint" ] } }, @@ -48027,16 +48065,16 @@ "required": false }, { - "name": "fields[subscriptionPromotionalOfferPrices]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "subscription", + "prices" ] } }, @@ -48113,7 +48151,7 @@ "tags": [ "SubscriptionPromotionalOffers" ], - "operationId": "subscriptionPromotionalOffers-update_instance", + "operationId": "subscriptionPromotionalOffers_updateInstance", "requestBody": { "description": "SubscriptionPromotionalOffer representation", "content": { @@ -48202,7 +48240,7 @@ "tags": [ "SubscriptionPromotionalOffers" ], - "operationId": "subscriptionPromotionalOffers-delete_instance", + "operationId": "subscriptionPromotionalOffers_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -48277,7 +48315,7 @@ "tags": [ "SubscriptionSubmissions" ], - "operationId": "subscriptionSubmissions-create_instance", + "operationId": "subscriptionSubmissions_createInstance", "requestBody": { "description": "SubscriptionSubmission representation", "content": { @@ -48358,7 +48396,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-create_instance", + "operationId": "subscriptions_createInstance", "requestBody": { "description": "Subscription representation", "content": { @@ -48439,7 +48477,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-get_instance", + "operationId": "subscriptions_getInstance", "parameters": [ { "name": "fields[subscriptions]", @@ -48450,23 +48488,25 @@ "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", + "name", + "productId", "familySharable", - "group", + "state", + "subscriptionPeriod", + "reviewNote", "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", "introductoryOffers", - "name", + "promotionalOffers", "offerCodes", - "pricePoints", "prices", - "productId", + "pricePoints", "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "winBackOffers", + "images" ] } }, @@ -48475,23 +48515,19 @@ "required": false }, { - "name": "include", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "offerCodes", - "prices", - "promotedPurchase", - "promotionalOffers", - "subscriptionAvailability", - "subscriptionLocalizations" + "name", + "locale", + "description", + "state", + "subscription" ] } }, @@ -48500,21 +48536,24 @@ "required": false }, { - "name": "fields[promotedPurchases]", + "name": "fields[subscriptionAppStoreReviewScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "subscription" ] } }, @@ -48523,20 +48562,22 @@ "required": false }, { - "name": "fields[subscriptionPricePoints]", + "name": "fields[subscriptionIntroductoryOffers]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", + "startDate", + "endDate", + "duration", + "offerMode", + "numberOfPeriods", "subscription", - "territory" + "territory", + "subscriptionPricePoint" ] } }, @@ -48553,13 +48594,13 @@ "items": { "type": "string", "enum": [ - "duration", "name", - "numberOfPeriods", "offerCode", + "duration", "offerMode", - "prices", - "subscription" + "numberOfPeriods", + "subscription", + "prices" ] } }, @@ -48576,18 +48617,18 @@ "items": { "type": "string", "enum": [ - "active", - "customCodes", - "customerEligibilities", - "duration", "name", - "numberOfPeriods", + "customerEligibilities", "offerEligibility", + "duration", "offerMode", - "oneTimeUseCodes", - "prices", + "numberOfPeriods", + "totalNumberOfCodes", + "active", "subscription", - "totalNumberOfCodes" + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -48596,24 +48637,20 @@ "required": false }, { - "name": "fields[subscriptionAppStoreReviewScreenshots]", + "name": "fields[subscriptionPrices]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type subscriptionPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", + "startDate", + "preserved", + "preserveCurrentPrice", "subscription", - "uploadOperations", - "uploaded" + "territory", + "subscriptionPricePoint" ] } }, @@ -48622,17 +48659,21 @@ "required": false }, { - "name": "fields[subscriptionAvailabilities]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories", - "subscription" + "visibleForAllUsers", + "enabled", + "state", + "app", + "inAppPurchaseV2", + "subscription", + "promotionImages" ] } }, @@ -48641,20 +48682,17 @@ "required": false }, { - "name": "fields[subscriptionPrices]", + "name": "fields[subscriptionAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPrices", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "preserveCurrentPrice", - "preserved", - "startDate", + "availableInNewTerritories", "subscription", - "subscriptionPricePoint", - "territory" + "availableTerritories" ] } }, @@ -48663,22 +48701,28 @@ "required": false }, { - "name": "fields[subscriptionIntroductoryOffers]", + "name": "fields[winBackOffers]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "description": "the fields to include for returned resources of type winBackOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "referenceName", + "offerId", "duration", - "endDate", - "numberOfPeriods", "offerMode", + "periodCount", + "customerEligibilityPaidSubscriptionDurationInMonths", + "customerEligibilityTimeSinceLastSubscribedInMonths", + "customerEligibilityWaitBetweenOffersInMonths", "startDate", + "endDate", + "priority", + "promotionIntent", "subscription", - "subscriptionPricePoint", - "territory" + "prices" ] } }, @@ -48687,24 +48731,66 @@ "required": false }, { - "name": "fields[subscriptionLocalizations]", + "name": "fields[subscriptionImages]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", + "description": "the fields to include for returned resources of type subscriptionImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "locale", - "name", + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "uploaded", "state", "subscription" ] } }, "style": "form", - "explode": false, + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[images]", + "in": "query", + "description": "maximum number of related images returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", "required": false }, { @@ -48761,6 +48847,17 @@ }, "style": "form", "required": false + }, + { + "name": "limit[winBackOffers]", + "in": "query", + "description": "maximum number of related winBackOffers returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false } ], "responses": { @@ -48820,7 +48917,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-update_instance", + "operationId": "subscriptions_updateInstance", "requestBody": { "description": "Subscription representation", "content": { @@ -48909,7 +49006,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-delete_instance", + "operationId": "subscriptions_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -48984,7 +49081,7 @@ "tags": [ "Territories" ], - "operationId": "territories-get_collection", + "operationId": "territories_getCollection", "parameters": [ { "name": "fields[territories]", @@ -49063,7 +49160,7 @@ "tags": [ "TerritoryAvailabilities" ], - "operationId": "territoryAvailabilities-update_instance", + "operationId": "territoryAvailabilities_updateInstance", "requestBody": { "description": "TerritoryAvailability representation", "content": { @@ -49166,7 +49263,7 @@ "tags": [ "UserInvitations" ], - "operationId": "userInvitations-get_collection", + "operationId": "userInvitations_getCollection", "parameters": [ { "name": "filter[email]", @@ -49254,13 +49351,13 @@ "items": { "type": "string", "enum": [ - "allAppsVisible", "email", - "expirationDate", "firstName", "lastName", - "provisioningAllowed", + "expirationDate", "roles", + "allAppsVisible", + "provisioningAllowed", "visibleApps" ] } @@ -49270,25 +49367,59 @@ "required": false }, { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "visibleApps" + "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" ] } }, @@ -49297,57 +49428,25 @@ "required": false }, { - "name": "fields[apps]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type apps", + "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": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "visibleApps" ] } }, @@ -49414,7 +49513,7 @@ "tags": [ "UserInvitations" ], - "operationId": "userInvitations-create_instance", + "operationId": "userInvitations_createInstance", "requestBody": { "description": "UserInvitation representation", "content": { @@ -49495,7 +49594,7 @@ "tags": [ "UserInvitations" ], - "operationId": "userInvitations-get_instance", + "operationId": "userInvitations_getInstance", "parameters": [ { "name": "fields[userInvitations]", @@ -49506,13 +49605,13 @@ "items": { "type": "string", "enum": [ - "allAppsVisible", "email", - "expirationDate", "firstName", "lastName", - "provisioningAllowed", + "expirationDate", "roles", + "allAppsVisible", + "provisioningAllowed", "visibleApps" ] } @@ -49522,15 +49621,59 @@ "required": false }, { - "name": "include", + "name": "fields[apps]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "visibleApps" + "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" ] } }, @@ -49539,57 +49682,15 @@ "required": false }, { - "name": "fields[apps]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "visibleApps" ] } }, @@ -49666,7 +49767,7 @@ "tags": [ "UserInvitations" ], - "operationId": "userInvitations-delete_instance", + "operationId": "userInvitations_deleteInstance", "responses": { "400": { "description": "Parameter error(s)", @@ -49741,8 +49842,22 @@ "tags": [ "Users" ], - "operationId": "users-get_collection", + "operationId": "users_getCollection", "parameters": [ + { + "name": "filter[username]", + "in": "query", + "description": "filter by attribute 'username'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "filter[roles]", "in": "query", @@ -49773,9 +49888,9 @@ "required": false }, { - "name": "filter[username]", + "name": "filter[visibleApps]", "in": "query", - "description": "filter by attribute 'username'", + "description": "filter by id(s) of related 'visibleApps'", "schema": { "type": "array", "items": { @@ -49787,13 +49902,19 @@ "required": false }, { - "name": "filter[visibleApps]", + "name": "sort", "in": "query", - "description": "filter by id(s) of related 'visibleApps'", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "username", + "-username", + "lastName", + "-lastName" + ] } }, "style": "form", @@ -49801,18 +49922,21 @@ "required": false }, { - "name": "sort", + "name": "fields[users]", "in": "query", - "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "description": "the fields to include for returned resources of type users", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastName", - "-lastName", "username", - "-username" + "firstName", + "lastName", + "roles", + "allAppsVisible", + "provisioningAllowed", + "visibleApps" ] } }, @@ -49821,21 +49945,59 @@ "required": false }, { - "name": "fields[users]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type users", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "allAppsVisible", - "firstName", - "lastName", - "provisioningAllowed", - "roles", - "username", - "visibleApps" + "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" ] } }, @@ -49870,6 +50032,92 @@ "explode": false, "required": false }, + { + "name": "limit[visibleApps]", + "in": "query", + "description": "maximum number of related visibleApps 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 Users", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UsersResponse" + } + } + } + } + } + } + }, + "/v1/users/{id}": { + "get": { + "tags": [ + "Users" + ], + "operationId": "users_getInstance", + "parameters": [ + { + "name": "fields[users]", + "in": "query", + "description": "the fields to include for returned resources of type users", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "username", + "firstName", + "lastName", + "roles", + "allAppsVisible", + "provisioningAllowed", + "visibleApps" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "fields[apps]", "in": "query", @@ -49879,49 +50127,68 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" + ] + } + }, + "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": [ + "visibleApps" ] } }, @@ -49972,12 +50239,265 @@ } } }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "200": { - "description": "List of Users", + "description": "Single User", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UsersResponse" + "$ref": "#/components/schemas/UserResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "Users" + ], + "operationId": "users_updateInstance", + "requestBody": { + "description": "User representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserUpdateRequest" + } + } + }, + "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 User", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Users" + ], + "operationId": "users_deleteInstance", + "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" + } + } + } + }, + "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/winBackOffers": { + "post": { + "tags": [ + "WinBackOffers" + ], + "operationId": "winBackOffers_createInstance", + "requestBody": { + "description": "WinBackOffer representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WinBackOfferCreateRequest" + } + } + }, + "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 WinBackOffer", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WinBackOfferResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } @@ -49985,29 +50505,36 @@ } } }, - "/v1/users/{id}": { + "/v1/winBackOffers/{id}": { "get": { "tags": [ - "Users" + "WinBackOffers" ], - "operationId": "users-get_instance", + "operationId": "winBackOffers_getInstance", "parameters": [ { - "name": "fields[users]", + "name": "fields[winBackOffers]", "in": "query", - "description": "the fields to include for returned resources of type users", + "description": "the fields to include for returned resources of type winBackOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "allAppsVisible", - "firstName", - "lastName", - "provisioningAllowed", - "roles", - "username", - "visibleApps" + "referenceName", + "offerId", + "duration", + "offerMode", + "periodCount", + "customerEligibilityPaidSubscriptionDurationInMonths", + "customerEligibilityTimeSinceLastSubscribedInMonths", + "customerEligibilityWaitBetweenOffersInMonths", + "startDate", + "endDate", + "priority", + "promotionIntent", + "subscription", + "prices" ] } }, @@ -50016,15 +50543,16 @@ "required": false }, { - "name": "include", + "name": "fields[winBackOfferPrices]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type winBackOfferPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "visibleApps" + "territory", + "subscriptionPricePoint" ] } }, @@ -50033,57 +50561,15 @@ "required": false }, { - "name": "fields[apps]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "prices" ] } }, @@ -50092,9 +50578,9 @@ "required": false }, { - "name": "limit[visibleApps]", + "name": "limit[prices]", "in": "query", - "description": "maximum number of related visibleApps returned (when they are included)", + "description": "maximum number of related prices returned (when they are included)", "schema": { "type": "integer", "maximum": 50 @@ -50145,11 +50631,11 @@ } }, "200": { - "description": "Single User", + "description": "Single WinBackOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserResponse" + "$ref": "#/components/schemas/WinBackOfferResponse" } } } @@ -50158,15 +50644,15 @@ }, "patch": { "tags": [ - "Users" + "WinBackOffers" ], - "operationId": "users-update_instance", + "operationId": "winBackOffers_updateInstance", "requestBody": { - "description": "User representation", + "description": "WinBackOffer representation", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserUpdateRequest" + "$ref": "#/components/schemas/WinBackOfferUpdateRequest" } } }, @@ -50224,11 +50710,11 @@ } }, "200": { - "description": "Single User", + "description": "Single WinBackOffer", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UserResponse" + "$ref": "#/components/schemas/WinBackOfferResponse" } } } @@ -50247,9 +50733,218 @@ }, "delete": { "tags": [ - "Users" + "WinBackOffers" + ], + "operationId": "winBackOffers_deleteInstance", + "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" + } + } + } + }, + "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/alternativeDistributionPackageVersions/{id}/deltas": { + "get": { + "tags": [ + "AlternativeDistributionPackageVersions" + ], + "operationId": "alternativeDistributionPackageVersions_deltas_getToManyRelated", + "parameters": [ + { + "name": "fields[alternativeDistributionPackageDeltas]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "url", + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" + ] + } + }, + "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 AlternativeDistributionPackageDeltas", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageDeltasResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackageVersions/{id}/variants": { + "get": { + "tags": [ + "AlternativeDistributionPackageVersions" + ], + "operationId": "alternativeDistributionPackageVersions_variants_getToManyRelated", + "parameters": [ + { + "name": "fields[alternativeDistributionPackageVariants]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "url", + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } ], - "operationId": "users-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -50291,18 +50986,15 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of AlternativeDistributionPackageVariants", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageVariantsResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -50319,26 +51011,24 @@ } ] }, - "/v1/alternativeDistributionPackageVersions/{id}/deltas": { + "/v1/alternativeDistributionPackages/{id}/versions": { "get": { "tags": [ - "AlternativeDistributionPackageVersions" + "AlternativeDistributionPackages" ], - "operationId": "alternativeDistributionPackageVersions-deltas-get_to_many_related", + "operationId": "alternativeDistributionPackages_versions_getToManyRelated", "parameters": [ { - "name": "fields[alternativeDistributionPackageDeltas]", + "name": "filter[state]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", + "description": "filter by attribute 'state'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKeyBlob", - "fileChecksum", - "url", - "urlExpirationDate" + "COMPLETED", + "REPLACED" ] } }, @@ -50346,102 +51036,22 @@ "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 AlternativeDistributionPackageDeltas", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageDeltasResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/alternativeDistributionPackageVersions/{id}/variants": { - "get": { - "tags": [ - "AlternativeDistributionPackageVersions" - ], - "operationId": "alternativeDistributionPackageVersions-variants-get_to_many_related", - "parameters": [ - { - "name": "fields[alternativeDistributionPackageVariants]", + "name": "fields[alternativeDistributionPackageVersions]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKeyBlob", - "fileChecksum", "url", - "urlExpirationDate" + "urlExpirationDate", + "version", + "fileChecksum", + "state", + "variants", + "deltas", + "alternativeDistributionPackage" ] } }, @@ -50449,100 +51059,18 @@ "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 AlternativeDistributionPackageVariants", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AlternativeDistributionPackageVariantsResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/alternativeDistributionPackages/{id}/versions": { - "get": { - "tags": [ - "AlternativeDistributionPackages" - ], - "operationId": "alternativeDistributionPackages-versions-get_to_many_related", - "parameters": [ - { - "name": "filter[state]", + "name": "fields[alternativeDistributionPackageVariants]", "in": "query", - "description": "filter by attribute 'state'", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "COMPLETED", - "REPLACED" + "url", + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" ] } }, @@ -50550,18 +51078,18 @@ "explode": false }, { - "name": "fields[alternativeDistributionPackageVariants]", + "name": "fields[alternativeDistributionPackageDeltas]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", + "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKeyBlob", - "fileChecksum", "url", - "urlExpirationDate" + "urlExpirationDate", + "alternativeDistributionKeyBlob", + "fileChecksum" ] } }, @@ -50586,57 +51114,33 @@ "explode": false }, { - "name": "fields[alternativeDistributionPackageVersions]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", + "description": "maximum resources per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alternativeDistributionPackage", - "deltas", - "fileChecksum", - "state", - "url", - "urlExpirationDate", - "variants", - "version" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "fields[alternativeDistributionPackageDeltas]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKeyBlob", - "fileChecksum", - "url", - "urlExpirationDate" + "variants", + "deltas", + "alternativeDistributionPackage" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "limit[variants]", "in": "query", @@ -50656,24 +51160,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alternativeDistributionPackage", - "deltas", - "variants" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -50747,7 +51233,7 @@ "tags": [ "AnalyticsReportInstances" ], - "operationId": "analyticsReportInstances-segments-get_to_many_related", + "operationId": "analyticsReportInstances_segments_getToManyRelated", "parameters": [ { "name": "fields[analyticsReportSegments]", @@ -50849,36 +51335,36 @@ "tags": [ "AnalyticsReportRequests" ], - "operationId": "analyticsReportRequests-reports-get_to_many_related", + "operationId": "analyticsReportRequests_reports_getToManyRelated", "parameters": [ { - "name": "filter[category]", + "name": "filter[name]", "in": "query", - "description": "filter by attribute 'category'", + "description": "filter by attribute 'name'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "APP_USAGE", - "APP_STORE_ENGAGEMENT", - "COMMERCE", - "FRAMEWORK_USAGE", - "PERFORMANCE" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "filter[name]", + "name": "filter[category]", "in": "query", - "description": "filter by attribute 'name'", + "description": "filter by attribute 'category'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "APP_USAGE", + "APP_STORE_ENGAGEMENT", + "COMMERCE", + "FRAMEWORK_USAGE", + "PERFORMANCE" + ] } }, "style": "form", @@ -50893,9 +51379,9 @@ "items": { "type": "string", "enum": [ + "name", "category", - "instances", - "name" + "instances" ] } }, @@ -50984,7 +51470,7 @@ "tags": [ "AnalyticsReports" ], - "operationId": "analyticsReports-instances-get_to_many_related", + "operationId": "analyticsReports_instances_getToManyRelated", "parameters": [ { "name": "filter[granularity]", @@ -51117,7 +51603,7 @@ "tags": [ "AppAvailabilities" ], - "operationId": "appAvailabilitiesV2-territoryAvailabilities-get_to_many_related", + "operationId": "appAvailabilitiesV2_territoryAvailabilities_getToManyRelated", "parameters": [ { "name": "fields[territoryAvailabilities]", @@ -51129,10 +51615,10 @@ "type": "string", "enum": [ "available", - "contentStatuses", + "releaseDate", "preOrderEnabled", "preOrderPublishDate", - "releaseDate", + "contentStatuses", "territory" ] } @@ -51254,7 +51740,7 @@ "tags": [ "AppAvailabilities" ], - "operationId": "appAvailabilities-availableTerritories-get_to_many_related", + "operationId": "appAvailabilities_availableTerritories_getToManyRelated", "deprecated": true, "parameters": [ { @@ -51355,7 +51841,7 @@ "tags": [ "AppCategories" ], - "operationId": "appCategories-parent-get_to_one_related", + "operationId": "appCategories_parent_getToOneRelated", "parameters": [ { "name": "fields[appCategories]", @@ -51366,9 +51852,9 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "subcategories", + "parent" ] } }, @@ -51447,7 +51933,7 @@ "tags": [ "AppCategories" ], - "operationId": "appCategories-subcategories-get_to_many_related", + "operationId": "appCategories_subcategories_getToManyRelated", "parameters": [ { "name": "fields[appCategories]", @@ -51458,9 +51944,9 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "subcategories", + "parent" ] } }, @@ -51549,7 +52035,7 @@ "tags": [ "AppClipDefaultExperienceLocalizations" ], - "operationId": "appClipDefaultExperienceLocalizations-appClipHeaderImage-get_to_one_related", + "operationId": "appClipDefaultExperienceLocalizations_appClipHeaderImage_getToOneRelated", "parameters": [ { "name": "fields[appClipHeaderImages]", @@ -51560,14 +52046,14 @@ "items": { "type": "string", "enum": [ - "appClipDefaultExperienceLocalization", - "assetDeliveryState", - "fileName", "fileSize", - "imageAsset", + "fileName", "sourceFileChecksum", + "imageAsset", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appClipDefaultExperienceLocalization" ] } }, @@ -51583,10 +52069,10 @@ "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "appClipHeaderImage", "locale", - "subtitle" + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" ] } }, @@ -51681,7 +52167,7 @@ "tags": [ "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences-appClipAppStoreReviewDetail-get_to_one_related", + "operationId": "appClipDefaultExperiences_appClipAppStoreReviewDetail_getToOneRelated", "parameters": [ { "name": "fields[appClipAppStoreReviewDetails]", @@ -51692,8 +52178,8 @@ "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "invocationUrls" + "invocationUrls", + "appClipDefaultExperience" ] } }, @@ -51711,10 +52197,10 @@ "enum": [ "action", "appClip", - "appClipAppStoreReviewDetail", + "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -51809,7 +52295,7 @@ "tags": [ "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences-appClipDefaultExperienceLocalizations-get_to_many_related", + "operationId": "appClipDefaultExperiences_appClipDefaultExperienceLocalizations_getToManyRelated", "parameters": [ { "name": "filter[locale]", @@ -51825,20 +52311,18 @@ "explode": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[appClipDefaultExperienceLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "locale", + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" ] } }, @@ -51846,18 +52330,20 @@ "explode": false }, { - "name": "fields[appClipDefaultExperienceLocalizations]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "appClipHeaderImage", - "locale", - "subtitle" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -51873,14 +52359,14 @@ "items": { "type": "string", "enum": [ - "appClipDefaultExperienceLocalization", - "assetDeliveryState", - "fileName", "fileSize", - "imageAsset", + "fileName", "sourceFileChecksum", + "imageAsset", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appClipDefaultExperienceLocalization" ] } }, @@ -51986,7 +52472,7 @@ "tags": [ "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences-releaseWithAppStoreVersion-get_to_one_relationship", + "operationId": "appClipDefaultExperiences_releaseWithAppStoreVersion_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -52045,7 +52531,7 @@ "tags": [ "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences-releaseWithAppStoreVersion-update_to_one_relationship", + "operationId": "appClipDefaultExperiences_releaseWithAppStoreVersion_updateToOneRelationship", "requestBody": { "description": "Related linkage", "content": { @@ -52131,8 +52617,107 @@ "tags": [ "AppClipDefaultExperiences" ], - "operationId": "appClipDefaultExperiences-releaseWithAppStoreVersion-get_to_one_related", + "operationId": "appClipDefaultExperiences_releaseWithAppStoreVersion_getToOneRelated", "parameters": [ + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "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" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[ageRatingDeclarations]", "in": "query", @@ -52142,24 +52727,26 @@ "items": { "type": "string", "enum": [ - "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", - "gambling", "gamblingAndContests", + "gambling", "gamblingSimulated", - "horrorOrFearThemes", "kidsAgeBand", - "matureOrSuggestiveThemes", + "lootBox", "medicalOrTreatmentInformation", "profanityOrCrudeHumor", - "seventeenPlus", "sexualContentGraphicAndNudity", "sexualContentOrNudity", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", "unrestrictedWebAccess", "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", "violenceRealistic", - "violenceRealisticProlongedGraphicOrSadistic" + "ageRatingOverride", + "koreaAgeRatingOverride", + "seventeenPlus" ] } }, @@ -52167,24 +52754,24 @@ "explode": false }, { - "name": "fields[appStoreReviewDetails]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", "appStoreVersion", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -52192,24 +52779,38 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -52217,27 +52818,19 @@ "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[appStoreVersionPhasedReleases]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", + "phasedReleaseState", "startDate", - "started", - "state", - "trafficProportion" + "totalPauseDuration", + "currentDayNumber", + "appStoreVersion" ] } }, @@ -52245,14 +52838,16 @@ "explode": false }, { - "name": "fields[appStoreVersionSubmissions]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "enabled", + "compatibilityVersions", "appStoreVersion" ] } @@ -52261,16 +52856,21 @@ "explode": false }, { - "name": "fields[alternativeDistributionPackages]", + "name": "fields[routingAppCoverages]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "description": "the fields to include for returned resources of type routingAppCoverages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "versions" + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appStoreVersion" ] } }, @@ -52278,37 +52878,24 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[appStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -52316,57 +52903,15 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appStoreVersionSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "appStoreVersion" ] } }, @@ -52374,21 +52919,20 @@ "explode": false }, { - "name": "fields[routingAppCoverages]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "assetDeliveryState", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -52396,20 +52940,27 @@ "explode": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "started", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" ] } }, @@ -52417,19 +52968,16 @@ "explode": false }, { - "name": "fields[appStoreVersionPhasedReleases]", + "name": "fields[alternativeDistributionPackages]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", "schema": { "type": "array", "items": { "type": "string", "enum": [ "appStoreVersion", - "currentDayNumber", - "phasedReleaseState", - "startDate", - "totalPauseDuration" + "versions" ] } }, @@ -52437,38 +52985,27 @@ "explode": false }, { - "name": "fields[builds]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "alternativeDistributionPackage" ] } }, @@ -52505,33 +53042,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "routingAppCoverage" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -52605,20 +53115,20 @@ "tags": [ "AppClips" ], - "operationId": "appClips-appClipAdvancedExperiences-get_to_many_related", + "operationId": "appClips_appClipAdvancedExperiences_getToManyRelated", "parameters": [ { - "name": "filter[action]", + "name": "filter[status]", "in": "query", - "description": "filter by attribute 'action'", + "description": "filter by attribute 'status'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "OPEN", - "VIEW", - "PLAY" + "RECEIVED", + "DEACTIVATED", + "APP_TRANSFER_IN_PROGRESS" ] } }, @@ -52644,17 +53154,17 @@ "explode": false }, { - "name": "filter[status]", + "name": "filter[action]", "in": "query", - "description": "filter by attribute 'status'", + "description": "filter by attribute 'action'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "RECEIVED", - "DEACTIVATED", - "APP_TRANSFER_IN_PROGRESS" + "OPEN", + "VIEW", + "PLAY" ] } }, @@ -52670,19 +53180,19 @@ "items": { "type": "string", "enum": [ + "link", + "version", + "status", "action", - "appClip", - "businessCategory", - "defaultLanguage", - "headerImage", "isPoweredBy", - "link", - "localizations", "place", "placeStatus", + "businessCategory", + "defaultLanguage", "removed", - "status", - "version" + "appClip", + "headerImage", + "localizations" ] } }, @@ -52698,10 +53208,10 @@ "items": { "type": "string", "enum": [ + "bundleId", "app", - "appClipAdvancedExperiences", "appClipDefaultExperiences", - "bundleId" + "appClipAdvancedExperiences" ] } }, @@ -52717,12 +53227,12 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", "fileSize", - "imageAsset", + "fileName", "sourceFileChecksum", + "imageAsset", "uploadOperations", + "assetDeliveryState", "uploaded" ] } @@ -52740,8 +53250,8 @@ "type": "string", "enum": [ "language", - "subtitle", - "title" + "title", + "subtitle" ] } }, @@ -52758,16 +53268,6 @@ }, "style": "form" }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -52785,6 +53285,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -52858,7 +53368,7 @@ "tags": [ "AppClips" ], - "operationId": "appClips-appClipDefaultExperiences-get_to_many_related", + "operationId": "appClips_appClipDefaultExperiences_getToManyRelated", "parameters": [ { "name": "exists[releaseWithAppStoreVersion]", @@ -52871,18 +53381,20 @@ "explode": false }, { - "name": "fields[appClips]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appClipAdvancedExperiences", - "appClipDefaultExperiences", - "bundleId" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -52890,16 +53402,18 @@ "explode": false }, { - "name": "fields[appClipAppStoreReviewDetails]", + "name": "fields[appClips]", "in": "query", - "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", + "description": "the fields to include for returned resources of type appClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "invocationUrls" + "bundleId", + "app", + "appClipDefaultExperiences", + "appClipAdvancedExperiences" ] } }, @@ -52915,29 +53429,30 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", + "platform", + "versionString", "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", "appVersionState", - "build", "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -52945,20 +53460,18 @@ "explode": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[appClipDefaultExperienceLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "locale", + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" ] } }, @@ -52966,18 +53479,16 @@ "explode": false }, { - "name": "fields[appClipDefaultExperienceLocalizations]", + "name": "fields[appClipAppStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "appClipHeaderImage", - "locale", - "subtitle" + "invocationUrls", + "appClipDefaultExperience" ] } }, @@ -52994,16 +53505,6 @@ }, "style": "form" }, - { - "name": "limit[appClipDefaultExperienceLocalizations]", - "in": "query", - "description": "maximum number of related appClipDefaultExperienceLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -53014,14 +53515,24 @@ "type": "string", "enum": [ "appClip", - "appClipAppStoreReviewDetail", + "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "releaseWithAppStoreVersion" + "appClipAppStoreReviewDetail" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appClipDefaultExperienceLocalizations]", + "in": "query", + "description": "maximum number of related appClipDefaultExperienceLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -53095,7 +53606,7 @@ "tags": [ "AppCustomProductPageLocalizations" ], - "operationId": "appCustomProductPageLocalizations-appPreviewSets-get_to_many_related", + "operationId": "appCustomProductPageLocalizations_appPreviewSets_getToManyRelated", "parameters": [ { "name": "filter[previewType]", @@ -53129,9 +53640,9 @@ "explode": false }, { - "name": "filter[appStoreVersionExperimentTreatmentLocalization]", + "name": "filter[appStoreVersionLocalization]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", "schema": { "type": "array", "items": { @@ -53142,9 +53653,9 @@ "explode": false }, { - "name": "filter[appStoreVersionLocalization]", + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", "schema": { "type": "array", "items": { @@ -53155,19 +53666,19 @@ "explode": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets", - "locale", - "promotionalText" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -53175,18 +53686,24 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", "appScreenshotSets", - "appStoreVersionExperimentTreatment", - "locale" + "appPreviewSets" ] } }, @@ -53194,25 +53711,19 @@ "explode": false }, { - "name": "fields[appPreviews]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appPreviews", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSet", - "assetDeliveryState", - "fileName", - "fileSize", - "mimeType", - "previewFrameTimeCode", - "previewImage", - "sourceFileChecksum", - "uploadOperations", - "uploaded", - "videoUrl" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -53220,19 +53731,18 @@ "explode": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appPreviews", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -53240,24 +53750,25 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appPreviews]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appPreviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "fileSize", + "fileName", + "sourceFileChecksum", + "previewFrameTimeCode", + "mimeType", + "videoUrl", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appPreviewSet" ] } }, @@ -53274,16 +53785,6 @@ }, "style": "form" }, - { - "name": "limit[appPreviews]", - "in": "query", - "description": "maximum number of related appPreviews returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -53293,15 +53794,25 @@ "items": { "type": "string", "enum": [ + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appPreviews", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization" + "appPreviews" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appPreviews]", + "in": "query", + "description": "maximum number of related appPreviews returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -53375,7 +53886,7 @@ "tags": [ "AppCustomProductPageLocalizations" ], - "operationId": "appCustomProductPageLocalizations-appScreenshotSets-get_to_many_related", + "operationId": "appCustomProductPageLocalizations_appScreenshotSets_getToManyRelated", "parameters": [ { "name": "filter[screenshotDisplayType]", @@ -53401,6 +53912,7 @@ "APP_IPAD_97", "APP_DESKTOP", "APP_WATCH_ULTRA", + "APP_WATCH_SERIES_10", "APP_WATCH_SERIES_7", "APP_WATCH_SERIES_4", "APP_WATCH_SERIES_3", @@ -53425,9 +53937,9 @@ "explode": false }, { - "name": "filter[appStoreVersionExperimentTreatmentLocalization]", + "name": "filter[appStoreVersionLocalization]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", "schema": { "type": "array", "items": { @@ -53438,9 +53950,9 @@ "explode": false }, { - "name": "filter[appStoreVersionLocalization]", + "name": "filter[appStoreVersionExperimentTreatmentLocalization]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "description": "filter by id(s) of related 'appStoreVersionExperimentTreatmentLocalization'", "schema": { "type": "array", "items": { @@ -53459,11 +53971,11 @@ "items": { "type": "string", "enum": [ + "screenshotDisplayType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appScreenshots", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "appScreenshots" ] } }, @@ -53471,19 +53983,24 @@ "explode": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets", + "description", "locale", - "promotionalText" + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -53491,18 +54008,19 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", + "locale", + "promotionalText", + "appCustomProductPageVersion", "appScreenshotSets", - "appStoreVersionExperimentTreatment", - "locale" + "appPreviewSets" ] } }, @@ -53510,24 +54028,18 @@ "explode": false }, { - "name": "fields[appScreenshots]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appScreenshotSet", - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -53535,24 +54047,24 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appScreenshotSet" ] } }, @@ -53569,16 +54081,6 @@ }, "style": "form" }, - { - "name": "limit[appScreenshots]", - "in": "query", - "description": "maximum number of related appScreenshots returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -53588,15 +54090,25 @@ "items": { "type": "string", "enum": [ + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appScreenshots", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization" + "appScreenshots" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appScreenshots]", + "in": "query", + "description": "maximum number of related appScreenshots returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -53670,7 +54182,7 @@ "tags": [ "AppCustomProductPageVersions" ], - "operationId": "appCustomProductPageVersions-appCustomProductPageLocalizations-get_to_many_related", + "operationId": "appCustomProductPageVersions_appCustomProductPageLocalizations_getToManyRelated", "parameters": [ { "name": "filter[locale]", @@ -53686,19 +54198,19 @@ "explode": false }, { - "name": "fields[appScreenshotSets]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appScreenshots", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -53706,19 +54218,19 @@ "explode": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "fields[appCustomProductPageVersions]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets", - "locale", - "promotionalText" + "version", + "state", + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -53726,19 +54238,19 @@ "explode": false }, { - "name": "fields[appCustomProductPageVersions]", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPage", - "appCustomProductPageLocalizations", - "deepLink", - "state", - "version" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -53754,11 +54266,11 @@ "items": { "type": "string", "enum": [ + "previewType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appPreviews", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "appPreviews" ] } }, @@ -53775,6 +54287,24 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[appScreenshotSets]", "in": "query", @@ -53794,24 +54324,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -53885,7 +54397,7 @@ "tags": [ "AppCustomProductPages" ], - "operationId": "appCustomProductPages-appCustomProductPageVersions-get_to_many_related", + "operationId": "appCustomProductPages_appCustomProductPageVersions_getToManyRelated", "parameters": [ { "name": "filter[state]", @@ -53911,19 +54423,19 @@ "explode": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "fields[appCustomProductPageVersions]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets", - "locale", - "promotionalText" + "version", + "state", + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" ] } }, @@ -53931,19 +54443,21 @@ "explode": false }, { - "name": "fields[appCustomProductPageVersions]", + "name": "fields[appCustomProductPages]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", + "description": "the fields to include for returned resources of type appCustomProductPages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPage", - "appCustomProductPageLocalizations", - "deepLink", - "state", - "version" + "name", + "url", + "visible", + "app", + "appCustomProductPageVersions", + "appStoreVersionTemplate", + "customProductPageTemplate" ] } }, @@ -53951,21 +54465,19 @@ "explode": false }, { - "name": "fields[appCustomProductPages]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate", - "name", - "url", - "visible" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -53982,16 +54494,6 @@ }, "style": "form" }, - { - "name": "limit[appCustomProductPageLocalizations]", - "in": "query", - "description": "maximum number of related appCustomProductPageLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -54008,6 +54510,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[appCustomProductPageLocalizations]", + "in": "query", + "description": "maximum number of related appCustomProductPageLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -54081,7 +54593,8 @@ "tags": [ "AppEncryptionDeclarations" ], - "operationId": "appEncryptionDeclarations-app-get_to_one_related", + "operationId": "appEncryptionDeclarations_app_getToOneRelated", + "deprecated": true, "parameters": [ { "name": "fields[apps]", @@ -54092,49 +54605,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -54213,7 +54728,7 @@ "tags": [ "AppEncryptionDeclarations" ], - "operationId": "appEncryptionDeclarations-appEncryptionDeclarationDocument-get_to_one_related", + "operationId": "appEncryptionDeclarations_appEncryptionDeclarationDocument_getToOneRelated", "parameters": [ { "name": "fields[appEncryptionDeclarationDocuments]", @@ -54224,15 +54739,15 @@ "items": { "type": "string", "enum": [ - "appEncryptionDeclaration", - "assetDeliveryState", + "fileSize", + "fileName", "assetToken", "downloadUrl", - "fileName", - "fileSize", "sourceFileChecksum", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appEncryptionDeclaration" ] } }, @@ -54311,7 +54826,7 @@ "tags": [ "AppEncryptionDeclarations" ], - "operationId": "appEncryptionDeclarations-builds-create_to_many_relationship", + "operationId": "appEncryptionDeclarations_builds_createToManyRelationship", "deprecated": true, "requestBody": { "description": "List of related linkages", @@ -54398,7 +54913,7 @@ "tags": [ "AppEventLocalizations" ], - "operationId": "appEventLocalizations-appEventScreenshots-get_to_many_related", + "operationId": "appEventLocalizations_appEventScreenshots_getToManyRelated", "parameters": [ { "name": "fields[appEventScreenshots]", @@ -54409,15 +54924,15 @@ "items": { "type": "string", "enum": [ - "appEventAssetType", - "appEventLocalization", - "assetDeliveryState", - "assetToken", - "fileName", "fileSize", + "fileName", "imageAsset", + "assetToken", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appEventAssetType", + "appEventLocalization" ] } }, @@ -54433,13 +54948,13 @@ "items": { "type": "string", "enum": [ - "appEvent", - "appEventScreenshots", - "appEventVideoClips", "locale", - "longDescription", "name", - "shortDescription" + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips" ] } }, @@ -54544,7 +55059,7 @@ "tags": [ "AppEventLocalizations" ], - "operationId": "appEventLocalizations-appEventVideoClips-get_to_many_related", + "operationId": "appEventLocalizations_appEventVideoClips_getToManyRelated", "parameters": [ { "name": "fields[appEventVideoClips]", @@ -54555,16 +55070,16 @@ "items": { "type": "string", "enum": [ - "appEventAssetType", - "appEventLocalization", - "assetDeliveryState", - "fileName", "fileSize", + "fileName", "previewFrameTimeCode", + "videoUrl", "previewImage", "uploadOperations", + "assetDeliveryState", "uploaded", - "videoUrl" + "appEventAssetType", + "appEventLocalization" ] } }, @@ -54580,13 +55095,13 @@ "items": { "type": "string", "enum": [ - "appEvent", - "appEventScreenshots", - "appEventVideoClips", "locale", - "longDescription", "name", - "shortDescription" + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips" ] } }, @@ -54691,26 +55206,24 @@ "tags": [ "AppEvents" ], - "operationId": "appEvents-localizations-get_to_many_related", + "operationId": "appEvents_localizations_getToManyRelated", "parameters": [ { - "name": "fields[appEventScreenshots]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appEventScreenshots", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appEventAssetType", - "appEventLocalization", - "assetDeliveryState", - "assetToken", - "fileName", - "fileSize", - "imageAsset", - "uploadOperations", - "uploaded" + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips" ] } }, @@ -54718,24 +55231,26 @@ "explode": false }, { - "name": "fields[appEventVideoClips]", + "name": "fields[appEvents]", "in": "query", - "description": "the fields to include for returned resources of type appEventVideoClips", + "description": "the fields to include for returned resources of type appEvents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appEventAssetType", - "appEventLocalization", - "assetDeliveryState", - "fileName", - "fileSize", - "previewFrameTimeCode", - "previewImage", - "uploadOperations", - "uploaded", - "videoUrl" + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "app", + "localizations" ] } }, @@ -54743,21 +55258,23 @@ "explode": false }, { - "name": "fields[appEventLocalizations]", + "name": "fields[appEventScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", + "description": "the fields to include for returned resources of type appEventScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appEvent", - "appEventScreenshots", - "appEventVideoClips", - "locale", - "longDescription", - "name", - "shortDescription" + "fileSize", + "fileName", + "imageAsset", + "assetToken", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appEventAssetType", + "appEventLocalization" ] } }, @@ -54765,26 +55282,24 @@ "explode": false }, { - "name": "fields[appEvents]", + "name": "fields[appEventVideoClips]", "in": "query", - "description": "the fields to include for returned resources of type appEvents", + "description": "the fields to include for returned resources of type appEventVideoClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "archivedTerritorySchedules", - "badge", - "deepLink", - "eventState", - "localizations", - "primaryLocale", - "priority", - "purchaseRequirement", - "purpose", - "referenceName", - "territorySchedules" + "fileSize", + "fileName", + "previewFrameTimeCode", + "videoUrl", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appEventAssetType", + "appEventLocalization" ] } }, @@ -54801,6 +55316,24 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appEvent", + "appEventScreenshots", + "appEventVideoClips" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[appEventScreenshots]", "in": "query", @@ -54820,24 +55353,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appEvent", - "appEventScreenshots", - "appEventVideoClips" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -54911,7 +55426,7 @@ "tags": [ "AppInfos" ], - "operationId": "appInfos-ageRatingDeclaration-get_to_one_related", + "operationId": "appInfos_ageRatingDeclaration_getToOneRelated", "parameters": [ { "name": "fields[ageRatingDeclarations]", @@ -54922,24 +55437,26 @@ "items": { "type": "string", "enum": [ - "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", - "gambling", "gamblingAndContests", + "gambling", "gamblingSimulated", - "horrorOrFearThemes", "kidsAgeBand", - "matureOrSuggestiveThemes", + "lootBox", "medicalOrTreatmentInformation", "profanityOrCrudeHumor", - "seventeenPlus", "sexualContentGraphicAndNudity", "sexualContentOrNudity", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", "unrestrictedWebAccess", "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", "violenceRealistic", - "violenceRealisticProlongedGraphicOrSadistic" + "ageRatingOverride", + "koreaAgeRatingOverride", + "seventeenPlus" ] } }, @@ -55018,7 +55535,7 @@ "tags": [ "AppInfos" ], - "operationId": "appInfos-appInfoLocalizations-get_to_many_related", + "operationId": "appInfos_appInfoLocalizations_getToManyRelated", "parameters": [ { "name": "filter[locale]", @@ -55034,29 +55551,21 @@ "explode": false }, { - "name": "fields[appInfos]", + "name": "fields[appInfoLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appInfos", + "description": "the fields to include for returned resources of type appInfoLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appInfoLocalizations", - "appStoreAgeRating", - "appStoreState", - "brazilAgeRating", - "brazilAgeRatingV2", - "kidsAgeBand", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "state" + "locale", + "name", + "subtitle", + "privacyPolicyUrl", + "privacyChoicesUrl", + "privacyPolicyText", + "appInfo" ] } }, @@ -55064,21 +55573,31 @@ "explode": false }, { - "name": "fields[appInfoLocalizations]", + "name": "fields[appInfos]", "in": "query", - "description": "the fields to include for returned resources of type appInfoLocalizations", + "description": "the fields to include for returned resources of type appInfos", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appInfo", - "locale", - "name", - "privacyChoicesUrl", - "privacyPolicyText", - "privacyPolicyUrl", - "subtitle" + "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", + "brazilAgeRating", + "brazilAgeRatingV2", + "koreaAgeRating", + "kidsAgeBand", + "app", + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo" ] } }, @@ -55183,7 +55702,7 @@ "tags": [ "AppInfos" ], - "operationId": "appInfos-primaryCategory-get_to_one_related", + "operationId": "appInfos_primaryCategory_getToOneRelated", "parameters": [ { "name": "fields[appCategories]", @@ -55194,25 +55713,15 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -55222,13 +55731,23 @@ "items": { "type": "string", "enum": [ - "parent", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[subcategories]", + "in": "query", + "description": "maximum number of related subcategories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -55302,7 +55821,7 @@ "tags": [ "AppInfos" ], - "operationId": "appInfos-primarySubcategoryOne-get_to_one_related", + "operationId": "appInfos_primarySubcategoryOne_getToOneRelated", "parameters": [ { "name": "fields[appCategories]", @@ -55313,25 +55832,15 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -55341,13 +55850,23 @@ "items": { "type": "string", "enum": [ - "parent", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[subcategories]", + "in": "query", + "description": "maximum number of related subcategories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -55421,7 +55940,7 @@ "tags": [ "AppInfos" ], - "operationId": "appInfos-primarySubcategoryTwo-get_to_one_related", + "operationId": "appInfos_primarySubcategoryTwo_getToOneRelated", "parameters": [ { "name": "fields[appCategories]", @@ -55432,25 +55951,15 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -55460,13 +55969,23 @@ "items": { "type": "string", "enum": [ - "parent", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[subcategories]", + "in": "query", + "description": "maximum number of related subcategories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -55540,7 +56059,7 @@ "tags": [ "AppInfos" ], - "operationId": "appInfos-secondaryCategory-get_to_one_related", + "operationId": "appInfos_secondaryCategory_getToOneRelated", "parameters": [ { "name": "fields[appCategories]", @@ -55551,25 +56070,15 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -55579,13 +56088,23 @@ "items": { "type": "string", "enum": [ - "parent", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[subcategories]", + "in": "query", + "description": "maximum number of related subcategories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -55659,7 +56178,7 @@ "tags": [ "AppInfos" ], - "operationId": "appInfos-secondarySubcategoryOne-get_to_one_related", + "operationId": "appInfos_secondarySubcategoryOne_getToOneRelated", "parameters": [ { "name": "fields[appCategories]", @@ -55670,25 +56189,15 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -55698,13 +56207,23 @@ "items": { "type": "string", "enum": [ - "parent", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[subcategories]", + "in": "query", + "description": "maximum number of related subcategories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -55778,7 +56297,7 @@ "tags": [ "AppInfos" ], - "operationId": "appInfos-secondarySubcategoryTwo-get_to_one_related", + "operationId": "appInfos_secondarySubcategoryTwo_getToOneRelated", "parameters": [ { "name": "fields[appCategories]", @@ -55789,25 +56308,15 @@ "items": { "type": "string", "enum": [ - "parent", "platforms", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false }, - { - "name": "limit[subcategories]", - "in": "query", - "description": "maximum number of related subcategories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -55817,13 +56326,23 @@ "items": { "type": "string", "enum": [ - "parent", - "subcategories" + "subcategories", + "parent" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[subcategories]", + "in": "query", + "description": "maximum number of related subcategories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -55897,7 +56416,7 @@ "tags": [ "AppPreviewSets" ], - "operationId": "appPreviewSets-appPreviews-get_to_many_relationship", + "operationId": "appPreviewSets_appPreviews_getToManyRelationship", "parameters": [ { "name": "limit", @@ -55967,7 +56486,7 @@ "tags": [ "AppPreviewSets" ], - "operationId": "appPreviewSets-appPreviews-replace_to_many_relationship", + "operationId": "appPreviewSets_appPreviews_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -56053,7 +56572,7 @@ "tags": [ "AppPreviewSets" ], - "operationId": "appPreviewSets-appPreviews-get_to_many_related", + "operationId": "appPreviewSets_appPreviews_getToManyRelated", "parameters": [ { "name": "fields[appPreviews]", @@ -56064,17 +56583,17 @@ "items": { "type": "string", "enum": [ - "appPreviewSet", - "assetDeliveryState", - "fileName", "fileSize", - "mimeType", + "fileName", + "sourceFileChecksum", "previewFrameTimeCode", + "mimeType", + "videoUrl", "previewImage", - "sourceFileChecksum", "uploadOperations", + "assetDeliveryState", "uploaded", - "videoUrl" + "appPreviewSet" ] } }, @@ -56090,11 +56609,11 @@ "items": { "type": "string", "enum": [ + "previewType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appPreviews", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "appPreviews" ] } }, @@ -56199,7 +56718,7 @@ "tags": [ "AppPricePoints" ], - "operationId": "appPricePointsV3-equalizations-get_to_many_related", + "operationId": "appPricePointsV3_equalizations_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -56223,10 +56742,10 @@ "items": { "type": "string", "enum": [ - "app", "customerPrice", - "equalizations", "proceeds", + "app", + "equalizations", "territory" ] } @@ -56243,49 +56762,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -56412,12 +56933,12 @@ "tags": [ "AppPriceSchedules" ], - "operationId": "appPriceSchedules-automaticPrices-get_to_many_related", + "operationId": "appPriceSchedules_automaticPrices_getToManyRelated", "parameters": [ { - "name": "filter[endDate]", + "name": "filter[startDate]", "in": "query", - "description": "filter by attribute 'endDate'", + "description": "filter by attribute 'startDate'", "schema": { "type": "array", "items": { @@ -56428,9 +56949,9 @@ "explode": false }, { - "name": "filter[startDate]", + "name": "filter[endDate]", "in": "query", - "description": "filter by attribute 'startDate'", + "description": "filter by attribute 'endDate'", "schema": { "type": "array", "items": { @@ -56462,10 +56983,10 @@ "items": { "type": "string", "enum": [ - "appPricePoint", - "endDate", "manual", "startDate", + "endDate", + "appPricePoint", "territory" ] } @@ -56482,10 +57003,10 @@ "items": { "type": "string", "enum": [ - "app", "customerPrice", - "equalizations", "proceeds", + "app", + "equalizations", "territory" ] } @@ -56608,7 +57129,7 @@ "tags": [ "AppPriceSchedules" ], - "operationId": "appPriceSchedules-baseTerritory-get_to_one_related", + "operationId": "appPriceSchedules_baseTerritory_getToOneRelated", "parameters": [ { "name": "fields[territories]", @@ -56698,12 +57219,12 @@ "tags": [ "AppPriceSchedules" ], - "operationId": "appPriceSchedules-manualPrices-get_to_many_related", + "operationId": "appPriceSchedules_manualPrices_getToManyRelated", "parameters": [ { - "name": "filter[endDate]", + "name": "filter[startDate]", "in": "query", - "description": "filter by attribute 'endDate'", + "description": "filter by attribute 'startDate'", "schema": { "type": "array", "items": { @@ -56714,9 +57235,9 @@ "explode": false }, { - "name": "filter[startDate]", + "name": "filter[endDate]", "in": "query", - "description": "filter by attribute 'startDate'", + "description": "filter by attribute 'endDate'", "schema": { "type": "array", "items": { @@ -56748,10 +57269,10 @@ "items": { "type": "string", "enum": [ - "appPricePoint", - "endDate", "manual", "startDate", + "endDate", + "appPricePoint", "territory" ] } @@ -56768,10 +57289,10 @@ "items": { "type": "string", "enum": [ - "app", "customerPrice", - "equalizations", "proceeds", + "app", + "equalizations", "territory" ] } @@ -56894,7 +57415,7 @@ "tags": [ "AppScreenshotSets" ], - "operationId": "appScreenshotSets-appScreenshots-get_to_many_relationship", + "operationId": "appScreenshotSets_appScreenshots_getToManyRelationship", "parameters": [ { "name": "limit", @@ -56964,7 +57485,7 @@ "tags": [ "AppScreenshotSets" ], - "operationId": "appScreenshotSets-appScreenshots-replace_to_many_relationship", + "operationId": "appScreenshotSets_appScreenshots_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -57050,22 +57571,27 @@ "tags": [ "AppScreenshotSets" ], - "operationId": "appScreenshotSets-appScreenshots-get_to_many_related", + "operationId": "appScreenshotSets_appScreenshots_getToManyRelated", "parameters": [ { - "name": "fields[appScreenshotSets]", + "name": "fields[appScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appScreenshots", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appScreenshotSet" ] } }, @@ -57073,24 +57599,19 @@ "explode": false }, { - "name": "fields[appScreenshots]", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appScreenshotSet", - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -57195,27 +57716,24 @@ "tags": [ "AppStoreReviewDetails" ], - "operationId": "appStoreReviewDetails-appStoreReviewAttachments-get_to_many_related", + "operationId": "appStoreReviewDetails_appStoreReviewAttachments_getToManyRelated", "parameters": [ { - "name": "fields[appStoreReviewDetails]", + "name": "fields[appStoreReviewAttachments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", + "description": "the fields to include for returned resources of type appStoreReviewAttachments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", - "appStoreVersion", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appStoreReviewDetail" ] } }, @@ -57223,21 +57741,24 @@ "explode": false }, { - "name": "fields[appStoreReviewAttachments]", + "name": "fields[appStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewAttachments", + "description": "the fields to include for returned resources of type appStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewDetail", - "assetDeliveryState", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -57342,7 +57863,7 @@ "tags": [ "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations-appPreviewSets-get_to_many_related", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_appPreviewSets_getToManyRelated", "parameters": [ { "name": "filter[previewType]", @@ -57376,9 +57897,9 @@ "explode": false }, { - "name": "filter[appCustomProductPageLocalization]", + "name": "filter[appStoreVersionLocalization]", "in": "query", - "description": "filter by id(s) of related 'appCustomProductPageLocalization'", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", "schema": { "type": "array", "items": { @@ -57389,9 +57910,9 @@ "explode": false }, { - "name": "filter[appStoreVersionLocalization]", + "name": "filter[appCustomProductPageLocalization]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", "schema": { "type": "array", "items": { @@ -57402,19 +57923,19 @@ "explode": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets", - "locale", - "promotionalText" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -57422,18 +57943,24 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", "appScreenshotSets", - "appStoreVersionExperimentTreatment", - "locale" + "appPreviewSets" ] } }, @@ -57441,25 +57968,19 @@ "explode": false }, { - "name": "fields[appPreviews]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appPreviews", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSet", - "assetDeliveryState", - "fileName", - "fileSize", - "mimeType", - "previewFrameTimeCode", - "previewImage", - "sourceFileChecksum", - "uploadOperations", - "uploaded", - "videoUrl" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -57467,19 +57988,18 @@ "explode": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appPreviews", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -57487,24 +58007,25 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appPreviews]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appPreviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "fileSize", + "fileName", + "sourceFileChecksum", + "previewFrameTimeCode", + "mimeType", + "videoUrl", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appPreviewSet" ] } }, @@ -57521,16 +58042,6 @@ }, "style": "form" }, - { - "name": "limit[appPreviews]", - "in": "query", - "description": "maximum number of related appPreviews returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -57540,15 +58051,25 @@ "items": { "type": "string", "enum": [ + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appPreviews", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization" + "appPreviews" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appPreviews]", + "in": "query", + "description": "maximum number of related appPreviews returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -57622,7 +58143,7 @@ "tags": [ "AppStoreVersionExperimentTreatmentLocalizations" ], - "operationId": "appStoreVersionExperimentTreatmentLocalizations-appScreenshotSets-get_to_many_related", + "operationId": "appStoreVersionExperimentTreatmentLocalizations_appScreenshotSets_getToManyRelated", "parameters": [ { "name": "filter[screenshotDisplayType]", @@ -57648,6 +58169,7 @@ "APP_IPAD_97", "APP_DESKTOP", "APP_WATCH_ULTRA", + "APP_WATCH_SERIES_10", "APP_WATCH_SERIES_7", "APP_WATCH_SERIES_4", "APP_WATCH_SERIES_3", @@ -57672,9 +58194,9 @@ "explode": false }, { - "name": "filter[appCustomProductPageLocalization]", + "name": "filter[appStoreVersionLocalization]", "in": "query", - "description": "filter by id(s) of related 'appCustomProductPageLocalization'", + "description": "filter by id(s) of related 'appStoreVersionLocalization'", "schema": { "type": "array", "items": { @@ -57685,9 +58207,9 @@ "explode": false }, { - "name": "filter[appStoreVersionLocalization]", + "name": "filter[appCustomProductPageLocalization]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersionLocalization'", + "description": "filter by id(s) of related 'appCustomProductPageLocalization'", "schema": { "type": "array", "items": { @@ -57706,11 +58228,11 @@ "items": { "type": "string", "enum": [ + "screenshotDisplayType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appScreenshots", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "appScreenshots" ] } }, @@ -57718,19 +58240,24 @@ "explode": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets", + "description", "locale", - "promotionalText" + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -57738,18 +58265,19 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", + "locale", + "promotionalText", + "appCustomProductPageVersion", "appScreenshotSets", - "appStoreVersionExperimentTreatment", - "locale" + "appPreviewSets" ] } }, @@ -57757,24 +58285,18 @@ "explode": false }, { - "name": "fields[appScreenshots]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appScreenshotSet", - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -57782,24 +58304,24 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appScreenshotSet" ] } }, @@ -57816,16 +58338,6 @@ }, "style": "form" }, - { - "name": "limit[appScreenshots]", - "in": "query", - "description": "maximum number of related appScreenshots returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -57835,15 +58347,25 @@ "items": { "type": "string", "enum": [ + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appScreenshots", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization" + "appScreenshots" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appScreenshots]", + "in": "query", + "description": "maximum number of related appScreenshots returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -57917,7 +58439,7 @@ "tags": [ "AppStoreVersionExperimentTreatments" ], - "operationId": "appStoreVersionExperimentTreatments-appStoreVersionExperimentTreatmentLocalizations-get_to_many_related", + "operationId": "appStoreVersionExperimentTreatments_appStoreVersionExperimentTreatmentLocalizations_getToManyRelated", "parameters": [ { "name": "filter[locale]", @@ -57933,19 +58455,18 @@ "explode": false }, { - "name": "fields[appScreenshotSets]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appScreenshots", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -57961,13 +58482,13 @@ "items": { "type": "string", "enum": [ + "name", "appIcon", "appIconName", + "promotedDate", "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", "appStoreVersionExperimentV2", - "name", - "promotedDate" + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -57975,18 +58496,19 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersionExperimentTreatment", - "locale" + "screenshotDisplayType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appScreenshots" ] } }, @@ -58002,11 +58524,11 @@ "items": { "type": "string", "enum": [ + "previewType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appPreviews", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "appPreviews" ] } }, @@ -58023,6 +58545,24 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[appScreenshotSets]", "in": "query", @@ -58042,24 +58582,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersionExperimentTreatment" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -58133,30 +58655,24 @@ "tags": [ "AppStoreVersionExperiments" ], - "operationId": "appStoreVersionExperimentsV2-appStoreVersionExperimentTreatments-get_to_many_related", + "operationId": "appStoreVersionExperimentsV2_appStoreVersionExperimentTreatments_getToManyRelated", "parameters": [ { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -58164,21 +58680,27 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appIcon", - "appIconName", - "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", - "appStoreVersionExperimentV2", "name", - "promotedDate" + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "started", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" ] } }, @@ -58194,10 +58716,10 @@ "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", + "locale", "appStoreVersionExperimentTreatment", - "locale" + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -58214,16 +58736,6 @@ }, "style": "form" }, - { - "name": "limit[appStoreVersionExperimentTreatmentLocalizations]", - "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatmentLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -58234,13 +58746,23 @@ "type": "string", "enum": [ "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", - "appStoreVersionExperimentV2" + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentTreatmentLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -58314,31 +58836,25 @@ "tags": [ "AppStoreVersionExperiments" ], - "operationId": "appStoreVersionExperiments-appStoreVersionExperimentTreatments-get_to_many_related", + "operationId": "appStoreVersionExperiments_appStoreVersionExperimentTreatments_getToManyRelated", "deprecated": true, "parameters": [ { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -58346,21 +58862,27 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appIcon", - "appIconName", - "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", - "appStoreVersionExperimentV2", "name", - "promotedDate" + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "started", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" ] } }, @@ -58376,10 +58898,10 @@ "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", + "locale", "appStoreVersionExperimentTreatment", - "locale" + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -58396,16 +58918,6 @@ }, "style": "form" }, - { - "name": "limit[appStoreVersionExperimentTreatmentLocalizations]", - "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatmentLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -58416,13 +58928,23 @@ "type": "string", "enum": [ "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", - "appStoreVersionExperimentV2" + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appStoreVersionExperimentTreatmentLocalizations]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentTreatmentLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -58496,7 +59018,7 @@ "tags": [ "AppStoreVersionLocalizations" ], - "operationId": "appStoreVersionLocalizations-appPreviewSets-get_to_many_related", + "operationId": "appStoreVersionLocalizations_appPreviewSets_getToManyRelated", "parameters": [ { "name": "filter[previewType]", @@ -58556,19 +59078,19 @@ "explode": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets", - "locale", - "promotionalText" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -58576,18 +59098,24 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", "appScreenshotSets", - "appStoreVersionExperimentTreatment", - "locale" + "appPreviewSets" ] } }, @@ -58595,25 +59123,19 @@ "explode": false }, { - "name": "fields[appPreviews]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appPreviews", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSet", - "assetDeliveryState", - "fileName", - "fileSize", - "mimeType", - "previewFrameTimeCode", - "previewImage", - "sourceFileChecksum", - "uploadOperations", - "uploaded", - "videoUrl" + "locale", + "promotionalText", + "appCustomProductPageVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -58621,19 +59143,18 @@ "explode": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appPreviews", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -58641,24 +59162,25 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appPreviews]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appPreviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "fileSize", + "fileName", + "sourceFileChecksum", + "previewFrameTimeCode", + "mimeType", + "videoUrl", + "previewImage", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appPreviewSet" ] } }, @@ -58675,16 +59197,6 @@ }, "style": "form" }, - { - "name": "limit[appPreviews]", - "in": "query", - "description": "maximum number of related appPreviews returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -58694,15 +59206,25 @@ "items": { "type": "string", "enum": [ + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appPreviews", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization" + "appPreviews" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appPreviews]", + "in": "query", + "description": "maximum number of related appPreviews returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -58776,7 +59298,7 @@ "tags": [ "AppStoreVersionLocalizations" ], - "operationId": "appStoreVersionLocalizations-appScreenshotSets-get_to_many_related", + "operationId": "appStoreVersionLocalizations_appScreenshotSets_getToManyRelated", "parameters": [ { "name": "filter[screenshotDisplayType]", @@ -58802,6 +59324,7 @@ "APP_IPAD_97", "APP_DESKTOP", "APP_WATCH_ULTRA", + "APP_WATCH_SERIES_10", "APP_WATCH_SERIES_7", "APP_WATCH_SERIES_4", "APP_WATCH_SERIES_3", @@ -58860,11 +59383,11 @@ "items": { "type": "string", "enum": [ + "screenshotDisplayType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appScreenshots", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "appScreenshots" ] } }, @@ -58872,19 +59395,24 @@ "explode": false }, { - "name": "fields[appCustomProductPageLocalizations]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appPreviewSets", - "appScreenshotSets", + "description", "locale", - "promotionalText" + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -58892,18 +59420,19 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", + "name": "fields[appCustomProductPageLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", + "description": "the fields to include for returned resources of type appCustomProductPageLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", + "locale", + "promotionalText", + "appCustomProductPageVersion", "appScreenshotSets", - "appStoreVersionExperimentTreatment", - "locale" + "appPreviewSets" ] } }, @@ -58911,24 +59440,18 @@ "explode": false }, { - "name": "fields[appScreenshots]", + "name": "fields[appStoreVersionExperimentTreatmentLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshots", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appScreenshotSet", - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "locale", + "appStoreVersionExperimentTreatment", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -58936,24 +59459,24 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appScreenshotSet" ] } }, @@ -58970,16 +59493,6 @@ }, "style": "form" }, - { - "name": "limit[appScreenshots]", - "in": "query", - "description": "maximum number of related appScreenshots returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -58989,15 +59502,25 @@ "items": { "type": "string", "enum": [ + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appScreenshots", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization" + "appScreenshots" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appScreenshots]", + "in": "query", + "description": "maximum number of related appScreenshots returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -59071,7 +59594,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-ageRatingDeclaration-get_to_one_related", + "operationId": "appStoreVersions_ageRatingDeclaration_getToOneRelated", "deprecated": true, "parameters": [ { @@ -59083,24 +59606,26 @@ "items": { "type": "string", "enum": [ - "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", - "gambling", "gamblingAndContests", + "gambling", "gamblingSimulated", - "horrorOrFearThemes", "kidsAgeBand", - "matureOrSuggestiveThemes", + "lootBox", "medicalOrTreatmentInformation", "profanityOrCrudeHumor", - "seventeenPlus", "sexualContentGraphicAndNudity", "sexualContentOrNudity", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", "unrestrictedWebAccess", "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", "violenceRealistic", - "violenceRealisticProlongedGraphicOrSadistic" + "ageRatingOverride", + "koreaAgeRatingOverride", + "seventeenPlus" ] } }, @@ -59179,7 +59704,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-alternativeDistributionPackage-get_to_one_related", + "operationId": "appStoreVersions_alternativeDistributionPackage_getToOneRelated", "parameters": [ { "name": "fields[alternativeDistributionPackages]", @@ -59207,30 +59732,20 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionPackage", - "deltas", - "fileChecksum", - "state", "url", "urlExpirationDate", + "version", + "fileChecksum", + "state", "variants", - "version" + "deltas", + "alternativeDistributionPackage" ] } }, "style": "form", "explode": false }, - { - "name": "limit[versions]", - "in": "query", - "description": "maximum number of related versions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -59246,6 +59761,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -59319,7 +59844,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-appClipDefaultExperience-get_to_one_relationship", + "operationId": "appStoreVersions_appClipDefaultExperience_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -59378,7 +59903,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-appClipDefaultExperience-update_to_one_relationship", + "operationId": "appStoreVersions_appClipDefaultExperience_updateToOneRelationship", "requestBody": { "description": "Related linkage", "content": { @@ -59464,21 +59989,23 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-appClipDefaultExperience-get_to_one_related", + "operationId": "appStoreVersions_appClipDefaultExperience_getToOneRelated", "parameters": [ { - "name": "fields[appClips]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appClipAdvancedExperiences", - "appClipDefaultExperiences", - "bundleId" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -59486,16 +60013,18 @@ "explode": false }, { - "name": "fields[appClipAppStoreReviewDetails]", + "name": "fields[appClips]", "in": "query", - "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", + "description": "the fields to include for returned resources of type appClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "invocationUrls" + "bundleId", + "app", + "appClipDefaultExperiences", + "appClipAdvancedExperiences" ] } }, @@ -59511,29 +60040,30 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", + "platform", + "versionString", "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", "appVersionState", - "build", "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -59541,20 +60071,18 @@ "explode": false }, { - "name": "fields[appClipDefaultExperiences]", + "name": "fields[appClipDefaultExperienceLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", + "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "action", - "appClip", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "locale", + "subtitle", + "appClipDefaultExperience", + "appClipHeaderImage" ] } }, @@ -59562,34 +60090,22 @@ "explode": false }, { - "name": "fields[appClipDefaultExperienceLocalizations]", + "name": "fields[appClipAppStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperienceLocalizations", + "description": "the fields to include for returned resources of type appClipAppStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDefaultExperience", - "appClipHeaderImage", - "locale", - "subtitle" + "invocationUrls", + "appClipDefaultExperience" ] } }, "style": "form", "explode": false }, - { - "name": "limit[appClipDefaultExperienceLocalizations]", - "in": "query", - "description": "maximum number of related appClipDefaultExperienceLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -59600,14 +60116,24 @@ "type": "string", "enum": [ "appClip", - "appClipAppStoreReviewDetail", + "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "releaseWithAppStoreVersion" + "appClipAppStoreReviewDetail" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appClipDefaultExperienceLocalizations]", + "in": "query", + "description": "maximum number of related appClipDefaultExperienceLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -59681,7 +60207,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-appStoreReviewDetail-get_to_one_related", + "operationId": "appStoreVersions_appStoreReviewDetail_getToOneRelated", "parameters": [ { "name": "fields[appStoreReviewDetails]", @@ -59692,16 +60218,16 @@ "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", - "appStoreVersion", - "contactEmail", "contactFirstName", "contactLastName", "contactPhone", + "contactEmail", "demoAccountName", "demoAccountPassword", "demoAccountRequired", - "notes" + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -59717,29 +60243,30 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", + "platform", + "versionString", "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", "appVersionState", - "build", "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -59755,29 +60282,19 @@ "items": { "type": "string", "enum": [ - "appStoreReviewDetail", - "assetDeliveryState", - "fileName", "fileSize", + "fileName", "sourceFileChecksum", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appStoreReviewDetail" ] } }, "style": "form", "explode": false }, - { - "name": "limit[appStoreReviewAttachments]", - "in": "query", - "description": "maximum number of related appStoreReviewAttachments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -59787,13 +60304,23 @@ "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", - "appStoreVersion" + "appStoreVersion", + "appStoreReviewAttachments" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[appStoreReviewAttachments]", + "in": "query", + "description": "maximum number of related appStoreReviewAttachments returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -59867,7 +60394,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-appStoreVersionExperiments-get_to_many_related", + "operationId": "appStoreVersions_appStoreVersionExperiments_getToManyRelated", "deprecated": true, "parameters": [ { @@ -59903,15 +60430,15 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "endDate", "name", + "trafficProportion", + "state", "reviewRequired", "startDate", + "endDate", "started", - "state", - "trafficProportion" + "appStoreVersion", + "appStoreVersionExperimentTreatments" ] } }, @@ -59919,21 +60446,38 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appIcon", - "appIconName", - "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", - "appStoreVersionExperimentV2", - "name", - "promotedDate" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -59941,37 +60485,21 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "name", + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -59988,16 +60516,6 @@ }, "style": "form" }, - { - "name": "limit[appStoreVersionExperimentTreatments]", - "in": "query", - "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -60014,6 +60532,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[appStoreVersionExperimentTreatments]", + "in": "query", + "description": "maximum number of related appStoreVersionExperimentTreatments returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -60087,7 +60615,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-appStoreVersionExperimentsV2-get_to_many_related", + "operationId": "appStoreVersions_appStoreVersionExperimentsV2_getToManyRelated", "parameters": [ { "name": "filter[state]", @@ -60122,18 +60650,18 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", "name", "platform", + "trafficProportion", + "state", "reviewRequired", "startDate", + "endDate", "started", - "state", - "trafficProportion" + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -60141,21 +60669,59 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appIcon", - "appIconName", - "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", - "appStoreVersionExperimentV2", "name", - "promotedDate" + "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" ] } }, @@ -60171,29 +60737,30 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", + "platform", + "versionString", "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", "appVersionState", - "build", "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -60201,57 +60768,21 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -60268,6 +60799,25 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[controlVersions]", "in": "query", @@ -60287,25 +60837,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersionExperimentTreatments", - "controlVersions", - "latestControlVersion" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -60379,7 +60910,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-appStoreVersionLocalizations-get_to_many_related", + "operationId": "appStoreVersions_appStoreVersionLocalizations_getToManyRelated", "parameters": [ { "name": "filter[locale]", @@ -60395,19 +60926,24 @@ "explode": false }, { - "name": "fields[appScreenshotSets]", + "name": "fields[appStoreVersionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appScreenshotSets", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageLocalization", - "appScreenshots", - "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "screenshotDisplayType" + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -60423,29 +60959,30 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", + "platform", + "versionString", "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", "appVersionState", - "build", "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -60453,19 +60990,19 @@ "explode": false }, { - "name": "fields[appPreviewSets]", + "name": "fields[appScreenshotSets]", "in": "query", - "description": "the fields to include for returned resources of type appPreviewSets", + "description": "the fields to include for returned resources of type appScreenshotSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "screenshotDisplayType", + "appStoreVersionLocalization", "appCustomProductPageLocalization", - "appPreviews", "appStoreVersionExperimentTreatmentLocalization", - "appStoreVersionLocalization", - "previewType" + "appScreenshots" ] } }, @@ -60473,24 +61010,19 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appPreviewSets]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appPreviewSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "previewType", + "appStoreVersionLocalization", + "appCustomProductPageLocalization", + "appStoreVersionExperimentTreatmentLocalization", + "appPreviews" ] } }, @@ -60507,6 +61039,24 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[appScreenshotSets]", "in": "query", @@ -60526,24 +61076,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -60617,7 +61149,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-appStoreVersionPhasedRelease-get_to_one_related", + "operationId": "appStoreVersions_appStoreVersionPhasedRelease_getToOneRelated", "parameters": [ { "name": "fields[appStoreVersionPhasedReleases]", @@ -60628,11 +61160,11 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "currentDayNumber", "phasedReleaseState", "startDate", - "totalPauseDuration" + "totalPauseDuration", + "currentDayNumber", + "appStoreVersion" ] } }, @@ -60711,7 +61243,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-appStoreVersionSubmission-get_to_one_related", + "operationId": "appStoreVersions_appStoreVersionSubmission_getToOneRelated", "deprecated": true, "parameters": [ { @@ -60739,29 +61271,30 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", + "platform", + "versionString", "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", "appVersionState", - "build", "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -60856,7 +61389,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-build-get_to_one_relationship", + "operationId": "appStoreVersions_build_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -60915,7 +61448,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-build-update_to_one_relationship", + "operationId": "appStoreVersions_build_updateToOneRelationship", "requestBody": { "description": "Related linkage", "content": { @@ -61001,7 +61534,7 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-build-get_to_one_related", + "operationId": "appStoreVersions_build_getToOneRelated", "parameters": [ { "name": "fields[builds]", @@ -61012,30 +61545,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -61114,21 +61647,8 @@ "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-customerReviews-get_to_many_related", + "operationId": "appStoreVersions_customerReviews_getToManyRelated", "parameters": [ - { - "name": "filter[rating]", - "in": "query", - "description": "filter by attribute 'rating'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, { "name": "filter[territory]", "in": "query", @@ -61376,6 +61896,19 @@ "style": "form", "explode": false }, + { + "name": "filter[rating]", + "in": "query", + "description": "filter by attribute 'rating'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, { "name": "exists[publishedResponse]", "in": "query", @@ -61395,10 +61928,10 @@ "items": { "type": "string", "enum": [ - "createdDate", - "-createdDate", "rating", - "-rating" + "-rating", + "createdDate", + "-createdDate" ] } }, @@ -61414,13 +61947,13 @@ "items": { "type": "string", "enum": [ - "body", - "createdDate", "rating", - "response", + "title", + "body", "reviewerNickname", + "createdDate", "territory", - "title" + "response" ] } }, @@ -61436,10 +61969,10 @@ "items": { "type": "string", "enum": [ - "lastModifiedDate", "responseBody", - "review", - "state" + "lastModifiedDate", + "state", + "review" ] } }, @@ -61539,12 +62072,170 @@ } ] }, + "/v1/appStoreVersions/{id}/gameCenterAppVersion": { + "get": { + "tags": [ + "AppStoreVersions" + ], + "operationId": "appStoreVersions_gameCenterAppVersion_getToOneRelated", + "parameters": [ + { + "name": "fields[gameCenterAppVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAppVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "compatibilityVersions", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[compatibilityVersions]", + "in": "query", + "description": "maximum number of related compatibilityVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "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": "Single GameCenterAppVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterAppVersionResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, "/v1/appStoreVersions/{id}/routingAppCoverage": { "get": { "tags": [ "AppStoreVersions" ], - "operationId": "appStoreVersions-routingAppCoverage-get_to_one_related", + "operationId": "appStoreVersions_routingAppCoverage_getToOneRelated", "parameters": [ { "name": "fields[routingAppCoverages]", @@ -61555,13 +62246,13 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "assetDeliveryState", - "fileName", "fileSize", + "fileName", "sourceFileChecksum", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "appStoreVersion" ] } }, @@ -61640,7 +62331,7 @@ "tags": [ "Apps" ], - "operationId": "apps-alternativeDistributionKey-get_to_one_related", + "operationId": "apps_alternativeDistributionKey_getToOneRelated", "parameters": [ { "name": "fields[alternativeDistributionKeys]", @@ -61651,8 +62342,8 @@ "items": { "type": "string", "enum": [ - "app", - "publicKey" + "publicKey", + "app" ] } }, @@ -61731,7 +62422,7 @@ "tags": [ "Apps" ], - "operationId": "apps-analyticsReportRequests-get_to_many_related", + "operationId": "apps_analyticsReportRequests_getToManyRelated", "parameters": [ { "name": "filter[accessType]", @@ -61760,9 +62451,9 @@ "type": "string", "enum": [ "accessType", + "stoppedDueToInactivity", "app", - "reports", - "stoppedDueToInactivity" + "reports" ] } }, @@ -61778,9 +62469,9 @@ "items": { "type": "string", "enum": [ + "name", "category", - "instances", - "name" + "instances" ] } }, @@ -61797,16 +62488,6 @@ }, "style": "form" }, - { - "name": "limit[reports]", - "in": "query", - "description": "maximum number of related reports returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -61822,6 +62503,16 @@ }, "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": { @@ -61895,7 +62586,7 @@ "tags": [ "Apps" ], - "operationId": "apps-appAvailability-get_to_one_related", + "operationId": "apps_appAvailability_getToOneRelated", "deprecated": true, "parameters": [ { @@ -61907,8 +62598,8 @@ "items": { "type": "string", "enum": [ - "app", "availableInNewTerritories", + "app", "availableTerritories" ] } @@ -61925,49 +62616,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -61990,6 +62683,23 @@ "style": "form", "explode": 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 + }, { "name": "limit[availableTerritories]", "in": "query", @@ -61999,6 +62709,119 @@ "maximum": 50 }, "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": "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/apps/{id}/appAvailabilityV2": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps_appAvailabilityV2_getToOneRelated", + "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", + "territoryAvailabilities" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[territoryAvailabilities]", + "in": "query", + "description": "the fields to include for returned resources of type territoryAvailabilities", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "available", + "releaseDate", + "preOrderEnabled", + "preOrderPublishDate", + "contentStatuses", + "territory" + ] + } + }, + "style": "form", + "explode": false }, { "name": "include", @@ -62009,13 +62832,22 @@ "items": { "type": "string", "enum": [ - "app", - "availableTerritories" + "territoryAvailabilities" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[territoryAvailabilities]", + "in": "query", + "description": "maximum number of related territoryAvailabilities returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -62064,7 +62896,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppAvailabilityResponse" + "$ref": "#/components/schemas/AppAvailabilityV2Response" } } } @@ -62089,7 +62921,7 @@ "tags": [ "Apps" ], - "operationId": "apps-appClips-get_to_many_related", + "operationId": "apps_appClips_getToManyRelated", "parameters": [ { "name": "filter[bundleId]", @@ -62113,10 +62945,10 @@ "items": { "type": "string", "enum": [ + "bundleId", "app", - "appClipAdvancedExperiences", "appClipDefaultExperiences", - "bundleId" + "appClipAdvancedExperiences" ] } }, @@ -62132,49 +62964,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -62192,10 +63026,10 @@ "enum": [ "action", "appClip", - "appClipAppStoreReviewDetail", + "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -62212,16 +63046,6 @@ }, "style": "form" }, - { - "name": "limit[appClipDefaultExperiences]", - "in": "query", - "description": "maximum number of related appClipDefaultExperiences returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -62238,6 +63062,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[appClipDefaultExperiences]", + "in": "query", + "description": "maximum number of related appClipDefaultExperiences returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -62311,7 +63145,7 @@ "tags": [ "Apps" ], - "operationId": "apps-appCustomProductPages-get_to_many_related", + "operationId": "apps_appCustomProductPages_getToManyRelated", "parameters": [ { "name": "filter[visible]", @@ -62335,33 +63169,13 @@ "items": { "type": "string", "enum": [ + "name", + "url", + "visible", "app", "appCustomProductPageVersions", "appStoreVersionTemplate", - "customProductPageTemplate", - "name", - "url", - "visible" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appCustomProductPageVersions]", - "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPageVersions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appCustomProductPage", - "appCustomProductPageLocalizations", - "deepLink", - "state", - "version" + "customProductPageTemplate" ] } }, @@ -62377,49 +63191,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -62427,22 +63243,32 @@ "explode": false }, { - "name": "limit", + "name": "fields[appCustomProductPageVersions]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type appCustomProductPageVersions", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "state", + "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[appCustomProductPageVersions]", + "name": "limit", "in": "query", - "description": "maximum number of related appCustomProductPageVersions returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -62462,6 +63288,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[appCustomProductPageVersions]", + "in": "query", + "description": "maximum number of related appCustomProductPageVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -62535,7 +63371,7 @@ "tags": [ "Apps" ], - "operationId": "apps-appEncryptionDeclarations-get_to_many_related", + "operationId": "apps_appEncryptionDeclarations_getToManyRelated", "parameters": [ { "name": "filter[platform]", @@ -62578,23 +63414,23 @@ "items": { "type": "string", "enum": [ - "app", "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", "createdDate", - "documentName", - "documentType", - "documentUrl", + "usesEncryption", "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", "platform", "uploadedDate", - "usesEncryption" + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -62610,49 +63446,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -62660,23 +63498,38 @@ "explode": false }, { - "name": "fields[appEncryptionDeclarationDocuments]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", "appEncryptionDeclaration", - "assetDeliveryState", - "assetToken", - "downloadUrl", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -62684,38 +63537,23 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[appEncryptionDeclarationDocuments]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type appEncryptionDeclarationDocuments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "fileSize", + "fileName", + "assetToken", + "downloadUrl", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appEncryptionDeclaration" ] } }, @@ -62732,16 +63570,6 @@ }, "style": "form" }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -62752,13 +63580,23 @@ "type": "string", "enum": [ "app", - "appEncryptionDeclarationDocument", - "builds" + "builds", + "appEncryptionDeclarationDocument" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -62832,7 +63670,7 @@ "tags": [ "Apps" ], - "operationId": "apps-appEvents-get_to_many_related", + "operationId": "apps_appEvents_getToManyRelated", "parameters": [ { "name": "filter[eventState]", @@ -62873,21 +63711,26 @@ "explode": false }, { - "name": "fields[appEventLocalizations]", + "name": "fields[appEvents]", "in": "query", - "description": "the fields to include for returned resources of type appEventLocalizations", + "description": "the fields to include for returned resources of type appEvents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appEvent", - "appEventScreenshots", - "appEventVideoClips", - "locale", - "longDescription", - "name", - "shortDescription" + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "app", + "localizations" ] } }, @@ -62895,26 +63738,21 @@ "explode": false }, { - "name": "fields[appEvents]", + "name": "fields[appEventLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appEvents", + "description": "the fields to include for returned resources of type appEventLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "archivedTerritorySchedules", - "badge", - "deepLink", - "eventState", - "localizations", - "primaryLocale", - "priority", - "purchaseRequirement", - "purpose", - "referenceName", - "territorySchedules" + "locale", + "name", + "shortDescription", + "longDescription", + "appEvent", + "appEventScreenshots", + "appEventVideoClips" ] } }, @@ -62931,16 +63769,6 @@ }, "style": "form" }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -62956,6 +63784,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -63029,41 +63867,8 @@ "tags": [ "Apps" ], - "operationId": "apps-appInfos-get_to_many_related", + "operationId": "apps_appInfos_getToManyRelated", "parameters": [ - { - "name": "fields[ageRatingDeclarations]", - "in": "query", - "description": "the fields to include for returned resources of type ageRatingDeclarations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ageRatingOverride", - "alcoholTobaccoOrDrugUseOrReferences", - "contests", - "gambling", - "gamblingAndContests", - "gamblingSimulated", - "horrorOrFearThemes", - "kidsAgeBand", - "matureOrSuggestiveThemes", - "medicalOrTreatmentInformation", - "profanityOrCrudeHumor", - "seventeenPlus", - "sexualContentGraphicAndNudity", - "sexualContentOrNudity", - "unrestrictedWebAccess", - "violenceCartoonOrFantasy", - "violenceRealistic", - "violenceRealisticProlongedGraphicOrSadistic" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[appInfos]", "in": "query", @@ -63073,21 +63878,23 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "app", - "appInfoLocalizations", - "appStoreAgeRating", "appStoreState", + "state", + "appStoreAgeRating", + "australiaAgeRating", "brazilAgeRating", "brazilAgeRatingV2", + "koreaAgeRating", "kidsAgeBand", + "app", + "ageRatingDeclaration", + "appInfoLocalizations", "primaryCategory", "primarySubcategoryOne", "primarySubcategoryTwo", "secondaryCategory", "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "state" + "secondarySubcategoryTwo" ] } }, @@ -63095,21 +63902,59 @@ "explode": false }, { - "name": "fields[appInfoLocalizations]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appInfoLocalizations", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appInfo", - "locale", "name", - "privacyChoicesUrl", - "privacyPolicyText", - "privacyPolicyUrl", - "subtitle" + "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" ] } }, @@ -63117,17 +63962,34 @@ "explode": false }, { - "name": "fields[appCategories]", + "name": "fields[ageRatingDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type appCategories", + "description": "the fields to include for returned resources of type ageRatingDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "parent", - "platforms", - "subcategories" + "alcoholTobaccoOrDrugUseOrReferences", + "contests", + "gamblingAndContests", + "gambling", + "gamblingSimulated", + "kidsAgeBand", + "lootBox", + "medicalOrTreatmentInformation", + "profanityOrCrudeHumor", + "sexualContentGraphicAndNudity", + "sexualContentOrNudity", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", + "unrestrictedWebAccess", + "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", + "violenceRealistic", + "ageRatingOverride", + "koreaAgeRatingOverride", + "seventeenPlus" ] } }, @@ -63135,57 +63997,21 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appInfoLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appInfoLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", + "locale", "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "subtitle", + "privacyPolicyUrl", + "privacyChoicesUrl", + "privacyPolicyText", + "appInfo" ] } }, @@ -63193,22 +64019,30 @@ "explode": false }, { - "name": "limit", + "name": "fields[appCategories]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type appCategories", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "platforms", + "subcategories", + "parent" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[appInfoLocalizations]", + "name": "limit", "in": "query", - "description": "maximum number of related appInfoLocalizations returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -63221,8 +64055,8 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", "app", + "ageRatingDeclaration", "appInfoLocalizations", "primaryCategory", "primarySubcategoryOne", @@ -63235,6 +64069,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[appInfoLocalizations]", + "in": "query", + "description": "maximum number of related appInfoLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -63308,7 +64152,7 @@ "tags": [ "Apps" ], - "operationId": "apps-appPricePoints-get_to_many_related", + "operationId": "apps_appPricePoints_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -63332,10 +64176,10 @@ "items": { "type": "string", "enum": [ - "app", "customerPrice", - "equalizations", "proceeds", + "app", + "equalizations", "territory" ] } @@ -63352,49 +64196,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -63521,28 +64367,8 @@ "tags": [ "Apps" ], - "operationId": "apps-appPriceSchedule-get_to_one_related", + "operationId": "apps_appPriceSchedule_getToOneRelated", "parameters": [ - { - "name": "fields[appPrices]", - "in": "query", - "description": "the fields to include for returned resources of type appPrices", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appPricePoint", - "endDate", - "manual", - "startDate", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[appPriceSchedules]", "in": "query", @@ -63553,9 +64379,9 @@ "type": "string", "enum": [ "app", - "automaticPrices", "baseTerritory", - "manualPrices" + "manualPrices", + "automaticPrices" ] } }, @@ -63571,49 +64397,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -63637,24 +64465,24 @@ "explode": false }, { - "name": "limit[manualPrices]", - "in": "query", - "description": "maximum number of related manualPrices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[automaticPrices]", + "name": "fields[appPrices]", "in": "query", - "description": "maximum number of related automaticPrices returned (when they are included)", + "description": "the fields to include for returned resources of type appPrices", "schema": { - "type": "integer", - "maximum": 50 + "type": "array", + "items": { + "type": "string", + "enum": [ + "manual", + "startDate", + "endDate", + "appPricePoint", + "territory" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { "name": "include", @@ -63666,14 +64494,34 @@ "type": "string", "enum": [ "app", - "automaticPrices", "baseTerritory", - "manualPrices" + "manualPrices", + "automaticPrices" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[manualPrices]", + "in": "query", + "description": "maximum number of related manualPrices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[automaticPrices]", + "in": "query", + "description": "maximum number of related automaticPrices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -63747,7 +64595,7 @@ "tags": [ "Apps" ], - "operationId": "apps-appStoreVersionExperimentsV2-get_to_many_related", + "operationId": "apps_appStoreVersionExperimentsV2_getToManyRelated", "parameters": [ { "name": "filter[state]", @@ -63782,18 +64630,18 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", "name", "platform", + "trafficProportion", + "state", "reviewRequired", "startDate", + "endDate", "started", - "state", - "trafficProportion" + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" ] } }, @@ -63801,21 +64649,59 @@ "explode": false }, { - "name": "fields[appStoreVersionExperimentTreatments]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appIcon", - "appIconName", - "appStoreVersionExperiment", - "appStoreVersionExperimentTreatmentLocalizations", - "appStoreVersionExperimentV2", "name", - "promotedDate" + "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" ] } }, @@ -63831,29 +64717,30 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", + "platform", + "versionString", "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", "appVersionState", - "build", "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -63861,57 +64748,21 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appStoreVersionExperimentTreatments]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appStoreVersionExperimentTreatments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "appIcon", + "appIconName", + "promotedDate", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appStoreVersionExperimentTreatmentLocalizations" ] } }, @@ -63928,6 +64779,25 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[controlVersions]", "in": "query", @@ -63947,25 +64817,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersionExperimentTreatments", - "controlVersions", - "latestControlVersion" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -64039,8 +64890,40 @@ "tags": [ "Apps" ], - "operationId": "apps-appStoreVersions-get_to_many_related", + "operationId": "apps_appStoreVersions_getToManyRelated", "parameters": [ + { + "name": "filter[platform]", + "in": "query", + "description": "filter by attribute 'platform'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[versionString]", + "in": "query", + "description": "filter by attribute 'versionString'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, { "name": "filter[appStoreState]", "in": "query", @@ -64107,45 +64990,112 @@ "explode": false }, { - "name": "filter[platform]", + "name": "filter[id]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "filter by id(s)", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "filter[versionString]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "filter by attribute 'versionString'", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] } }, "style": "form", "explode": false }, { - "name": "filter[id]", + "name": "fields[apps]", "in": "query", - "description": "filter by id(s)", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { - "type": "string" + "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" + ] } }, "style": "form", @@ -64160,49 +65110,26 @@ "items": { "type": "string", "enum": [ - "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", - "gambling", "gamblingAndContests", + "gambling", "gamblingSimulated", - "horrorOrFearThemes", "kidsAgeBand", - "matureOrSuggestiveThemes", + "lootBox", "medicalOrTreatmentInformation", "profanityOrCrudeHumor", - "seventeenPlus", "sexualContentGraphicAndNudity", "sexualContentOrNudity", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", "unrestrictedWebAccess", "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", "violenceRealistic", - "violenceRealisticProlongedGraphicOrSadistic" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreReviewDetails]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreReviewAttachments", - "appStoreVersion", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" + "ageRatingOverride", + "koreaAgeRatingOverride", + "seventeenPlus" ] } }, @@ -64218,16 +65145,16 @@ "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", "description", - "keywords", "locale", + "keywords", "marketingUrl", "promotionalText", "supportUrl", - "whatsNew" + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets" ] } }, @@ -64235,27 +65162,38 @@ "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", "app", + "buildBetaDetail", "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -64263,14 +65201,18 @@ "explode": false }, { - "name": "fields[appStoreVersionSubmissions]", + "name": "fields[appStoreVersionPhasedReleases]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "phasedReleaseState", + "startDate", + "totalPauseDuration", + "currentDayNumber", "appStoreVersion" ] } @@ -64279,16 +65221,17 @@ "explode": false }, { - "name": "fields[alternativeDistributionPackages]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "versions" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -64296,37 +65239,21 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[routingAppCoverages]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type routingAppCoverages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appStoreVersion" ] } }, @@ -64334,57 +65261,24 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appStoreReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appStoreReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -64392,21 +65286,15 @@ "explode": false }, { - "name": "fields[routingAppCoverages]", + "name": "fields[appStoreVersionSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "assetDeliveryState", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "appStoreVersion" ] } }, @@ -64424,10 +65312,10 @@ "enum": [ "action", "appClip", - "appClipAppStoreReviewDetail", + "releaseWithAppStoreVersion", "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -64435,19 +65323,27 @@ "explode": false }, { - "name": "fields[appStoreVersionPhasedReleases]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "currentDayNumber", - "phasedReleaseState", + "name", + "trafficProportion", + "state", + "reviewRequired", "startDate", - "totalPauseDuration" + "endDate", + "started", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" ] } }, @@ -64455,38 +65351,16 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[alternativeDistributionPackages]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "versions" ] } }, @@ -64503,6 +65377,34 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[appStoreVersionLocalizations]", "in": "query", @@ -64533,33 +65435,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "routingAppCoverage" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -64633,7 +65508,7 @@ "tags": [ "Apps" ], - "operationId": "apps-betaAppLocalizations-get_to_many_related", + "operationId": "apps_betaAppLocalizations_getToManyRelated", "parameters": [ { "name": "fields[betaAppLocalizations]", @@ -64644,13 +65519,13 @@ "items": { "type": "string", "enum": [ - "app", - "description", "feedbackEmail", - "locale", "marketingUrl", "privacyPolicyUrl", - "tvOsPrivacyPolicy" + "tvOsPrivacyPolicy", + "description", + "locale", + "app" ] } }, @@ -64739,7 +65614,7 @@ "tags": [ "Apps" ], - "operationId": "apps-betaAppReviewDetail-get_to_one_related", + "operationId": "apps_betaAppReviewDetail_getToOneRelated", "parameters": [ { "name": "fields[betaAppReviewDetails]", @@ -64750,15 +65625,15 @@ "items": { "type": "string", "enum": [ - "app", - "contactEmail", "contactFirstName", "contactLastName", "contactPhone", + "contactEmail", "demoAccountName", "demoAccountPassword", "demoAccountRequired", - "notes" + "notes", + "app" ] } }, @@ -64837,7 +65712,7 @@ "tags": [ "Apps" ], - "operationId": "apps-betaGroups-get_to_many_related", + "operationId": "apps_betaGroups_getToManyRelated", "parameters": [ { "name": "fields[betaGroups]", @@ -64848,20 +65723,20 @@ "items": { "type": "string", "enum": [ - "app", - "betaTesters", - "builds", + "name", "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", "isInternalGroup", - "name", - "publicLink", + "hasAccessToAllBuilds", "publicLinkEnabled", "publicLinkId", + "publicLinkLimitEnabled", "publicLinkLimit", - "publicLinkLimitEnabled" + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "app", + "builds", + "betaTesters" ] } }, @@ -64950,7 +65825,7 @@ "tags": [ "Apps" ], - "operationId": "apps-betaLicenseAgreement-get_to_one_related", + "operationId": "apps_betaLicenseAgreement_getToOneRelated", "parameters": [ { "name": "fields[betaLicenseAgreements]", @@ -65041,7 +65916,7 @@ "tags": [ "Apps" ], - "operationId": "apps-betaTesters-delete_to_many_relationship", + "operationId": "apps_betaTesters_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -65130,7 +66005,7 @@ "tags": [ "Apps" ], - "operationId": "apps-builds-get_to_many_related", + "operationId": "apps_builds_getToManyRelated", "parameters": [ { "name": "fields[builds]", @@ -65141,30 +66016,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -65253,7 +66128,7 @@ "tags": [ "Apps" ], - "operationId": "apps-ciProduct-get_to_one_related", + "operationId": "apps_ciProduct_getToOneRelated", "parameters": [ { "name": "fields[ciProducts]", @@ -65264,15 +66139,15 @@ "items": { "type": "string", "enum": [ - "additionalRepositories", + "name", + "createdDate", + "productType", "app", - "buildRuns", "bundleId", - "createdDate", - "name", + "workflows", "primaryRepositories", - "productType", - "workflows" + "additionalRepositories", + "buildRuns" ] } }, @@ -65288,49 +66163,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -65338,23 +66215,21 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[bundleIds]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type bundleIds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "name", + "platform", + "identifier", + "seedId", + "profiles", + "bundleIdCapabilities", + "app" ] } }, @@ -65362,37 +66237,29 @@ "explode": false }, { - "name": "fields[bundleIds]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type bundleIds", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "bundleIdCapabilities", - "identifier", - "name", - "platform", - "profiles", - "seedId" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, "style": "form", "explode": false }, - { - "name": "limit[primaryRepositories]", - "in": "query", - "description": "maximum number of related primaryRepositories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -65410,6 +66277,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[primaryRepositories]", + "in": "query", + "description": "maximum number of related primaryRepositories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -65483,21 +66360,8 @@ "tags": [ "Apps" ], - "operationId": "apps-customerReviews-get_to_many_related", + "operationId": "apps_customerReviews_getToManyRelated", "parameters": [ - { - "name": "filter[rating]", - "in": "query", - "description": "filter by attribute 'rating'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, { "name": "filter[territory]", "in": "query", @@ -65745,6 +66609,19 @@ "style": "form", "explode": false }, + { + "name": "filter[rating]", + "in": "query", + "description": "filter by attribute 'rating'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, { "name": "exists[publishedResponse]", "in": "query", @@ -65764,10 +66641,10 @@ "items": { "type": "string", "enum": [ - "createdDate", - "-createdDate", "rating", - "-rating" + "-rating", + "createdDate", + "-createdDate" ] } }, @@ -65783,13 +66660,13 @@ "items": { "type": "string", "enum": [ - "body", - "createdDate", "rating", - "response", + "title", + "body", "reviewerNickname", + "createdDate", "territory", - "title" + "response" ] } }, @@ -65805,10 +66682,10 @@ "items": { "type": "string", "enum": [ - "lastModifiedDate", "responseBody", - "review", - "state" + "lastModifiedDate", + "state", + "review" ] } }, @@ -65913,7 +66790,7 @@ "tags": [ "Apps" ], - "operationId": "apps-endUserLicenseAgreement-get_to_one_related", + "operationId": "apps_endUserLicenseAgreement_getToOneRelated", "parameters": [ { "name": "fields[endUserLicenseAgreements]", @@ -66005,20 +66882,30 @@ "tags": [ "Apps" ], - "operationId": "apps-gameCenterDetail-get_to_one_related", + "operationId": "apps_gameCenterDetail_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterDetail", - "live" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -66026,17 +66913,59 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type apps", "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", - "gameCenterLeaderboardSet", - "live" + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -66044,22 +66973,17 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -66075,11 +66999,11 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", + "referenceName", "gameCenterDetails", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -66087,27 +67011,54 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", "gameCenterGroup", + "groupLeaderboard", "gameCenterLeaderboardSets", + "localizations", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "releases" ] } }, @@ -66115,31 +67066,25 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", "archived", - "defaultFormatter", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", + "groupAchievement", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "releases" ] } }, @@ -66147,17 +67092,17 @@ "explode": false }, { - "name": "fields[gameCenterAppVersions]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions", - "enabled" + "live", + "gameCenterDetail", + "gameCenterAchievement" ] } }, @@ -66165,25 +67110,17 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", + "live", "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "gameCenterLeaderboard" ] } }, @@ -66191,57 +67128,17 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", + "live", "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "gameCenterLeaderboardSet" ] } }, @@ -66249,17 +67146,25 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardReleases]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -66335,32 +67240,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "achievementReleases", - "app", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -66434,7 +67313,7 @@ "tags": [ "Apps" ], - "operationId": "apps-gameCenterEnabledVersions-get_to_many_related", + "operationId": "apps_gameCenterEnabledVersions_getToManyRelated", "deprecated": true, "parameters": [ { @@ -66508,11 +67387,11 @@ "items": { "type": "string", "enum": [ - "app", - "compatibleVersions", - "iconAsset", "platform", - "versionString" + "versionString", + "iconAsset", + "compatibleVersions", + "app" ] } }, @@ -66528,49 +67407,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -66587,17 +67468,6 @@ }, "style": "form" }, - { - "name": "limit[compatibleVersions]", - "in": "query", - "description": "maximum number of related compatibleVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, { "name": "include", "in": "query", @@ -66607,13 +67477,24 @@ "items": { "type": "string", "enum": [ - "app", - "compatibleVersions" + "compatibleVersions", + "app" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[compatibleVersions]", + "in": "query", + "description": "maximum number of related compatibleVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } ], "responses": { @@ -66687,7 +67568,7 @@ "tags": [ "Apps" ], - "operationId": "apps-inAppPurchases-get_to_many_related", + "operationId": "apps_inAppPurchases_getToManyRelated", "deprecated": true, "parameters": [ { @@ -66732,12 +67613,12 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseType", - "-inAppPurchaseType", + "referenceName", + "-referenceName", "productId", "-productId", - "referenceName", - "-referenceName" + "inAppPurchaseType", + "-inAppPurchaseType" ] } }, @@ -66753,11 +67634,11 @@ "items": { "type": "string", "enum": [ - "apps", - "inAppPurchaseType", - "productId", "referenceName", - "state" + "productId", + "inAppPurchaseType", + "state", + "apps" ] } }, @@ -66773,49 +67654,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -66832,16 +67715,6 @@ }, "style": "form" }, - { - "name": "limit[apps]", - "in": "query", - "description": "maximum number of related apps returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -66857,6 +67730,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[apps]", + "in": "query", + "description": "maximum number of related apps returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -66930,21 +67813,16 @@ "tags": [ "Apps" ], - "operationId": "apps-inAppPurchasesV2-get_to_many_related", + "operationId": "apps_inAppPurchasesV2_getToManyRelated", "parameters": [ { - "name": "filter[inAppPurchaseType]", + "name": "filter[productId]", "in": "query", - "description": "filter by attribute 'inAppPurchaseType'", + "description": "filter by attribute 'productId'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "CONSUMABLE", - "NON_CONSUMABLE", - "NON_RENEWING_SUBSCRIPTION" - ] + "type": "string" } }, "style": "form", @@ -66963,19 +67841,6 @@ "style": "form", "explode": false }, - { - "name": "filter[productId]", - "in": "query", - "description": "filter by attribute 'productId'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, { "name": "filter[state]", "in": "query", @@ -67003,6 +67868,24 @@ "style": "form", "explode": false }, + { + "name": "filter[inAppPurchaseType]", + "in": "query", + "description": "filter by attribute 'inAppPurchaseType'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "CONSUMABLE", + "NON_CONSUMABLE", + "NON_RENEWING_SUBSCRIPTION" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "sort", "in": "query", @@ -67012,10 +67895,10 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseType", - "-inAppPurchaseType", "name", - "-name" + "-name", + "inAppPurchaseType", + "-inAppPurchaseType" ] } }, @@ -67023,24 +67906,30 @@ "explode": false }, { - "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "inAppPurchaseV2", - "sourceFileChecksum", - "uploadOperations", - "uploaded" + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "app", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -67048,17 +67937,19 @@ "explode": false }, { - "name": "fields[inAppPurchaseAvailabilities]", + "name": "fields[inAppPurchaseLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", + "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories", - "inAppPurchase" + "name", + "locale", + "description", + "state", + "inAppPurchaseV2" ] } }, @@ -67066,21 +67957,19 @@ "explode": false }, { - "name": "fields[promotedPurchases]", + "name": "fields[inAppPurchaseContents]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "the fields to include for returned resources of type inAppPurchaseContents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" + "fileName", + "fileSize", + "url", + "lastModifiedDate", + "inAppPurchaseV2" ] } }, @@ -67088,19 +67977,24 @@ "explode": false }, { - "name": "fields[inAppPurchaseLocalizations]", + "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseLocalizations", + "description": "the fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "inAppPurchaseV2", - "locale", - "name", - "state" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "inAppPurchaseV2" ] } }, @@ -67108,28 +68002,21 @@ "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "visibleForAllUsers", + "enabled", + "state", "app", - "appStoreReviewScreenshot", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", - "productId", - "promotedPurchase", - "reviewNote", - "state" + "inAppPurchaseV2", + "subscription", + "promotionImages" ] } }, @@ -67145,10 +68032,10 @@ "items": { "type": "string", "enum": [ - "automaticPrices", - "baseTerritory", "inAppPurchase", - "manualPrices" + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, @@ -67156,19 +68043,17 @@ "explode": false }, { - "name": "fields[inAppPurchaseContents]", + "name": "fields[inAppPurchaseAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseContents", + "description": "the fields to include for returned resources of type inAppPurchaseAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileName", - "fileSize", - "inAppPurchaseV2", - "lastModifiedDate", - "url" + "availableInNewTerritories", + "inAppPurchase", + "availableTerritories" ] } }, @@ -67176,22 +68061,36 @@ "explode": false }, { - "name": "limit", + "name": "fields[inAppPurchaseImages]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type inAppPurchaseImages", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "uploaded", + "state", + "inAppPurchase" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[inAppPurchaseLocalizations]", + "name": "limit", "in": "query", - "description": "maximum number of related inAppPurchaseLocalizations returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -67204,17 +68103,38 @@ "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", + "inAppPurchaseLocalizations", "content", + "appStoreReviewScreenshot", + "promotedPurchase", "iapPriceSchedule", "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "promotedPurchase" + "images" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[inAppPurchaseLocalizations]", + "in": "query", + "description": "maximum number of related inAppPurchaseLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[images]", + "in": "query", + "description": "maximum number of related images returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -67288,7 +68208,7 @@ "tags": [ "Apps" ], - "operationId": "apps-marketplaceSearchDetail-get_to_one_related", + "operationId": "apps_marketplaceSearchDetail_getToOneRelated", "parameters": [ { "name": "fields[marketplaceSearchDetails]", @@ -67299,8 +68219,8 @@ "items": { "type": "string", "enum": [ - "app", - "catalogUrl" + "catalogUrl", + "app" ] } }, @@ -67379,16 +68299,19 @@ "tags": [ "Apps" ], - "operationId": "apps-perfPowerMetrics-get_to_many_related", + "operationId": "apps_perfPowerMetrics_getToManyRelated", "parameters": [ { - "name": "filter[deviceType]", + "name": "filter[platform]", "in": "query", - "description": "filter by attribute 'deviceType'", + "description": "filter by attribute 'platform'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "IOS" + ] } }, "style": "form", @@ -67417,16 +68340,13 @@ "explode": false }, { - "name": "filter[platform]", + "name": "filter[deviceType]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "filter by attribute 'deviceType'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "IOS" - ] + "type": "string" } }, "style": "form", @@ -67504,7 +68424,7 @@ "tags": [ "Apps" ], - "operationId": "apps-preOrder-get_to_one_related", + "operationId": "apps_preOrder_getToOneRelated", "deprecated": true, "parameters": [ { @@ -67516,9 +68436,9 @@ "items": { "type": "string", "enum": [ - "app", + "preOrderAvailableDate", "appReleaseDate", - "preOrderAvailableDate" + "app" ] } }, @@ -67597,7 +68517,7 @@ "tags": [ "Apps" ], - "operationId": "apps-preReleaseVersions-get_to_many_related", + "operationId": "apps_preReleaseVersions_getToManyRelated", "parameters": [ { "name": "fields[preReleaseVersions]", @@ -67608,10 +68528,10 @@ "items": { "type": "string", "enum": [ - "app", - "builds", + "version", "platform", - "version" + "builds", + "app" ] } }, @@ -67700,7 +68620,7 @@ "tags": [ "Apps" ], - "operationId": "apps-promotedPurchases-get_to_many_relationship", + "operationId": "apps_promotedPurchases_getToManyRelationship", "parameters": [ { "name": "limit", @@ -67770,7 +68690,7 @@ "tags": [ "Apps" ], - "operationId": "apps-promotedPurchases-replace_to_many_relationship", + "operationId": "apps_promotedPurchases_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -67856,7 +68776,7 @@ "tags": [ "Apps" ], - "operationId": "apps-promotedPurchases-get_to_many_related", + "operationId": "apps_promotedPurchases_getToManyRelated", "parameters": [ { "name": "fields[promotedPurchases]", @@ -67867,13 +68787,13 @@ "items": { "type": "string", "enum": [ - "app", + "visibleForAllUsers", "enabled", - "inAppPurchaseV2", - "promotionImages", "state", + "app", + "inAppPurchaseV2", "subscription", - "visibleForAllUsers" + "promotionImages" ] } }, @@ -67881,31 +68801,30 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", "name", - "offerCodes", - "pricePoints", - "prices", "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", + "inAppPurchaseType", "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "reviewNote", + "familySharable", + "contentHosting", + "app", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -67913,29 +68832,33 @@ "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", "name", - "pricePoints", "productId", - "promotedPurchase", + "familySharable", + "state", + "subscriptionPeriod", "reviewNote", - "state" + "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images" ] } }, @@ -67951,16 +68874,16 @@ "items": { "type": "string", "enum": [ - "assetToken", - "assetType", - "fileName", "fileSize", - "imageAsset", - "promotedPurchase", + "fileName", "sourceFileChecksum", - "state", + "assetToken", + "imageAsset", + "assetType", "uploadOperations", - "uploaded" + "uploaded", + "state", + "promotedPurchase" ] } }, @@ -67977,16 +68900,6 @@ }, "style": "form" }, - { - "name": "limit[promotionImages]", - "in": "query", - "description": "maximum number of related promotionImages returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -67997,13 +68910,24 @@ "type": "string", "enum": [ "inAppPurchaseV2", - "promotionImages", - "subscription" + "subscription", + "promotionImages" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[promotionImages]", + "in": "query", + "description": "maximum number of related promotionImages returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } ], "responses": { @@ -68077,7 +69001,7 @@ "tags": [ "Apps" ], - "operationId": "apps-reviewSubmissions-get_to_many_related", + "operationId": "apps_reviewSubmissions_getToManyRelated", "parameters": [ { "name": "filter[platform]", @@ -68121,23 +69045,24 @@ "explode": false }, { - "name": "fields[reviewSubmissionItems]", + "name": "fields[reviewSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissionItems", + "description": "the fields to include for returned resources of type reviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appEvent", - "appStoreVersion", - "appStoreVersionExperiment", - "appStoreVersionExperimentV2", - "removed", - "resolved", - "reviewSubmission", - "state" + "platform", + "submittedDate", + "state", + "submitted", + "canceled", + "app", + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" ] } }, @@ -68145,19 +69070,59 @@ "explode": false }, { - "name": "fields[actors]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type actors", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actorType", - "apiKeyId", - "userEmail", - "userFirstName", - "userLastName" + "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" ] } }, @@ -68165,37 +69130,23 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[reviewSubmissionItems]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type reviewSubmissionItems", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "state", + "resolved", + "removed", + "reviewSubmission", + "appStoreVersion", + "appCustomProductPageVersion", + "appStoreVersionExperiment", + "appStoreVersionExperimentV2", + "appEvent" ] } }, @@ -68203,57 +69154,38 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "alternativeDistributionPackage" ] } }, @@ -68261,24 +69193,19 @@ "explode": false }, { - "name": "fields[reviewSubmissions]", + "name": "fields[actors]", "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", + "description": "the fields to include for returned resources of type actors", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersionForReview", - "canceled", - "items", - "lastUpdatedByActor", - "platform", - "state", - "submitted", - "submittedByActor", - "submittedDate" + "actorType", + "userFirstName", + "userLastName", + "userEmail", + "apiKeyId" ] } }, @@ -68295,16 +69222,6 @@ }, "style": "form" }, - { - "name": "limit[items]", - "in": "query", - "description": "maximum number of related items returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -68315,15 +69232,25 @@ "type": "string", "enum": [ "app", - "appStoreVersionForReview", "items", - "lastUpdatedByActor", - "submittedByActor" + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[items]", + "in": "query", + "description": "maximum number of related items returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -68397,7 +69324,7 @@ "tags": [ "Apps" ], - "operationId": "apps-subscriptionGracePeriod-get_to_one_related", + "operationId": "apps_subscriptionGracePeriod_getToOneRelated", "parameters": [ { "name": "fields[subscriptionGracePeriods]", @@ -68408,10 +69335,10 @@ "items": { "type": "string", "enum": [ - "duration", "optIn", - "renewalType", - "sandboxOptIn" + "sandboxOptIn", + "duration", + "renewalType" ] } }, @@ -68490,7 +69417,7 @@ "tags": [ "Apps" ], - "operationId": "apps-subscriptionGroups-get_to_many_related", + "operationId": "apps_subscriptionGroups_getToManyRelated", "parameters": [ { "name": "filter[referenceName]", @@ -68548,31 +69475,18 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[subscriptionGroups]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "referenceName", + "app", + "subscriptions", + "subscriptionGroupLocalizations" ] } }, @@ -68580,18 +69494,33 @@ "explode": false }, { - "name": "fields[subscriptionGroups]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images" ] } }, @@ -68607,9 +69536,9 @@ "items": { "type": "string", "enum": [ + "name", "customAppName", "locale", - "name", "state", "subscriptionGroup" ] @@ -68628,6 +69557,23 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscriptions", + "subscriptionGroupLocalizations" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[subscriptions]", "in": "query", @@ -68647,23 +69593,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "subscriptionGroupLocalizations", - "subscriptions" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -68737,7 +69666,7 @@ "tags": [ "BetaAppLocalizations" ], - "operationId": "betaAppLocalizations-app-get_to_one_related", + "operationId": "betaAppLocalizations_app_getToOneRelated", "parameters": [ { "name": "fields[apps]", @@ -68748,49 +69677,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -68869,7 +69800,7 @@ "tags": [ "BetaAppReviewDetails" ], - "operationId": "betaAppReviewDetails-app-get_to_one_related", + "operationId": "betaAppReviewDetails_app_getToOneRelated", "parameters": [ { "name": "fields[apps]", @@ -68880,49 +69811,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -69001,7 +69934,7 @@ "tags": [ "BetaAppReviewSubmissions" ], - "operationId": "betaAppReviewSubmissions-build-get_to_one_related", + "operationId": "betaAppReviewSubmissions_build_getToOneRelated", "parameters": [ { "name": "fields[builds]", @@ -69012,30 +69945,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -69114,7 +70047,7 @@ "tags": [ "BetaBuildLocalizations" ], - "operationId": "betaBuildLocalizations-build-get_to_one_related", + "operationId": "betaBuildLocalizations_build_getToOneRelated", "parameters": [ { "name": "fields[builds]", @@ -69125,30 +70058,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -69227,7 +70160,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-app-get_to_one_related", + "operationId": "betaGroups_app_getToOneRelated", "parameters": [ { "name": "fields[apps]", @@ -69238,49 +70171,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -69359,7 +70294,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-betaTesters-get_to_many_relationship", + "operationId": "betaGroups_betaTesters_getToManyRelationship", "parameters": [ { "name": "limit", @@ -69429,7 +70364,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-betaTesters-create_to_many_relationship", + "operationId": "betaGroups_betaTesters_createToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -69501,7 +70436,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-betaTesters-delete_to_many_relationship", + "operationId": "betaGroups_betaTesters_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -69587,7 +70522,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-betaTesters-get_to_many_related", + "operationId": "betaGroups_betaTesters_getToManyRelated", "parameters": [ { "name": "fields[betaTesters]", @@ -69598,14 +70533,14 @@ "items": { "type": "string", "enum": [ - "apps", - "betaGroups", - "builds", - "email", "firstName", - "inviteType", "lastName", - "state" + "email", + "inviteType", + "state", + "apps", + "betaGroups", + "builds" ] } }, @@ -69694,7 +70629,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-builds-get_to_many_relationship", + "operationId": "betaGroups_builds_getToManyRelationship", "parameters": [ { "name": "limit", @@ -69764,7 +70699,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-builds-create_to_many_relationship", + "operationId": "betaGroups_builds_createToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -69836,7 +70771,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-builds-delete_to_many_relationship", + "operationId": "betaGroups_builds_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -69922,7 +70857,7 @@ "tags": [ "BetaGroups" ], - "operationId": "betaGroups-builds-get_to_many_related", + "operationId": "betaGroups_builds_getToManyRelated", "parameters": [ { "name": "fields[builds]", @@ -69933,30 +70868,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -70045,7 +70980,7 @@ "tags": [ "BetaLicenseAgreements" ], - "operationId": "betaLicenseAgreements-app-get_to_one_related", + "operationId": "betaLicenseAgreements_app_getToOneRelated", "parameters": [ { "name": "fields[apps]", @@ -70056,49 +70991,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -70177,7 +71114,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-apps-get_to_many_relationship", + "operationId": "betaTesters_apps_getToManyRelationship", "parameters": [ { "name": "limit", @@ -70247,7 +71184,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-apps-delete_to_many_relationship", + "operationId": "betaTesters_apps_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -70336,7 +71273,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-apps-get_to_many_related", + "operationId": "betaTesters_apps_getToManyRelated", "parameters": [ { "name": "fields[apps]", @@ -70347,49 +71284,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -70478,7 +71417,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-betaGroups-get_to_many_relationship", + "operationId": "betaTesters_betaGroups_getToManyRelationship", "parameters": [ { "name": "limit", @@ -70548,7 +71487,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-betaGroups-create_to_many_relationship", + "operationId": "betaTesters_betaGroups_createToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -70620,7 +71559,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-betaGroups-delete_to_many_relationship", + "operationId": "betaTesters_betaGroups_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -70706,7 +71645,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-betaGroups-get_to_many_related", + "operationId": "betaTesters_betaGroups_getToManyRelated", "parameters": [ { "name": "fields[betaGroups]", @@ -70717,20 +71656,20 @@ "items": { "type": "string", "enum": [ - "app", - "betaTesters", - "builds", + "name", "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", "isInternalGroup", - "name", - "publicLink", + "hasAccessToAllBuilds", "publicLinkEnabled", "publicLinkId", + "publicLinkLimitEnabled", "publicLinkLimit", - "publicLinkLimitEnabled" + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "app", + "builds", + "betaTesters" ] } }, @@ -70819,7 +71758,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-builds-get_to_many_relationship", + "operationId": "betaTesters_builds_getToManyRelationship", "parameters": [ { "name": "limit", @@ -70889,7 +71828,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-builds-create_to_many_relationship", + "operationId": "betaTesters_builds_createToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -70961,7 +71900,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-builds-delete_to_many_relationship", + "operationId": "betaTesters_builds_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -71047,7 +71986,7 @@ "tags": [ "BetaTesters" ], - "operationId": "betaTesters-builds-get_to_many_related", + "operationId": "betaTesters_builds_getToManyRelated", "parameters": [ { "name": "fields[builds]", @@ -71058,30 +71997,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -71170,7 +72109,7 @@ "tags": [ "BuildBetaDetails" ], - "operationId": "buildBetaDetails-build-get_to_one_related", + "operationId": "buildBetaDetails_build_getToOneRelated", "parameters": [ { "name": "fields[builds]", @@ -71181,30 +72120,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -71283,7 +72222,7 @@ "tags": [ "BuildBundles" ], - "operationId": "buildBundles-appClipDomainCacheStatus-get_to_one_related", + "operationId": "buildBundles_appClipDomainCacheStatus_getToOneRelated", "parameters": [ { "name": "fields[appClipDomainStatuses]", @@ -71374,7 +72313,7 @@ "tags": [ "BuildBundles" ], - "operationId": "buildBundles-appClipDomainDebugStatus-get_to_one_related", + "operationId": "buildBundles_appClipDomainDebugStatus_getToOneRelated", "parameters": [ { "name": "fields[appClipDomainStatuses]", @@ -71465,7 +72404,7 @@ "tags": [ "BuildBundles" ], - "operationId": "buildBundles-betaAppClipInvocations-get_to_many_related", + "operationId": "buildBundles_betaAppClipInvocations_getToManyRelated", "parameters": [ { "name": "fields[betaAppClipInvocations]", @@ -71476,9 +72415,9 @@ "items": { "type": "string", "enum": [ - "betaAppClipInvocationLocalizations", + "url", "buildBundle", - "url" + "betaAppClipInvocationLocalizations" ] } }, @@ -71494,9 +72433,9 @@ "items": { "type": "string", "enum": [ - "betaAppClipInvocation", + "title", "locale", - "title" + "betaAppClipInvocation" ] } }, @@ -71513,16 +72452,6 @@ }, "style": "form" }, - { - "name": "limit[betaAppClipInvocationLocalizations]", - "in": "query", - "description": "maximum number of related betaAppClipInvocationLocalizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -71538,6 +72467,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[betaAppClipInvocationLocalizations]", + "in": "query", + "description": "maximum number of related betaAppClipInvocationLocalizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -71611,7 +72550,7 @@ "tags": [ "BuildBundles" ], - "operationId": "buildBundles-buildBundleFileSizes-get_to_many_related", + "operationId": "buildBundles_buildBundleFileSizes_getToManyRelated", "parameters": [ { "name": "fields[buildBundleFileSizes]", @@ -71623,9 +72562,9 @@ "type": "string", "enum": [ "deviceModel", + "osVersion", "downloadBytes", - "installBytes", - "osVersion" + "installBytes" ] } }, @@ -71714,7 +72653,7 @@ "tags": [ "Builds" ], - "operationId": "builds-app-get_to_one_related", + "operationId": "builds_app_getToOneRelated", "parameters": [ { "name": "fields[apps]", @@ -71725,49 +72664,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -71846,7 +72787,7 @@ "tags": [ "Builds" ], - "operationId": "builds-appEncryptionDeclaration-get_to_one_relationship", + "operationId": "builds_appEncryptionDeclaration_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -71905,7 +72846,7 @@ "tags": [ "Builds" ], - "operationId": "builds-appEncryptionDeclaration-update_to_one_relationship", + "operationId": "builds_appEncryptionDeclaration_updateToOneRelationship", "requestBody": { "description": "Related linkage", "content": { @@ -71991,7 +72932,7 @@ "tags": [ "Builds" ], - "operationId": "builds-appEncryptionDeclaration-get_to_one_related", + "operationId": "builds_appEncryptionDeclaration_getToOneRelated", "parameters": [ { "name": "fields[appEncryptionDeclarations]", @@ -72002,23 +72943,23 @@ "items": { "type": "string", "enum": [ - "app", "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", "createdDate", - "documentName", - "documentType", - "documentUrl", + "usesEncryption", "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", "platform", "uploadedDate", - "usesEncryption" + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", + "app", + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -72097,8 +73038,107 @@ "tags": [ "Builds" ], - "operationId": "builds-appStoreVersion-get_to_one_related", + "operationId": "builds_appStoreVersion_getToOneRelated", "parameters": [ + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "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" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[ageRatingDeclarations]", "in": "query", @@ -72108,24 +73148,150 @@ "items": { "type": "string", "enum": [ - "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", - "gambling", "gamblingAndContests", + "gambling", "gamblingSimulated", - "horrorOrFearThemes", "kidsAgeBand", - "matureOrSuggestiveThemes", + "lootBox", "medicalOrTreatmentInformation", "profanityOrCrudeHumor", - "seventeenPlus", "sexualContentGraphicAndNudity", "sexualContentOrNudity", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", "unrestrictedWebAccess", "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", "violenceRealistic", - "violenceRealisticProlongedGraphicOrSadistic" + "ageRatingOverride", + "koreaAgeRatingOverride", + "seventeenPlus" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionPhasedReleases]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "phasedReleaseState", + "startDate", + "totalPauseDuration", + "currentDayNumber", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAppVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAppVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[routingAppCoverages]", + "in": "query", + "description": "the fields to include for returned resources of type routingAppCoverages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appStoreVersion" ] } }, @@ -72141,16 +73307,16 @@ "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", - "appStoreVersion", - "contactEmail", "contactFirstName", "contactLastName", "contactPhone", + "contactEmail", "demoAccountName", "demoAccountPassword", "demoAccountRequired", - "notes" + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -72158,24 +73324,15 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appStoreVersionSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "appStoreVersion" ] } }, @@ -72183,27 +73340,20 @@ "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -72211,15 +73361,27 @@ "explode": false }, { - "name": "fields[appStoreVersionSubmissions]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion" + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "started", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" ] } }, @@ -72244,197 +73406,27 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", + "ageRatingDeclaration", "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[routingAppCoverages]", - "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion", - "assetDeliveryState", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appClipDefaultExperiences]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionPhasedReleases]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion", - "currentDayNumber", - "phasedReleaseState", - "startDate", - "totalPauseDuration" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "alternativeDistributionPackage" ] } }, @@ -72471,33 +73463,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "routingAppCoverage" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -72571,7 +73536,7 @@ "tags": [ "Builds" ], - "operationId": "builds-betaAppReviewSubmission-get_to_one_related", + "operationId": "builds_betaAppReviewSubmission_getToOneRelated", "parameters": [ { "name": "fields[betaAppReviewSubmissions]", @@ -72583,8 +73548,8 @@ "type": "string", "enum": [ "betaReviewState", - "build", - "submittedDate" + "submittedDate", + "build" ] } }, @@ -72663,7 +73628,7 @@ "tags": [ "Builds" ], - "operationId": "builds-betaBuildLocalizations-get_to_many_related", + "operationId": "builds_betaBuildLocalizations_getToManyRelated", "parameters": [ { "name": "fields[betaBuildLocalizations]", @@ -72674,9 +73639,9 @@ "items": { "type": "string", "enum": [ - "build", + "whatsNew", "locale", - "whatsNew" + "build" ] } }, @@ -72765,7 +73730,7 @@ "tags": [ "Builds" ], - "operationId": "builds-betaGroups-create_to_many_relationship", + "operationId": "builds_betaGroups_createToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -72837,7 +73802,7 @@ "tags": [ "Builds" ], - "operationId": "builds-betaGroups-delete_to_many_relationship", + "operationId": "builds_betaGroups_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -72923,7 +73888,7 @@ "tags": [ "Builds" ], - "operationId": "builds-buildBetaDetail-get_to_one_related", + "operationId": "builds_buildBetaDetail_getToOneRelated", "parameters": [ { "name": "fields[buildBetaDetails]", @@ -72935,9 +73900,9 @@ "type": "string", "enum": [ "autoNotifyEnabled", - "build", + "internalBuildState", "externalBuildState", - "internalBuildState" + "build" ] } }, @@ -72953,30 +73918,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -73071,7 +74036,7 @@ "tags": [ "Builds" ], - "operationId": "builds-diagnosticSignatures-get_to_many_related", + "operationId": "builds_diagnosticSignatures_getToManyRelated", "parameters": [ { "name": "filter[diagnosticType]", @@ -73101,10 +74066,10 @@ "type": "string", "enum": [ "diagnosticType", - "insight", - "logs", "signature", - "weight" + "weight", + "insight", + "logs" ] } }, @@ -73193,7 +74158,7 @@ "tags": [ "Builds" ], - "operationId": "builds-icons-get_to_many_related", + "operationId": "builds_icons_getToManyRelated", "parameters": [ { "name": "fields[buildIcons]", @@ -73204,9 +74169,9 @@ "items": { "type": "string", "enum": [ + "name", "iconAsset", - "iconType", - "name" + "iconType" ] } }, @@ -73295,7 +74260,7 @@ "tags": [ "Builds" ], - "operationId": "builds-individualTesters-get_to_many_relationship", + "operationId": "builds_individualTesters_getToManyRelationship", "parameters": [ { "name": "limit", @@ -73365,7 +74330,7 @@ "tags": [ "Builds" ], - "operationId": "builds-individualTesters-create_to_many_relationship", + "operationId": "builds_individualTesters_createToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -73437,7 +74402,7 @@ "tags": [ "Builds" ], - "operationId": "builds-individualTesters-delete_to_many_relationship", + "operationId": "builds_individualTesters_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -73523,7 +74488,7 @@ "tags": [ "Builds" ], - "operationId": "builds-individualTesters-get_to_many_related", + "operationId": "builds_individualTesters_getToManyRelated", "parameters": [ { "name": "fields[betaTesters]", @@ -73534,14 +74499,14 @@ "items": { "type": "string", "enum": [ - "apps", - "betaGroups", - "builds", - "email", "firstName", - "inviteType", "lastName", - "state" + "email", + "inviteType", + "state", + "apps", + "betaGroups", + "builds" ] } }, @@ -73630,16 +74595,19 @@ "tags": [ "Builds" ], - "operationId": "builds-perfPowerMetrics-get_to_many_related", + "operationId": "builds_perfPowerMetrics_getToManyRelated", "parameters": [ { - "name": "filter[deviceType]", + "name": "filter[platform]", "in": "query", - "description": "filter by attribute 'deviceType'", + "description": "filter by attribute 'platform'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "IOS" + ] } }, "style": "form", @@ -73668,16 +74636,13 @@ "explode": false }, { - "name": "filter[platform]", + "name": "filter[deviceType]", "in": "query", - "description": "filter by attribute 'platform'", + "description": "filter by attribute 'deviceType'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "IOS" - ] + "type": "string" } }, "style": "form", @@ -73755,7 +74720,7 @@ "tags": [ "Builds" ], - "operationId": "builds-preReleaseVersion-get_to_one_related", + "operationId": "builds_preReleaseVersion_getToOneRelated", "parameters": [ { "name": "fields[preReleaseVersions]", @@ -73766,10 +74731,10 @@ "items": { "type": "string", "enum": [ - "app", - "builds", + "version", "platform", - "version" + "builds", + "app" ] } }, @@ -73848,7 +74813,7 @@ "tags": [ "BundleIds" ], - "operationId": "bundleIds-app-get_to_one_related", + "operationId": "bundleIds_app_getToOneRelated", "parameters": [ { "name": "fields[apps]", @@ -73859,49 +74824,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -73980,7 +74947,7 @@ "tags": [ "BundleIds" ], - "operationId": "bundleIds-bundleIdCapabilities-get_to_many_related", + "operationId": "bundleIds_bundleIdCapabilities_getToManyRelated", "parameters": [ { "name": "fields[bundleIdCapabilities]", @@ -73991,9 +74958,9 @@ "items": { "type": "string", "enum": [ - "bundleId", "capabilityType", - "settings" + "settings", + "bundleId" ] } }, @@ -74082,7 +75049,7 @@ "tags": [ "BundleIds" ], - "operationId": "bundleIds-profiles-get_to_many_related", + "operationId": "bundleIds_profiles_getToManyRelated", "parameters": [ { "name": "fields[profiles]", @@ -74093,17 +75060,17 @@ "items": { "type": "string", "enum": [ - "bundleId", - "certificates", - "createdDate", - "devices", - "expirationDate", "name", "platform", - "profileContent", - "profileState", "profileType", - "uuid" + "profileState", + "profileContent", + "uuid", + "createdDate", + "expirationDate", + "bundleId", + "devices", + "certificates" ] } }, @@ -74192,7 +75159,7 @@ "tags": [ "CiBuildActions" ], - "operationId": "ciBuildActions-artifacts-get_to_many_related", + "operationId": "ciBuildActions_artifacts_getToManyRelated", "parameters": [ { "name": "fields[ciArtifacts]", @@ -74203,10 +75170,10 @@ "items": { "type": "string", "enum": [ - "downloadUrl", + "fileType", "fileName", "fileSize", - "fileType" + "downloadUrl" ] } }, @@ -74295,22 +75262,38 @@ "tags": [ "CiBuildActions" ], - "operationId": "ciBuildActions-buildRun-get_to_one_related", + "operationId": "ciBuildActions_buildRun_getToOneRelated", "parameters": [ { - "name": "fields[scmGitReferences]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "clean", + "number", + "createdDate", + "startedDate", + "finishedDate", + "sourceCommit", + "destinationCommit", + "isPullRequestBuild", + "issueCounts", + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", + "buildRun", + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "actions", + "pullRequest" ] } }, @@ -74318,35 +75301,38 @@ "explode": false }, { - "name": "fields[ciBuildRuns]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", - "finishedDate", - "isPullRequestBuild", - "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -74362,26 +75348,26 @@ "items": { "type": "string", "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", + "name", "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", "isEnabled", "isLockedForEditing", + "clean", + "containerFilePath", "lastModifiedDate", - "macOsVersion", - "manualBranchStartCondition", - "manualPullRequestStartCondition", - "manualTagStartCondition", - "name", "product", - "pullRequestStartCondition", "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" + "xcodeVersion", + "macOsVersion", + "buildRuns" ] } }, @@ -74389,26 +75375,23 @@ "explode": false }, { - "name": "fields[scmPullRequests]", + "name": "fields[ciProducts]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "name", + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -74416,23 +75399,19 @@ "explode": false }, { - "name": "fields[ciProducts]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", "name", - "primaryRepositories", - "productType", - "workflows" + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -74440,54 +75419,32 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[scmPullRequests]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type scmPullRequests", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", + "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", + "isClosed", + "isCrossRepository", + "repository" ] } }, "style": "form", "explode": false }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -74498,16 +75455,26 @@ "type": "string", "enum": [ "builds", - "destinationBranch", + "workflow", "product", - "pullRequest", "sourceBranchOrTag", - "workflow" + "destinationBranch", + "pullRequest" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -74581,7 +75548,7 @@ "tags": [ "CiBuildActions" ], - "operationId": "ciBuildActions-issues-get_to_many_related", + "operationId": "ciBuildActions_issues_getToManyRelated", "parameters": [ { "name": "fields[ciIssues]", @@ -74592,10 +75559,10 @@ "items": { "type": "string", "enum": [ - "category", - "fileSource", "issueType", - "message" + "message", + "fileSource", + "category" ] } }, @@ -74684,7 +75651,7 @@ "tags": [ "CiBuildActions" ], - "operationId": "ciBuildActions-testResults-get_to_many_related", + "operationId": "ciBuildActions_testResults_getToManyRelated", "parameters": [ { "name": "fields[ciTestResults]", @@ -74696,11 +75663,11 @@ "type": "string", "enum": [ "className", - "destinationTestResults", + "name", + "status", "fileSource", "message", - "name", - "status" + "destinationTestResults" ] } }, @@ -74789,38 +75756,29 @@ "tags": [ "CiBuildRuns" ], - "operationId": "ciBuildRuns-actions-get_to_many_related", + "operationId": "ciBuildRuns_actions_getToManyRelated", "parameters": [ { - "name": "fields[ciBuildRuns]", + "name": "fields[ciBuildActions]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "the fields to include for returned resources of type ciBuildActions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", + "name", + "actionType", + "startedDate", "finishedDate", - "isPullRequestBuild", "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" + "executionProgress", + "completionStatus", + "isRequiredToPass", + "buildRun", + "artifacts", + "issues", + "testResults" ] } }, @@ -74828,26 +75786,35 @@ "explode": false }, { - "name": "fields[ciBuildActions]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildActions", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actionType", - "artifacts", - "buildRun", - "completionStatus", - "executionProgress", + "clean", + "number", + "createdDate", + "startedDate", "finishedDate", - "isRequiredToPass", + "sourceCommit", + "destinationCommit", + "isPullRequestBuild", "issueCounts", - "issues", - "name", - "startedDate", - "testResults" + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", + "buildRun", + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "actions", + "pullRequest" ] } }, @@ -74952,70 +75919,66 @@ "tags": [ "CiBuildRuns" ], - "operationId": "ciBuildRuns-builds-get_to_many_related", + "operationId": "ciBuildRuns_builds_getToManyRelated", "parameters": [ { - "name": "filter[betaAppReviewSubmission.betaReviewState]", + "name": "filter[version]", "in": "query", - "description": "filter by attribute 'betaAppReviewSubmission.betaReviewState'", + "description": "filter by attribute 'version'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "WAITING_FOR_REVIEW", - "IN_REVIEW", - "REJECTED", - "APPROVED" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "filter[buildAudienceType]", + "name": "filter[expired]", "in": "query", - "description": "filter by attribute 'buildAudienceType'", + "description": "filter by attribute 'expired'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "INTERNAL_ONLY", - "APP_STORE_ELIGIBLE" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "filter[expired]", + "name": "filter[processingState]", "in": "query", - "description": "filter by attribute 'expired'", + "description": "filter by attribute 'processingState'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "PROCESSING", + "FAILED", + "INVALID", + "VALID" + ] } }, "style": "form", "explode": false }, { - "name": "filter[preReleaseVersion.platform]", + "name": "filter[betaAppReviewSubmission.betaReviewState]", "in": "query", - "description": "filter by attribute 'preReleaseVersion.platform'", + "description": "filter by attribute 'betaAppReviewSubmission.betaReviewState'", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "IOS", - "MAC_OS", - "TV_OS", - "VISION_OS" + "WAITING_FOR_REVIEW", + "IN_REVIEW", + "REJECTED", + "APPROVED" ] } }, @@ -75023,9 +75986,9 @@ "explode": false }, { - "name": "filter[preReleaseVersion.version]", + "name": "filter[usesNonExemptEncryption]", "in": "query", - "description": "filter by attribute 'preReleaseVersion.version'", + "description": "filter by attribute 'usesNonExemptEncryption'", "schema": { "type": "array", "items": { @@ -75036,54 +75999,58 @@ "explode": false }, { - "name": "filter[processingState]", + "name": "filter[preReleaseVersion.version]", "in": "query", - "description": "filter by attribute 'processingState'", + "description": "filter by attribute 'preReleaseVersion.version'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "PROCESSING", - "FAILED", - "INVALID", - "VALID" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "filter[usesNonExemptEncryption]", + "name": "filter[preReleaseVersion.platform]", "in": "query", - "description": "filter by attribute 'usesNonExemptEncryption'", + "description": "filter by attribute 'preReleaseVersion.platform'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "IOS", + "MAC_OS", + "TV_OS", + "VISION_OS" + ] } }, "style": "form", "explode": false }, { - "name": "filter[version]", + "name": "filter[buildAudienceType]", "in": "query", - "description": "filter by attribute 'version'", + "description": "filter by attribute 'buildAudienceType'", "schema": { "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "INTERNAL_ONLY", + "APP_STORE_ELIGIBLE" + ] } }, "style": "form", "explode": false }, { - "name": "filter[app]", + "name": "filter[preReleaseVersion]", "in": "query", - "description": "filter by id(s) of related 'app'", + "description": "filter by id(s) of related 'preReleaseVersion'", "schema": { "type": "array", "items": { @@ -75094,9 +76061,9 @@ "explode": false }, { - "name": "filter[appStoreVersion]", + "name": "filter[app]", "in": "query", - "description": "filter by id(s) of related 'appStoreVersion'", + "description": "filter by id(s) of related 'app'", "schema": { "type": "array", "items": { @@ -75120,9 +76087,9 @@ "explode": false }, { - "name": "filter[preReleaseVersion]", + "name": "filter[appStoreVersion]", "in": "query", - "description": "filter by id(s) of related 'preReleaseVersion'", + "description": "filter by id(s) of related 'appStoreVersion'", "schema": { "type": "array", "items": { @@ -75154,12 +76121,12 @@ "items": { "type": "string", "enum": [ - "preReleaseVersion", - "-preReleaseVersion", + "version", + "-version", "uploadedDate", "-uploadedDate", - "version", - "-version" + "preReleaseVersion", + "-preReleaseVersion" ] } }, @@ -75167,35 +76134,38 @@ "explode": false }, { - "name": "fields[buildBundles]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type buildBundles", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appClipDomainCacheStatus", - "appClipDomainDebugStatus", - "betaAppClipInvocations", - "buildBundleFileSizes", - "bundleId", - "bundleType", - "dSYMUrl", - "deviceProtocols", - "entitlements", - "fileName", - "hasOnDemandResources", - "hasPrerenderedIcon", - "hasSirikit", - "includesSymbols", - "isIosBuildMacAppStoreCompatible", - "locales", - "platformBuild", - "requiredCapabilities", - "sdkBuild", - "supportedArchitectures", - "usesLocationServices" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -75203,17 +76173,18 @@ "explode": false }, { - "name": "fields[buildIcons]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type buildIcons", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "iconAsset", - "iconType", - "name" + "version", + "platform", + "builds", + "app" ] } }, @@ -75221,17 +76192,22 @@ "explode": false }, { - "name": "fields[betaAppReviewSubmissions]", + "name": "fields[betaTesters]", "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewSubmissions", + "description": "the fields to include for returned resources of type betaTesters", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "betaReviewState", - "build", - "submittedDate" + "firstName", + "lastName", + "email", + "inviteType", + "state", + "apps", + "betaGroups", + "builds" ] } }, @@ -75239,18 +76215,28 @@ "explode": false }, { - "name": "fields[buildBetaDetails]", + "name": "fields[betaGroups]", "in": "query", - "description": "the fields to include for returned resources of type buildBetaDetails", + "description": "the fields to include for returned resources of type betaGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "autoNotifyEnabled", - "build", - "externalBuildState", - "internalBuildState" + "name", + "createdDate", + "isInternalGroup", + "hasAccessToAllBuilds", + "publicLinkEnabled", + "publicLinkId", + "publicLinkLimitEnabled", + "publicLinkLimit", + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "app", + "builds", + "betaTesters" ] } }, @@ -75258,22 +76244,17 @@ "explode": false }, { - "name": "fields[betaTesters]", + "name": "fields[betaBuildLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type betaTesters", + "description": "the fields to include for returned resources of type betaBuildLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "apps", - "betaGroups", - "builds", - "email", - "firstName", - "inviteType", - "lastName", - "state" + "whatsNew", + "locale", + "build" ] } }, @@ -75281,18 +76262,31 @@ "explode": false }, { - "name": "fields[preReleaseVersions]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", "app", "builds", - "platform", - "version" + "appEncryptionDeclarationDocument" ] } }, @@ -75300,17 +76294,17 @@ "explode": false }, { - "name": "fields[betaBuildLocalizations]", + "name": "fields[betaAppReviewSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type betaBuildLocalizations", + "description": "the fields to include for returned resources of type betaAppReviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "build", - "locale", - "whatsNew" + "betaReviewState", + "submittedDate", + "build" ] } }, @@ -75318,37 +76312,59 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", + "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", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -75356,31 +76372,18 @@ "explode": false }, { - "name": "fields[appEncryptionDeclarations]", + "name": "fields[buildBetaDetails]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "description": "the fields to include for returned resources of type buildBetaDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "createdDate", - "documentName", - "documentType", - "documentUrl", - "exempt", - "platform", - "uploadedDate", - "usesEncryption" + "autoNotifyEnabled", + "internalBuildState", + "externalBuildState", + "build" ] } }, @@ -75388,57 +76391,38 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "alternativeDistributionPackage" ] } }, @@ -75446,38 +76430,17 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[buildIcons]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type buildIcons", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "name", + "iconAsset", + "iconType" ] } }, @@ -75485,28 +76448,35 @@ "explode": false }, { - "name": "fields[betaGroups]", + "name": "fields[buildBundles]", "in": "query", - "description": "the fields to include for returned resources of type betaGroups", + "description": "the fields to include for returned resources of type buildBundles", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "betaTesters", - "builds", - "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", - "isInternalGroup", - "name", - "publicLink", - "publicLinkEnabled", - "publicLinkId", - "publicLinkLimit", - "publicLinkLimitEnabled" + "bundleId", + "bundleType", + "sdkBuild", + "platformBuild", + "fileName", + "hasSirikit", + "hasOnDemandResources", + "hasPrerenderedIcon", + "usesLocationServices", + "isIosBuildMacAppStoreCompatible", + "includesSymbols", + "dSYMUrl", + "supportedArchitectures", + "requiredCapabilities", + "deviceProtocols", + "locales", + "entitlements", + "appClipDomainCacheStatus", + "appClipDomainDebugStatus", + "betaAppClipInvocations", + "buildBundleFileSizes" ] } }, @@ -75523,6 +76493,32 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[individualTesters]", "in": "query", @@ -75572,32 +76568,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildBetaDetail", - "buildBundles", - "icons", - "individualTesters", - "preReleaseVersion" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -75671,7 +76641,7 @@ "tags": [ "CiMacOsVersions" ], - "operationId": "ciMacOsVersions-xcodeVersions-get_to_many_related", + "operationId": "ciMacOsVersions_xcodeVersions_getToManyRelated", "parameters": [ { "name": "fields[ciXcodeVersions]", @@ -75682,10 +76652,10 @@ "items": { "type": "string", "enum": [ - "macOsVersions", + "version", "name", "testDestinations", - "version" + "macOsVersions" ] } }, @@ -75701,8 +76671,8 @@ "items": { "type": "string", "enum": [ - "name", "version", + "name", "xcodeVersions" ] } @@ -75720,16 +76690,6 @@ }, "style": "form" }, - { - "name": "limit[macOsVersions]", - "in": "query", - "description": "maximum number of related macOsVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -75745,6 +76705,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[macOsVersions]", + "in": "query", + "description": "maximum number of related macOsVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -75818,7 +76788,7 @@ "tags": [ "CiProducts" ], - "operationId": "ciProducts-additionalRepositories-get_to_many_related", + "operationId": "ciProducts_additionalRepositories_getToManyRelated", "parameters": [ { "name": "filter[id]", @@ -75834,19 +76804,23 @@ "explode": false }, { - "name": "fields[scmGitReferences]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -75862,9 +76836,9 @@ "items": { "type": "string", "enum": [ - "repositories", "scmProviderType", - "url" + "url", + "repositories" ] } }, @@ -75872,23 +76846,19 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -75914,8 +76884,8 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "scmProvider" + "scmProvider", + "defaultBranch" ] } }, @@ -75994,26 +76964,62 @@ "tags": [ "CiProducts" ], - "operationId": "ciProducts-app-get_to_one_related", + "operationId": "ciProducts_app_getToOneRelated", "parameters": [ { - "name": "fields[betaAppReviewDetails]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type betaAppReviewDetails", + "description": "the fields to include for returned resources of type apps", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" + "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" ] } }, @@ -76021,27 +77027,31 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[appEncryptionDeclarations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type appEncryptionDeclarations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", + "appDescription", + "createdDate", + "usesEncryption", + "exempt", + "containsProprietaryCryptography", + "containsThirdPartyCryptography", + "availableOnFrenchStore", + "platform", + "uploadedDate", + "documentUrl", + "documentName", + "documentType", + "appEncryptionDeclarationState", + "codeValue", "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "builds", + "appEncryptionDeclarationDocument" ] } }, @@ -76057,40 +77067,15 @@ "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", "name", - "primaryRepositories", + "createdDate", "productType", - "workflows" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[reviewSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type reviewSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ "app", - "appStoreVersionForReview", - "canceled", - "items", - "lastUpdatedByActor", - "platform", - "state", - "submitted", - "submittedByActor", - "submittedDate" + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -76106,20 +77091,20 @@ "items": { "type": "string", "enum": [ - "app", - "betaTesters", - "builds", + "name", "createdDate", - "feedbackEnabled", - "hasAccessToAllBuilds", - "iosBuildsAvailableForAppleSiliconMac", "isInternalGroup", - "name", - "publicLink", + "hasAccessToAllBuilds", "publicLinkEnabled", "publicLinkId", + "publicLinkLimitEnabled", "publicLinkLimit", - "publicLinkLimitEnabled" + "publicLink", + "feedbackEnabled", + "iosBuildsAvailableForAppleSiliconMac", + "app", + "builds", + "betaTesters" ] } }, @@ -76127,21 +77112,38 @@ "explode": false }, { - "name": "fields[promotedPurchases]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -76149,57 +77151,18 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[preReleaseVersions]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type preReleaseVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", + "version", + "platform", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "app" ] } }, @@ -76207,26 +77170,21 @@ "explode": false }, { - "name": "fields[appEvents]", + "name": "fields[betaAppLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type appEvents", + "description": "the fields to include for returned resources of type betaAppLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "archivedTerritorySchedules", - "badge", - "deepLink", - "eventState", - "localizations", - "primaryLocale", - "priority", - "purchaseRequirement", - "purpose", - "referenceName", - "territorySchedules" + "feedbackEmail", + "marketingUrl", + "privacyPolicyUrl", + "tvOsPrivacyPolicy", + "description", + "locale", + "app" ] } }, @@ -76242,30 +77200,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -76290,18 +77248,23 @@ "explode": false }, { - "name": "fields[appClips]", + "name": "fields[betaAppReviewDetails]", "in": "query", - "description": "the fields to include for returned resources of type appClips", + "description": "the fields to include for returned resources of type betaAppReviewDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appClipAdvancedExperiences", - "appClipDefaultExperiences", - "bundleId" + "contactFirstName", + "contactLastName", + "contactPhone", + "contactEmail", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes", + "app" ] } }, @@ -76309,21 +77272,31 @@ "explode": false }, { - "name": "fields[betaAppLocalizations]", + "name": "fields[appInfos]", "in": "query", - "description": "the fields to include for returned resources of type betaAppLocalizations", + "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", - "description", - "feedbackEmail", - "locale", - "marketingUrl", - "privacyPolicyUrl", - "tvOsPrivacyPolicy" + "ageRatingDeclaration", + "appInfoLocalizations", + "primaryCategory", + "primarySubcategoryOne", + "primarySubcategoryTwo", + "secondaryCategory", + "secondarySubcategoryOne", + "secondarySubcategoryTwo" ] } }, @@ -76331,29 +77304,18 @@ "explode": false }, { - "name": "fields[appInfos]", + "name": "fields[appClips]", "in": "query", - "description": "the fields to include for returned resources of type appInfos", + "description": "the fields to include for returned resources of type appClips", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", + "bundleId", "app", - "appInfoLocalizations", - "appStoreAgeRating", - "appStoreState", - "brazilAgeRating", - "brazilAgeRatingV2", - "kidsAgeBand", - "primaryCategory", - "primarySubcategoryOne", - "primarySubcategoryTwo", - "secondaryCategory", - "secondarySubcategoryOne", - "secondarySubcategoryTwo", - "state" + "appClipDefaultExperiences", + "appClipAdvancedExperiences" ] } }, @@ -76361,18 +77323,35 @@ "explode": false }, { - "name": "fields[preReleaseVersions]", + "name": "fields[endUserLicenseAgreements]", "in": "query", - "description": "the fields to include for returned resources of type preReleaseVersions", + "description": "the fields to include for returned resources of type endUserLicenseAgreements", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "agreementText", "app", - "builds", - "platform", - "version" + "territories" + ] + } + }, + "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" ] } }, @@ -76388,23 +77367,24 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", + "referenceName", + "productId", + "inAppPurchaseType", + "state", "apps", - "content", - "contentHosting", + "name", + "reviewNote", "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", + "contentHosting", + "app", "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", "pricePoints", - "productId", + "content", + "appStoreReviewScreenshot", "promotedPurchase", - "referenceName", - "reviewNote", - "state" + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -76420,10 +77400,10 @@ "items": { "type": "string", "enum": [ - "app", "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" + "app", + "subscriptions", + "subscriptionGroupLocalizations" ] } }, @@ -76431,17 +77411,19 @@ "explode": false }, { - "name": "fields[appPreOrders]", + "name": "fields[gameCenterEnabledVersions]", "in": "query", - "description": "the fields to include for returned resources of type appPreOrders", + "description": "the fields to include for returned resources of type gameCenterEnabledVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appReleaseDate", - "preOrderAvailableDate" + "platform", + "versionString", + "iconAsset", + "compatibleVersions", + "app" ] } }, @@ -76449,19 +77431,21 @@ "explode": false }, { - "name": "fields[gameCenterEnabledVersions]", + "name": "fields[appCustomProductPages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterEnabledVersions", + "description": "the fields to include for returned resources of type appCustomProductPages", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "name", + "url", + "visible", "app", - "compatibleVersions", - "iconAsset", - "platform", - "versionString" + "appCustomProductPageVersions", + "appStoreVersionTemplate", + "customProductPageTemplate" ] } }, @@ -76469,26 +77453,21 @@ "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", + "visibleForAllUsers", + "enabled", "state", - "trafficProportion" + "app", + "inAppPurchaseV2", + "subscription", + "promotionImages" ] } }, @@ -76496,18 +77475,26 @@ "explode": false }, { - "name": "fields[subscriptionGracePeriods]", + "name": "fields[appEvents]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGracePeriods", + "description": "the fields to include for returned resources of type appEvents", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "optIn", - "renewalType", - "sandboxOptIn" + "referenceName", + "badge", + "eventState", + "deepLink", + "purchaseRequirement", + "primaryLocale", + "priority", + "purpose", + "territorySchedules", + "archivedTerritorySchedules", + "app", + "localizations" ] } }, @@ -76515,17 +77502,24 @@ "explode": false }, { - "name": "fields[endUserLicenseAgreements]", + "name": "fields[reviewSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type endUserLicenseAgreements", + "description": "the fields to include for returned resources of type reviewSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "agreementText", + "platform", + "submittedDate", + "state", + "submitted", + "canceled", "app", - "territories" + "items", + "appStoreVersionForReview", + "submittedByActor", + "lastUpdatedByActor" ] } }, @@ -76533,37 +77527,18 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[subscriptionGracePeriods]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type subscriptionGracePeriods", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "optIn", + "sandboxOptIn", + "duration", + "renewalType" ] } }, @@ -76571,31 +77546,27 @@ "explode": false }, { - "name": "fields[appEncryptionDeclarations]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type appEncryptionDeclarations", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "arcadeEnabled", + "challengeEnabled", "app", - "appDescription", - "appEncryptionDeclarationDocument", - "appEncryptionDeclarationState", - "availableOnFrenchStore", - "builds", - "codeValue", - "containsProprietaryCryptography", - "containsThirdPartyCryptography", - "createdDate", - "documentName", - "documentType", - "documentUrl", - "exempt", - "platform", - "uploadedDate", - "usesEncryption" + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -76603,21 +77574,65 @@ "explode": false }, { - "name": "fields[appCustomProductPages]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appCustomProductPages", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appCustomProductPageVersions", - "appStoreVersionTemplate", - "customProductPageTemplate", "name", - "url", - "visible" + "platform", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "started", + "app", + "latestControlVersion", + "controlVersions", + "appStoreVersionExperimentTreatments" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appEncryptionDeclarations", + "ciProduct", + "betaGroups", + "appStoreVersions", + "preReleaseVersions", + "betaAppLocalizations", + "builds", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "endUserLicenseAgreement", + "preOrder", + "inAppPurchases", + "subscriptionGroups", + "gameCenterEnabledVersions", + "appCustomProductPages", + "inAppPurchasesV2", + "promotedPurchases", + "appEvents", + "reviewSubmissions", + "subscriptionGracePeriod", + "gameCenterDetail", + "appStoreVersionExperimentsV2" ] } }, @@ -76795,45 +77810,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "builds", - "ciProduct", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "preOrder", - "preReleaseVersions", - "promotedPurchases", - "reviewSubmissions", - "subscriptionGracePeriod", - "subscriptionGroups" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -76907,7 +77883,7 @@ "tags": [ "CiProducts" ], - "operationId": "ciProducts-buildRuns-get_to_many_related", + "operationId": "ciProducts_buildRuns_getToManyRelated", "parameters": [ { "name": "filter[builds]", @@ -76940,19 +77916,35 @@ "explode": false }, { - "name": "fields[scmGitReferences]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "clean", + "number", + "createdDate", + "startedDate", + "finishedDate", + "sourceCommit", + "destinationCommit", + "isPullRequestBuild", + "issueCounts", + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", + "buildRun", + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "actions", + "pullRequest" ] } }, @@ -76960,35 +77952,38 @@ "explode": false }, { - "name": "fields[ciBuildRuns]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", - "finishedDate", - "isPullRequestBuild", - "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -77004,26 +77999,26 @@ "items": { "type": "string", "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", + "name", "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", "isEnabled", "isLockedForEditing", + "clean", + "containerFilePath", "lastModifiedDate", - "macOsVersion", - "manualBranchStartCondition", - "manualPullRequestStartCondition", - "manualTagStartCondition", - "name", "product", - "pullRequestStartCondition", "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" + "xcodeVersion", + "macOsVersion", + "buildRuns" ] } }, @@ -77031,26 +78026,23 @@ "explode": false }, { - "name": "fields[scmPullRequests]", + "name": "fields[ciProducts]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "name", + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -77058,23 +78050,19 @@ "explode": false }, { - "name": "fields[ciProducts]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", "name", - "primaryRepositories", - "productType", - "workflows" + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -77082,38 +78070,26 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[scmPullRequests]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type scmPullRequests", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", + "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", + "isClosed", + "isCrossRepository", + "repository" ] } }, @@ -77130,16 +78106,6 @@ }, "style": "form" }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -77150,16 +78116,26 @@ "type": "string", "enum": [ "builds", - "destinationBranch", + "workflow", "product", - "pullRequest", "sourceBranchOrTag", - "workflow" + "destinationBranch", + "pullRequest" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[builds]", + "in": "query", + "description": "maximum number of related builds returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -77233,7 +78209,7 @@ "tags": [ "CiProducts" ], - "operationId": "ciProducts-primaryRepositories-get_to_many_related", + "operationId": "ciProducts_primaryRepositories_getToManyRelated", "parameters": [ { "name": "filter[id]", @@ -77249,19 +78225,23 @@ "explode": false }, { - "name": "fields[scmGitReferences]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -77277,9 +78257,9 @@ "items": { "type": "string", "enum": [ - "repositories", "scmProviderType", - "url" + "url", + "repositories" ] } }, @@ -77287,23 +78267,19 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -77329,8 +78305,8 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "scmProvider" + "scmProvider", + "defaultBranch" ] } }, @@ -77409,21 +78385,37 @@ "tags": [ "CiProducts" ], - "operationId": "ciProducts-workflows-get_to_many_related", + "operationId": "ciProducts_workflows_getToManyRelated", "parameters": [ { - "name": "fields[ciXcodeVersions]", + "name": "fields[ciWorkflows]", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "the fields to include for returned resources of type ciWorkflows", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "macOsVersions", "name", - "testDestinations", - "version" + "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", + "isEnabled", + "isLockedForEditing", + "clean", + "containerFilePath", + "lastModifiedDate", + "product", + "repository", + "xcodeVersion", + "macOsVersion", + "buildRuns" ] } }, @@ -77431,34 +78423,23 @@ "explode": false }, { - "name": "fields[ciWorkflows]", + "name": "fields[ciProducts]", "in": "query", - "description": "the fields to include for returned resources of type ciWorkflows", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", - "description", - "isEnabled", - "isLockedForEditing", - "lastModifiedDate", - "macOsVersion", - "manualBranchStartCondition", - "manualPullRequestStartCondition", - "manualTagStartCondition", "name", - "product", - "pullRequestStartCondition", - "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -77466,17 +78447,23 @@ "explode": false }, { - "name": "fields[ciMacOsVersions]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type ciMacOsVersions", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "name", - "version", - "xcodeVersions" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -77484,23 +78471,18 @@ "explode": false }, { - "name": "fields[ciProducts]", + "name": "fields[ciXcodeVersions]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type ciXcodeVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", + "version", "name", - "primaryRepositories", - "productType", - "workflows" + "testDestinations", + "macOsVersions" ] } }, @@ -77508,23 +78490,17 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[ciMacOsVersions]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type ciMacOsVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "version", + "name", + "xcodeVersions" ] } }, @@ -77550,10 +78526,10 @@ "items": { "type": "string", "enum": [ - "macOsVersion", "product", "repository", - "xcodeVersion" + "xcodeVersion", + "macOsVersion" ] } }, @@ -77632,7 +78608,7 @@ "tags": [ "CiWorkflows" ], - "operationId": "ciWorkflows-buildRuns-get_to_many_related", + "operationId": "ciWorkflows_buildRuns_getToManyRelated", "parameters": [ { "name": "filter[builds]", @@ -77665,19 +78641,35 @@ "explode": false }, { - "name": "fields[scmGitReferences]", + "name": "fields[ciBuildRuns]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type ciBuildRuns", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "clean", + "number", + "createdDate", + "startedDate", + "finishedDate", + "sourceCommit", + "destinationCommit", + "isPullRequestBuild", + "issueCounts", + "executionProgress", + "completionStatus", + "startReason", + "cancelReason", + "buildRun", + "builds", + "workflow", + "product", + "sourceBranchOrTag", + "destinationBranch", + "actions", + "pullRequest" ] } }, @@ -77685,35 +78677,38 @@ "explode": false }, { - "name": "fields[ciBuildRuns]", + "name": "fields[builds]", "in": "query", - "description": "the fields to include for returned resources of type ciBuildRuns", + "description": "the fields to include for returned resources of type builds", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "actions", - "buildRun", - "builds", - "cancelReason", - "clean", - "completionStatus", - "createdDate", - "destinationBranch", - "destinationCommit", - "executionProgress", - "finishedDate", - "isPullRequestBuild", - "issueCounts", - "number", - "product", - "pullRequest", - "sourceBranchOrTag", - "sourceCommit", - "startReason", - "startedDate", - "workflow" + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -77729,26 +78724,26 @@ "items": { "type": "string", "enum": [ - "actions", - "branchStartCondition", - "buildRuns", - "clean", - "containerFilePath", + "name", "description", + "branchStartCondition", + "tagStartCondition", + "pullRequestStartCondition", + "scheduledStartCondition", + "manualBranchStartCondition", + "manualTagStartCondition", + "manualPullRequestStartCondition", + "actions", "isEnabled", "isLockedForEditing", + "clean", + "containerFilePath", "lastModifiedDate", - "macOsVersion", - "manualBranchStartCondition", - "manualPullRequestStartCondition", - "manualTagStartCondition", - "name", "product", - "pullRequestStartCondition", "repository", - "scheduledStartCondition", - "tagStartCondition", - "xcodeVersion" + "xcodeVersion", + "macOsVersion", + "buildRuns" ] } }, @@ -77756,26 +78751,23 @@ "explode": false }, { - "name": "fields[scmPullRequests]", + "name": "fields[ciProducts]", "in": "query", - "description": "the fields to include for returned resources of type scmPullRequests", + "description": "the fields to include for returned resources of type ciProducts", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "destinationBranchName", - "destinationRepositoryName", - "destinationRepositoryOwner", - "isClosed", - "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "name", + "createdDate", + "productType", + "app", + "bundleId", + "workflows", + "primaryRepositories", + "additionalRepositories", + "buildRuns" ] } }, @@ -77783,23 +78775,19 @@ "explode": false }, { - "name": "fields[ciProducts]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type ciProducts", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "additionalRepositories", - "app", - "buildRuns", - "bundleId", - "createdDate", "name", - "primaryRepositories", - "productType", - "workflows" + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -77807,38 +78795,26 @@ "explode": false }, { - "name": "fields[builds]", + "name": "fields[scmPullRequests]", "in": "query", - "description": "the fields to include for returned resources of type builds", + "description": "the fields to include for returned resources of type scmPullRequests", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", + "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", + "isClosed", + "isCrossRepository", + "repository" ] } }, @@ -77855,16 +78831,6 @@ }, "style": "form" }, - { - "name": "limit[builds]", - "in": "query", - "description": "maximum number of related builds returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -77875,147 +78841,11 @@ "type": "string", "enum": [ "builds", - "destinationBranch", + "workflow", "product", - "pullRequest", "sourceBranchOrTag", - "workflow" - ] - } - }, - "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 CiBuildRuns", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CiBuildRunsResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/ciWorkflows/{id}/repository": { - "get": { - "tags": [ - "CiWorkflows" - ], - "operationId": "ciWorkflows-repository-get_to_one_related", - "parameters": [ - { - "name": "fields[scmGitReferences]", - "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmProviders]", - "in": "query", - "description": "the fields to include for returned resources of type scmProviders", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "repositories", - "scmProviderType", - "url" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[scmRepositories]", - "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "destinationBranch", + "pullRequest" ] } }, @@ -78023,21 +78853,14 @@ "explode": false }, { - "name": "include", + "name": "limit[builds]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related builds returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "defaultBranch", - "scmProvider" - ] - } + "type": "integer", + "maximum": 50 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -78082,11 +78905,11 @@ } }, "200": { - "description": "Single ScmRepository", + "description": "List of CiBuildRuns", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ScmRepositoryResponse" + "$ref": "#/components/schemas/CiBuildRunsResponse" } } } @@ -78106,32 +78929,166 @@ } ] }, - "/v1/ciXcodeVersions/{id}/macOsVersions": { + "/v1/ciWorkflows/{id}/repository": { "get": { "tags": [ - "CiXcodeVersions" + "CiWorkflows" ], - "operationId": "ciXcodeVersions-macOsVersions-get_to_many_related", + "operationId": "ciWorkflows_repository_getToOneRelated", "parameters": [ { - "name": "fields[ciXcodeVersions]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type ciXcodeVersions", + "description": "the fields to include for returned resources of type scmRepositories", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmProviders]", + "in": "query", + "description": "the fields to include for returned resources of type scmProviders", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "scmProviderType", + "url", + "repositories" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[scmGitReferences]", + "in": "query", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "macOsVersions", "name", - "testDestinations", - "version" + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, "style": "form", "explode": false }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "scmProvider", + "defaultBranch" + ] + } + }, + "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 ScmRepository", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScmRepositoryResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/ciXcodeVersions/{id}/macOsVersions": { + "get": { + "tags": [ + "CiXcodeVersions" + ], + "operationId": "ciXcodeVersions_macOsVersions_getToManyRelated", + "parameters": [ { "name": "fields[ciMacOsVersions]", "in": "query", @@ -78141,8 +79098,8 @@ "items": { "type": "string", "enum": [ - "name", "version", + "name", "xcodeVersions" ] } @@ -78151,22 +79108,31 @@ "explode": false }, { - "name": "limit", + "name": "fields[ciXcodeVersions]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type ciXcodeVersions", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "name", + "testDestinations", + "macOsVersions" + ] + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "limit[xcodeVersions]", + "name": "limit", "in": "query", - "description": "maximum number of related xcodeVersions returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -78185,6 +79151,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[xcodeVersions]", + "in": "query", + "description": "maximum number of related xcodeVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -78258,24 +79234,21 @@ "tags": [ "CustomerReviews" ], - "operationId": "customerReviews-response-get_to_one_related", + "operationId": "customerReviews_response_getToOneRelated", "parameters": [ { - "name": "fields[customerReviews]", + "name": "fields[customerReviewResponses]", "in": "query", - "description": "the fields to include for returned resources of type customerReviews", + "description": "the fields to include for returned resources of type customerReviewResponses", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "body", - "createdDate", - "rating", - "response", - "reviewerNickname", - "territory", - "title" + "responseBody", + "lastModifiedDate", + "state", + "review" ] } }, @@ -78283,18 +79256,21 @@ "explode": false }, { - "name": "fields[customerReviewResponses]", + "name": "fields[customerReviews]", "in": "query", - "description": "the fields to include for returned resources of type customerReviewResponses", + "description": "the fields to include for returned resources of type customerReviews", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "lastModifiedDate", - "responseBody", - "review", - "state" + "rating", + "title", + "body", + "reviewerNickname", + "createdDate", + "territory", + "response" ] } }, @@ -78389,7 +79365,7 @@ "tags": [ "DiagnosticSignatures" ], - "operationId": "diagnosticSignatures-logs-get_to_many_related", + "operationId": "diagnosticSignatures_logs_getToManyRelated", "parameters": [ { "name": "limit", @@ -78473,7 +79449,7 @@ "tags": [ "EndUserLicenseAgreements" ], - "operationId": "endUserLicenseAgreements-territories-get_to_many_related", + "operationId": "endUserLicenseAgreements_territories_getToManyRelated", "parameters": [ { "name": "fields[territories]", @@ -78573,20 +79549,28 @@ "tags": [ "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievementLocalizations-gameCenterAchievement-get_to_one_related", + "operationId": "gameCenterAchievementLocalizations_gameCenterAchievement_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", "gameCenterDetail", - "live" + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -78594,19 +79578,27 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -78614,27 +79606,19 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", + "referenceName", + "gameCenterDetails", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -78650,12 +79634,12 @@ "items": { "type": "string", "enum": [ - "afterEarnedDescription", + "locale", + "name", "beforeEarnedDescription", + "afterEarnedDescription", "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "gameCenterAchievementImage" ] } }, @@ -78663,25 +79647,37 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterAchievement" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", "gameCenterDetail", "gameCenterGroup", "groupAchievement", "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "releases" ] } }, @@ -78707,26 +79703,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -78800,7 +79776,7 @@ "tags": [ "GameCenterAchievementLocalizations" ], - "operationId": "gameCenterAchievementLocalizations-gameCenterAchievementImage-get_to_one_related", + "operationId": "gameCenterAchievementLocalizations_gameCenterAchievementImage_getToOneRelated", "parameters": [ { "name": "fields[gameCenterAchievementImages]", @@ -78811,13 +79787,13 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", "fileSize", - "gameCenterAchievementLocalization", + "fileName", "imageAsset", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "gameCenterAchievementLocalization" ] } }, @@ -78833,12 +79809,12 @@ "items": { "type": "string", "enum": [ - "afterEarnedDescription", + "locale", + "name", "beforeEarnedDescription", + "afterEarnedDescription", "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "gameCenterAchievementImage" ] } }, @@ -78933,7 +79909,7 @@ "tags": [ "GameCenterAchievements" ], - "operationId": "gameCenterAchievements-groupAchievement-get_to_one_relationship", + "operationId": "gameCenterAchievements_groupAchievement_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -78992,7 +79968,7 @@ "tags": [ "GameCenterAchievements" ], - "operationId": "gameCenterAchievements-groupAchievement-update_to_one_relationship", + "operationId": "gameCenterAchievements_groupAchievement_updateToOneRelationship", "requestBody": { "description": "Related linkage", "content": { @@ -79078,20 +80054,28 @@ "tags": [ "GameCenterAchievements" ], - "operationId": "gameCenterAchievements-groupAchievement-get_to_one_related", + "operationId": "gameCenterAchievements_groupAchievement_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", "gameCenterDetail", - "live" + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -79099,19 +80083,27 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -79119,27 +80111,19 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", + "referenceName", + "gameCenterDetails", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -79155,12 +80139,12 @@ "items": { "type": "string", "enum": [ - "afterEarnedDescription", + "locale", + "name", "beforeEarnedDescription", + "afterEarnedDescription", "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "gameCenterAchievementImage" ] } }, @@ -79168,25 +80152,37 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterAchievement" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", "gameCenterDetail", "gameCenterGroup", "groupAchievement", "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "releases" ] } }, @@ -79212,26 +80208,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "releases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -79305,24 +80281,23 @@ "tags": [ "GameCenterAchievements" ], - "operationId": "gameCenterAchievements-localizations-get_to_many_related", + "operationId": "gameCenterAchievements_localizations_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterAchievementImages]", + "name": "fields[gameCenterAchievementLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementImages", + "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterAchievementLocalization", - "imageAsset", - "uploadOperations", - "uploaded" + "locale", + "name", + "beforeEarnedDescription", + "afterEarnedDescription", + "gameCenterAchievement", + "gameCenterAchievementImage" ] } }, @@ -79330,20 +80305,25 @@ "explode": false }, { - "name": "fields[gameCenterAchievementLocalizations]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementLocalizations", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "afterEarnedDescription", - "beforeEarnedDescription", - "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -79351,25 +80331,21 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterAchievementImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterAchievementImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "gameCenterAchievementLocalization" ] } }, @@ -79475,7 +80451,7 @@ "tags": [ "GameCenterAchievements" ], - "operationId": "gameCenterAchievements-releases-get_to_many_related", + "operationId": "gameCenterAchievements_releases_getToManyRelated", "parameters": [ { "name": "filter[live]", @@ -79512,9 +80488,9 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievement", + "live", "gameCenterDetail", - "live" + "gameCenterAchievement" ] } }, @@ -79530,17 +80506,17 @@ "items": { "type": "string", "enum": [ - "achievementReleases", - "app", "arcadeEnabled", "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", + "app", "gameCenterAppVersions", "gameCenterGroup", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", "leaderboardReleases", "leaderboardSetReleases" ] @@ -79558,17 +80534,17 @@ "items": { "type": "string", "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", "archived", "gameCenterDetail", "gameCenterGroup", "groupAchievement", "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "releases" ] } }, @@ -79594,8 +80570,8 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterDetail" + "gameCenterDetail", + "gameCenterAchievement" ] } }, @@ -79674,8 +80650,107 @@ "tags": [ "GameCenterAppVersions" ], - "operationId": "gameCenterAppVersions-appStoreVersion-get_to_one_related", + "operationId": "gameCenterAppVersions_appStoreVersion_getToOneRelated", "parameters": [ + { + "name": "fields[appStoreVersions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[apps]", + "in": "query", + "description": "the fields to include for returned resources of type apps", + "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" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[ageRatingDeclarations]", "in": "query", @@ -79685,24 +80760,150 @@ "items": { "type": "string", "enum": [ - "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", - "gambling", "gamblingAndContests", + "gambling", "gamblingSimulated", - "horrorOrFearThemes", "kidsAgeBand", - "matureOrSuggestiveThemes", + "lootBox", "medicalOrTreatmentInformation", "profanityOrCrudeHumor", - "seventeenPlus", "sexualContentGraphicAndNudity", "sexualContentOrNudity", + "horrorOrFearThemes", + "matureOrSuggestiveThemes", "unrestrictedWebAccess", "violenceCartoonOrFantasy", + "violenceRealisticProlongedGraphicOrSadistic", "violenceRealistic", - "violenceRealisticProlongedGraphicOrSadistic" + "ageRatingOverride", + "koreaAgeRatingOverride", + "seventeenPlus" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "description", + "locale", + "keywords", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew", + "appStoreVersion", + "appScreenshotSets", + "appPreviewSets" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[builds]", + "in": "query", + "description": "the fields to include for returned resources of type builds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "version", + "uploadedDate", + "expirationDate", + "expired", + "minOsVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", + "processingState", + "buildAudienceType", + "usesNonExemptEncryption", + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionPhasedReleases]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "phasedReleaseState", + "startDate", + "totalPauseDuration", + "currentDayNumber", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterAppVersions]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterAppVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "enabled", + "compatibilityVersions", + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[routingAppCoverages]", + "in": "query", + "description": "the fields to include for returned resources of type routingAppCoverages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "appStoreVersion" ] } }, @@ -79718,16 +80919,16 @@ "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", - "appStoreVersion", - "contactEmail", "contactFirstName", "contactLastName", "contactPhone", + "contactEmail", "demoAccountName", "demoAccountPassword", "demoAccountRequired", - "notes" + "notes", + "appStoreVersion", + "appStoreReviewAttachments" ] } }, @@ -79735,24 +80936,15 @@ "explode": false }, { - "name": "fields[appStoreVersionLocalizations]", + "name": "fields[appStoreVersionSubmissions]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" + "appStoreVersion" ] } }, @@ -79760,27 +80952,20 @@ "explode": false }, { - "name": "fields[appStoreVersionExperiments]", + "name": "fields[appClipDefaultExperiences]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "description": "the fields to include for returned resources of type appClipDefaultExperiences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" + "action", + "appClip", + "releaseWithAppStoreVersion", + "appClipDefaultExperienceLocalizations", + "appClipAppStoreReviewDetail", + "appClipDefaultExperienceTemplate" ] } }, @@ -79788,15 +80973,27 @@ "explode": false }, { - "name": "fields[appStoreVersionSubmissions]", + "name": "fields[appStoreVersionExperiments]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion" + "name", + "trafficProportion", + "state", + "reviewRequired", + "startDate", + "endDate", + "started", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" ] } }, @@ -79821,197 +81018,27 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "include", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", + "ageRatingDeclaration", "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[apps]", - "in": "query", - "description": "the fields to include for returned resources of type apps", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[routingAppCoverages]", - "in": "query", - "description": "the fields to include for returned resources of type routingAppCoverages", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion", - "assetDeliveryState", - "fileName", - "fileSize", - "sourceFileChecksum", - "uploadOperations", - "uploaded" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appClipDefaultExperiences]", - "in": "query", - "description": "the fields to include for returned resources of type appClipDefaultExperiences", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "action", - "appClip", - "appClipAppStoreReviewDetail", - "appClipDefaultExperienceLocalizations", - "appClipDefaultExperienceTemplate", - "releaseWithAppStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[appStoreVersionPhasedReleases]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionPhasedReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion", - "currentDayNumber", - "phasedReleaseState", - "startDate", - "totalPauseDuration" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[builds]", - "in": "query", - "description": "the fields to include for returned resources of type builds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", - "expirationDate", - "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", - "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", - "processingState", - "uploadedDate", - "usesNonExemptEncryption", - "version" + "alternativeDistributionPackage" ] } }, @@ -80048,33 +81075,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "build", - "routingAppCoverage" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -80148,7 +81148,7 @@ "tags": [ "GameCenterAppVersions" ], - "operationId": "gameCenterAppVersions-compatibilityVersions-get_to_many_relationship", + "operationId": "gameCenterAppVersions_compatibilityVersions_getToManyRelationship", "parameters": [ { "name": "limit", @@ -80218,7 +81218,7 @@ "tags": [ "GameCenterAppVersions" ], - "operationId": "gameCenterAppVersions-compatibilityVersions-create_to_many_relationship", + "operationId": "gameCenterAppVersions_compatibilityVersions_createToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -80290,7 +81290,7 @@ "tags": [ "GameCenterAppVersions" ], - "operationId": "gameCenterAppVersions-compatibilityVersions-delete_to_many_relationship", + "operationId": "gameCenterAppVersions_compatibilityVersions_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -80376,7 +81376,7 @@ "tags": [ "GameCenterAppVersions" ], - "operationId": "gameCenterAppVersions-compatibilityVersions-get_to_many_related", + "operationId": "gameCenterAppVersions_compatibilityVersions_getToManyRelated", "parameters": [ { "name": "filter[enabled]", @@ -80392,37 +81392,17 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -80430,17 +81410,38 @@ "explode": false }, { - "name": "fields[gameCenterAppVersions]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions", - "enabled" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -80457,16 +81458,6 @@ }, "style": "form" }, - { - "name": "limit[compatibilityVersions]", - "in": "query", - "description": "maximum number of related compatibilityVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -80476,13 +81467,23 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions" + "compatibilityVersions", + "appStoreVersion" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[compatibilityVersions]", + "in": "query", + "description": "maximum number of related compatibilityVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -80556,7 +81557,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-achievementReleases-get_to_many_related", + "operationId": "gameCenterDetails_achievementReleases_getToManyRelated", "parameters": [ { "name": "filter[live]", @@ -80593,9 +81594,9 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievement", + "live", "gameCenterDetail", - "live" + "gameCenterAchievement" ] } }, @@ -80611,17 +81612,17 @@ "items": { "type": "string", "enum": [ - "achievementReleases", - "app", "arcadeEnabled", "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", + "app", "gameCenterAppVersions", "gameCenterGroup", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", "leaderboardReleases", "leaderboardSetReleases" ] @@ -80639,17 +81640,17 @@ "items": { "type": "string", "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", "archived", "gameCenterDetail", "gameCenterGroup", "groupAchievement", "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "releases" ] } }, @@ -80675,8 +81676,8 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterDetail" + "gameCenterDetail", + "gameCenterAchievement" ] } }, @@ -80755,7 +81756,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterAchievements-get_to_many_relationship", + "operationId": "gameCenterDetails_gameCenterAchievements_getToManyRelationship", "parameters": [ { "name": "limit", @@ -80825,7 +81826,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterAchievements-replace_to_many_relationship", + "operationId": "gameCenterDetails_gameCenterAchievements_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -80911,12 +81912,12 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterAchievements-get_to_many_related", + "operationId": "gameCenterDetails_gameCenterAchievements_getToManyRelated", "parameters": [ { - "name": "filter[archived]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by attribute 'archived'", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { @@ -80927,9 +81928,9 @@ "explode": false }, { - "name": "filter[referenceName]", + "name": "filter[archived]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'archived'", "schema": { "type": "array", "items": { @@ -80953,17 +81954,25 @@ "explode": false }, { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", "gameCenterDetail", - "live" + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -80971,19 +81980,27 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -80991,27 +82008,19 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", + "referenceName", + "gameCenterDetails", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -81027,12 +82036,12 @@ "items": { "type": "string", "enum": [ - "afterEarnedDescription", + "locale", + "name", "beforeEarnedDescription", + "afterEarnedDescription", "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "gameCenterAchievementImage" ] } }, @@ -81040,25 +82049,17 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", + "live", "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "gameCenterAchievement" ] } }, @@ -81075,26 +82076,6 @@ }, "style": "form" }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -81114,6 +82095,26 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -81187,7 +82188,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterAppVersions-get_to_many_related", + "operationId": "gameCenterDetails_gameCenterAppVersions_getToManyRelated", "parameters": [ { "name": "filter[enabled]", @@ -81203,37 +82204,17 @@ "explode": false }, { - "name": "fields[appStoreVersions]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type appStoreVersions", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", - "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", - "appVersionState", - "build", - "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", - "reviewType", - "routingAppCoverage", - "versionString" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -81241,17 +82222,38 @@ "explode": false }, { - "name": "fields[gameCenterAppVersions]", + "name": "fields[appStoreVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "the fields to include for returned resources of type appStoreVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions", - "enabled" + "platform", + "versionString", + "appStoreState", + "appVersionState", + "copyright", + "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", + "routingAppCoverage", + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -81268,16 +82270,6 @@ }, "style": "form" }, - { - "name": "limit[compatibilityVersions]", - "in": "query", - "description": "maximum number of related compatibilityVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -81287,13 +82279,23 @@ "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions" + "compatibilityVersions", + "appStoreVersion" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[compatibilityVersions]", + "in": "query", + "description": "maximum number of related compatibilityVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -81367,31 +82369,8 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterGroup-get_to_one_related", + "operationId": "gameCenterDetails_gameCenterGroup_getToOneRelated", "parameters": [ - { - "name": "fields[gameCenterLeaderboardSets]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[gameCenterGroups]", "in": "query", @@ -81401,11 +82380,11 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", + "referenceName", "gameCenterDetails", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -81421,17 +82400,17 @@ "items": { "type": "string", "enum": [ - "achievementReleases", - "app", "arcadeEnabled", "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", + "app", "gameCenterAppVersions", "gameCenterGroup", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", "leaderboardReleases", "leaderboardSetReleases" ] @@ -81449,23 +82428,46 @@ "items": { "type": "string", "enum": [ - "archived", "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", "groupLeaderboard", + "gameCenterLeaderboardSets", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, @@ -81481,17 +82483,36 @@ "items": { "type": "string", "enum": [ + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", "archived", "gameCenterDetail", "gameCenterGroup", "groupAchievement", "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "releases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -81537,25 +82558,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -81629,7 +82631,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterLeaderboardSets-get_to_many_relationship", + "operationId": "gameCenterDetails_gameCenterLeaderboardSets_getToManyRelationship", "parameters": [ { "name": "limit", @@ -81699,7 +82701,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterLeaderboardSets-replace_to_many_relationship", + "operationId": "gameCenterDetails_gameCenterLeaderboardSets_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -81785,7 +82787,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterLeaderboardSets-get_to_many_related", + "operationId": "gameCenterDetails_gameCenterLeaderboardSets_getToManyRelated", "parameters": [ { "name": "filter[referenceName]", @@ -81814,18 +82816,22 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, @@ -81833,17 +82839,27 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -81851,22 +82867,19 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", "referenceName", - "releases", - "vendorIdentifier" + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -81874,19 +82887,18 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -81894,27 +82906,31 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", "gameCenterGroup", + "groupLeaderboard", "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "localizations", + "releases" ] } }, @@ -81922,31 +82938,17 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", + "live", "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "gameCenterLeaderboardSet" ] } }, @@ -81963,6 +82965,27 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[localizations]", "in": "query", @@ -81992,27 +83015,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "releases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -82086,7 +83088,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterLeaderboards-get_to_many_relationship", + "operationId": "gameCenterDetails_gameCenterLeaderboards_getToManyRelationship", "parameters": [ { "name": "limit", @@ -82156,7 +83158,7 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterLeaderboards-replace_to_many_relationship", + "operationId": "gameCenterDetails_gameCenterLeaderboards_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -82242,12 +83244,12 @@ "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-gameCenterLeaderboards-get_to_many_related", + "operationId": "gameCenterDetails_gameCenterLeaderboards_getToManyRelated", "parameters": [ { - "name": "filter[archived]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by attribute 'archived'", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { @@ -82258,9 +83260,9 @@ "explode": false }, { - "name": "filter[referenceName]", + "name": "filter[archived]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'archived'", "schema": { "type": "array", "items": { @@ -82284,21 +83286,31 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -82306,22 +83318,27 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", "gameCenterGroup", "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -82337,11 +83354,11 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", + "referenceName", "gameCenterDetails", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -82349,27 +83366,22 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "referenceName", + "vendorIdentifier", + "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", + "groupLeaderboardSet", + "localizations", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "releases" ] } }, @@ -82377,31 +83389,21 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -82417,9 +83419,9 @@ "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "gameCenterLeaderboard" ] } }, @@ -82436,36 +83438,6 @@ }, "style": "form" }, - { - "name": "limit[gameCenterLeaderboardSets]", - "in": "query", - "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -82477,170 +83449,10 @@ "enum": [ "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", "groupLeaderboard", - "localizations", - "releases" - ] - } - }, - "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 GameCenterLeaderboards", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterDetails/{id}/leaderboardReleases": { - "get": { - "tags": [ - "GameCenterDetails" - ], - "operationId": "gameCenterDetails-leaderboardReleases-get_to_many_related", - "parameters": [ - { - "name": "filter[live]", - "in": "query", - "description": "filter by attribute 'live'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[gameCenterLeaderboard]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterLeaderboard'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterDetails]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboards]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", "gameCenterLeaderboardSets", - "groupLeaderboard", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "releases" ] } }, @@ -82648,49 +83460,34 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardReleases]", + "name": "limit[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "description": "maximum number of related gameCenterLeaderboardSets returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard", - "live" - ] - } + "type": "integer", + "maximum": 50 }, - "style": "form", - "explode": false + "style": "form" }, { - "name": "limit", + "name": "limit[localizations]", "in": "query", - "description": "maximum resources per page", + "description": "maximum number of related localizations returned (when they are included)", "schema": { "type": "integer", - "maximum": 200 + "maximum": 50 }, "style": "form" }, { - "name": "include", + "name": "limit[releases]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related releases returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard" - ] - } + "type": "integer", + "maximum": 50 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -82735,11 +83532,11 @@ } }, "200": { - "description": "List of GameCenterLeaderboardReleases", + "description": "List of GameCenterLeaderboards", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardReleasesResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardsResponse" } } } @@ -82759,12 +83556,12 @@ } ] }, - "/v1/gameCenterDetails/{id}/leaderboardSetReleases": { + "/v1/gameCenterDetails/{id}/leaderboardReleases": { "get": { "tags": [ "GameCenterDetails" ], - "operationId": "gameCenterDetails-leaderboardSetReleases-get_to_many_related", + "operationId": "gameCenterDetails_leaderboardReleases_getToManyRelated", "parameters": [ { "name": "filter[live]", @@ -82780,9 +83577,9 @@ "explode": false }, { - "name": "filter[gameCenterLeaderboardSet]", + "name": "filter[gameCenterLeaderboard]", "in": "query", - "description": "filter by id(s) of related 'gameCenterLeaderboardSet'", + "description": "filter by id(s) of related 'gameCenterLeaderboard'", "schema": { "type": "array", "items": { @@ -82793,17 +83590,17 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "gameCenterLeaderboard" ] } }, @@ -82811,22 +83608,204 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", "gameCenterGroup", "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", "referenceName", - "releases", - "vendorIdentifier" + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" + ] + } + }, + "style": "form", + "explode": 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": [ + "gameCenterDetail", + "gameCenterLeaderboard" + ] + } + }, + "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 GameCenterLeaderboardReleases", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardReleasesResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterDetails/{id}/leaderboardSetReleases": { + "get": { + "tags": [ + "GameCenterDetails" + ], + "operationId": "gameCenterDetails_leaderboardSetReleases_getToManyRelated", + "parameters": [ + { + "name": "filter[live]", + "in": "query", + "description": "filter by attribute 'live'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterLeaderboardSet]", + "in": "query", + "description": "filter by id(s) of related 'gameCenterLeaderboardSet'", + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" ] } }, @@ -82842,17 +83821,17 @@ "items": { "type": "string", "enum": [ - "achievementReleases", - "app", "arcadeEnabled", "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", + "app", "gameCenterAppVersions", "gameCenterGroup", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", "leaderboardReleases", "leaderboardSetReleases" ] @@ -82861,6 +83840,29 @@ "style": "form", "explode": false }, + { + "name": "fields[gameCenterLeaderboardSets]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -82960,7 +83962,7 @@ "tags": [ "GameCenterEnabledVersions" ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-get_to_many_relationship", + "operationId": "gameCenterEnabledVersions_compatibleVersions_getToManyRelationship", "deprecated": true, "parameters": [ { @@ -83031,7 +84033,7 @@ "tags": [ "GameCenterEnabledVersions" ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-create_to_many_relationship", + "operationId": "gameCenterEnabledVersions_compatibleVersions_createToManyRelationship", "deprecated": true, "requestBody": { "description": "List of related linkages", @@ -83104,7 +84106,7 @@ "tags": [ "GameCenterEnabledVersions" ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-replace_to_many_relationship", + "operationId": "gameCenterEnabledVersions_compatibleVersions_replaceToManyRelationship", "deprecated": true, "requestBody": { "description": "List of related linkages", @@ -83177,7 +84179,7 @@ "tags": [ "GameCenterEnabledVersions" ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-delete_to_many_relationship", + "operationId": "gameCenterEnabledVersions_compatibleVersions_deleteToManyRelationship", "deprecated": true, "requestBody": { "description": "List of related linkages", @@ -83264,7 +84266,7 @@ "tags": [ "GameCenterEnabledVersions" ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-get_to_many_related", + "operationId": "gameCenterEnabledVersions_compatibleVersions_getToManyRelated", "deprecated": true, "parameters": [ { @@ -83351,11 +84353,11 @@ "items": { "type": "string", "enum": [ - "app", - "compatibleVersions", - "iconAsset", "platform", - "versionString" + "versionString", + "iconAsset", + "compatibleVersions", + "app" ] } }, @@ -83371,49 +84373,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -83430,17 +84434,6 @@ }, "style": "form" }, - { - "name": "limit[compatibleVersions]", - "in": "query", - "description": "maximum number of related compatibleVersions returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form", - "deprecated": true - }, { "name": "include", "in": "query", @@ -83450,13 +84443,24 @@ "items": { "type": "string", "enum": [ - "app", - "compatibleVersions" + "compatibleVersions", + "app" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[compatibleVersions]", + "in": "query", + "description": "maximum number of related compatibleVersions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } ], "responses": { @@ -83530,7 +84534,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-gameCenterAchievements-get_to_many_relationship", + "operationId": "gameCenterGroups_gameCenterAchievements_getToManyRelationship", "parameters": [ { "name": "limit", @@ -83600,7 +84604,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-gameCenterAchievements-replace_to_many_relationship", + "operationId": "gameCenterGroups_gameCenterAchievements_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -83686,12 +84690,12 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-gameCenterAchievements-get_to_many_related", + "operationId": "gameCenterGroups_gameCenterAchievements_getToManyRelated", "parameters": [ { - "name": "filter[archived]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by attribute 'archived'", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { @@ -83702,9 +84706,9 @@ "explode": false }, { - "name": "filter[referenceName]", + "name": "filter[archived]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'archived'", "schema": { "type": "array", "items": { @@ -83728,17 +84732,25 @@ "explode": false }, { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", "gameCenterDetail", - "live" + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -83746,19 +84758,27 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -83766,27 +84786,19 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", + "referenceName", + "gameCenterDetails", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -83802,12 +84814,12 @@ "items": { "type": "string", "enum": [ - "afterEarnedDescription", + "locale", + "name", "beforeEarnedDescription", + "afterEarnedDescription", "gameCenterAchievement", - "gameCenterAchievementImage", - "locale", - "name" + "gameCenterAchievementImage" ] } }, @@ -83815,25 +84827,17 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", + "live", "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "gameCenterAchievement" ] } }, @@ -83850,26 +84854,6 @@ }, "style": "form" }, - { - "name": "limit[localizations]", - "in": "query", - "description": "maximum number of related localizations returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[releases]", - "in": "query", - "description": "maximum number of related releases returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -83889,6 +84873,26 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[localizations]", + "in": "query", + "description": "maximum number of related localizations returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[releases]", + "in": "query", + "description": "maximum number of related releases returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -83962,7 +84966,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-gameCenterDetails-get_to_many_related", + "operationId": "gameCenterGroups_gameCenterDetails_getToManyRelated", "parameters": [ { "name": "filter[gameCenterAppVersions.enabled]", @@ -83978,17 +84982,27 @@ "explode": false }, { - "name": "fields[gameCenterAchievementReleases]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievementReleases", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievement", - "gameCenterDetail", - "live" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -83996,17 +85010,59 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[apps]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type apps", "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", - "gameCenterLeaderboardSet", - "live" + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -84014,22 +85070,17 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterAppVersions]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterAppVersions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "enabled", + "compatibilityVersions", + "appStoreVersion" ] } }, @@ -84045,11 +85096,11 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", + "referenceName", "gameCenterDetails", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -84057,27 +85108,31 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", "gameCenterGroup", + "groupLeaderboard", "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "localizations", + "releases" ] } }, @@ -84085,31 +85140,22 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", + "referenceName", + "vendorIdentifier", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", + "groupLeaderboardSet", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "gameCenterLeaderboards", + "releases" ] } }, @@ -84117,17 +85163,25 @@ "explode": false }, { - "name": "fields[gameCenterAppVersions]", + "name": "fields[gameCenterAchievements]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAppVersions", + "description": "the fields to include for returned resources of type gameCenterAchievements", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreVersion", - "compatibilityVersions", - "enabled" + "referenceName", + "vendorIdentifier", + "points", + "showBeforeEarned", + "repeatable", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupAchievement", + "localizations", + "releases" ] } }, @@ -84135,25 +85189,17 @@ "explode": false }, { - "name": "fields[gameCenterAchievements]", + "name": "fields[gameCenterAchievementReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterAchievements", + "description": "the fields to include for returned resources of type gameCenterAchievementReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", + "live", "gameCenterDetail", - "gameCenterGroup", - "groupAchievement", - "localizations", - "points", - "referenceName", - "releases", - "repeatable", - "showBeforeEarned", - "vendorIdentifier" + "gameCenterAchievement" ] } }, @@ -84161,57 +85207,17 @@ "explode": false }, { - "name": "fields[apps]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type apps", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", - "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", - "appStoreVersions", - "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", - "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", - "endUserLicenseAgreement", + "live", "gameCenterDetail", - "gameCenterEnabledVersions", - "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", - "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", - "promotedPurchases", - "reviewSubmissions", - "sku", - "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "gameCenterLeaderboard" ] } }, @@ -84219,17 +85225,17 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardReleases]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "gameCenterLeaderboardSet" ] } }, @@ -84246,6 +85252,32 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[gameCenterAppVersions]", "in": "query", @@ -84315,32 +85347,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "achievementReleases", - "app", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -84414,7 +85420,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-gameCenterLeaderboardSets-get_to_many_relationship", + "operationId": "gameCenterGroups_gameCenterLeaderboardSets_getToManyRelationship", "parameters": [ { "name": "limit", @@ -84484,7 +85490,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-gameCenterLeaderboardSets-replace_to_many_relationship", + "operationId": "gameCenterGroups_gameCenterLeaderboardSets_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -84570,7 +85576,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-gameCenterLeaderboardSets-get_to_many_related", + "operationId": "gameCenterGroups_gameCenterLeaderboardSets_getToManyRelated", "parameters": [ { "name": "filter[referenceName]", @@ -84599,18 +85605,22 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, @@ -84618,17 +85628,27 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -84636,22 +85656,19 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", "referenceName", - "releases", - "vendorIdentifier" + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -84659,19 +85676,18 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -84679,27 +85695,31 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", "gameCenterGroup", + "groupLeaderboard", "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "localizations", + "releases" ] } }, @@ -84707,31 +85727,17 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", + "live", "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "gameCenterLeaderboardSet" ] } }, @@ -84748,6 +85754,27 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[localizations]", "in": "query", @@ -84777,27 +85804,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "releases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -84871,7 +85877,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-gameCenterLeaderboards-get_to_many_relationship", + "operationId": "gameCenterGroups_gameCenterLeaderboards_getToManyRelationship", "parameters": [ { "name": "limit", @@ -84941,7 +85947,7 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-gameCenterLeaderboards-replace_to_many_relationship", + "operationId": "gameCenterGroups_gameCenterLeaderboards_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -85027,12 +86033,12 @@ "tags": [ "GameCenterGroups" ], - "operationId": "gameCenterGroups-gameCenterLeaderboards-get_to_many_related", + "operationId": "gameCenterGroups_gameCenterLeaderboards_getToManyRelated", "parameters": [ { - "name": "filter[archived]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by attribute 'archived'", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { @@ -85043,9 +86049,9 @@ "explode": false }, { - "name": "filter[referenceName]", + "name": "filter[archived]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'archived'", "schema": { "type": "array", "items": { @@ -85069,21 +86075,31 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -85091,22 +86107,27 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", "gameCenterGroup", "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -85122,11 +86143,11 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", + "referenceName", "gameCenterDetails", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -85134,27 +86155,22 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "referenceName", + "vendorIdentifier", + "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", + "groupLeaderboardSet", + "localizations", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "releases" ] } }, @@ -85162,31 +86178,21 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -85202,9 +86208,9 @@ "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "gameCenterLeaderboard" ] } }, @@ -85221,6 +86227,27 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[gameCenterLeaderboardSets]", "in": "query", @@ -85250,27 +86277,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "releases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -85344,7 +86350,7 @@ "tags": [ "GameCenterLeaderboardLocalizations" ], - "operationId": "gameCenterLeaderboardLocalizations-gameCenterLeaderboardImage-get_to_one_related", + "operationId": "gameCenterLeaderboardLocalizations_gameCenterLeaderboardImage_getToOneRelated", "parameters": [ { "name": "fields[gameCenterLeaderboardImages]", @@ -85355,13 +86361,13 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", "fileSize", - "gameCenterLeaderboardLocalization", + "fileName", "imageAsset", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "gameCenterLeaderboardLocalization" ] } }, @@ -85377,13 +86383,13 @@ "items": { "type": "string", "enum": [ + "locale", + "name", "formatterOverride", "formatterSuffix", "formatterSuffixSingular", "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "gameCenterLeaderboardImage" ] } }, @@ -85478,21 +86484,24 @@ "tags": [ "GameCenterLeaderboardSetLocalizations" ], - "operationId": "gameCenterLeaderboardSetLocalizations-gameCenterLeaderboardSetImage-get_to_one_related", + "operationId": "gameCenterLeaderboardSetLocalizations_gameCenterLeaderboardSetImage_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboardSetImages]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "gameCenterLeaderboardSetLocalization" ] } }, @@ -85500,21 +86509,18 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetImages]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetImages", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterLeaderboardSetLocalization", - "imageAsset", - "uploadOperations", - "uploaded" + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -85609,24 +86615,34 @@ "tags": [ "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations-gameCenterLeaderboard-get_to_one_related", + "operationId": "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboard_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -85634,22 +86650,27 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", "gameCenterGroup", "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -85665,11 +86686,11 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", + "referenceName", "gameCenterDetails", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -85677,27 +86698,22 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "referenceName", + "vendorIdentifier", + "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", + "groupLeaderboardSet", + "localizations", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "releases" ] } }, @@ -85705,31 +86721,21 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -85745,9 +86751,30 @@ "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "gameCenterLeaderboard" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -85783,27 +86810,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "releases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -85877,21 +86883,25 @@ "tags": [ "GameCenterLeaderboardSetMemberLocalizations" ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations-gameCenterLeaderboardSet-get_to_one_related", + "operationId": "gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboardSet_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, @@ -85899,17 +86909,27 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -85917,22 +86937,19 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", "referenceName", - "releases", - "vendorIdentifier" + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -85940,19 +86957,18 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -85960,27 +86976,31 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", "gameCenterGroup", + "groupLeaderboard", "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "localizations", + "releases" ] } }, @@ -85988,31 +87008,38 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", + "groupLeaderboardSet", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "gameCenterLeaderboards", + "releases" ] } }, @@ -86048,27 +87075,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "releases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -86142,7 +87148,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-get_to_many_relationship", + "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_getToManyRelationship", "parameters": [ { "name": "limit", @@ -86212,7 +87218,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-create_to_many_relationship", + "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_createToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -86284,7 +87290,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-replace_to_many_relationship", + "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -86356,7 +87362,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-delete_to_many_relationship", + "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -86442,12 +87448,12 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-gameCenterLeaderboards-get_to_many_related", + "operationId": "gameCenterLeaderboardSets_gameCenterLeaderboards_getToManyRelated", "parameters": [ { - "name": "filter[archived]", + "name": "filter[referenceName]", "in": "query", - "description": "filter by attribute 'archived'", + "description": "filter by attribute 'referenceName'", "schema": { "type": "array", "items": { @@ -86458,9 +87464,9 @@ "explode": false }, { - "name": "filter[referenceName]", + "name": "filter[archived]", "in": "query", - "description": "filter by attribute 'referenceName'", + "description": "filter by attribute 'archived'", "schema": { "type": "array", "items": { @@ -86484,21 +87490,31 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -86506,22 +87522,27 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", "gameCenterGroup", "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -86537,11 +87558,11 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", + "referenceName", "gameCenterDetails", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -86549,27 +87570,22 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "referenceName", + "vendorIdentifier", + "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", + "groupLeaderboardSet", + "localizations", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "releases" ] } }, @@ -86577,31 +87593,21 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -86617,9 +87623,9 @@ "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "gameCenterLeaderboard" ] } }, @@ -86636,6 +87642,27 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[gameCenterLeaderboardSets]", "in": "query", @@ -86665,27 +87692,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "releases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -86759,7 +87765,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-groupLeaderboardSet-get_to_one_relationship", + "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -86818,7 +87824,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-groupLeaderboardSet-update_to_one_relationship", + "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_updateToOneRelationship", "requestBody": { "description": "Related linkage", "content": { @@ -86904,21 +87910,25 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-groupLeaderboardSet-get_to_one_related", + "operationId": "gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardSetLocalizations]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", - "locale", - "name" + "referenceName", + "vendorIdentifier", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboardSet", + "localizations", + "gameCenterLeaderboards", + "releases" ] } }, @@ -86926,17 +87936,27 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSetReleases]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", + "gameCenterGroup", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -86944,22 +87964,19 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterGroups]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", "referenceName", - "releases", - "vendorIdentifier" + "gameCenterDetails", + "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -86967,19 +87984,18 @@ "explode": false }, { - "name": "fields[gameCenterGroups]", + "name": "fields[gameCenterLeaderboardSetLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterGroups", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterAchievements", - "gameCenterDetails", - "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "referenceName" + "locale", + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -86987,27 +88003,31 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", "gameCenterGroup", + "groupLeaderboard", "gameCenterLeaderboardSets", - "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "localizations", + "releases" ] } }, @@ -87015,31 +88035,38 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardSetReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "live", + "gameCenterDetail", + "gameCenterLeaderboardSet" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", + "groupLeaderboardSet", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "gameCenterLeaderboards", + "releases" ] } }, @@ -87075,27 +88102,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "releases" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -87169,7 +88175,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-localizations-get_to_many_related", + "operationId": "gameCenterLeaderboardSets_localizations_getToManyRelated", "parameters": [ { "name": "fields[gameCenterLeaderboardSetLocalizations]", @@ -87180,10 +88186,10 @@ "items": { "type": "string", "enum": [ - "gameCenterLeaderboardSet", - "gameCenterLeaderboardSetImage", "locale", - "name" + "name", + "gameCenterLeaderboardSet", + "gameCenterLeaderboardSetImage" ] } }, @@ -87199,14 +88205,14 @@ "items": { "type": "string", "enum": [ + "referenceName", + "vendorIdentifier", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboards", "groupLeaderboardSet", "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "gameCenterLeaderboards", + "releases" ] } }, @@ -87222,13 +88228,13 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "fileName", "fileSize", - "gameCenterLeaderboardSetLocalization", + "fileName", "imageAsset", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "gameCenterLeaderboardSetLocalization" ] } }, @@ -87334,7 +88340,7 @@ "tags": [ "GameCenterLeaderboardSets" ], - "operationId": "gameCenterLeaderboardSets-releases-get_to_many_related", + "operationId": "gameCenterLeaderboardSets_releases_getToManyRelated", "parameters": [ { "name": "filter[live]", @@ -87371,9 +88377,9 @@ "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" + "gameCenterLeaderboardSet" ] } }, @@ -87381,22 +88387,27 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", "gameCenterGroup", "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -87404,27 +88415,22 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "referenceName", + "vendorIdentifier", + "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", + "groupLeaderboardSet", + "localizations", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "releases" ] } }, @@ -87530,7 +88536,7 @@ "tags": [ "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboards-groupLeaderboard-get_to_one_relationship", + "operationId": "gameCenterLeaderboards_groupLeaderboard_getToOneRelationship", "parameters": [], "responses": { "400": { @@ -87589,7 +88595,7 @@ "tags": [ "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboards-groupLeaderboard-update_to_one_relationship", + "operationId": "gameCenterLeaderboards_groupLeaderboard_updateToOneRelationship", "requestBody": { "description": "Related linkage", "content": { @@ -87675,24 +88681,34 @@ "tags": [ "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboards-groupLeaderboard-get_to_one_related", + "operationId": "gameCenterLeaderboards_groupLeaderboard_getToOneRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "fields[gameCenterLeaderboards]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -87700,22 +88716,27 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboardSets]", + "name": "fields[gameCenterDetails]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", + "description": "the fields to include for returned resources of type gameCenterDetails", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "gameCenterDetail", + "arcadeEnabled", + "challengeEnabled", + "app", + "gameCenterAppVersions", "gameCenterGroup", "gameCenterLeaderboards", - "groupLeaderboardSet", - "localizations", - "referenceName", - "releases", - "vendorIdentifier" + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", + "leaderboardReleases", + "leaderboardSetReleases" ] } }, @@ -87731,11 +88752,11 @@ "items": { "type": "string", "enum": [ - "gameCenterAchievements", + "referenceName", "gameCenterDetails", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", - "referenceName" + "gameCenterLeaderboardSets", + "gameCenterAchievements" ] } }, @@ -87743,27 +88764,22 @@ "explode": false }, { - "name": "fields[gameCenterDetails]", + "name": "fields[gameCenterLeaderboardSets]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterDetails", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSets", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "achievementReleases", - "app", - "arcadeEnabled", - "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", - "gameCenterAppVersions", + "referenceName", + "vendorIdentifier", + "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", + "groupLeaderboardSet", + "localizations", "gameCenterLeaderboards", - "leaderboardReleases", - "leaderboardSetReleases" + "releases" ] } }, @@ -87771,31 +88787,21 @@ "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", - "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" ] } }, @@ -87811,9 +88817,30 @@ "items": { "type": "string", "enum": [ + "live", "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "gameCenterLeaderboard" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterGroup", + "groupLeaderboard", + "gameCenterLeaderboardSets", + "localizations", + "releases" ] } }, @@ -87849,20 +88876,127 @@ "maximum": 50 }, "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": "Single GameCenterLeaderboard", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterLeaderboards/{id}/localizations": { + "get": { + "tags": [ + "GameCenterLeaderboards" + ], + "operationId": "gameCenterLeaderboards_localizations_getToManyRelated", + "parameters": [ { - "name": "include", + "name": "fields[gameCenterLeaderboardLocalizations]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "locale", + "name", + "formatterOverride", + "formatterSuffix", + "formatterSuffixSingular", + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[gameCenterLeaderboards]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", "groupLeaderboard", + "gameCenterLeaderboardSets", "localizations", "releases" ] @@ -87870,6 +89004,55 @@ }, "style": "form", "explode": false + }, + { + "name": "fields[gameCenterLeaderboardImages]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "imageAsset", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "gameCenterLeaderboardLocalization" + ] + } + }, + "style": "form", + "explode": 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": [ + "gameCenterLeaderboard", + "gameCenterLeaderboardImage" + ] + } + }, + "style": "form", + "explode": false } ], "responses": { @@ -87914,11 +89097,11 @@ } }, "200": { - "description": "Single GameCenterLeaderboard", + "description": "List of GameCenterLeaderboardLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationsResponse" } } } @@ -87938,215 +89121,56 @@ } ] }, - "/v1/gameCenterLeaderboards/{id}/localizations": { + "/v1/gameCenterLeaderboards/{id}/releases": { "get": { "tags": [ "GameCenterLeaderboards" ], - "operationId": "gameCenterLeaderboards-localizations-get_to_many_related", + "operationId": "gameCenterLeaderboards_releases_getToManyRelated", "parameters": [ { - "name": "fields[gameCenterLeaderboardLocalizations]", + "name": "filter[live]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardLocalizations", + "description": "filter by attribute 'live'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "formatterOverride", - "formatterSuffix", - "formatterSuffixSingular", - "gameCenterLeaderboard", - "gameCenterLeaderboardImage", - "locale", - "name" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterLeaderboardImages]", + "name": "filter[gameCenterDetail]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardImages", + "description": "filter by id(s) of related 'gameCenterDetail'", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "assetDeliveryState", - "fileName", - "fileSize", - "gameCenterLeaderboardLocalization", - "imageAsset", - "uploadOperations", - "uploaded" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[gameCenterLeaderboards]", + "name": "fields[gameCenterLeaderboardReleases]", "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboards", + "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "archived", - "defaultFormatter", + "live", "gameCenterDetail", - "gameCenterGroup", - "gameCenterLeaderboardSets", - "groupLeaderboard", - "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": 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": [ - "gameCenterLeaderboard", - "gameCenterLeaderboardImage" + "gameCenterLeaderboard" ] } }, "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 GameCenterLeaderboardLocalizations", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardLocalizationsResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboards/{id}/releases": { - "get": { - "tags": [ - "GameCenterLeaderboards" - ], - "operationId": "gameCenterLeaderboards-releases-get_to_many_related", - "parameters": [ - { - "name": "filter[live]", - "in": "query", - "description": "filter by attribute 'live'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[gameCenterDetail]", - "in": "query", - "description": "filter by id(s) of related 'gameCenterDetail'", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false }, { "name": "fields[gameCenterDetails]", @@ -88157,17 +89181,17 @@ "items": { "type": "string", "enum": [ - "achievementReleases", - "app", "arcadeEnabled", "challengeEnabled", - "defaultGroupLeaderboard", - "defaultLeaderboard", - "gameCenterAchievements", + "app", "gameCenterAppVersions", "gameCenterGroup", - "gameCenterLeaderboardSets", "gameCenterLeaderboards", + "gameCenterLeaderboardSets", + "gameCenterAchievements", + "defaultLeaderboard", + "defaultGroupLeaderboard", + "achievementReleases", "leaderboardReleases", "leaderboardSetReleases" ] @@ -88185,41 +89209,23 @@ "items": { "type": "string", "enum": [ - "archived", "defaultFormatter", + "referenceName", + "vendorIdentifier", + "submissionType", + "scoreSortType", + "scoreRangeStart", + "scoreRangeEnd", + "recurrenceStartDate", + "recurrenceDuration", + "recurrenceRule", + "archived", "gameCenterDetail", "gameCenterGroup", - "gameCenterLeaderboardSets", "groupLeaderboard", + "gameCenterLeaderboardSets", "localizations", - "recurrenceDuration", - "recurrenceRule", - "recurrenceStartDate", - "referenceName", - "releases", - "scoreRangeEnd", - "scoreRangeStart", - "scoreSortType", - "submissionType", - "vendorIdentifier" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[gameCenterLeaderboardReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboard", - "live" + "releases" ] } }, @@ -88325,7 +89331,7 @@ "tags": [ "GameCenterMatchmakingRuleSets" ], - "operationId": "gameCenterMatchmakingRuleSets-matchmakingQueues-get_to_many_related", + "operationId": "gameCenterMatchmakingRuleSets_matchmakingQueues_getToManyRelated", "parameters": [ { "name": "fields[gameCenterMatchmakingQueues]", @@ -88336,10 +89342,10 @@ "items": { "type": "string", "enum": [ - "classicMatchmakingBundleIds", - "experimentRuleSet", "referenceName", - "ruleSet" + "classicMatchmakingBundleIds", + "ruleSet", + "experimentRuleSet" ] } }, @@ -88355,13 +89361,13 @@ "items": { "type": "string", "enum": [ - "matchmakingQueues", - "maxPlayers", - "minPlayers", "referenceName", "ruleLanguageVersion", + "minPlayers", + "maxPlayers", + "teams", "rules", - "teams" + "matchmakingQueues" ] } }, @@ -88387,8 +89393,8 @@ "items": { "type": "string", "enum": [ - "experimentRuleSet", - "ruleSet" + "ruleSet", + "experimentRuleSet" ] } }, @@ -88467,7 +89473,7 @@ "tags": [ "GameCenterMatchmakingRuleSets" ], - "operationId": "gameCenterMatchmakingRuleSets-rules-get_to_many_related", + "operationId": "gameCenterMatchmakingRuleSets_rules_getToManyRelated", "parameters": [ { "name": "fields[gameCenterMatchmakingRules]", @@ -88478,12 +89484,12 @@ "items": { "type": "string", "enum": [ - "description", - "expression", "referenceName", - "ruleSet", + "description", "type", - "weight" + "expression", + "weight", + "ruleSet" ] } }, @@ -88572,7 +89578,7 @@ "tags": [ "GameCenterMatchmakingRuleSets" ], - "operationId": "gameCenterMatchmakingRuleSets-teams-get_to_many_related", + "operationId": "gameCenterMatchmakingRuleSets_teams_getToManyRelated", "parameters": [ { "name": "fields[gameCenterMatchmakingTeams]", @@ -88583,9 +89589,9 @@ "items": { "type": "string", "enum": [ - "maxPlayers", - "minPlayers", "referenceName", + "minPlayers", + "maxPlayers", "ruleSet" ] } @@ -88675,7 +89681,7 @@ "tags": [ "InAppPurchaseAvailabilities" ], - "operationId": "inAppPurchaseAvailabilities-availableTerritories-get_to_many_related", + "operationId": "inAppPurchaseAvailabilities_availableTerritories_getToManyRelated", "parameters": [ { "name": "fields[territories]", @@ -88775,7 +89781,7 @@ "tags": [ "InAppPurchasePriceSchedules" ], - "operationId": "inAppPurchasePriceSchedules-automaticPrices-get_to_many_related", + "operationId": "inAppPurchasePriceSchedules_automaticPrices_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -88791,17 +89797,19 @@ "explode": false }, { - "name": "fields[inAppPurchasePricePoints]", + "name": "fields[inAppPurchasePrices]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "description": "the fields to include for returned resources of type inAppPurchasePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", + "startDate", + "endDate", + "manual", "inAppPurchaseV2", - "proceeds", + "inAppPurchasePricePoint", "territory" ] } @@ -88810,20 +89818,18 @@ "explode": false }, { - "name": "fields[inAppPurchasePrices]", + "name": "fields[inAppPurchasePricePoints]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "endDate", - "inAppPurchasePricePoint", - "inAppPurchaseV2", - "manual", - "startDate", - "territory" + "customerPrice", + "proceeds", + "territory", + "inAppPurchaseV2" ] } }, @@ -88945,7 +89951,7 @@ "tags": [ "InAppPurchasePriceSchedules" ], - "operationId": "inAppPurchasePriceSchedules-baseTerritory-get_to_one_related", + "operationId": "inAppPurchasePriceSchedules_baseTerritory_getToOneRelated", "parameters": [ { "name": "fields[territories]", @@ -89035,7 +90041,7 @@ "tags": [ "InAppPurchasePriceSchedules" ], - "operationId": "inAppPurchasePriceSchedules-manualPrices-get_to_many_related", + "operationId": "inAppPurchasePriceSchedules_manualPrices_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -89051,17 +90057,19 @@ "explode": false }, { - "name": "fields[inAppPurchasePricePoints]", + "name": "fields[inAppPurchasePrices]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePricePoints", + "description": "the fields to include for returned resources of type inAppPurchasePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", + "startDate", + "endDate", + "manual", "inAppPurchaseV2", - "proceeds", + "inAppPurchasePricePoint", "territory" ] } @@ -89070,20 +90078,18 @@ "explode": false }, { - "name": "fields[inAppPurchasePrices]", + "name": "fields[inAppPurchasePricePoints]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", + "description": "the fields to include for returned resources of type inAppPurchasePricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "endDate", - "inAppPurchasePricePoint", - "inAppPurchaseV2", - "manual", - "startDate", - "territory" + "customerPrice", + "proceeds", + "territory", + "inAppPurchaseV2" ] } }, @@ -89205,7 +90211,7 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-appStoreReviewScreenshot-get_to_one_related", + "operationId": "inAppPurchasesV2_appStoreReviewScreenshot_getToOneRelated", "parameters": [ { "name": "fields[inAppPurchaseAppStoreReviewScreenshots]", @@ -89216,16 +90222,16 @@ "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", "fileSize", - "imageAsset", - "inAppPurchaseV2", + "fileName", "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", "uploadOperations", - "uploaded" + "assetDeliveryState", + "uploaded", + "inAppPurchaseV2" ] } }, @@ -89241,21 +90247,22 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "content", - "contentHosting", + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", + "contentHosting", + "app", "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", "pricePoints", - "productId", + "content", + "appStoreReviewScreenshot", "promotedPurchase", - "reviewNote", - "state" + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -89350,8 +90357,28 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-content-get_to_one_related", + "operationId": "inAppPurchasesV2_content_getToOneRelated", "parameters": [ + { + "name": "fields[inAppPurchaseContents]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchaseContents", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileName", + "fileSize", + "url", + "lastModifiedDate", + "inAppPurchaseV2" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[inAppPurchases]", "in": "query", @@ -89361,21 +90388,162 @@ "items": { "type": "string", "enum": [ + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", "app", - "appStoreReviewScreenshot", + "inAppPurchaseLocalizations", + "pricePoints", "content", - "contentHosting", - "familySharable", + "appStoreReviewScreenshot", + "promotedPurchase", "iapPriceSchedule", "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", + "images" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "inAppPurchaseV2" + ] + } + }, + "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 InAppPurchaseContent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InAppPurchaseContentResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v2/inAppPurchases/{id}/iapPriceSchedule": { + "get": { + "tags": [ + "InAppPurchases" + ], + "operationId": "inAppPurchasesV2_iapPriceSchedule_getToOneRelated", + "parameters": [ + { + "name": "fields[inAppPurchasePriceSchedules]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "inAppPurchase", + "baseTerritory", + "manualPrices", + "automaticPrices" + ] + } + }, + "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", - "pricePoints", "productId", - "promotedPurchase", + "inAppPurchaseType", + "state", "reviewNote", - "state" + "familySharable", + "contentHosting", + "app", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -89383,19 +90551,36 @@ "explode": false }, { - "name": "fields[inAppPurchaseContents]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchaseContents", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "fileName", - "fileSize", + "currency" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[inAppPurchasePrices]", + "in": "query", + "description": "the fields to include for returned resources of type inAppPurchasePrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "startDate", + "endDate", + "manual", "inAppPurchaseV2", - "lastModifiedDate", - "url" + "inAppPurchasePricePoint", + "territory" ] } }, @@ -89411,12 +90596,35 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2" + "inAppPurchase", + "baseTerritory", + "manualPrices", + "automaticPrices" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[manualPrices]", + "in": "query", + "description": "maximum number of related manualPrices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[automaticPrices]", + "in": "query", + "description": "maximum number of related automaticPrices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -89461,11 +90669,11 @@ } }, "200": { - "description": "Single InAppPurchaseContent", + "description": "Single InAppPurchasePriceSchedule", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchaseContentResponse" + "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" } } } @@ -89485,28 +90693,31 @@ } ] }, - "/v2/inAppPurchases/{id}/iapPriceSchedule": { + "/v2/inAppPurchases/{id}/images": { "get": { "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-iapPriceSchedule-get_to_one_related", + "operationId": "inAppPurchasesV2_images_getToManyRelated", "parameters": [ { - "name": "fields[inAppPurchasePrices]", + "name": "fields[inAppPurchaseImages]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePrices", + "description": "the fields to include for returned resources of type inAppPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "endDate", - "inAppPurchasePricePoint", - "inAppPurchaseV2", - "manual", - "startDate", - "territory" + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "uploaded", + "state", + "inAppPurchase" ] } }, @@ -89522,56 +90733,22 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "content", - "contentHosting", + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", + "contentHosting", + "app", "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", "pricePoints", - "productId", + "content", + "appStoreReviewScreenshot", "promotedPurchase", - "reviewNote", - "state" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[inAppPurchasePriceSchedules]", - "in": "query", - "description": "the fields to include for returned resources of type inAppPurchasePriceSchedules", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "automaticPrices", - "baseTerritory", - "inAppPurchase", - "manualPrices" - ] - } - }, - "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" + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -89579,22 +90756,12 @@ "explode": false }, { - "name": "limit[manualPrices]", - "in": "query", - "description": "maximum number of related manualPrices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, - { - "name": "limit[automaticPrices]", + "name": "limit", "in": "query", - "description": "maximum number of related automaticPrices returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -89607,10 +90774,7 @@ "items": { "type": "string", "enum": [ - "automaticPrices", - "baseTerritory", - "inAppPurchase", - "manualPrices" + "inAppPurchase" ] } }, @@ -89660,11 +90824,11 @@ } }, "200": { - "description": "Single InAppPurchasePriceSchedule", + "description": "List of InAppPurchaseImages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InAppPurchasePriceScheduleResponse" + "$ref": "#/components/schemas/InAppPurchaseImagesResponse" } } } @@ -89689,7 +90853,7 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-inAppPurchaseAvailability-get_to_one_related", + "operationId": "inAppPurchasesV2_inAppPurchaseAvailability_getToOneRelated", "parameters": [ { "name": "fields[inAppPurchaseAvailabilities]", @@ -89701,8 +90865,8 @@ "type": "string", "enum": [ "availableInNewTerritories", - "availableTerritories", - "inAppPurchase" + "inAppPurchase", + "availableTerritories" ] } }, @@ -89725,16 +90889,6 @@ "style": "form", "explode": false }, - { - "name": "limit[availableTerritories]", - "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -89750,6 +90904,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit[availableTerritories]", + "in": "query", + "description": "maximum number of related availableTerritories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -89823,7 +90987,7 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-inAppPurchaseLocalizations-get_to_many_related", + "operationId": "inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelated", "parameters": [ { "name": "fields[inAppPurchaseLocalizations]", @@ -89834,11 +90998,11 @@ "items": { "type": "string", "enum": [ - "description", - "inAppPurchaseV2", - "locale", "name", - "state" + "locale", + "description", + "state", + "inAppPurchaseV2" ] } }, @@ -89854,21 +91018,22 @@ "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "content", - "contentHosting", + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", + "contentHosting", + "app", "inAppPurchaseLocalizations", - "inAppPurchaseType", - "name", "pricePoints", - "productId", + "content", + "appStoreReviewScreenshot", "promotedPurchase", - "reviewNote", - "state" + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -89973,7 +91138,7 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-pricePoints-get_to_many_related", + "operationId": "inAppPurchasesV2_pricePoints_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -89998,9 +91163,9 @@ "type": "string", "enum": [ "customerPrice", - "inAppPurchaseV2", "proceeds", - "territory" + "territory", + "inAppPurchaseV2" ] } }, @@ -90126,7 +91291,7 @@ "tags": [ "InAppPurchases" ], - "operationId": "inAppPurchasesV2-promotedPurchase-get_to_one_related", + "operationId": "inAppPurchasesV2_promotedPurchase_getToOneRelated", "parameters": [ { "name": "fields[promotedPurchases]", @@ -90137,13 +91302,13 @@ "items": { "type": "string", "enum": [ - "app", + "visibleForAllUsers", "enabled", - "inAppPurchaseV2", - "promotionImages", "state", + "app", + "inAppPurchaseV2", "subscription", - "visibleForAllUsers" + "promotionImages" ] } }, @@ -90151,31 +91316,30 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", "name", - "offerCodes", - "pricePoints", - "prices", "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", + "inAppPurchaseType", "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "reviewNote", + "familySharable", + "contentHosting", + "app", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -90183,29 +91347,33 @@ "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", "name", - "pricePoints", "productId", - "promotedPurchase", + "familySharable", + "state", + "subscriptionPeriod", "reviewNote", - "state" + "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images" ] } }, @@ -90221,32 +91389,22 @@ "items": { "type": "string", "enum": [ - "assetToken", - "assetType", - "fileName", "fileSize", - "imageAsset", - "promotedPurchase", + "fileName", "sourceFileChecksum", - "state", + "assetToken", + "imageAsset", + "assetType", "uploadOperations", - "uploaded" + "uploaded", + "state", + "promotedPurchase" ] } }, "style": "form", "explode": false }, - { - "name": "limit[promotionImages]", - "in": "query", - "description": "maximum number of related promotionImages returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -90257,13 +91415,24 @@ "type": "string", "enum": [ "inAppPurchaseV2", - "promotionImages", - "subscription" + "subscription", + "promotionImages" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[promotionImages]", + "in": "query", + "description": "maximum number of related promotionImages returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } ], "responses": { @@ -90337,7 +91506,7 @@ "tags": [ "PreReleaseVersions" ], - "operationId": "preReleaseVersions-app-get_to_one_related", + "operationId": "preReleaseVersions_app_getToOneRelated", "parameters": [ { "name": "fields[apps]", @@ -90348,49 +91517,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -90469,7 +91640,7 @@ "tags": [ "PreReleaseVersions" ], - "operationId": "preReleaseVersions-builds-get_to_many_related", + "operationId": "preReleaseVersions_builds_getToManyRelated", "parameters": [ { "name": "fields[builds]", @@ -90480,30 +91651,30 @@ "items": { "type": "string", "enum": [ - "app", - "appEncryptionDeclaration", - "appStoreVersion", - "betaAppReviewSubmission", - "betaBuildLocalizations", - "betaGroups", - "buildAudienceType", - "buildBetaDetail", - "buildBundles", - "computedMinMacOsVersion", - "diagnosticSignatures", + "version", + "uploadedDate", "expirationDate", "expired", - "iconAssetToken", - "icons", - "individualTesters", - "lsMinimumSystemVersion", "minOsVersion", - "perfPowerMetrics", - "preReleaseVersion", + "lsMinimumSystemVersion", + "computedMinMacOsVersion", + "iconAssetToken", "processingState", - "uploadedDate", + "buildAudienceType", "usesNonExemptEncryption", - "version" + "preReleaseVersion", + "individualTesters", + "betaGroups", + "betaBuildLocalizations", + "appEncryptionDeclaration", + "betaAppReviewSubmission", + "app", + "buildBetaDetail", + "appStoreVersion", + "icons", + "buildBundles", + "perfPowerMetrics", + "diagnosticSignatures" ] } }, @@ -90592,7 +91763,7 @@ "tags": [ "Profiles" ], - "operationId": "profiles-bundleId-get_to_one_related", + "operationId": "profiles_bundleId_getToOneRelated", "parameters": [ { "name": "fields[bundleIds]", @@ -90603,13 +91774,13 @@ "items": { "type": "string", "enum": [ - "app", - "bundleIdCapabilities", - "identifier", "name", "platform", + "identifier", + "seedId", "profiles", - "seedId" + "bundleIdCapabilities", + "app" ] } }, @@ -90688,7 +91859,7 @@ "tags": [ "Profiles" ], - "operationId": "profiles-certificates-get_to_many_related", + "operationId": "profiles_certificates_getToManyRelated", "parameters": [ { "name": "fields[certificates]", @@ -90699,14 +91870,14 @@ "items": { "type": "string", "enum": [ - "certificateContent", - "certificateType", + "name", "csrContent", + "certificateType", "displayName", - "expirationDate", - "name", + "serialNumber", "platform", - "serialNumber" + "expirationDate", + "certificateContent" ] } }, @@ -90795,7 +91966,7 @@ "tags": [ "Profiles" ], - "operationId": "profiles-devices-get_to_many_related", + "operationId": "profiles_devices_getToManyRelated", "parameters": [ { "name": "fields[devices]", @@ -90806,13 +91977,13 @@ "items": { "type": "string", "enum": [ - "addedDate", - "deviceClass", - "model", "name", "platform", + "udid", + "deviceClass", "status", - "udid" + "model", + "addedDate" ] } }, @@ -90901,24 +92072,28 @@ "tags": [ "PromotedPurchases" ], - "operationId": "promotedPurchases-promotionImages-get_to_many_related", + "operationId": "promotedPurchases_promotionImages_getToManyRelated", + "deprecated": true, "parameters": [ { - "name": "fields[promotedPurchases]", + "name": "fields[promotedPurchaseImages]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "the fields to include for returned resources of type promotedPurchaseImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "assetType", + "uploadOperations", + "uploaded", "state", - "subscription", - "visibleForAllUsers" + "promotedPurchase" ] } }, @@ -90926,24 +92101,21 @@ "explode": false }, { - "name": "fields[promotedPurchaseImages]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchaseImages", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "promotedPurchase", - "sourceFileChecksum", + "visibleForAllUsers", + "enabled", "state", - "uploadOperations", - "uploaded" + "app", + "inAppPurchaseV2", + "subscription", + "promotionImages" ] } }, @@ -91048,36 +92220,8 @@ "tags": [ "ReviewSubmissions" ], - "operationId": "reviewSubmissions-items-get_to_many_related", + "operationId": "reviewSubmissions_items_getToManyRelated", "parameters": [ - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[reviewSubmissionItems]", "in": "query", @@ -91087,15 +92231,15 @@ "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appEvent", + "state", + "resolved", + "removed", + "reviewSubmission", "appStoreVersion", + "appCustomProductPageVersion", "appStoreVersionExperiment", "appStoreVersionExperimentV2", - "removed", - "resolved", - "reviewSubmission", - "state" + "appEvent" ] } }, @@ -91111,29 +92255,30 @@ "items": { "type": "string", "enum": [ - "ageRatingDeclaration", - "alternativeDistributionPackage", - "app", - "appClipDefaultExperience", - "appStoreReviewDetail", + "platform", + "versionString", "appStoreState", - "appStoreVersionExperiments", - "appStoreVersionExperimentsV2", - "appStoreVersionLocalizations", - "appStoreVersionPhasedRelease", - "appStoreVersionSubmission", "appVersionState", - "build", "copyright", - "createdDate", - "customerReviews", - "downloadable", - "earliestReleaseDate", - "platform", - "releaseType", "reviewType", + "releaseType", + "earliestReleaseDate", + "downloadable", + "createdDate", + "app", + "ageRatingDeclaration", + "appStoreVersionLocalizations", + "build", + "appStoreVersionPhasedRelease", + "gameCenterAppVersion", "routingAppCoverage", - "versionString" + "appStoreReviewDetail", + "appStoreVersionSubmission", + "appClipDefaultExperience", + "appStoreVersionExperiments", + "appStoreVersionExperimentsV2", + "customerReviews", + "alternativeDistributionPackage" ] } }, @@ -91149,11 +92294,39 @@ "items": { "type": "string", "enum": [ - "appCustomProductPage", - "appCustomProductPageLocalizations", + "version", + "state", "deepLink", + "appCustomProductPage", + "appCustomProductPageLocalizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "name", + "trafficProportion", "state", - "version" + "reviewRequired", + "startDate", + "endDate", + "started", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "platform", + "app", + "latestControlVersion", + "controlVersions" ] } }, @@ -91169,18 +92342,18 @@ "items": { "type": "string", "enum": [ - "app", - "archivedTerritorySchedules", + "referenceName", "badge", - "deepLink", "eventState", - "localizations", + "deepLink", + "purchaseRequirement", "primaryLocale", "priority", - "purchaseRequirement", "purpose", - "referenceName", - "territorySchedules" + "territorySchedules", + "archivedTerritorySchedules", + "app", + "localizations" ] } }, @@ -91206,11 +92379,11 @@ "items": { "type": "string", "enum": [ - "appCustomProductPageVersion", - "appEvent", "appStoreVersion", + "appCustomProductPageVersion", "appStoreVersionExperiment", - "appStoreVersionExperimentV2" + "appStoreVersionExperimentV2", + "appEvent" ] } }, @@ -91289,7 +92462,7 @@ "tags": [ "ScmProviders" ], - "operationId": "scmProviders-repositories-get_to_many_related", + "operationId": "scmProviders_repositories_getToManyRelated", "parameters": [ { "name": "filter[id]", @@ -91305,19 +92478,23 @@ "explode": false }, { - "name": "fields[scmGitReferences]", + "name": "fields[scmRepositories]", "in": "query", - "description": "the fields to include for returned resources of type scmGitReferences", + "description": "the fields to include for returned resources of type scmRepositories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "canonicalName", - "isDeleted", - "kind", - "name", - "repository" + "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", + "ownerName", + "repositoryName", + "scmProvider", + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -91333,9 +92510,9 @@ "items": { "type": "string", "enum": [ - "repositories", "scmProviderType", - "url" + "url", + "repositories" ] } }, @@ -91343,23 +92520,19 @@ "explode": false }, { - "name": "fields[scmRepositories]", + "name": "fields[scmGitReferences]", "in": "query", - "description": "the fields to include for returned resources of type scmRepositories", + "description": "the fields to include for returned resources of type scmGitReferences", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", - "lastAccessedDate", - "ownerName", - "pullRequests", - "repositoryName", - "scmProvider", - "sshCloneUrl" + "name", + "canonicalName", + "isDeleted", + "kind", + "repository" ] } }, @@ -91385,8 +92558,8 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "scmProvider" + "scmProvider", + "defaultBranch" ] } }, @@ -91465,7 +92638,7 @@ "tags": [ "ScmRepositories" ], - "operationId": "scmRepositories-gitReferences-get_to_many_related", + "operationId": "scmRepositories_gitReferences_getToManyRelated", "parameters": [ { "name": "fields[scmGitReferences]", @@ -91476,10 +92649,10 @@ "items": { "type": "string", "enum": [ + "name", "canonicalName", "isDeleted", "kind", - "name", "repository" ] } @@ -91496,15 +92669,15 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", "ownerName", - "pullRequests", "repositoryName", "scmProvider", - "sshCloneUrl" + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -91609,7 +92782,7 @@ "tags": [ "ScmRepositories" ], - "operationId": "scmRepositories-pullRequests-get_to_many_related", + "operationId": "scmRepositories_pullRequests_getToManyRelated", "parameters": [ { "name": "fields[scmPullRequests]", @@ -91620,18 +92793,18 @@ "items": { "type": "string", "enum": [ - "destinationBranchName", - "destinationRepositoryName", + "title", + "number", + "webUrl", + "sourceRepositoryOwner", + "sourceRepositoryName", + "sourceBranchName", "destinationRepositoryOwner", + "destinationRepositoryName", + "destinationBranchName", "isClosed", "isCrossRepository", - "number", - "repository", - "sourceBranchName", - "sourceRepositoryName", - "sourceRepositoryOwner", - "title", - "webUrl" + "repository" ] } }, @@ -91647,15 +92820,15 @@ "items": { "type": "string", "enum": [ - "defaultBranch", - "gitReferences", - "httpCloneUrl", "lastAccessedDate", + "httpCloneUrl", + "sshCloneUrl", "ownerName", - "pullRequests", "repositoryName", "scmProvider", - "sshCloneUrl" + "defaultBranch", + "gitReferences", + "pullRequests" ] } }, @@ -91760,7 +92933,7 @@ "tags": [ "SubscriptionAvailabilities" ], - "operationId": "subscriptionAvailabilities-availableTerritories-get_to_many_related", + "operationId": "subscriptionAvailabilities_availableTerritories_getToManyRelated", "parameters": [ { "name": "fields[territories]", @@ -91860,21 +93033,22 @@ "tags": [ "SubscriptionGroups" ], - "operationId": "subscriptionGroups-subscriptionGroupLocalizations-get_to_many_related", + "operationId": "subscriptionGroups_subscriptionGroupLocalizations_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionGroups]", + "name": "fields[subscriptionGroupLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" + "name", + "customAppName", + "locale", + "state", + "subscriptionGroup" ] } }, @@ -91882,19 +93056,18 @@ "explode": false }, { - "name": "fields[subscriptionGroupLocalizations]", + "name": "fields[subscriptionGroups]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroupLocalizations", + "description": "the fields to include for returned resources of type subscriptionGroups", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customAppName", - "locale", - "name", - "state", - "subscriptionGroup" + "referenceName", + "app", + "subscriptions", + "subscriptionGroupLocalizations" ] } }, @@ -91999,12 +93172,12 @@ "tags": [ "SubscriptionGroups" ], - "operationId": "subscriptionGroups-subscriptions-get_to_many_related", + "operationId": "subscriptionGroups_subscriptions_getToManyRelated", "parameters": [ { - "name": "filter[name]", + "name": "filter[productId]", "in": "query", - "description": "filter by attribute 'name'", + "description": "filter by attribute 'productId'", "schema": { "type": "array", "items": { @@ -92015,9 +93188,9 @@ "explode": false }, { - "name": "filter[productId]", + "name": "filter[name]", "in": "query", - "description": "filter by attribute 'productId'", + "description": "filter by attribute 'name'", "schema": { "type": "array", "items": { @@ -92070,21 +93243,33 @@ "explode": false }, { - "name": "fields[promotedPurchases]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", + "name", + "productId", + "familySharable", "state", - "subscription", - "visibleForAllUsers" + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images" ] } }, @@ -92092,20 +93277,18 @@ "explode": false }, { - "name": "fields[subscriptionPromotionalOffers]", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", "name", - "numberOfPeriods", - "offerCode", - "offerMode", - "prices", + "locale", + "description", + "state", "subscription" ] } @@ -92114,26 +93297,66 @@ "explode": false }, { - "name": "fields[subscriptionOfferCodes]", + "name": "fields[subscriptionAppStoreReviewScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "active", - "customCodes", - "customerEligibilities", + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "subscription" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionGroups]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionGroups", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "referenceName", + "app", + "subscriptions", + "subscriptionGroupLocalizations" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[subscriptionIntroductoryOffers]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "startDate", + "endDate", "duration", - "name", - "numberOfPeriods", - "offerEligibility", "offerMode", - "oneTimeUseCodes", - "prices", + "numberOfPeriods", "subscription", - "totalNumberOfCodes" + "territory", + "subscriptionPricePoint" ] } }, @@ -92141,24 +93364,21 @@ "explode": false }, { - "name": "fields[subscriptionAppStoreReviewScreenshots]", + "name": "fields[subscriptionPromotionalOffers]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "sourceFileChecksum", + "name", + "offerCode", + "duration", + "offerMode", + "numberOfPeriods", "subscription", - "uploadOperations", - "uploaded" + "prices" ] } }, @@ -92166,31 +93386,26 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[subscriptionOfferCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "customerEligibilities", + "offerEligibility", + "duration", + "offerMode", + "numberOfPeriods", + "totalNumberOfCodes", + "active", + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -92198,17 +93413,20 @@ "explode": false }, { - "name": "fields[subscriptionAvailabilities]", + "name": "fields[subscriptionPrices]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", + "description": "the fields to include for returned resources of type subscriptionPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories", - "subscription" + "startDate", + "preserved", + "preserveCurrentPrice", + "subscription", + "territory", + "subscriptionPricePoint" ] } }, @@ -92216,18 +93434,21 @@ "explode": false }, { - "name": "fields[subscriptionGroups]", + "name": "fields[promotedPurchases]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionGroups", + "description": "the fields to include for returned resources of type promotedPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "visibleForAllUsers", + "enabled", + "state", "app", - "referenceName", - "subscriptionGroupLocalizations", - "subscriptions" + "inAppPurchaseV2", + "subscription", + "promotionImages" ] } }, @@ -92235,22 +93456,17 @@ "explode": false }, { - "name": "fields[subscriptionIntroductoryOffers]", + "name": "fields[subscriptionAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "endDate", - "numberOfPeriods", - "offerMode", - "startDate", + "availableInNewTerritories", "subscription", - "subscriptionPricePoint", - "territory" + "availableTerritories" ] } }, @@ -92258,20 +93474,28 @@ "explode": false }, { - "name": "fields[subscriptionPrices]", + "name": "fields[winBackOffers]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPrices", + "description": "the fields to include for returned resources of type winBackOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "preserveCurrentPrice", - "preserved", + "referenceName", + "offerId", + "duration", + "offerMode", + "periodCount", + "customerEligibilityPaidSubscriptionDurationInMonths", + "customerEligibilityTimeSinceLastSubscribedInMonths", + "customerEligibilityWaitBetweenOffersInMonths", "startDate", + "endDate", + "priority", + "promotionIntent", "subscription", - "subscriptionPricePoint", - "territory" + "prices" ] } }, @@ -92279,17 +93503,21 @@ "explode": false }, { - "name": "fields[subscriptionLocalizations]", + "name": "fields[subscriptionImages]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", + "description": "the fields to include for returned resources of type subscriptionImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "locale", - "name", + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "uploadOperations", + "uploaded", "state", "subscription" ] @@ -92308,6 +93536,32 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[subscriptionLocalizations]", "in": "query", @@ -92359,28 +93613,24 @@ "style": "form" }, { - "name": "include", + "name": "limit[winBackOffers]", "in": "query", - "description": "comma-separated list of relationships to include", + "description": "maximum number of related winBackOffers returned (when they are included)", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreReviewScreenshot", - "group", - "introductoryOffers", - "offerCodes", - "prices", - "promotedPurchase", - "promotionalOffers", - "subscriptionAvailability", - "subscriptionLocalizations" - ] - } + "type": "integer", + "maximum": 50 }, - "style": "form", - "explode": false + "style": "form" + }, + { + "name": "limit[images]", + "in": "query", + "description": "maximum number of related images returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -92454,7 +93704,7 @@ "tags": [ "SubscriptionOfferCodeOneTimeUseCodes" ], - "operationId": "subscriptionOfferCodeOneTimeUseCodes-values-get_to_one_related", + "operationId": "subscriptionOfferCodeOneTimeUseCodes_values_getToOneRelated", "parameters": [], "responses": { "400": { @@ -92527,7 +93777,7 @@ "tags": [ "SubscriptionOfferCodes" ], - "operationId": "subscriptionOfferCodes-customCodes-get_to_many_related", + "operationId": "subscriptionOfferCodes_customCodes_getToManyRelated", "parameters": [ { "name": "fields[subscriptionOfferCodeCustomCodes]", @@ -92538,11 +93788,11 @@ "items": { "type": "string", "enum": [ - "active", - "createdDate", "customCode", - "expirationDate", "numberOfCodes", + "createdDate", + "expirationDate", + "active", "offerCode" ] } @@ -92559,18 +93809,18 @@ "items": { "type": "string", "enum": [ - "active", - "customCodes", - "customerEligibilities", - "duration", "name", - "numberOfPeriods", + "customerEligibilities", "offerEligibility", + "duration", "offerMode", - "oneTimeUseCodes", - "prices", + "numberOfPeriods", + "totalNumberOfCodes", + "active", "subscription", - "totalNumberOfCodes" + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -92675,29 +93925,23 @@ "tags": [ "SubscriptionOfferCodes" ], - "operationId": "subscriptionOfferCodes-oneTimeUseCodes-get_to_many_related", + "operationId": "subscriptionOfferCodes_oneTimeUseCodes_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionOfferCodes]", + "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "numberOfCodes", + "createdDate", + "expirationDate", "active", - "customCodes", - "customerEligibilities", - "duration", - "name", - "numberOfPeriods", - "offerEligibility", - "offerMode", - "oneTimeUseCodes", - "prices", - "subscription", - "totalNumberOfCodes" + "offerCode", + "values" ] } }, @@ -92705,20 +93949,26 @@ "explode": false }, { - "name": "fields[subscriptionOfferCodeOneTimeUseCodes]", + "name": "fields[subscriptionOfferCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "name", + "customerEligibilities", + "offerEligibility", + "duration", + "offerMode", + "numberOfPeriods", + "totalNumberOfCodes", "active", - "createdDate", - "expirationDate", - "numberOfCodes", - "offerCode", - "values" + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -92823,7 +94073,7 @@ "tags": [ "SubscriptionOfferCodes" ], - "operationId": "subscriptionOfferCodes-prices-get_to_many_related", + "operationId": "subscriptionOfferCodes_prices_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -92839,20 +94089,16 @@ "explode": false }, { - "name": "fields[subscriptionPricePoints]", + "name": "fields[subscriptionOfferCodePrices]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", - "subscription", - "territory" + "territory", + "subscriptionPricePoint" ] } }, @@ -92876,16 +94122,20 @@ "explode": false }, { - "name": "fields[subscriptionOfferCodePrices]", + "name": "fields[subscriptionPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodePrices", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "subscription", + "equalizations" ] } }, @@ -92911,8 +94161,8 @@ "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "territory", + "subscriptionPricePoint" ] } }, @@ -92991,12 +94241,12 @@ "tags": [ "SubscriptionPricePoints" ], - "operationId": "subscriptionPricePoints-equalizations-get_to_many_related", + "operationId": "subscriptionPricePoints_equalizations_getToManyRelated", "parameters": [ { - "name": "filter[subscription]", + "name": "filter[territory]", "in": "query", - "description": "filter by id(s) of related 'subscription'", + "description": "filter by id(s) of related 'territory'", "schema": { "type": "array", "items": { @@ -93007,9 +94257,9 @@ "explode": false }, { - "name": "filter[territory]", + "name": "filter[subscription]", "in": "query", - "description": "filter by id(s) of related 'territory'", + "description": "filter by id(s) of related 'subscription'", "schema": { "type": "array", "items": { @@ -93029,11 +94279,11 @@ "type": "string", "enum": [ "customerPrice", - "equalizations", "proceeds", "proceedsYear2", + "territory", "subscription", - "territory" + "equalizations" ] } }, @@ -93125,16 +94375,184 @@ } }, "200": { - "description": "List of SubscriptionPricePoints", + "description": "List of SubscriptionPricePoints", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPricePointsResponse" + } + }, + "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/subscriptionPromotionalOffers/{id}/prices": { + "get": { + "tags": [ + "SubscriptionPromotionalOffers" + ], + "operationId": "subscriptionPromotionalOffers_prices_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": "fields[subscriptionPromotionalOfferPrices]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "territory", + "subscriptionPricePoint" + ] + } + }, + "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": "fields[subscriptionPricePoints]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPricePoints", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "subscription", + "equalizations" + ] + } + }, + "style": "form", + "explode": 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": [ + "territory", + "subscriptionPricePoint" + ] + } + }, + "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 SubscriptionPromotionalOfferPrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricePointsResponse" - } - }, - "text/csv": { - "schema": { - "$ref": "#/components/schemas/csv" + "$ref": "#/components/schemas/SubscriptionPromotionalOfferPricesResponse" } } } @@ -93154,57 +94572,32 @@ } ] }, - "/v1/subscriptionPromotionalOffers/{id}/prices": { + "/v1/subscriptions/{id}/appStoreReviewScreenshot": { "get": { "tags": [ - "SubscriptionPromotionalOffers" + "Subscriptions" ], - "operationId": "subscriptionPromotionalOffers-prices-get_to_many_related", + "operationId": "subscriptions_appStoreReviewScreenshot_getToOneRelated", "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": "fields[subscriptionPricePoints]", - "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", - "subscription", - "territory" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[territories]", + "name": "fields[subscriptionAppStoreReviewScreenshots]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "fileSize", + "fileName", + "sourceFileChecksum", + "imageAsset", + "assetToken", + "assetType", + "uploadOperations", + "assetDeliveryState", + "uploaded", + "subscription" ] } }, @@ -93212,32 +94605,39 @@ "explode": false }, { - "name": "fields[subscriptionPromotionalOfferPrices]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "name", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -93247,8 +94647,7 @@ "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "subscription" ] } }, @@ -93298,11 +94697,11 @@ } }, "200": { - "description": "List of SubscriptionPromotionalOfferPrices", + "description": "Single SubscriptionAppStoreReviewScreenshot", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOfferPricesResponse" + "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" } } } @@ -93322,32 +94721,31 @@ } ] }, - "/v1/subscriptions/{id}/appStoreReviewScreenshot": { + "/v1/subscriptions/{id}/images": { "get": { "tags": [ "Subscriptions" ], - "operationId": "subscriptions-appStoreReviewScreenshot-get_to_one_related", + "operationId": "subscriptions_images_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionAppStoreReviewScreenshots]", + "name": "fields[subscriptionImages]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAppStoreReviewScreenshots", + "description": "the fields to include for returned resources of type subscriptionImages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetDeliveryState", - "assetToken", - "assetType", - "fileName", "fileSize", - "imageAsset", + "fileName", "sourceFileChecksum", - "subscription", + "assetToken", + "imageAsset", "uploadOperations", - "uploaded" + "uploaded", + "state", + "subscription" ] } }, @@ -93363,29 +94761,41 @@ "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", + "name", + "productId", "familySharable", - "group", + "state", + "subscriptionPeriod", + "reviewNote", "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", "introductoryOffers", - "name", + "promotionalOffers", "offerCodes", - "pricePoints", "prices", - "productId", + "pricePoints", "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "winBackOffers", + "images" ] } }, "style": "form", "explode": false }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, { "name": "include", "in": "query", @@ -93445,11 +94855,11 @@ } }, "200": { - "description": "Single SubscriptionAppStoreReviewScreenshot", + "description": "List of SubscriptionImages", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAppStoreReviewScreenshotResponse" + "$ref": "#/components/schemas/SubscriptionImagesResponse" } } } @@ -93474,7 +94884,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-introductoryOffers-get_to_many_relationship", + "operationId": "subscriptions_introductoryOffers_getToManyRelationship", "parameters": [ { "name": "limit", @@ -93544,7 +94954,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-introductoryOffers-delete_to_many_relationship", + "operationId": "subscriptions_introductoryOffers_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -93630,7 +95040,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-introductoryOffers-get_to_many_related", + "operationId": "subscriptions_introductoryOffers_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -93646,20 +95056,22 @@ "explode": false }, { - "name": "fields[subscriptionPricePoints]", + "name": "fields[subscriptionIntroductoryOffers]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPricePoints", + "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "customerPrice", - "equalizations", - "proceeds", - "proceedsYear2", + "startDate", + "endDate", + "duration", + "offerMode", + "numberOfPeriods", "subscription", - "territory" + "territory", + "subscriptionPricePoint" ] } }, @@ -93675,23 +95087,25 @@ "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", + "name", + "productId", "familySharable", - "group", + "state", + "subscriptionPeriod", + "reviewNote", "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", "introductoryOffers", - "name", + "promotionalOffers", "offerCodes", - "pricePoints", "prices", - "productId", + "pricePoints", "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "winBackOffers", + "images" ] } }, @@ -93699,22 +95113,15 @@ "explode": false }, { - "name": "fields[subscriptionIntroductoryOffers]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionIntroductoryOffers", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "endDate", - "numberOfPeriods", - "offerMode", - "startDate", - "subscription", - "subscriptionPricePoint", - "territory" + "currency" ] } }, @@ -93722,15 +95129,20 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[subscriptionPricePoints]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "subscription", + "equalizations" ] } }, @@ -93757,8 +95169,8 @@ "type": "string", "enum": [ "subscription", - "subscriptionPricePoint", - "territory" + "territory", + "subscriptionPricePoint" ] } }, @@ -93837,7 +95249,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-offerCodes-get_to_many_related", + "operationId": "subscriptions_offerCodes_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -93853,20 +95265,26 @@ "explode": false }, { - "name": "fields[subscriptionOfferCodeCustomCodes]", + "name": "fields[subscriptionOfferCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", + "description": "the fields to include for returned resources of type subscriptionOfferCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ + "name", + "customerEligibilities", + "offerEligibility", + "duration", + "offerMode", + "numberOfPeriods", + "totalNumberOfCodes", "active", - "createdDate", - "customCode", - "expirationDate", - "numberOfCodes", - "offerCode" + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" ] } }, @@ -93874,26 +95292,33 @@ "explode": false }, { - "name": "fields[subscriptionOfferCodes]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionOfferCodes", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "active", - "customCodes", - "customerEligibilities", - "duration", "name", - "numberOfPeriods", - "offerEligibility", - "offerMode", - "oneTimeUseCodes", + "productId", + "familySharable", + "state", + "subscriptionPeriod", + "reviewNote", + "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", "prices", - "subscription", - "totalNumberOfCodes" + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images" ] } }, @@ -93909,10 +95334,10 @@ "items": { "type": "string", "enum": [ - "active", + "numberOfCodes", "createdDate", "expirationDate", - "numberOfCodes", + "active", "offerCode", "values" ] @@ -93922,31 +95347,20 @@ "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[subscriptionOfferCodeCustomCodes]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionOfferCodeCustomCodes", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "customCode", + "numberOfCodes", + "createdDate", + "expirationDate", + "active", + "offerCode" ] } }, @@ -93962,8 +95376,8 @@ "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "territory", + "subscriptionPricePoint" ] } }, @@ -93980,6 +95394,25 @@ }, "style": "form" }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "subscription", + "oneTimeUseCodes", + "customCodes", + "prices" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit[oneTimeUseCodes]", "in": "query", @@ -94009,25 +95442,6 @@ "maximum": 50 }, "style": "form" - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "customCodes", - "oneTimeUseCodes", - "prices", - "subscription" - ] - } - }, - "style": "form", - "explode": false } ], "responses": { @@ -94101,7 +95515,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-pricePoints-get_to_many_related", + "operationId": "subscriptions_pricePoints_getToManyRelated", "parameters": [ { "name": "filter[territory]", @@ -94126,11 +95540,11 @@ "type": "string", "enum": [ "customerPrice", - "equalizations", "proceeds", "proceedsYear2", + "territory", "subscription", - "territory" + "equalizations" ] } }, @@ -94256,7 +95670,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-prices-get_to_many_relationship", + "operationId": "subscriptions_prices_getToManyRelationship", "parameters": [ { "name": "limit", @@ -94326,7 +95740,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-prices-delete_to_many_relationship", + "operationId": "subscriptions_prices_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -94412,7 +95826,7 @@ "tags": [ "Subscriptions" ], - "operationId": "subscriptions-prices-get_to_many_related", + "operationId": "subscriptions_prices_getToManyRelated", "parameters": [ { "name": "filter[subscriptionPricePoint]", @@ -94440,6 +95854,43 @@ "style": "form", "explode": false }, + { + "name": "fields[subscriptionPrices]", + "in": "query", + "description": "the fields to include for returned resources of type subscriptionPrices", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "startDate", + "preserved", + "preserveCurrentPrice", + "subscription", + "territory", + "subscriptionPricePoint" + ] + } + }, + "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": "fields[subscriptionPricePoints]", "in": "query", @@ -94450,11 +95901,11 @@ "type": "string", "enum": [ "customerPrice", - "equalizations", "proceeds", "proceedsYear2", + "territory", "subscription", - "territory" + "equalizations" ] } }, @@ -94462,20 +95913,122 @@ "explode": false }, { - "name": "fields[subscriptionPrices]", + "name": "limit", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPrices", + "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": [ - "preserveCurrentPrice", - "preserved", - "startDate", + "territory", + "subscriptionPricePoint" + ] + } + }, + "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 SubscriptionPrices", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SubscriptionPricesResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/subscriptions/{id}/promotedPurchase": { + "get": { + "tags": [ + "Subscriptions" + ], + "operationId": "subscriptions_promotedPurchase_getToOneRelated", + "parameters": [ + { + "name": "fields[promotedPurchases]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "visibleForAllUsers", + "enabled", + "state", + "app", + "inAppPurchaseV2", "subscription", - "subscriptionPricePoint", - "territory" + "promotionImages" ] } }, @@ -94483,15 +96036,30 @@ "explode": false }, { - "name": "fields[territories]", + "name": "fields[inAppPurchases]", "in": "query", - "description": "the fields to include for returned resources of type territories", + "description": "the fields to include for returned resources of type inAppPurchases", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "currency" + "name", + "productId", + "inAppPurchaseType", + "state", + "reviewNote", + "familySharable", + "contentHosting", + "app", + "inAppPurchaseLocalizations", + "pricePoints", + "content", + "appStoreReviewScreenshot", + "promotedPurchase", + "iapPriceSchedule", + "inAppPurchaseAvailability", + "images" ] } }, @@ -94499,14 +96067,63 @@ "explode": false }, { - "name": "limit", + "name": "fields[subscriptions]", "in": "query", - "description": "maximum resources per page", + "description": "the fields to include for returned resources of type subscriptions", "schema": { - "type": "integer", - "maximum": 200 + "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" + "style": "form", + "explode": false + }, + { + "name": "fields[promotedPurchaseImages]", + "in": "query", + "description": "the fields to include for returned resources of type promotedPurchaseImages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "fileSize", + "fileName", + "sourceFileChecksum", + "assetToken", + "imageAsset", + "assetType", + "uploadOperations", + "uploaded", + "state", + "promotedPurchase" + ] + } + }, + "style": "form", + "explode": false }, { "name": "include", @@ -94517,13 +96134,25 @@ "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "inAppPurchaseV2", + "subscription", + "promotionImages" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[promotionImages]", + "in": "query", + "description": "maximum number of related promotionImages returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "deprecated": true } ], "responses": { @@ -94568,11 +96197,11 @@ } }, "200": { - "description": "List of SubscriptionPrices", + "description": "Single PromotedPurchase", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPricesResponse" + "$ref": "#/components/schemas/PromotedPurchaseResponse" } } } @@ -94592,61 +96221,42 @@ } ] }, - "/v1/subscriptions/{id}/promotedPurchase": { + "/v1/subscriptions/{id}/promotionalOffers": { "get": { "tags": [ "Subscriptions" ], - "operationId": "subscriptions-promotedPurchase-get_to_one_related", + "operationId": "subscriptions_promotionalOffers_getToManyRelated", "parameters": [ { - "name": "fields[promotedPurchases]", + "name": "filter[territory]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchases", + "description": "filter by territory", "schema": { "type": "array", "items": { - "type": "string", - "enum": [ - "app", - "enabled", - "inAppPurchaseV2", - "promotionImages", - "state", - "subscription", - "visibleForAllUsers" - ] + "type": "string" } }, "style": "form", "explode": false }, { - "name": "fields[subscriptions]", + "name": "fields[subscriptionPromotionalOffers]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "offerCode", + "duration", + "offerMode", + "numberOfPeriods", + "subscription", + "prices" ] } }, @@ -94654,29 +96264,33 @@ "explode": false }, { - "name": "fields[inAppPurchases]", + "name": "fields[subscriptions]", "in": "query", - "description": "the fields to include for returned resources of type inAppPurchases", + "description": "the fields to include for returned resources of type subscriptions", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "app", - "appStoreReviewScreenshot", - "content", - "contentHosting", - "familySharable", - "iapPriceSchedule", - "inAppPurchaseAvailability", - "inAppPurchaseLocalizations", - "inAppPurchaseType", "name", - "pricePoints", "productId", - "promotedPurchase", + "familySharable", + "state", + "subscriptionPeriod", "reviewNote", - "state" + "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", + "introductoryOffers", + "promotionalOffers", + "offerCodes", + "prices", + "pricePoints", + "promotedPurchase", + "subscriptionAvailability", + "winBackOffers", + "images" ] } }, @@ -94684,24 +96298,16 @@ "explode": false }, { - "name": "fields[promotedPurchaseImages]", + "name": "fields[subscriptionPromotionalOfferPrices]", "in": "query", - "description": "the fields to include for returned resources of type promotedPurchaseImages", + "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "assetToken", - "assetType", - "fileName", - "fileSize", - "imageAsset", - "promotedPurchase", - "sourceFileChecksum", - "state", - "uploadOperations", - "uploaded" + "territory", + "subscriptionPricePoint" ] } }, @@ -94709,12 +96315,12 @@ "explode": false }, { - "name": "limit[promotionImages]", + "name": "limit", "in": "query", - "description": "maximum number of related promotionImages returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -94727,14 +96333,23 @@ "items": { "type": "string", "enum": [ - "inAppPurchaseV2", - "promotionImages", - "subscription" + "subscription", + "prices" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -94779,11 +96394,11 @@ } }, "200": { - "description": "Single PromotedPurchase", + "description": "List of SubscriptionPromotionalOffers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PromotedPurchaseResponse" + "$ref": "#/components/schemas/SubscriptionPromotionalOffersResponse" } } } @@ -94803,42 +96418,25 @@ } ] }, - "/v1/subscriptions/{id}/promotionalOffers": { + "/v1/subscriptions/{id}/subscriptionAvailability": { "get": { "tags": [ "Subscriptions" ], - "operationId": "subscriptions-promotionalOffers-get_to_many_related", + "operationId": "subscriptions_subscriptionAvailability_getToOneRelated", "parameters": [ { - "name": "filter[territory]", - "in": "query", - "description": "filter by territory", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": false - }, - { - "name": "fields[subscriptionPromotionalOffers]", + "name": "fields[subscriptionAvailabilities]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOffers", + "description": "the fields to include for returned resources of type subscriptionAvailabilities", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "duration", - "name", - "numberOfPeriods", - "offerCode", - "offerMode", - "prices", - "subscription" + "availableInNewTerritories", + "subscription", + "availableTerritories" ] } }, @@ -94854,23 +96452,25 @@ "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", + "name", + "productId", "familySharable", - "group", + "state", + "subscriptionPeriod", + "reviewNote", "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", "introductoryOffers", - "name", + "promotionalOffers", "offerCodes", - "pricePoints", "prices", - "productId", + "pricePoints", "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "winBackOffers", + "images" ] } }, @@ -94878,42 +96478,21 @@ "explode": false }, { - "name": "fields[subscriptionPromotionalOfferPrices]", + "name": "fields[territories]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionPromotionalOfferPrices", + "description": "the fields to include for returned resources of type territories", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "subscriptionPricePoint", - "territory" + "currency" ] } }, "style": "form", "explode": false }, - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "limit[prices]", - "in": "query", - "description": "maximum number of related prices returned (when they are included)", - "schema": { - "type": "integer", - "maximum": 50 - }, - "style": "form" - }, { "name": "include", "in": "query", @@ -94923,13 +96502,23 @@ "items": { "type": "string", "enum": [ - "prices", - "subscription" + "subscription", + "availableTerritories" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[availableTerritories]", + "in": "query", + "description": "maximum number of related availableTerritories returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -94974,11 +96563,11 @@ } }, "200": { - "description": "List of SubscriptionPromotionalOffers", + "description": "Single SubscriptionAvailability", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionPromotionalOffersResponse" + "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" } } } @@ -94998,24 +96587,26 @@ } ] }, - "/v1/subscriptions/{id}/subscriptionAvailability": { + "/v1/subscriptions/{id}/subscriptionLocalizations": { "get": { "tags": [ "Subscriptions" ], - "operationId": "subscriptions-subscriptionAvailability-get_to_one_related", + "operationId": "subscriptions_subscriptionLocalizations_getToManyRelated", "parameters": [ { - "name": "fields[subscriptionAvailabilities]", + "name": "fields[subscriptionLocalizations]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionAvailabilities", + "description": "the fields to include for returned resources of type subscriptionLocalizations", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "availableInNewTerritories", - "availableTerritories", + "name", + "locale", + "description", + "state", "subscription" ] } @@ -95032,23 +96623,25 @@ "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", + "name", + "productId", "familySharable", - "group", + "state", + "subscriptionPeriod", + "reviewNote", "groupLevel", + "subscriptionLocalizations", + "appStoreReviewScreenshot", + "group", "introductoryOffers", - "name", + "promotionalOffers", "offerCodes", - "pricePoints", "prices", - "productId", + "pricePoints", "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "winBackOffers", + "images" ] } }, @@ -95056,28 +96649,12 @@ "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[availableTerritories]", + "name": "limit", "in": "query", - "description": "maximum number of related availableTerritories returned (when they are included)", + "description": "maximum resources per page", "schema": { "type": "integer", - "maximum": 50 + "maximum": 200 }, "style": "form" }, @@ -95090,7 +96667,6 @@ "items": { "type": "string", "enum": [ - "availableTerritories", "subscription" ] } @@ -95141,11 +96717,11 @@ } }, "200": { - "description": "Single SubscriptionAvailability", + "description": "List of SubscriptionLocalizations", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionAvailabilityResponse" + "$ref": "#/components/schemas/SubscriptionLocalizationsResponse" } } } @@ -95165,39 +96741,36 @@ } ] }, - "/v1/subscriptions/{id}/subscriptionLocalizations": { + "/v1/subscriptions/{id}/winBackOffers": { "get": { "tags": [ "Subscriptions" ], - "operationId": "subscriptions-subscriptionLocalizations-get_to_many_related", + "operationId": "subscriptions_winBackOffers_getToManyRelated", "parameters": [ { - "name": "fields[subscriptions]", + "name": "fields[winBackOffers]", "in": "query", - "description": "the fields to include for returned resources of type subscriptions", + "description": "the fields to include for returned resources of type winBackOffers", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewScreenshot", - "familySharable", - "group", - "groupLevel", - "introductoryOffers", - "name", - "offerCodes", - "pricePoints", - "prices", - "productId", - "promotedPurchase", - "promotionalOffers", - "reviewNote", - "state", - "subscriptionAvailability", - "subscriptionLocalizations", - "subscriptionPeriod" + "referenceName", + "offerId", + "duration", + "offerMode", + "periodCount", + "customerEligibilityPaidSubscriptionDurationInMonths", + "customerEligibilityTimeSinceLastSubscribedInMonths", + "customerEligibilityWaitBetweenOffersInMonths", + "startDate", + "endDate", + "priority", + "promotionIntent", + "subscription", + "prices" ] } }, @@ -95205,19 +96778,16 @@ "explode": false }, { - "name": "fields[subscriptionLocalizations]", + "name": "fields[winBackOfferPrices]", "in": "query", - "description": "the fields to include for returned resources of type subscriptionLocalizations", + "description": "the fields to include for returned resources of type winBackOfferPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "description", - "locale", - "name", - "state", - "subscription" + "territory", + "subscriptionPricePoint" ] } }, @@ -95243,12 +96813,22 @@ "items": { "type": "string", "enum": [ - "subscription" + "prices" ] } }, "style": "form", "explode": false + }, + { + "name": "limit[prices]", + "in": "query", + "description": "maximum number of related prices returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" } ], "responses": { @@ -95293,11 +96873,11 @@ } }, "200": { - "description": "List of SubscriptionLocalizations", + "description": "List of WinBackOffers", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SubscriptionLocalizationsResponse" + "$ref": "#/components/schemas/WinBackOffersResponse" } } } @@ -95322,7 +96902,7 @@ "tags": [ "UserInvitations" ], - "operationId": "userInvitations-visibleApps-get_to_many_related", + "operationId": "userInvitations_visibleApps_getToManyRelated", "parameters": [ { "name": "fields[apps]", @@ -95333,49 +96913,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -95464,7 +97046,7 @@ "tags": [ "Users" ], - "operationId": "users-visibleApps-get_to_many_relationship", + "operationId": "users_visibleApps_getToManyRelationship", "parameters": [ { "name": "limit", @@ -95534,7 +97116,7 @@ "tags": [ "Users" ], - "operationId": "users-visibleApps-create_to_many_relationship", + "operationId": "users_visibleApps_createToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -95606,7 +97188,7 @@ "tags": [ "Users" ], - "operationId": "users-visibleApps-replace_to_many_relationship", + "operationId": "users_visibleApps_replaceToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -95678,7 +97260,7 @@ "tags": [ "Users" ], - "operationId": "users-visibleApps-delete_to_many_relationship", + "operationId": "users_visibleApps_deleteToManyRelationship", "requestBody": { "description": "List of related linkages", "content": { @@ -95764,7 +97346,7 @@ "tags": [ "Users" ], - "operationId": "users-visibleApps-get_to_many_related", + "operationId": "users_visibleApps_getToManyRelated", "parameters": [ { "name": "fields[apps]", @@ -95775,49 +97357,51 @@ "items": { "type": "string", "enum": [ - "alternativeDistributionKey", - "analyticsReportRequests", - "appAvailability", - "appClips", - "appCustomProductPages", + "name", + "bundleId", + "sku", + "primaryLocale", + "isOrEverWasMadeForKids", + "subscriptionStatusUrl", + "subscriptionStatusUrlVersion", + "subscriptionStatusUrlForSandbox", + "subscriptionStatusUrlVersionForSandbox", + "contentRightsDeclaration", + "streamlinedPurchasingEnabled", "appEncryptionDeclarations", - "appEvents", - "appInfos", - "appPricePoints", - "appPriceSchedule", - "appStoreVersionExperimentsV2", + "ciProduct", + "betaTesters", + "betaGroups", "appStoreVersions", + "preReleaseVersions", "betaAppLocalizations", - "betaAppReviewDetail", - "betaGroups", - "betaLicenseAgreement", - "betaTesters", "builds", - "bundleId", - "ciProduct", - "contentRightsDeclaration", - "customerReviews", + "betaLicenseAgreement", + "betaAppReviewDetail", + "appInfos", + "appClips", + "appPricePoints", "endUserLicenseAgreement", - "gameCenterDetail", - "gameCenterEnabledVersions", + "preOrder", + "appPriceSchedule", + "appAvailability", + "appAvailabilityV2", "inAppPurchases", - "inAppPurchasesV2", - "isOrEverWasMadeForKids", - "marketplaceSearchDetail", - "name", + "subscriptionGroups", + "gameCenterEnabledVersions", "perfPowerMetrics", - "preOrder", - "preReleaseVersions", - "primaryLocale", + "appCustomProductPages", + "inAppPurchasesV2", "promotedPurchases", + "appEvents", "reviewSubmissions", - "sku", "subscriptionGracePeriod", - "subscriptionGroups", - "subscriptionStatusUrl", - "subscriptionStatusUrlForSandbox", - "subscriptionStatusUrlVersion", - "subscriptionStatusUrlVersionForSandbox" + "customerReviews", + "gameCenterDetail", + "appStoreVersionExperimentsV2", + "alternativeDistributionKey", + "analyticsReportRequests", + "marketplaceSearchDetail" ] } }, @@ -95901,34 +97485,37 @@ } ] }, - "/v1/apps/{id}/metrics/betaTesterUsages": { + "/v1/winBackOffers/{id}/prices": { "get": { "tags": [ - "Apps", - "Metrics" + "WinBackOffers" ], - "operationId": "apps-betaTesterUsages-get_metrics", + "operationId": "winBackOffers_prices_getToManyRelated", "parameters": [ { - "name": "limit", + "name": "filter[territory]", "in": "query", - "description": "maximum number of groups to return per page", + "description": "filter by id(s) of related 'territory'", "schema": { - "type": "integer", - "maximum": 200 + "type": "array", + "items": { + "type": "string" + } }, - "style": "form" + "style": "form", + "explode": false }, { - "name": "groupBy", + "name": "fields[winBackOfferPrices]", "in": "query", - "description": "the dimension by which to group the results", + "description": "the fields to include for returned resources of type winBackOfferPrices", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "betaTesters" + "territory", + "subscriptionPricePoint" ] } }, @@ -95936,128 +97523,46 @@ "explode": false }, { - "name": "filter[betaTesters]", + "name": "fields[territories]", "in": "query", - "description": "filter by 'betaTesters' relationship dimension", + "description": "the fields to include for returned resources of type territories", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string", + "enum": [ + "currency" + ] + } }, "style": "form", - "explode": false, - "required": false + "explode": false }, { - "name": "period", + "name": "fields[subscriptionPricePoints]", "in": "query", - "description": "the duration of the reporting period", + "description": "the fields to include for returned resources of type subscriptionPricePoints", "schema": { - "type": "string", - "enum": [ - "P7D", - "P30D", - "P90D", - "P365D" - ] + "type": "array", + "items": { + "type": "string", + "enum": [ + "customerPrice", + "proceeds", + "proceedsYear2", + "territory", + "subscription", + "equalizations" + ] + } }, "style": "form", - "explode": false, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } - } - ], - "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": "Metrics data response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppsBetaTesterUsagesV1MetricResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + "explode": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/betaGroups/{id}/metrics/betaTesterUsages": { - "get": { - "tags": [ - "BetaGroups", - "Metrics" - ], - "operationId": "betaGroups-betaTesterUsages-get_metrics", - "parameters": [ { "name": "limit", "in": "query", - "description": "maximum number of groups to return per page", + "description": "maximum resources per page", "schema": { "type": "integer", "maximum": 200 @@ -96065,64 +97570,21 @@ "style": "form" }, { - "name": "groupBy", + "name": "include", "in": "query", - "description": "the dimension by which to group the results", + "description": "comma-separated list of relationships to include", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "betaTesters" + "territory", + "subscriptionPricePoint" ] } }, "style": "form", "explode": false - }, - { - "name": "filter[betaTesters]", - "in": "query", - "description": "filter by 'betaTesters' relationship dimension", - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "period", - "in": "query", - "description": "the duration of the reporting period", - "schema": { - "type": "string", - "enum": [ - "P7D", - "P30D", - "P90D", - "P365D" - ] - }, - "style": "form", - "explode": false, - "examples": { - "PnD": { - "value": "P7D" - }, - "PTnH": { - "value": "PT10H" - }, - "PTnM": { - "value": "PT10M" - }, - "PTn.nS": { - "value": "PT10.5S" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - } - } } ], "responses": { @@ -96167,11 +97629,11 @@ } }, "200": { - "description": "Metrics data response", + "description": "List of WinBackOfferPrices", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AppsBetaTesterUsagesV1MetricResponse" + "$ref": "#/components/schemas/WinBackOfferPricesResponse" } } } @@ -96191,35 +97653,14 @@ } ] }, - "/v1/betaTesters/{id}/metrics/betaTesterUsages": { + "/v1/apps/{id}/metrics/betaTesterUsages": { "get": { "tags": [ - "BetaTesters", + "Apps", "Metrics" ], - "operationId": "betaTesters-betaTesterUsages-get_metrics", + "operationId": "apps_betaTesterUsages_getMetrics", "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "filter[apps]", - "in": "query", - "description": "filter by 'apps' relationship dimension", - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "required": true - }, { "name": "period", "in": "query", @@ -96252,82 +97693,34 @@ "value": "P7DT10H10M10.5S" } } - } - ], - "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" - } + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "betaTesters" + ] } - } + }, + "style": "form", + "explode": false }, - "200": { - "description": "Metrics data response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BetaTesterUsagesV1MetricResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" + { + "name": "filter[betaTesters]", + "in": "query", + "description": "filter by 'betaTesters' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false }, - "style": "simple", - "required": true - } - ] - }, - "/v1/builds/{id}/metrics/betaBuildUsages": { - "get": { - "tags": [ - "Builds", - "Metrics" - ], - "operationId": "builds-betaBuildUsages-get_metrics", - "parameters": [ { "name": "limit", "in": "query", @@ -96385,7 +97778,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BetaBuildUsagesV1MetricResponse" + "$ref": "#/components/schemas/AppsBetaTesterUsagesV1MetricResponse" } } } @@ -96405,39 +97798,29 @@ } ] }, - "/v1/gameCenterDetails/{id}/metrics/classicMatchmakingRequests": { + "/v1/betaGroups/{id}/metrics/betaTesterUsages": { "get": { "tags": [ - "GameCenterDetails", + "BetaGroups", "Metrics" ], - "operationId": "gameCenterDetails-classicMatchmakingRequests-get_metrics", + "operationId": "betaGroups_betaTesterUsages_getMetrics", "parameters": [ { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "granularity", + "name": "period", "in": "query", - "description": "the granularity of the per-group dataset", + "description": "the duration of the reporting period", "schema": { "type": "string", "enum": [ - "P1D", - "PT1H", - "PT15M" + "P7D", + "P30D", + "P90D", + "P365D" ] }, "style": "form", "explode": false, - "required": true, "examples": { "PnD": { "value": "P7D" @@ -96465,7 +97848,7 @@ "items": { "type": "string", "enum": [ - "result" + "betaTesters" ] } }, @@ -96473,43 +97856,25 @@ "explode": false }, { - "name": "filter[result]", + "name": "filter[betaTesters]", "in": "query", - "description": "filter by 'result' attribute dimension", + "description": "filter by 'betaTesters' relationship dimension", "schema": { - "type": "string", - "enum": [ - "MATCHED", - "CANCELED", - "EXPIRED" - ] + "type": "string" }, "style": "form", "explode": false, "required": false }, { - "name": "sort", + "name": "limit", "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "description": "maximum number of groups to return per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "averageSecondsInQueue", - "-averageSecondsInQueue", - "count", - "-count", - "p50SecondsInQueue", - "-p50SecondsInQueue", - "p95SecondsInQueue", - "-p95SecondsInQueue" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -96558,7 +97923,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingAppRequestsV1MetricResponse" + "$ref": "#/components/schemas/AppsBetaTesterUsagesV1MetricResponse" } } } @@ -96578,39 +97943,29 @@ } ] }, - "/v1/gameCenterDetails/{id}/metrics/ruleBasedMatchmakingRequests": { + "/v1/betaTesters/{id}/metrics/betaTesterUsages": { "get": { "tags": [ - "GameCenterDetails", + "BetaTesters", "Metrics" ], - "operationId": "gameCenterDetails-ruleBasedMatchmakingRequests-get_metrics", + "operationId": "betaTesters_betaTesterUsages_getMetrics", "parameters": [ { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, - { - "name": "granularity", + "name": "period", "in": "query", - "description": "the granularity of the per-group dataset", + "description": "the duration of the reporting period", "schema": { "type": "string", "enum": [ - "P1D", - "PT1H", - "PT15M" + "P7D", + "P30D", + "P90D", + "P365D" ] }, "style": "form", "explode": false, - "required": true, "examples": { "PnD": { "value": "P7D" @@ -96630,59 +97985,25 @@ } }, { - "name": "groupBy", - "in": "query", - "description": "the dimension by which to group the results", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "result" - ] - } - }, - "style": "form", - "explode": false - }, - { - "name": "filter[result]", + "name": "filter[apps]", "in": "query", - "description": "filter by 'result' attribute dimension", + "description": "filter by 'apps' relationship dimension", "schema": { - "type": "string", - "enum": [ - "MATCHED", - "CANCELED", - "EXPIRED" - ] + "type": "string" }, "style": "form", "explode": false, - "required": false + "required": true }, { - "name": "sort", + "name": "limit", "in": "query", - "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "description": "maximum number of groups to return per page", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "averageSecondsInQueue", - "-averageSecondsInQueue", - "count", - "-count", - "p50SecondsInQueue", - "-p50SecondsInQueue", - "p95SecondsInQueue", - "-p95SecondsInQueue" - ] - } + "type": "integer", + "maximum": 200 }, - "style": "form", - "explode": false + "style": "form" } ], "responses": { @@ -96731,7 +98052,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingAppRequestsV1MetricResponse" + "$ref": "#/components/schemas/BetaTesterUsagesV1MetricResponse" } } } @@ -96751,13 +98072,13 @@ } ] }, - "/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingQueueSizes": { + "/v1/builds/{id}/metrics/betaBuildUsages": { "get": { "tags": [ - "GameCenterMatchmakingQueues", + "Builds", "Metrics" ], - "operationId": "gameCenterMatchmakingQueues-experimentMatchmakingQueueSizes-get_metrics", + "operationId": "builds_betaBuildUsages_getMetrics", "parameters": [ { "name": "limit", @@ -96768,7 +98089,82 @@ "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": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BetaBuildUsagesV1MetricResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterDetails/{id}/metrics/classicMatchmakingRequests": { + "get": { + "tags": [ + "GameCenterDetails", + "Metrics" + ], + "operationId": "gameCenterDetails_classicMatchmakingRequests_getMetrics", + "parameters": [ { "name": "granularity", "in": "query", @@ -96802,6 +98198,38 @@ } } }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "result" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[result]", + "in": "query", + "description": "filter by 'result' attribute dimension", + "schema": { + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "sort", "in": "query", @@ -96811,19 +98239,29 @@ "items": { "type": "string", "enum": [ - "averageNumberOfRequests", - "-averageNumberOfRequests", "count", "-count", - "p50NumberOfRequests", - "-p50NumberOfRequests", - "p95NumberOfRequests", - "-p95NumberOfRequests" + "averageSecondsInQueue", + "-averageSecondsInQueue", + "p50SecondsInQueue", + "-p50SecondsInQueue", + "p95SecondsInQueue", + "-p95SecondsInQueue" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -96872,7 +98310,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueSizesV1MetricResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingAppRequestsV1MetricResponse" } } } @@ -96892,24 +98330,14 @@ } ] }, - "/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingRequests": { + "/v1/gameCenterDetails/{id}/metrics/ruleBasedMatchmakingRequests": { "get": { "tags": [ - "GameCenterMatchmakingQueues", + "GameCenterDetails", "Metrics" ], - "operationId": "gameCenterMatchmakingQueues-experimentMatchmakingRequests-get_metrics", + "operationId": "gameCenterDetails_ruleBasedMatchmakingRequests_getMetrics", "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "granularity", "in": "query", @@ -96952,7 +98380,6 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", "result" ] } @@ -96976,17 +98403,6 @@ "explode": false, "required": false }, - { - "name": "filter[gameCenterDetail]", - "in": "query", - "description": "filter by 'gameCenterDetail' relationship dimension", - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "required": false - }, { "name": "sort", "in": "query", @@ -96996,10 +98412,10 @@ "items": { "type": "string", "enum": [ - "averageSecondsInQueue", - "-averageSecondsInQueue", "count", "-count", + "averageSecondsInQueue", + "-averageSecondsInQueue", "p50SecondsInQueue", "-p50SecondsInQueue", "p95SecondsInQueue", @@ -97009,6 +98425,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -97057,7 +98483,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingQueueRequestsV1MetricResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingAppRequestsV1MetricResponse" } } } @@ -97077,24 +98503,14 @@ } ] }, - "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingQueueSizes": { + "/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingQueueSizes": { "get": { "tags": [ "GameCenterMatchmakingQueues", "Metrics" ], - "operationId": "gameCenterMatchmakingQueues-matchmakingQueueSizes-get_metrics", + "operationId": "gameCenterMatchmakingQueues_experimentMatchmakingQueueSizes_getMetrics", "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "granularity", "in": "query", @@ -97137,10 +98553,10 @@ "items": { "type": "string", "enum": [ - "averageNumberOfRequests", - "-averageNumberOfRequests", "count", "-count", + "averageNumberOfRequests", + "-averageNumberOfRequests", "p50NumberOfRequests", "-p50NumberOfRequests", "p95NumberOfRequests", @@ -97150,6 +98566,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -97218,24 +98644,14 @@ } ] }, - "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingRequests": { + "/v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingRequests": { "get": { "tags": [ "GameCenterMatchmakingQueues", "Metrics" ], - "operationId": "gameCenterMatchmakingQueues-matchmakingRequests-get_metrics", + "operationId": "gameCenterMatchmakingQueues_experimentMatchmakingRequests_getMetrics", "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "granularity", "in": "query", @@ -97278,8 +98694,8 @@ "items": { "type": "string", "enum": [ - "gameCenterDetail", - "result" + "result", + "gameCenterDetail" ] } }, @@ -97322,10 +98738,10 @@ "items": { "type": "string", "enum": [ - "averageSecondsInQueue", - "-averageSecondsInQueue", "count", "-count", + "averageSecondsInQueue", + "-averageSecondsInQueue", "p50SecondsInQueue", "-p50SecondsInQueue", "p95SecondsInQueue", @@ -97335,6 +98751,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -97403,24 +98829,14 @@ } ] }, - "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingSessions": { + "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingQueueSizes": { "get": { "tags": [ "GameCenterMatchmakingQueues", "Metrics" ], - "operationId": "gameCenterMatchmakingQueues-matchmakingSessions-get_metrics", + "operationId": "gameCenterMatchmakingQueues_matchmakingQueueSizes_getMetrics", "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "granularity", "in": "query", @@ -97463,19 +98879,29 @@ "items": { "type": "string", "enum": [ - "averagePlayerCount", - "-averagePlayerCount", "count", "-count", - "p50PlayerCount", - "-p50PlayerCount", - "p95PlayerCount", - "-p95PlayerCount" + "averageNumberOfRequests", + "-averageNumberOfRequests", + "p50NumberOfRequests", + "-p50NumberOfRequests", + "p95NumberOfRequests", + "-p95NumberOfRequests" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -97524,7 +98950,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingSessionsV1MetricResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueSizesV1MetricResponse" } } } @@ -97544,24 +98970,14 @@ } ] }, - "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingBooleanRuleResults": { + "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingRequests": { "get": { "tags": [ - "GameCenterMatchmakingRules", + "GameCenterMatchmakingQueues", "Metrics" ], - "operationId": "gameCenterMatchmakingRules-matchmakingBooleanRuleResults-get_metrics", + "operationId": "gameCenterMatchmakingQueues_matchmakingRequests_getMetrics", "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum number of groups to return per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - }, { "name": "granularity", "in": "query", @@ -97604,8 +99020,8 @@ "items": { "type": "string", "enum": [ - "gameCenterMatchmakingQueue", - "result" + "result", + "gameCenterDetail" ] } }, @@ -97617,16 +99033,21 @@ "in": "query", "description": "filter by 'result' attribute dimension", "schema": { - "type": "string" + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] }, "style": "form", "explode": false, "required": false }, { - "name": "filter[gameCenterMatchmakingQueue]", + "name": "filter[gameCenterDetail]", "in": "query", - "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", + "description": "filter by 'gameCenterDetail' relationship dimension", "schema": { "type": "string" }, @@ -97644,12 +99065,28 @@ "type": "string", "enum": [ "count", - "-count" + "-count", + "averageSecondsInQueue", + "-averageSecondsInQueue", + "p50SecondsInQueue", + "-p50SecondsInQueue", + "p95SecondsInQueue", + "-p95SecondsInQueue" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -97698,7 +99135,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingQueueRequestsV1MetricResponse" } } } @@ -97718,14 +99155,70 @@ } ] }, - "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingNumberRuleResults": { + "/v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingSessions": { "get": { "tags": [ - "GameCenterMatchmakingRules", + "GameCenterMatchmakingQueues", "Metrics" ], - "operationId": "gameCenterMatchmakingRules-matchmakingNumberRuleResults-get_metrics", + "operationId": "gameCenterMatchmakingQueues_matchmakingSessions_getMetrics", "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count", + "averagePlayerCount", + "-averagePlayerCount", + "p50PlayerCount", + "-p50PlayerCount", + "p95PlayerCount", + "-p95PlayerCount" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -97735,7 +99228,82 @@ "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": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingSessionsV1MetricResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingBooleanRuleResults": { + "get": { + "tags": [ + "GameCenterMatchmakingRules", + "Metrics" + ], + "operationId": "gameCenterMatchmakingRules_matchmakingBooleanRuleResults_getMetrics", + "parameters": [ { "name": "granularity", "in": "query", @@ -97778,6 +99346,7 @@ "items": { "type": "string", "enum": [ + "result", "gameCenterMatchmakingQueue" ] } @@ -97785,6 +99354,17 @@ "style": "form", "explode": false }, + { + "name": "filter[result]", + "in": "query", + "description": "filter by 'result' attribute dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "filter[gameCenterMatchmakingQueue]", "in": "query", @@ -97805,19 +99385,23 @@ "items": { "type": "string", "enum": [ - "averageResult", - "-averageResult", "count", - "-count", - "p50Result", - "-p50Result", - "p95Result", - "-p95Result" + "-count" ] } }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -97866,7 +99450,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterMatchmakingNumberRuleResultsV1MetricResponse" + "$ref": "#/components/schemas/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse" } } } @@ -97886,14 +99470,97 @@ } ] }, - "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingRuleErrors": { + "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingNumberRuleResults": { "get": { "tags": [ "GameCenterMatchmakingRules", "Metrics" ], - "operationId": "gameCenterMatchmakingRules-matchmakingRuleErrors-get_metrics", + "operationId": "gameCenterMatchmakingRules_matchmakingNumberRuleResults_getMetrics", "parameters": [ + { + "name": "granularity", + "in": "query", + "description": "the granularity of the per-group dataset", + "schema": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + }, + "style": "form", + "explode": false, + "required": true, + "examples": { + "PnD": { + "value": "P7D" + }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, + "PTn.nS": { + "value": "PT10.5S" + }, + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" + } + } + }, + { + "name": "groupBy", + "in": "query", + "description": "the dimension by which to group the results", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterMatchmakingQueue" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[gameCenterMatchmakingQueue]", + "in": "query", + "description": "filter by 'gameCenterMatchmakingQueue' relationship dimension", + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; metrics will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "count", + "-count", + "averageResult", + "-averageResult", + "p50Result", + "-p50Result", + "p95Result", + "-p95Result" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "limit", "in": "query", @@ -97903,7 +99570,82 @@ "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": "Metrics data response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterMatchmakingNumberRuleResultsV1MetricResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingRuleErrors": { + "get": { + "tags": [ + "GameCenterMatchmakingRules", + "Metrics" + ], + "operationId": "gameCenterMatchmakingRules_matchmakingRuleErrors_getMetrics", + "parameters": [ { "name": "granularity", "in": "query", @@ -97980,6 +99722,16 @@ }, "style": "form", "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of groups to return per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" } ], "responses": { @@ -98187,6 +99939,9 @@ "kidsAgeBand": { "$ref": "#/components/schemas/KidsAgeBand" }, + "lootBox": { + "type": "boolean" + }, "medicalOrTreatmentInformation": { "type": "string", "enum": [ @@ -98219,18 +99974,6 @@ "FREQUENT_OR_INTENSE" ] }, - "seventeenPlus": { - "type": "boolean", - "deprecated": true - }, - "ageRatingOverride": { - "type": "string", - "enum": [ - "NONE", - "SEVENTEEN_PLUS", - "UNRATED" - ] - }, "horrorOrFearThemes": { "type": "string", "enum": [ @@ -98273,6 +100016,26 @@ "INFREQUENT_OR_MILD", "FREQUENT_OR_INTENSE" ] + }, + "ageRatingOverride": { + "type": "string", + "enum": [ + "NONE", + "SEVENTEEN_PLUS", + "UNRATED" + ] + }, + "koreaAgeRatingOverride": { + "type": "string", + "enum": [ + "NONE", + "FIFTEEN_PLUS", + "NINETEEN_PLUS" + ] + }, + "seventeenPlus": { + "type": "boolean", + "deprecated": true } } }, @@ -98354,6 +100117,9 @@ "kidsAgeBand": { "$ref": "#/components/schemas/KidsAgeBand" }, + "lootBox": { + "type": "boolean" + }, "medicalOrTreatmentInformation": { "type": "string", "enum": [ @@ -98386,18 +100152,6 @@ "FREQUENT_OR_INTENSE" ] }, - "seventeenPlus": { - "type": "boolean", - "deprecated": true - }, - "ageRatingOverride": { - "type": "string", - "enum": [ - "NONE", - "SEVENTEEN_PLUS", - "UNRATED" - ] - }, "horrorOrFearThemes": { "type": "string", "enum": [ @@ -98440,6 +100194,26 @@ "INFREQUENT_OR_MILD", "FREQUENT_OR_INTENSE" ] + }, + "ageRatingOverride": { + "type": "string", + "enum": [ + "NONE", + "SEVENTEEN_PLUS", + "UNRATED" + ] + }, + "koreaAgeRatingOverride": { + "type": "string", + "enum": [ + "NONE", + "FIFTEEN_PLUS", + "NINETEEN_PLUS" + ] + }, + "seventeenPlus": { + "type": "boolean", + "deprecated": true } } } @@ -98903,17 +100677,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -98945,17 +100709,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -98986,19 +100740,6 @@ "alternativeDistributionPackage": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -99120,17 +100861,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -99279,6 +101010,19 @@ } } }, + "relationships": { + "type": "object", + "properties": { + "segments": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + } + } + }, "links": { "$ref": "#/components/schemas/ResourceLinks" } @@ -99361,17 +101105,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -99640,6 +101374,19 @@ } } }, + "relationships": { + "type": "object", + "properties": { + "instances": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + } + } + }, "links": { "$ref": "#/components/schemas/ResourceLinks" } @@ -99715,17 +101462,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -99919,19 +101656,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -99956,17 +101680,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -100168,17 +101882,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -100210,17 +101914,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -100728,19 +102422,6 @@ "appClip": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -100764,19 +102445,6 @@ "headerImage": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -100800,19 +102468,6 @@ "localizations": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "meta": { "$ref": "#/components/schemas/PagingInformation" }, @@ -101545,19 +103200,6 @@ "appClipDefaultExperience": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -101750,19 +103392,6 @@ "appClipDefaultExperience": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -101787,17 +103416,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -102029,19 +103648,6 @@ "appClip": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -102066,17 +103672,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -102102,17 +103698,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -102144,17 +103730,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -102569,19 +104145,6 @@ "appClipDefaultExperienceLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -102774,19 +104337,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -102811,17 +104361,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -102848,6 +104388,14 @@ } } } + }, + "appClipAdvancedExperiences": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -102954,19 +104502,6 @@ "appCustomProductPageVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -102991,17 +104526,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -103033,17 +104558,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -103364,19 +104879,6 @@ "appCustomProductPage": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -103401,17 +104903,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -103757,19 +105249,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -103794,17 +105273,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -104355,17 +105824,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -104385,23 +105844,14 @@ "type" ] } - } + }, + "deprecated": true }, "builds": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -104434,17 +105884,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -104547,6 +105987,89 @@ "links" ] }, + "AppEncryptionDeclarationCreateRequest": { + "type": "object", + "title": "AppEncryptionDeclarationCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appEncryptionDeclarations" + ] + }, + "attributes": { + "type": "object", + "properties": { + "appDescription": { + "type": "string" + }, + "containsProprietaryCryptography": { + "type": "boolean" + }, + "containsThirdPartyCryptography": { + "type": "boolean" + }, + "availableOnFrenchStore": { + "type": "boolean" + } + }, + "required": [ + "availableOnFrenchStore", + "appDescription", + "containsThirdPartyCryptography", + "containsProprietaryCryptography" + ] + }, + "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" + ], + "deprecated": true + } + }, + "required": [ + "app" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, "AppEventLocalization": { "type": "object", "title": "AppEventLocalization", @@ -104583,19 +106106,6 @@ "appEvent": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -104620,17 +106130,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -104662,17 +106162,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -104949,19 +106439,6 @@ "appEventLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -105207,19 +106684,6 @@ "appEventLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -105471,14 +106935,7 @@ "format": "uri" }, "purchaseRequirement": { - "type": "string", - "enum": [ - "NO_COST_ASSOCIATED", - "IN_APP_PURCHASE", - "SUBSCRIPTION", - "IN_APP_PURCHASE_AND_SUBSCRIPTION", - "IN_APP_PURCHASE_OR_SUBSCRIPTION" - ] + "type": "string" }, "primaryLocale": { "type": "string" @@ -105560,17 +107017,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -105695,14 +107142,7 @@ "format": "uri" }, "purchaseRequirement": { - "type": "string", - "enum": [ - "NO_COST_ASSOCIATED", - "IN_APP_PURCHASE", - "SUBSCRIPTION", - "IN_APP_PURCHASE_AND_SUBSCRIPTION", - "IN_APP_PURCHASE_OR_SUBSCRIPTION" - ] + "type": "string" }, "primaryLocale": { "type": "string" @@ -105839,14 +107279,7 @@ "format": "uri" }, "purchaseRequirement": { - "type": "string", - "enum": [ - "NO_COST_ASSOCIATED", - "IN_APP_PURCHASE", - "SUBSCRIPTION", - "IN_APP_PURCHASE_AND_SUBSCRIPTION", - "IN_APP_PURCHASE_OR_SUBSCRIPTION" - ] + "type": "string" }, "primaryLocale": { "type": "string" @@ -105948,19 +107381,6 @@ "appInfo": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -106212,6 +107632,13 @@ "appStoreAgeRating": { "$ref": "#/components/schemas/AppStoreAgeRating" }, + "australiaAgeRating": { + "type": "string", + "enum": [ + "FIFTEEN", + "EIGHTEEN" + ] + }, "brazilAgeRating": { "deprecated": true, "$ref": "#/components/schemas/BrazilAgeRating" @@ -106233,6 +107660,16 @@ "OFFICIAL_EIGHTEEN" ] }, + "koreaAgeRating": { + "type": "string", + "enum": [ + "ALL", + "TWELVE", + "FIFTEEN", + "NINETEEN", + "NOT_APPLICABLE" + ] + }, "kidsAgeBand": { "$ref": "#/components/schemas/KidsAgeBand" } @@ -106244,19 +107681,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -106281,17 +107705,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -106317,17 +107731,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -106359,17 +107763,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -106395,17 +107789,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -106431,17 +107815,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -106467,17 +107841,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -106503,17 +107867,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -106539,17 +107893,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -106860,19 +108204,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -107060,19 +108391,6 @@ "appStoreVersionLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -107096,19 +108414,6 @@ "appCustomProductPageLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -107132,19 +108437,6 @@ "appStoreVersionExperimentTreatmentLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -107169,17 +108461,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -107457,19 +108739,6 @@ "appPreviewSet": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -107702,19 +108971,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -107735,22 +108991,17 @@ } } }, - "territory": { + "equalizations": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "territory": { + "type": "object", + "properties": { "data": { "type": "object", "properties": { @@ -107865,19 +109116,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -107902,17 +109140,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -107938,17 +109166,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -107980,17 +109198,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -108224,19 +109432,6 @@ "appPricePoint": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -108260,19 +109455,6 @@ "territory": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -108383,19 +109565,6 @@ "appStoreVersionLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -108419,19 +109588,6 @@ "appCustomProductPageLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -108455,19 +109611,6 @@ "appStoreVersionExperimentTreatmentLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -108492,17 +109635,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -108777,19 +109910,6 @@ "appScreenshotSet": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -109025,19 +110145,6 @@ "appStoreReviewDetail": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -109279,19 +110386,6 @@ "appStoreVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -109316,17 +110410,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -109564,19 +110648,6 @@ "appStoreVersionExperimentTreatment": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -109601,17 +110672,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -109643,17 +110704,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -109869,19 +110920,6 @@ "appStoreVersionExperiment": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -109905,19 +110943,6 @@ "appStoreVersionExperimentV2": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -109942,17 +110967,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -110112,10 +111127,7 @@ "type" ] } - }, - "required": [ - "data" - ] + } }, "appStoreVersionExperimentV2": { "type": "object", @@ -110140,14 +111152,10 @@ } } } - }, - "required": [ - "appStoreVersionExperiment" - ] + } } }, "required": [ - "relationships", "attributes", "type" ] @@ -110253,19 +111261,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -110289,19 +111284,6 @@ "latestControlVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -110325,19 +111307,6 @@ "controlVersions": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "meta": { "$ref": "#/components/schemas/PagingInformation" }, @@ -110368,17 +111337,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -110661,19 +111620,6 @@ "appStoreVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -110698,17 +111644,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -110978,19 +111914,6 @@ "appStoreVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -111015,17 +111938,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -111057,17 +111970,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -111713,19 +112616,6 @@ "appStoreVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -111906,19 +112796,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -111943,17 +112820,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -111980,17 +112847,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -112022,17 +112879,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -112058,17 +112905,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -112090,21 +112927,37 @@ } } }, - "routingAppCoverage": { + "gameCenterAppVersion": { "type": "object", "properties": { "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "data": { "type": "object", "properties": { - "self": { + "type": { "type": "string", - "format": "uri-reference" + "enum": [ + "gameCenterAppVersions" + ] }, - "related": { - "type": "string", - "format": "uri-reference" + "id": { + "type": "string" } - } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "routingAppCoverage": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -112130,17 +112983,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -112166,17 +113009,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -112202,17 +113035,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -112238,17 +113061,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -112280,17 +113093,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -112318,21 +113121,19 @@ } } }, + "customerReviews": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, "alternativeDistributionPackage": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -112394,6 +113195,9 @@ { "$ref": "#/components/schemas/AppStoreVersionPhasedRelease" }, + { + "$ref": "#/components/schemas/GameCenterAppVersion" + }, { "$ref": "#/components/schemas/RoutingAppCoverage" }, @@ -112456,6 +113260,9 @@ { "$ref": "#/components/schemas/AppStoreVersionPhasedRelease" }, + { + "$ref": "#/components/schemas/GameCenterAppVersion" + }, { "$ref": "#/components/schemas/RoutingAppCoverage" }, @@ -112796,6 +113603,9 @@ "DOES_NOT_USE_THIRD_PARTY_CONTENT", "USES_THIRD_PARTY_CONTENT" ] + }, + "streamlinedPurchasingEnabled": { + "type": "boolean" } } }, @@ -112806,17 +113616,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -112848,17 +113648,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -112880,21 +113670,19 @@ } } }, + "betaTesters": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, "betaGroups": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -112926,17 +113714,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -112968,17 +113746,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113010,17 +113778,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113052,17 +113810,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113094,17 +113842,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -113130,17 +113868,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -113166,17 +113894,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113208,17 +113926,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113246,21 +113954,19 @@ } } }, + "appPricePoints": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, "endUserLicenseAgreement": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -113286,17 +113992,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -113318,21 +114014,35 @@ } } }, + "appPriceSchedule": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "appAvailability": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "appAvailabilityV2": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, "inAppPurchases": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113365,17 +114075,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113407,17 +114107,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113445,21 +114135,19 @@ } } }, + "perfPowerMetrics": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, "appCustomProductPages": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113491,17 +114179,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113533,17 +114211,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113575,17 +114243,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113617,17 +114275,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113659,17 +114307,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -113691,21 +114329,19 @@ } } }, + "customerReviews": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, "gameCenterDetail": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -113731,17 +114367,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -113768,6 +114394,30 @@ } } } + }, + "alternativeDistributionKey": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "analyticsReportRequests": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "marketplaceSearchDetail": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -114021,6 +114671,9 @@ "DOES_NOT_USE_THIRD_PARTY_CONTENT", "USES_THIRD_PARTY_CONTENT" ] + }, + "streamlinedPurchasingEnabled": { + "type": "boolean" } } } @@ -114282,19 +114935,6 @@ "betaAppClipInvocationLocalizations": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "meta": { "$ref": "#/components/schemas/PagingInformation" }, @@ -114568,17 +115208,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -114842,17 +115472,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -115023,17 +115643,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -115205,17 +115815,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -115465,17 +116065,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -115501,17 +116091,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -115543,17 +116123,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -115880,17 +116450,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -116172,17 +116732,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -116214,17 +116764,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -116256,17 +116796,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -116508,17 +117038,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -116892,17 +117412,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -116928,17 +117438,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -116964,17 +117464,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -117006,17 +117496,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -117179,17 +117659,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -117215,17 +117685,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -117257,17 +117717,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -117299,17 +117749,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -117341,17 +117781,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -117377,17 +117807,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -117413,17 +117833,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -117449,17 +117859,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -117485,17 +117885,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -117521,17 +117911,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -117562,19 +117942,6 @@ "buildBundles": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "meta": { "$ref": "#/components/schemas/PagingInformation" }, @@ -117600,6 +117967,22 @@ } } } + }, + "perfPowerMetrics": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "diagnosticSignatures": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -118024,17 +118407,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -118066,17 +118439,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -118108,17 +118471,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -118566,17 +118919,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -118597,6 +118940,30 @@ ] } } + }, + "artifacts": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "issues": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "testResults": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -118771,17 +119138,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -118812,19 +119169,6 @@ "workflow": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -118848,19 +119192,6 @@ "product": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -118884,19 +119215,6 @@ "sourceBranchOrTag": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -118920,19 +119238,6 @@ "destinationBranch": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -118953,22 +119258,17 @@ } } }, - "pullRequest": { + "actions": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "pullRequest": { + "type": "object", + "properties": { "data": { "type": "object", "properties": { @@ -119324,17 +119624,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -119462,17 +119752,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -119497,19 +119777,6 @@ "bundleId": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -119530,21 +119797,19 @@ } } }, + "workflows": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, "primaryRepositories": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -119571,6 +119836,22 @@ } } } + }, + "additionalRepositories": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "buildRuns": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -119829,19 +120110,6 @@ "product": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -119866,17 +120134,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -119901,19 +120159,6 @@ "xcodeVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -119937,19 +120182,6 @@ "macOsVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -119969,6 +120201,14 @@ ] } } + }, + "buildRuns": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -120445,17 +120685,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -120582,19 +120812,6 @@ "review": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -120764,17 +120981,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -121098,6 +121305,19 @@ } } }, + "relationships": { + "type": "object", + "properties": { + "logs": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + } + } + }, "links": { "$ref": "#/components/schemas/ResourceLinks" } @@ -121255,19 +121475,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -121292,17 +121499,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -121578,19 +121775,6 @@ "gameCenterAchievementLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -121790,17 +121974,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -121826,17 +122000,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -122083,19 +122247,6 @@ "gameCenterDetail": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -122119,19 +122270,6 @@ "gameCenterAchievement": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -122354,19 +122492,6 @@ "gameCenterDetail": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -122390,19 +122515,6 @@ "gameCenterGroup": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -122427,17 +122539,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -122463,17 +122565,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -122505,17 +122597,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -122813,17 +122895,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -122855,17 +122927,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -123085,19 +123147,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -123122,17 +123171,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -123164,17 +123203,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -123200,17 +123229,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -123242,17 +123261,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -123284,17 +123293,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -123325,19 +123324,6 @@ "defaultLeaderboard": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -123361,19 +123347,6 @@ "defaultGroupLeaderboard": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -123398,17 +123371,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -123440,17 +123403,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -123482,17 +123435,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -123846,17 +123789,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -123887,19 +123820,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -123996,17 +123916,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -124038,17 +123948,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -124080,17 +123980,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -124122,17 +124012,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -124487,19 +124367,6 @@ "gameCenterLeaderboardLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -124701,19 +124568,6 @@ "gameCenterLeaderboard": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -124738,17 +124592,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -124999,19 +124843,6 @@ "gameCenterDetail": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -125035,19 +124866,6 @@ "gameCenterLeaderboard": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -125270,19 +125088,6 @@ "gameCenterLeaderboardSetLocalization": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -125475,19 +125280,6 @@ "gameCenterLeaderboardSet": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -125512,17 +125304,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -125759,17 +125541,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -125795,17 +125567,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -126060,19 +125822,6 @@ "gameCenterDetail": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -126096,19 +125845,6 @@ "gameCenterLeaderboardSet": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -126319,19 +126055,6 @@ "gameCenterDetail": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -126355,19 +126078,6 @@ "gameCenterGroup": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -126392,17 +126102,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -126428,17 +126128,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -126470,17 +126160,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -126512,17 +126192,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -126869,19 +126539,6 @@ "gameCenterDetail": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -126905,19 +126562,6 @@ "gameCenterGroup": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -126942,17 +126586,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -126977,19 +126611,6 @@ "gameCenterLeaderboardSets": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "meta": { "$ref": "#/components/schemas/PagingInformation" }, @@ -127020,17 +126641,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -127062,17 +126673,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -127461,19 +127062,6 @@ "ruleSet": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -127497,19 +127085,6 @@ "experimentRuleSet": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -127980,17 +127555,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -128022,17 +127587,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -128064,17 +127619,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -129016,19 +128561,6 @@ "inAppPurchaseV2": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -129222,17 +128754,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -129345,40 +128867,343 @@ "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" - ] + }, + "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": [ + "inAppPurchase", + "availableTerritories" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "InAppPurchaseContent": { + "type": "object", + "title": "InAppPurchaseContent", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchaseContents" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "fileName": { + "type": "string" + }, + "fileSize": { + "type": "integer" + }, + "url": { + "type": "string", + "format": "uri" + }, + "lastModifiedDate": { + "type": "string", + "format": "date-time" + } + } + }, + "relationships": { + "type": "object", + "properties": { + "inAppPurchaseV2": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchases" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "InAppPurchaseContentResponse": { + "type": "object", + "title": "InAppPurchaseContentResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/InAppPurchaseContent" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InAppPurchaseV2" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "InAppPurchaseImage": { + "type": "object", + "title": "InAppPurchaseImage", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchaseImages" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "fileSize": { + "type": "integer" + }, + "fileName": { + "type": "string" + }, + "sourceFileChecksum": { + "type": "string" + }, + "assetToken": { + "type": "string" + }, + "imageAsset": { + "$ref": "#/components/schemas/ImageAsset" + }, + "uploadOperations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UploadOperation" + } + }, + "state": { + "type": "string", + "enum": [ + "AWAITING_UPLOAD", + "UPLOAD_COMPLETE", + "FAILED", + "PREPARE_FOR_SUBMISSION", + "WAITING_FOR_REVIEW", + "APPROVED", + "REJECTED" + ] + } + } + }, + "relationships": { + "type": "object", + "properties": { + "inAppPurchase": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchases" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "InAppPurchaseImagesResponse": { + "type": "object", + "title": "InAppPurchaseImagesResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InAppPurchaseImage" + } + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InAppPurchaseV2" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "InAppPurchaseImageResponse": { + "type": "object", + "title": "InAppPurchaseImageResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/InAppPurchaseImage" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/InAppPurchaseV2" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "InAppPurchaseImageCreateRequest": { + "type": "object", + "title": "InAppPurchaseImageCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchaseImages" + ] + }, + "attributes": { + "type": "object", + "properties": { + "fileSize": { + "type": "integer" + }, + "fileName": { + "type": "string" + } + }, + "required": [ + "fileName", + "fileSize" + ] + }, + "relationships": { + "type": "object", + "properties": { + "inAppPurchase": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchases" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] } }, "required": [ - "inAppPurchase", - "availableTerritories" + "inAppPurchase" ] } }, @@ -129393,108 +129218,42 @@ "data" ] }, - "InAppPurchaseContent": { + "InAppPurchaseImageUpdateRequest": { "type": "object", - "title": "InAppPurchaseContent", + "title": "InAppPurchaseImageUpdateRequest", "properties": { - "type": { - "type": "string", - "enum": [ - "inAppPurchaseContents" - ] - }, - "id": { - "type": "string" - }, - "attributes": { + "data": { "type": "object", "properties": { - "fileName": { - "type": "string" - }, - "fileSize": { - "type": "integer" - }, - "url": { + "type": { "type": "string", - "format": "uri" + "enum": [ + "inAppPurchaseImages" + ] }, - "lastModifiedDate": { - "type": "string", - "format": "date-time" - } - } - }, - "relationships": { - "type": "object", - "properties": { - "inAppPurchaseV2": { + "id": { + "type": "string" + }, + "attributes": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "sourceFileChecksum": { + "type": "string" }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "inAppPurchases" - ] - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "type" - ] + "uploaded": { + "type": "boolean" } } } - } - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" - } - }, - "required": [ - "id", - "type" - ] - }, - "InAppPurchaseContentResponse": { - "type": "object", - "title": "InAppPurchaseContentResponse", - "properties": { - "data": { - "$ref": "#/components/schemas/InAppPurchaseContent" - }, - "included": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InAppPurchaseV2" - } - }, - "links": { - "$ref": "#/components/schemas/DocumentLinks" + }, + "required": [ + "id", + "type" + ] } }, "required": [ - "data", - "links" + "data" ] }, "InAppPurchaseLocalization": { @@ -129539,19 +129298,6 @@ "inAppPurchaseV2": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -129778,19 +129524,6 @@ "territory": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -129869,19 +129602,6 @@ "inAppPurchase": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -129906,17 +129626,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -129942,17 +129652,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -129984,17 +129684,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -130228,19 +129918,6 @@ "inAppPurchasePricePoint": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -130264,19 +129941,6 @@ "territory": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -130443,19 +130107,6 @@ "inAppPurchaseV2": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -130631,19 +130282,6 @@ "apps": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "meta": { "$ref": "#/components/schemas/PagingInformation" }, @@ -130780,17 +130418,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -130822,17 +130450,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -130864,17 +130482,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -130900,17 +130508,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -130936,17 +130534,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -130972,17 +130560,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -131008,17 +130586,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -131039,6 +130607,38 @@ ] } } + }, + "images": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "inAppPurchaseImages" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } }, @@ -131085,6 +130685,9 @@ }, { "$ref": "#/components/schemas/InAppPurchaseAvailability" + }, + { + "$ref": "#/components/schemas/InAppPurchaseImage" } ] } @@ -131132,6 +130735,9 @@ }, { "$ref": "#/components/schemas/InAppPurchaseAvailability" + }, + { + "$ref": "#/components/schemas/InAppPurchaseImage" } ] } @@ -131769,17 +131375,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -131811,17 +131407,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -131989,17 +131575,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -132025,17 +131601,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -132067,17 +131633,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -132392,19 +131948,6 @@ "promotedPurchase": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -132434,7 +131977,8 @@ "required": [ "id", "type" - ] + ], + "deprecated": true }, "PromotedPurchaseImagesResponse": { "type": "object", @@ -132462,7 +132006,8 @@ "required": [ "data", "links" - ] + ], + "deprecated": true }, "PromotedPurchaseImageResponse": { "type": "object", @@ -132484,7 +132029,8 @@ "required": [ "data", "links" - ] + ], + "deprecated": true }, "PromotedPurchaseImageCreateRequest": { "type": "object", @@ -132558,7 +132104,8 @@ }, "required": [ "data" - ] + ], + "deprecated": true }, "PromotedPurchaseImageUpdateRequest": { "type": "object", @@ -132596,7 +132143,8 @@ }, "required": [ "data" - ] + ], + "deprecated": true }, "PromotedPurchase": { "type": "object", @@ -132637,19 +132185,6 @@ "inAppPurchaseV2": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -132673,19 +132208,6 @@ "subscription": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -132710,17 +132232,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -132746,7 +132258,8 @@ ] } } - } + }, + "deprecated": true } } }, @@ -133020,19 +132533,6 @@ "appStoreVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -133056,19 +132556,6 @@ "appCustomProductPageVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -133092,19 +132579,6 @@ "appStoreVersionExperiment": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -133128,19 +132602,6 @@ "appStoreVersionExperimentV2": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -133164,19 +132625,6 @@ "appEvent": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -133544,19 +132992,6 @@ "app": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -133581,17 +133016,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -133622,19 +133047,6 @@ "appStoreVersionForReview": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -133658,19 +133070,6 @@ "submittedByActor": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -133694,19 +133093,6 @@ "lastUpdatedByActor": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -133964,19 +133350,6 @@ "appStoreVersion": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -134418,19 +133791,6 @@ "repository": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -134537,6 +133897,19 @@ } } }, + "relationships": { + "type": "object", + "properties": { + "repositories": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + } + } + }, "links": { "$ref": "#/components/schemas/ResourceLinks" } @@ -134642,19 +134015,6 @@ "repository": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -134778,19 +134138,6 @@ "scmProvider": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -134814,19 +134161,6 @@ "defaultBranch": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -134846,6 +134180,22 @@ ] } } + }, + "gitReferences": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, + "pullRequests": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -134973,19 +134323,6 @@ "subscription": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -135178,19 +134515,6 @@ "subscription": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -135215,17 +134539,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -135542,19 +134856,6 @@ "subscriptionGroup": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -135875,17 +135176,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -135917,17 +135208,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -136135,6 +135416,256 @@ "data" ] }, + "SubscriptionImage": { + "type": "object", + "title": "SubscriptionImage", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionImages" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "fileSize": { + "type": "integer" + }, + "fileName": { + "type": "string" + }, + "sourceFileChecksum": { + "type": "string" + }, + "assetToken": { + "type": "string" + }, + "imageAsset": { + "$ref": "#/components/schemas/ImageAsset" + }, + "uploadOperations": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UploadOperation" + } + }, + "state": { + "type": "string", + "enum": [ + "AWAITING_UPLOAD", + "UPLOAD_COMPLETE", + "FAILED", + "PREPARE_FOR_SUBMISSION", + "WAITING_FOR_REVIEW", + "APPROVED", + "REJECTED" + ] + } + } + }, + "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" + ] + }, + "SubscriptionImagesResponse": { + "type": "object", + "title": "SubscriptionImagesResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SubscriptionImage" + } + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Subscription" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "SubscriptionImageResponse": { + "type": "object", + "title": "SubscriptionImageResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/SubscriptionImage" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Subscription" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "SubscriptionImageCreateRequest": { + "type": "object", + "title": "SubscriptionImageCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionImages" + ] + }, + "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" + ] + }, + "SubscriptionImageUpdateRequest": { + "type": "object", + "title": "SubscriptionImageUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionImages" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "sourceFileChecksum": { + "type": "string" + }, + "uploaded": { + "type": "boolean" + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, "SubscriptionIntroductoryOffer": { "type": "object", "title": "SubscriptionIntroductoryOffer", @@ -136176,19 +135707,6 @@ "subscription": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -136212,19 +135730,6 @@ "territory": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -136248,19 +135753,6 @@ "subscriptionPricePoint": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -136697,19 +136189,6 @@ "subscription": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -136947,19 +136426,6 @@ "offerCode": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -137214,19 +136680,6 @@ "offerCode": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -137246,6 +136699,14 @@ ] } } + }, + "values": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -137437,19 +136898,6 @@ "territory": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -137473,19 +136921,6 @@ "subscriptionPricePoint": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -137671,19 +137106,6 @@ "subscription": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -137708,17 +137130,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -137750,17 +137162,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -137792,17 +137194,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -138114,19 +137506,6 @@ "territory": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -138146,6 +137525,14 @@ ] } } + }, + "equalizations": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } } } }, @@ -138256,19 +137643,6 @@ "territory": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -138292,19 +137666,6 @@ "subscriptionPricePoint": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -138642,19 +138003,6 @@ "territory": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -138678,19 +138026,6 @@ "subscriptionPricePoint": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -138864,19 +138199,6 @@ "subscription": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -138901,17 +138223,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -139318,19 +138630,6 @@ "subscription": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -139508,17 +138807,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -139550,17 +138839,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -139585,19 +138864,6 @@ "group": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -139622,17 +138888,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -139664,17 +138920,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -139706,17 +138952,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -139748,17 +138984,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -139786,21 +139012,19 @@ } } }, + "pricePoints": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + } + } + }, "promotedPurchase": { "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -139826,17 +139050,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "data": { "type": "object", @@ -139857,6 +139071,70 @@ ] } } + }, + "winBackOffers": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "winBackOffers" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "images": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionImages" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } } } }, @@ -139909,6 +139187,12 @@ }, { "$ref": "#/components/schemas/SubscriptionAvailability" + }, + { + "$ref": "#/components/schemas/WinBackOffer" + }, + { + "$ref": "#/components/schemas/SubscriptionImage" } ] } @@ -139962,6 +139246,12 @@ }, { "$ref": "#/components/schemas/SubscriptionAvailability" + }, + { + "$ref": "#/components/schemas/WinBackOffer" + }, + { + "$ref": "#/components/schemas/SubscriptionImage" } ] } @@ -140356,6 +139646,8 @@ "BRAZIL_REQUIRED_TAX_ID", "MISSING_GRN", "UNVERIFIED_GRN", + "ICP_NUMBER_INVALID", + "ICP_NUMBER_MISSING", "CANNOT_SELL_SEVENTEEN_PLUS_APPS", "CANNOT_SELL_SEXUALLY_EXPLICIT", "CANNOT_SELL_NON_IOS_GAMES", @@ -140387,19 +139679,6 @@ "territory": { "type": "object", "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - }, "data": { "type": "object", "properties": { @@ -140591,17 +139870,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -140824,17 +140093,7 @@ "type": "object", "properties": { "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + "$ref": "#/components/schemas/RelationshipLinks" }, "meta": { "$ref": "#/components/schemas/PagingInformation" @@ -140998,6 +140257,511 @@ "data" ] }, + "WinBackOfferPrice": { + "type": "object", + "title": "WinBackOfferPrice", + "properties": { + "type": { + "type": "string", + "enum": [ + "winBackOfferPrices" + ] + }, + "id": { + "type": "string" + }, + "relationships": { + "type": "object", + "properties": { + "territory": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "territories" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "subscriptionPricePoint": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "subscriptionPricePoints" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "WinBackOfferPriceInlineCreate": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "winBackOfferPrices" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "WinBackOfferPricesResponse": { + "type": "object", + "title": "WinBackOfferPricesResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WinBackOfferPrice" + } + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/Territory" + }, + { + "$ref": "#/components/schemas/SubscriptionPricePoint" + } + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "WinBackOffer": { + "type": "object", + "title": "WinBackOffer", + "properties": { + "type": { + "type": "string", + "enum": [ + "winBackOffers" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + }, + "offerId": { + "type": "string" + }, + "duration": { + "$ref": "#/components/schemas/SubscriptionOfferDuration" + }, + "offerMode": { + "$ref": "#/components/schemas/SubscriptionOfferMode" + }, + "periodCount": { + "type": "integer" + }, + "customerEligibilityPaidSubscriptionDurationInMonths": { + "type": "integer" + }, + "customerEligibilityTimeSinceLastSubscribedInMonths": { + "$ref": "#/components/schemas/IntegerRange" + }, + "customerEligibilityWaitBetweenOffersInMonths": { + "type": "integer" + }, + "startDate": { + "type": "string", + "format": "date" + }, + "endDate": { + "type": "string", + "format": "date" + }, + "priority": { + "type": "string", + "enum": [ + "HIGH", + "NORMAL" + ] + }, + "promotionIntent": { + "type": "string", + "enum": [ + "NOT_PROMOTED", + "USE_AUTO_GENERATED_ASSETS" + ] + } + } + }, + "relationships": { + "type": "object", + "properties": { + "prices": { + "type": "object", + "properties": { + "links": { + "$ref": "#/components/schemas/RelationshipLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "winBackOfferPrices" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "WinBackOffersResponse": { + "type": "object", + "title": "WinBackOffersResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WinBackOffer" + } + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WinBackOfferPrice" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "WinBackOfferResponse": { + "type": "object", + "title": "WinBackOfferResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/WinBackOffer" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WinBackOfferPrice" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "WinBackOfferCreateRequest": { + "type": "object", + "title": "WinBackOfferCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "winBackOffers" + ] + }, + "attributes": { + "type": "object", + "properties": { + "referenceName": { + "type": "string" + }, + "offerId": { + "type": "string" + }, + "duration": { + "$ref": "#/components/schemas/SubscriptionOfferDuration" + }, + "offerMode": { + "$ref": "#/components/schemas/SubscriptionOfferMode" + }, + "periodCount": { + "type": "integer" + }, + "customerEligibilityPaidSubscriptionDurationInMonths": { + "type": "integer" + }, + "customerEligibilityTimeSinceLastSubscribedInMonths": { + "$ref": "#/components/schemas/IntegerRange" + }, + "customerEligibilityWaitBetweenOffersInMonths": { + "type": "integer" + }, + "startDate": { + "type": "string", + "format": "date" + }, + "endDate": { + "type": "string", + "format": "date" + }, + "priority": { + "type": "string", + "enum": [ + "HIGH", + "NORMAL" + ] + }, + "promotionIntent": { + "type": "string", + "enum": [ + "NOT_PROMOTED", + "USE_AUTO_GENERATED_ASSETS" + ] + } + }, + "required": [ + "duration", + "customerEligibilityTimeSinceLastSubscribedInMonths", + "periodCount", + "offerId", + "offerMode", + "priority", + "customerEligibilityPaidSubscriptionDurationInMonths", + "startDate", + "referenceName" + ] + }, + "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" + ] + }, + "prices": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "winBackOfferPrices" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "subscription", + "prices" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/WinBackOfferPriceInlineCreate" + } + } + }, + "required": [ + "data" + ] + }, + "WinBackOfferUpdateRequest": { + "type": "object", + "title": "WinBackOfferUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "winBackOffers" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "customerEligibilityPaidSubscriptionDurationInMonths": { + "type": "integer" + }, + "customerEligibilityTimeSinceLastSubscribedInMonths": { + "$ref": "#/components/schemas/IntegerRange" + }, + "customerEligibilityWaitBetweenOffersInMonths": { + "type": "integer" + }, + "startDate": { + "type": "string", + "format": "date" + }, + "endDate": { + "type": "string", + "format": "date" + }, + "priority": { + "type": "string", + "enum": [ + "HIGH", + "NORMAL" + ] + }, + "promotionIntent": { + "type": "string", + "enum": [ + "NOT_PROMOTED", + "USE_AUTO_GENERATED_ASSETS" + ] + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, "AppCategoryWithoutIncludesResponse": { "type": "object", "title": "AppCategoryWithoutIncludesResponse", @@ -143430,6 +143194,9 @@ "format": "uri-reference" } } + }, + "data": { + "type": "string" } } } @@ -143509,6 +143276,9 @@ "format": "uri-reference" } } + }, + "data": { + "type": "string" } } } @@ -143569,11 +143339,64 @@ } } } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterMatchmakingAppRequestsV1MetricResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "averageSecondsInQueue": { + "type": "number" + }, + "p50SecondsInQueue": { + "type": "number" + }, + "p95SecondsInQueue": { + "type": "number" + } + } + } + } }, "dimensions": { "type": "object", "properties": { - "bundleIds": { + "result": { "type": "object", "properties": { "links": { @@ -143584,10 +143407,26 @@ "format": "uri-reference" } } + }, + "data": { + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] } } } } + }, + "granularity": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] } } } @@ -143604,7 +143443,68 @@ "links" ] }, - "GameCenterMatchmakingAppRequestsV1MetricResponse": { + "GameCenterMatchmakingQueueSizesV1MetricResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "averageNumberOfRequests": { + "type": "number" + }, + "p50NumberOfRequests": { + "type": "number" + }, + "p95NumberOfRequests": { + "type": "number" + } + } + } + } + }, + "granularity": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + } + } + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterMatchmakingQueueRequestsV1MetricResponse": { "type": "object", "properties": { "data": { @@ -143656,315 +143556,191 @@ "format": "uri-reference" } } - } - } - } - } - }, - "granularity": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } - } - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "GameCenterMatchmakingQueueSizesV1MetricResponse": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "dataPoints": { - "type": "object", - "properties": { - "start": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "values": { - "type": "object", - "properties": { - "count": { - "type": "integer" - }, - "averageNumberOfRequests": { - "type": "number" - }, - "p50NumberOfRequests": { - "type": "number" - }, - "p95NumberOfRequests": { - "type": "number" - } - } - } - } - }, - "granularity": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } - } - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "GameCenterMatchmakingQueueRequestsV1MetricResponse": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "dataPoints": { - "type": "object", - "properties": { - "start": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "values": { - "type": "object", - "properties": { - "count": { - "type": "integer" - }, - "averageSecondsInQueue": { - "type": "number" - }, - "p50SecondsInQueue": { - "type": "number" - }, - "p95SecondsInQueue": { - "type": "number" - } - } - } - } - }, - "dimensions": { - "type": "object", - "properties": { - "result": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "groupBy": { - "type": "string", - "format": "uri-reference" - } - } - } - } - }, - "gameCenterDetail": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "groupBy": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } - } - } - } - } - }, - "granularity": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } - } - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "GameCenterMatchmakingSessionsV1MetricResponse": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "dataPoints": { - "type": "object", - "properties": { - "start": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "values": { - "type": "object", - "properties": { - "count": { - "type": "integer" - }, - "averagePlayerCount": { - "type": "number" - }, - "p50PlayerCount": { - "type": "number" - }, - "p95PlayerCount": { - "type": "number" - } - } - } - } - }, - "granularity": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } - } - } - }, - "links": { - "$ref": "#/components/schemas/PagedDocumentLinks" - }, - "meta": { - "$ref": "#/components/schemas/PagingInformation" - } - }, - "required": [ - "data", - "links" - ] - }, - "GameCenterMatchmakingBooleanRuleResultsV1MetricResponse": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "dataPoints": { - "type": "object", - "properties": { - "start": { - "type": "string", - "format": "date-time" - }, - "end": { - "type": "string", - "format": "date-time" - }, - "values": { - "type": "object", - "properties": { - "count": { - "type": "integer" - } - } - } - } - }, - "dimensions": { - "type": "object", - "properties": { - "result": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "groupBy": { - "type": "string", - "format": "uri-reference" - } - } - } - } - }, - "gameCenterMatchmakingQueue": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "groupBy": { - "type": "string", - "format": "uri-reference" - }, - "related": { - "type": "string", - "format": "uri-reference" - } - } + }, + "data": { + "type": "string", + "enum": [ + "MATCHED", + "CANCELED", + "EXPIRED" + ] + } + } + }, + "gameCenterDetail": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "string" + } + } + } + } + }, + "granularity": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + } + } + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterMatchmakingSessionsV1MetricResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + }, + "averagePlayerCount": { + "type": "number" + }, + "p50PlayerCount": { + "type": "number" + }, + "p95PlayerCount": { + "type": "number" + } + } + } + } + }, + "granularity": { + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] + } + } + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterMatchmakingBooleanRuleResultsV1MetricResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dataPoints": { + "type": "object", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + }, + "values": { + "type": "object", + "properties": { + "count": { + "type": "integer" + } + } + } + } + }, + "dimensions": { + "type": "object", + "properties": { + "result": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "string" + } + } + }, + "gameCenterMatchmakingQueue": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "groupBy": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "string" } } } @@ -144049,6 +143825,9 @@ "format": "uri-reference" } } + }, + "data": { + "type": "string" } } } @@ -144124,6 +143903,9 @@ "format": "uri-reference" } } + }, + "data": { + "type": "string" } } } @@ -144324,6 +144106,19 @@ } } }, + "RelationshipLinks": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, "AppClipAction": { "type": "string", "enum": [ @@ -145224,6 +145019,17 @@ "NON_RENEWING_SUBSCRIPTION" ] }, + "IntegerRange": { + "type": "object", + "properties": { + "minimum": { + "type": "integer" + }, + "maximum": { + "type": "integer" + } + } + }, "InternalBetaState": { "type": "string", "enum": [ @@ -145412,6 +145218,7 @@ "APP_IPAD_97", "APP_DESKTOP", "APP_WATCH_ULTRA", + "APP_WATCH_SERIES_10", "APP_WATCH_SERIES_7", "APP_WATCH_SERIES_4", "APP_WATCH_SERIES_3", @@ -145450,7 +145257,6 @@ "SubscriptionOfferDuration": { "type": "string", "enum": [ - "ONE_DAY", "THREE_DAYS", "ONE_WEEK", "TWO_WEEKS", @@ -145480,9 +145286,7 @@ "type": "string", "enum": [ "V1", - "V2", - "v1", - "v2" + "V2" ] }, "TerritoryCode": { From cb78e695e1d2fd3388556b34f1601a75412d9dbe Mon Sep 17 00:00:00 2001 From: Pol Piella Abadia Date: Thu, 3 Oct 2024 09:48:36 +0200 Subject: [PATCH 2/2] Fixes test target compiler failurs --- Tests/APIProviderTests.swift | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Tests/APIProviderTests.swift b/Tests/APIProviderTests.swift index fd336ef0..24692024 100644 --- a/Tests/APIProviderTests.swift +++ b/Tests/APIProviderTests.swift @@ -107,10 +107,10 @@ final class APIProviderTests: XCTestCase { let apiProvider = APIProvider(configuration: configuration, requestExecutor: mockRequestExecutor) - let reportEndpoint = APIEndpoint.v1.salesReports.get(parameters: .init(filterFrequency: [], - filterReportSubType: [], + let reportEndpoint = APIEndpoint.v1.salesReports.get(parameters: .init(filterVendorNumber: [], filterReportType: [], - filterVendorNumber: [])) + filterReportSubType: [], + filterFrequency: [])) apiProvider.download(reportEndpoint) { result in // using the mock request executor the block is called sync XCTAssertTrue(result.isSuccess) @@ -123,10 +123,10 @@ final class APIProviderTests: XCTestCase { let mockRequestExecutor = MockRequestExecutor(expectedResponse: Result.success(response)) let apiProvider = APIProvider(configuration: configuration, requestExecutor: mockRequestExecutor) - let reportEndpoint = APIEndpoint.v1.salesReports.get(parameters: .init(filterFrequency: [], - filterReportSubType: [], + let reportEndpoint = APIEndpoint.v1.salesReports.get(parameters: .init(filterVendorNumber: [], filterReportType: [], - filterVendorNumber: [])) + filterReportSubType: [], + filterFrequency: [])) apiProvider.download(reportEndpoint) { result in // using the mock request executor the block is called sync XCTAssertTrue(result.isFailure) @@ -145,10 +145,10 @@ final class APIProviderTests: XCTestCase { let mockRequestExecutor = MockRequestExecutor(expectedResponse: Result.success(response)) let apiProvider = APIProvider(configuration: configuration, requestExecutor: mockRequestExecutor) - let reportEndpoint = APIEndpoint.v1.salesReports.get(parameters: .init(filterFrequency: [], - filterReportSubType: [], + let reportEndpoint = APIEndpoint.v1.salesReports.get(parameters: .init(filterVendorNumber: [], filterReportType: [], - filterVendorNumber: [])) + filterReportSubType: [], + filterFrequency: [])) apiProvider.download(reportEndpoint) { result in // using the mock request executor the block is called sync XCTAssertTrue(result.isFailure)