├── .github ├── FUNDING.yml └── workflows │ └── sync_asc_api.yml ├── Example ├── Shared │ ├── Assets.xcassets │ │ ├── Contents.json │ │ └── AccentColor.colorset │ │ │ └── Contents.json │ └── AppStoreConnectAPIExampleApp.swift ├── AppStoreConnectAPIExample.xcodeproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── macOS │ └── macOS.entitlements ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── contents.xcworkspacedata ├── Sources ├── OpenAPI │ ├── Generated │ │ ├── Extensions │ │ │ ├── APIEndpoint.swift │ │ │ └── StringCodingKey.swift │ │ ├── Entities │ │ │ ├── DiagnosticInsightType.swift │ │ │ ├── CiGitRefKind.swift │ │ │ ├── BuildBundleType.swift │ │ │ ├── ChecksumAlgorithm.swift │ │ │ ├── BetaInviteType.swift │ │ │ ├── SubscriptionStatusURLVersion.swift │ │ │ ├── AppClipAction.swift │ │ │ ├── CiTestDestinationKind.swift │ │ │ ├── AppEventAssetType.swift │ │ │ ├── BuildAudienceType.swift │ │ │ ├── Platform.swift │ │ │ ├── CiExecutionProgress.swift │ │ │ ├── DiagnosticInsightDirection.swift │ │ │ ├── CiActionType.swift │ │ │ ├── KidsAgeBand.swift │ │ │ ├── SubscriptionCustomerEligibility.swift │ │ │ ├── BundleIDPlatform.swift │ │ │ ├── SubscriptionOfferMode.swift │ │ │ ├── PhasedReleaseState.swift │ │ │ ├── SubscriptionOfferEligibility.swift │ │ │ ├── BuildUploadState.swift │ │ │ ├── BetaReviewState.swift │ │ │ ├── InAppPurchaseType.swift │ │ │ ├── DeviceConnectionType.swift │ │ │ ├── SubscriptionGracePeriodDuration.swift │ │ │ ├── CiTestStatus.swift │ │ │ ├── BackgroundAssetVersionState.swift │ │ │ ├── BetaTesterState.swift │ │ │ ├── BrazilAgeRating.swift │ │ │ ├── CiCompletionStatus.swift │ │ │ ├── DeviceFamily.swift │ │ │ ├── MetricCategory.swift │ │ │ ├── AppEncryptionDeclarationState.swift │ │ │ ├── IconAssetType.swift │ │ │ ├── SubscriptionOfferDuration.swift │ │ │ ├── InternalBetaState.swift │ │ │ ├── BackgroundAssetVersionExternalBetaReleaseState.swift │ │ │ ├── GameCenterVersionState.swift │ │ │ ├── DocumentLinks.swift │ │ │ ├── BackgroundAssetVersionAppStoreReleaseState.swift │ │ │ ├── ResourceLinks.swift │ │ │ ├── ErrorSourcePointer.swift │ │ │ ├── ErrorResponse.swift │ │ │ ├── ErrorSourceParameter.swift │ │ │ ├── CiManualTagStartCondition.swift │ │ │ ├── UserRole.swift │ │ │ ├── CiManualBranchStartCondition.swift │ │ │ ├── PreviewType.swift │ │ │ └── InAppPurchaseState.swift │ │ └── Paths │ │ │ ├── PathsV1.swift │ │ │ ├── PathsV2.swift │ │ │ ├── PathsV3.swift │ │ │ ├── PathsV1AppTags.swift │ │ │ ├── PathsV1AppClips.swift │ │ │ ├── PathsV1AppInfos.swift │ │ │ ├── PathsV1CiIssues.swift │ │ │ ├── PathsV1CiArtifacts.swift │ │ │ ├── PathsV1AppsWithIDMetrics.swift │ │ │ ├── PathsV1BuildBundles.swift │ │ │ ├── PathsV1BuildsWithIDMetrics.swift │ │ │ ├── PathsV1BetaCrashLogs.swift │ │ │ ├── PathsV1BuildBundlesWithID.swift │ │ │ ├── PathsV1CiTestResults.swift │ │ │ ├── PathsV1CiBuildActions.swift │ │ │ ├── PathsV1InAppPurchases.swift │ │ │ ├── PathsV3AppPricePoints.swift │ │ │ ├── PathsV1BetaGroupsWithIDMetrics.swift │ │ │ ├── PathsV1BetaTestersWithIDMetrics.swift │ │ │ ├── PathsV1CustomerReviews.swift │ │ │ ├── PathsV1ScmPullRequests.swift │ │ │ ├── PathsV1AnalyticsReports.swift │ │ │ ├── PathsV1ScmGitReferences.swift │ │ │ ├── PathsV1DiagnosticSignaturesWithID.swift │ │ │ ├── PathsV1AppsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterDetailsWithIDMetrics.swift │ │ │ ├── PathsV1InAppPurchasePricePointsWithID.swift │ │ │ ├── PathsV1UsersWithIDRelationships.swift │ │ │ ├── PathsV1AppTagsWithIDRelationships.swift │ │ │ ├── PathsV1BuildsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterEnabledVersionsWithID.swift │ │ │ ├── PathsV1AppClipsWithIDRelationships.swift │ │ │ ├── PathsV1AppEventsWithIDRelationships.swift │ │ │ ├── PathsV1AppInfosWithIDRelationships.swift │ │ │ ├── PathsV1BundleIDsWithIDRelationships.swift │ │ │ ├── PathsV1ProfilesWithIDRelationships.swift │ │ │ ├── PathsV1WebhooksWithIDRelationships.swift │ │ │ ├── PathsV1BetaGroupsWithIDRelationships.swift │ │ │ ├── PathsV1CiProductsWithIDRelationships.swift │ │ │ ├── PathsV1DiagnosticSignatures.swift │ │ │ ├── PathsV1AgeRatingDeclarations.swift │ │ │ ├── PathsV1BetaTestersWithIDRelationships.swift │ │ │ ├── PathsV1BuildBundlesWithIDRelationships.swift │ │ │ ├── PathsV1BuildUploadsWithIDRelationships.swift │ │ │ ├── PathsV1CertificatesWithIDRelationships.swift │ │ │ ├── PathsV1CiBuildRunsWithIDRelationships.swift │ │ │ ├── PathsV1CiWorkflowsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterMatchmakingRulesWithIDMetrics.swift │ │ │ ├── PathsV1InAppPurchaseContents.swift │ │ │ ├── PathsV1MerchantIDsWithIDRelationships.swift │ │ │ ├── PathsV1PassTypeIDsWithIDRelationships.swift │ │ │ ├── PathsV1ScmProvidersWithIDRelationships.swift │ │ │ ├── PathsV1AppCategoriesWithIDRelationships.swift │ │ │ ├── PathsV1AppPreviewSetsWithIDRelationships.swift │ │ │ ├── PathsV1CiBuildActionsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterMatchmakingQueuesWithIDMetrics.swift │ │ │ ├── PathsV1SubscriptionsWithIDRelationships.swift │ │ │ ├── PathsV1WinBackOffersWithIDRelationships.swift │ │ │ ├── PathsV2InAppPurchasesWithIDRelationships.swift │ │ │ ├── PathsV3AppPricePointsWithIDRelationships.swift │ │ │ ├── PathsV1CiMacOsVersionsWithIDRelationships.swift │ │ │ ├── PathsV1CiXcodeVersionsWithIDRelationships.swift │ │ │ ├── PathsV1CustomerReviewsWithIDRelationships.swift │ │ │ ├── PathsV1ScmRepositoriesWithIDRelationships.swift │ │ │ ├── PathsV1UserInvitationsWithIDRelationships.swift │ │ │ ├── PathsV1AnalyticsReportSegments.swift │ │ │ ├── PathsV1AnalyticsReportsWithIDRelationships.swift │ │ │ ├── PathsV1AppPriceSchedulesWithIDRelationships.swift │ │ │ ├── PathsV1AppScreenshotSetsWithIDRelationships.swift │ │ │ ├── PathsV1AppStoreVersionsWithIDRelationships.swift │ │ │ ├── PathsV1BackgroundAssetsWithIDRelationships.swift │ │ │ ├── PathsV1BuildBetaDetailsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterDetailsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterGroupsWithIDRelationships.swift │ │ │ ├── PathsV1ReviewSubmissionsWithIDRelationships.swift │ │ │ ├── PathsV1SubscriptionPricePoints.swift │ │ │ ├── PathsV1TerritoryAvailabilities.swift │ │ │ ├── PathsV2AppAvailabilitiesWithIDRelationships.swift │ │ │ ├── PathsV1AnalyticsReportInstances.swift │ │ │ ├── PathsV1InAppPurchasePricePoints.swift │ │ │ ├── PathsV1PreReleaseVersionsWithIDRelationships.swift │ │ │ ├── PathsV1SubscriptionGracePeriods.swift │ │ │ ├── PathsV1SubscriptionGroupsWithIDRelationships.swift │ │ │ ├── PathsV1BetaAppLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1BetaAppReviewDetailsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterActivitiesWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterChallengesWithIDRelationships.swift │ │ │ ├── PathsV1AppCustomProductPagesWithIDRelationships.swift │ │ │ ├── PathsV1AppEventLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1AppStoreReviewDetailsWithIDRelationships.swift │ │ │ ├── PathsV1BetaBuildLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1BetaLicenseAgreementsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterAchievementsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterAppVersionsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterEnabledVersions.swift │ │ │ ├── PathsV1GameCenterLeaderboardsWithIDRelationships.swift │ │ │ ├── PathsV1SubscriptionOfferCodesWithIDRelationships.swift │ │ │ ├── PathsV1AnalyticsReportInstancesWithIDRelationships.swift │ │ │ ├── PathsV1AnalyticsReportRequestsWithIDRelationships.swift │ │ │ ├── PathsV1AppStoreVersionSubmissions.swift │ │ │ ├── PathsV1BackgroundAssetVersionsWithIDRelationships.swift │ │ │ ├── PathsV1BetaAppReviewSubmissionsWithIDRelationships.swift │ │ │ ├── PathsV1EndUserLicenseAgreementsWithIDRelationships.swift │ │ │ ├── PathsV1InAppPurchasePricePointsWithIDRelationships.swift │ │ │ ├── PathsV1SubscriptionPricePointsWithIDRelationships.swift │ │ │ ├── PathsV1AppClipDefaultExperiencesWithIDRelationships.swift │ │ │ ├── PathsV1AppEncryptionDeclarationsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterEnabledVersionsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterLeaderboardSetsWithIDRelationships.swift │ │ │ ├── PathsV1AppStoreVersionExperimentsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterActivityVersionsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterChallengeVersionsWithIDRelationships.swift │ │ │ ├── PathsV1InAppPurchaseAvailabilitiesWithIDRelationships.swift │ │ │ ├── PathsV1InAppPurchasePriceSchedulesWithIDRelationships.swift │ │ │ ├── PathsV1SubscriptionAvailabilitiesWithIDRelationships.swift │ │ │ ├── PathsV2AppStoreVersionExperimentsWithIDRelationships.swift │ │ │ ├── PathsV1AppCustomProductPageVersionsWithIDRelationships.swift │ │ │ ├── PathsV1AppStoreVersionLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1BetaFeedbackCrashSubmissions.swift │ │ │ ├── PathsV1BetaFeedbackCrashSubmissionsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterMatchmakingRuleSetsWithIDRelationships.swift │ │ │ ├── PathsV1SubscriptionPromotionalOffersWithIDRelationships.swift │ │ │ ├── PathsV1AlternativeDistributionPackagesWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterActivityLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterChallengeLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1AppCustomProductPageLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterAchievementLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterLeaderboardLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1AppStoreVersionExperimentTreatmentsWithIDRelationships.swift │ │ │ ├── PathsV1AppClipDefaultExperienceLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1GameCenterLeaderboardSetLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1AlternativeDistributionPackageVersionsWithIDRelationships.swift │ │ │ ├── PathsV1BetaFeedbackScreenshotSubmissions.swift │ │ │ ├── PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1AlternativeDistributionPackageDeltas.swift │ │ │ ├── PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationships.swift │ │ │ ├── PathsV1SubscriptionPricesWithID.swift │ │ │ ├── PathsV1AlternativeDistributionPackageVariants.swift │ │ │ ├── PathsV1AlternativeDistributionPackageVersions.swift │ │ │ ├── PathsV1BackgroundAssetVersionAppStoreReleases.swift │ │ │ ├── PathsV1BuildsWithIDRelationshipsApp.swift │ │ │ ├── PathsV1BackgroundAssetVersionExternalBetaReleases.swift │ │ │ ├── PathsV1BackgroundAssetVersionInternalBetaReleases.swift │ │ │ ├── PathsV1BundleIDsWithIDRelationshipsApp.swift │ │ │ ├── PathsV1Webhooks.swift │ │ │ ├── PathsV1BetaGroupsWithIDRelationshipsApp.swift │ │ │ ├── PathsV1CiProductsWithIDRelationshipsApp.swift │ │ │ ├── PathsV1AppEvents.swift │ │ │ ├── PathsV1AppTagsWithID.swift │ │ │ ├── PathsV1AppPreviews.swift │ │ │ ├── PathsV1AppsWithIDRelationshipsCiProduct.swift │ │ │ ├── PathsV1CiBuildRuns.swift │ │ │ ├── PathsV1CiWorkflows.swift │ │ │ ├── PathsV1BuildUploads.swift │ │ │ ├── PathsV1ProfilesWithIDRelationshipsBundleID.swift │ │ │ ├── PathsV1SubscriptionOfferCodeOneTimeUseCodesWithIDValues.swift │ │ │ ├── PathsV1WebhookPings.swift │ │ │ ├── PathsV1AppCategoriesWithIDRelationshipsParent.swift │ │ │ ├── PathsV1AppStoreVersionSubmissionsWithID.swift │ │ │ ├── PathsV1PreReleaseVersionsWithIDRelationshipsApp.swift │ │ │ ├── PathsV1Subscriptions.swift │ │ │ ├── PathsV1WinBackOffers.swift │ │ │ ├── PathsV1BetaAppLocalizationsWithIDRelationshipsApp.swift │ │ │ ├── PathsV1BetaAppReviewDetailsWithIDRelationshipsApp.swift │ │ │ ├── PathsV1BuildBetaDetailsWithIDRelationshipsBuild.swift │ │ │ ├── PathsV1AppPreviewSets.swift │ │ │ ├── PathsV1AppScreenshots.swift │ │ │ ├── PathsV1BetaLicenseAgreementsWithIDRelationshipsApp.swift │ │ │ ├── PathsV2InAppPurchases.swift │ │ │ ├── PathsV2InAppPurchasesWithIDRelationshipsContent.swift │ │ │ ├── PathsV2SandboxTestersWithID.swift │ │ │ ├── PathsV1CiBuildActionsWithIDRelationshipsBuildRun.swift │ │ │ ├── PathsV1CiWorkflowsWithIDRelationshipsRepository.swift │ │ │ ├── PathsV1CustomerReviewsWithIDRelationshipsResponse.swift │ │ │ ├── PathsV1AppStoreVersions.swift │ │ │ ├── PathsV1BackgroundAssets.swift │ │ │ ├── PathsV1BuildUploadFiles.swift │ │ │ ├── PathsV1CertificatesWithIDRelationshipsPassTypeID.swift │ │ │ ├── PathsV1AppsWithIDRelationshipsBetaTesters.swift │ │ │ ├── PathsV1BetaBuildLocalizationsWithIDRelationshipsBuild.swift │ │ │ ├── PathsV1WebhookDeliveries.swift │ │ │ ├── PathsV1AppPriceSchedules.swift │ │ │ ├── PathsV1AppScreenshotSets.swift │ │ │ ├── PathsV1AppsWithIDRelationshipsAppPriceSchedule.swift │ │ │ ├── PathsV1AppsWithIDRelationshipsGameCenterDetail.swift │ │ │ ├── PathsV1GameCenterDetails.swift │ │ │ ├── PathsV1PromotedPurchases.swift │ │ │ ├── PathsV2AppAvailabilities.swift │ │ │ ├── PathsV1BetaAppReviewSubmissionsWithIDRelationshipsBuild.swift │ │ │ ├── PathsV1BuildsWithIDRelationshipsAppStoreVersion.swift │ │ │ ├── PathsV1BuildsWithIDRelationshipsBuildBetaDetail.swift │ │ │ ├── PathsV1AgeRatingDeclarationsWithID.swift │ │ │ ├── PathsV1AppEventVideoClips.swift │ │ │ ├── PathsV1AppsWithIDRelationshipsAppAvailabilityV2.swift │ │ │ ├── PathsV1SubscriptionGroups.swift │ │ │ ├── PathsV1SubscriptionImages.swift │ │ │ ├── PathsV1SubscriptionPrices.swift │ │ │ ├── PathsV1AppInfosWithIDRelationshipsPrimaryCategory.swift │ │ │ ├── PathsV1AppClipHeaderImages.swift │ │ │ ├── PathsV1AppEventScreenshots.swift │ │ │ ├── PathsV1BuildsWithIDRelationshipsPreReleaseVersion.swift │ │ │ ├── PathsV1InAppPurchaseImages.swift │ │ │ ├── PathsV1RoutingAppCoverages.swift │ │ │ ├── PathsV1TerritoryAvailabilitiesWithID.swift │ │ │ ├── PathsV1BundleIDCapabilities.swift │ │ │ ├── PathsV1GameCenterActivities.swift │ │ │ ├── PathsV1AppInfoLocalizations.swift │ │ │ ├── PathsV1AppInfosWithIDRelationshipsSecondaryCategory.swift │ │ │ ├── PathsV1AppsWithIDRelationshipsBetaAppReviewDetail.swift │ │ │ ├── PathsV1GameCenterChallenges.swift │ │ │ ├── PathsV1AppCustomProductPages.swift │ │ │ ├── PathsV1AppEventLocalizations.swift │ │ │ ├── PathsV1AppPriceSchedulesWithIDRelationshipsBaseTerritory.swift │ │ │ ├── PathsV1AppStoreReviewDetails.swift │ │ │ ├── PathsV1AppsWithIDRelationshipsBetaLicenseAgreement.swift │ │ │ ├── PathsV1BetaTesterInvitations.swift │ │ │ ├── PathsV1GameCenterActivityLocalizationsWithIDRelationshipsImage.swift │ │ │ ├── PathsV1GameCenterAppVersions.swift │ │ │ ├── PathsV1ReviewSubmissionItems.swift │ │ │ ├── PathsV1AppEncryptionDeclarationsWithIDRelationshipsApp.swift │ │ │ ├── PathsV1GameCenterChallengeLocalizationsWithIDRelationshipsImage.swift │ │ │ ├── PathsV1SubscriptionsWithIDRelationshipsPromotedPurchase.swift │ │ │ ├── PathsV1BetaAppClipInvocations.swift │ │ │ ├── PathsV1BetaFeedbackCrashSubmissionsWithIDRelationshipsCrashLog.swift │ │ │ ├── PathsV1BuildBetaNotifications.swift │ │ │ ├── PathsV1GameCenterAchievements.swift │ │ │ ├── PathsV1GameCenterLeaderboards.swift │ │ │ ├── PathsV1SubscriptionOfferCodes.swift │ │ │ ├── PathsV1GameCenterAchievementsWithIDRelationshipsActivity.swift │ │ │ ├── PathsV1GameCenterLeaderboardsWithIDRelationshipsActivity.swift │ │ │ ├── PathsV2InAppPurchasesWithIDRelationshipsIapPriceSchedule.swift │ │ │ ├── PathsV2InAppPurchasesWithIDRelationshipsPromotedPurchase.swift │ │ │ ├── PathsV1AnalyticsReportRequests.swift │ │ │ ├── PathsV1AppInfosWithIDRelationshipsAgeRatingDeclaration.swift │ │ │ ├── PathsV1BackgroundAssetVersions.swift │ │ │ ├── PathsV1BetaRecruitmentCriteria.swift │ │ │ ├── PathsV1CustomerReviewResponses.swift │ │ │ ├── PathsV1GameCenterDetailsWithIDRelationshipsGameCenterGroup.swift │ │ │ ├── PathsV1SubscriptionSubmissions.swift │ │ │ ├── PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryOne.swift │ │ │ ├── PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryTwo.swift │ │ │ ├── PathsV1AppsWithIDRelationshipsEndUserLicenseAgreement.swift │ │ │ ├── PathsV1AppsWithIDRelationshipsMarketplaceSearchDetail.swift │ │ │ ├── PathsV1AppsWithIDRelationshipsSubscriptionGracePeriod.swift │ │ │ ├── PathsV1GameCenterLeaderboardsWithIDRelationshipsChallenge.swift │ │ │ ├── PathsV1EndUserLicenseAgreements.swift │ │ │ ├── PathsV1GameCenterActivityImages.swift │ │ │ ├── PathsV1GameCenterChallengesWithIDRelationshipsLeaderboard.swift │ │ │ ├── PathsV1InAppPurchaseSubmissions.swift │ │ │ ├── PathsV1MarketplaceSearchDetails.swift │ │ │ ├── PathsV1BuildsWithIDRelationshipsBetaAppReviewSubmission.swift │ │ │ ├── PathsV1GameCenterActivityVersionsWithIDRelationshipsDefaultImage.swift │ │ │ ├── PathsV1AccessibilityDeclarations.swift │ │ │ ├── PathsV1AppClipDefaultExperiences.swift │ │ │ ├── PathsV1AppStoreReviewAttachments.swift │ │ │ └── PathsV1AppStoreVersionPromotions.swift │ └── patches │ │ └── generated │ │ └── encode-update-app-clip-for-version-data-as-null.patch └── Extensions │ ├── HTTPURLResponseExtensions.swift │ └── ErrorResponseExtensions.swift ├── CODEOWNERS └── Tests └── Helpers └── Bundle+Tests.swift /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [AvdLee] 4 | -------------------------------------------------------------------------------- /Example/Shared/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Extensions/APIEndpoint.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | public enum APIEndpoint {} 8 | -------------------------------------------------------------------------------- /Example/Shared/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Example/AppStoreConnectAPIExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/DiagnosticInsightType.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum DiagnosticInsightType: String, Codable, CaseIterable { 7 | case trend = "TREND" 8 | } 9 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | # https://help.github.com/en/articles/about-code-owners 2 | # These owners will be the default owners for everything in 3 | # the repo. Unless a later match takes precedence, they 4 | # will be requested for review when someone opens a PR. 5 | * @Boris-Em @kairadiagne @AvdLee -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/CiGitRefKind.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum CiGitRefKind: String, Codable, CaseIterable { 7 | case branch = "BRANCH" 8 | case tag = "TAG" 9 | } 10 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BuildBundleType.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BuildBundleType: String, Codable, CaseIterable { 7 | case app = "APP" 8 | case appClip = "APP_CLIP" 9 | } 10 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/ChecksumAlgorithm.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum ChecksumAlgorithm: String, Codable, CaseIterable { 7 | case md5 = "MD5" 8 | case sha256 = "SHA_256" 9 | } 10 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BetaInviteType.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BetaInviteType: String, Codable, CaseIterable { 7 | case email = "EMAIL" 8 | case publicLink = "PUBLIC_LINK" 9 | } 10 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/SubscriptionStatusURLVersion.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum SubscriptionStatusURLVersion: String, Codable, CaseIterable { 7 | case v1 = "V1" 8 | case v2 = "V2" 9 | } 10 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/AppClipAction.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum AppClipAction: String, Codable, CaseIterable { 7 | case `open` = "OPEN" 8 | case view = "VIEW" 9 | case play = "PLAY" 10 | } 11 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/CiTestDestinationKind.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum CiTestDestinationKind: String, Codable, CaseIterable { 7 | case simulator = "SIMULATOR" 8 | case mac = "MAC" 9 | } 10 | -------------------------------------------------------------------------------- /Tests/Helpers/Bundle+Tests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Bundle+Tests.swift 3 | // AppStoreConnect-Swift-SDK 4 | // 5 | // Created by Oliver Jones on 17/4/20. 6 | // 7 | 8 | import Foundation 9 | 10 | extension Bundle { 11 | static let tests = Bundle(for: BundleTag.self) 12 | } 13 | 14 | private final class BundleTag {} 15 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/AppEventAssetType.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum AppEventAssetType: String, Codable, CaseIterable { 7 | case eventCard = "EVENT_CARD" 8 | case eventDetailsPage = "EVENT_DETAILS_PAGE" 9 | } 10 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BuildAudienceType.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BuildAudienceType: String, Codable, CaseIterable { 7 | case internalOnly = "INTERNAL_ONLY" 8 | case appStoreEligible = "APP_STORE_ELIGIBLE" 9 | } 10 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/Platform.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum Platform: String, Codable, CaseIterable { 7 | case ios = "IOS" 8 | case macOs = "MAC_OS" 9 | case tvOs = "TV_OS" 10 | case visionOs = "VISION_OS" 11 | } 12 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/CiExecutionProgress.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum CiExecutionProgress: String, Codable, CaseIterable { 7 | case pending = "PENDING" 8 | case running = "RUNNING" 9 | case complete = "COMPLETE" 10 | } 11 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/DiagnosticInsightDirection.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum DiagnosticInsightDirection: String, Codable, CaseIterable { 7 | case up = "UP" 8 | case down = "DOWN" 9 | case undefined = "UNDEFINED" 10 | } 11 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/CiActionType.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum CiActionType: String, Codable, CaseIterable { 7 | case build = "BUILD" 8 | case analyze = "ANALYZE" 9 | case test = "TEST" 10 | case archive = "ARCHIVE" 11 | } 12 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/KidsAgeBand.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum KidsAgeBand: String, Codable, CaseIterable { 7 | case fiveAndUnder = "FIVE_AND_UNDER" 8 | case sixToEight = "SIX_TO_EIGHT" 9 | case nineToEleven = "NINE_TO_ELEVEN" 10 | } 11 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/SubscriptionCustomerEligibility.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum SubscriptionCustomerEligibility: String, Codable, CaseIterable { 7 | case new = "NEW" 8 | case existing = "EXISTING" 9 | case expired = "EXPIRED" 10 | } 11 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BundleIDPlatform.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BundleIDPlatform: String, Codable, CaseIterable { 7 | case ios = "IOS" 8 | case macOs = "MAC_OS" 9 | case universal = "UNIVERSAL" 10 | case services = "SERVICES" 11 | } 12 | -------------------------------------------------------------------------------- /Example/AppStoreConnectAPIExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/SubscriptionOfferMode.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum SubscriptionOfferMode: String, Codable, CaseIterable { 7 | case payAsYouGo = "PAY_AS_YOU_GO" 8 | case payUpFront = "PAY_UP_FRONT" 9 | case freeTrial = "FREE_TRIAL" 10 | } 11 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/PhasedReleaseState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum PhasedReleaseState: String, Codable, CaseIterable { 7 | case inactive = "INACTIVE" 8 | case active = "ACTIVE" 9 | case paused = "PAUSED" 10 | case complete = "COMPLETE" 11 | } 12 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint { 8 | public static var v1: V1 { 9 | V1(path: "/v1") 10 | } 11 | 12 | public struct V1 { 13 | /// Path: `/v1` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV2.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint { 8 | public static var v2: V2 { 9 | V2(path: "/v2") 10 | } 11 | 12 | public struct V2 { 13 | /// Path: `/v2` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV3.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint { 8 | public static var v3: V3 { 9 | V3(path: "/v3") 10 | } 11 | 12 | public struct V3 { 13 | /// Path: `/v3` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/SubscriptionOfferEligibility.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum SubscriptionOfferEligibility: String, Codable, CaseIterable { 7 | case stackWithIntroOffers = "STACK_WITH_INTRO_OFFERS" 8 | case replaceIntroOffers = "REPLACE_INTRO_OFFERS" 9 | } 10 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BuildUploadState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BuildUploadState: String, Codable, CaseIterable { 7 | case awaitingUpload = "AWAITING_UPLOAD" 8 | case processing = "PROCESSING" 9 | case failed = "FAILED" 10 | case complete = "COMPLETE" 11 | } 12 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BetaReviewState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BetaReviewState: String, Codable, CaseIterable { 7 | case waitingForReview = "WAITING_FOR_REVIEW" 8 | case inReview = "IN_REVIEW" 9 | case rejected = "REJECTED" 10 | case approved = "APPROVED" 11 | } 12 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/InAppPurchaseType.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum InAppPurchaseType: String, Codable, CaseIterable { 7 | case consumable = "CONSUMABLE" 8 | case nonConsumable = "NON_CONSUMABLE" 9 | case nonRenewingSubscription = "NON_RENEWING_SUBSCRIPTION" 10 | } 11 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/DeviceConnectionType.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum DeviceConnectionType: String, Codable, CaseIterable { 7 | case wifi = "WIFI" 8 | case mobileData = "MOBILE_DATA" 9 | case wire = "WIRE" 10 | case unknown = "UNKNOWN" 11 | case `none` = "NONE" 12 | } 13 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/SubscriptionGracePeriodDuration.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum SubscriptionGracePeriodDuration: String, Codable, CaseIterable { 7 | case threeDays = "THREE_DAYS" 8 | case sixteenDays = "SIXTEEN_DAYS" 9 | case twentyEightDays = "TWENTY_EIGHT_DAYS" 10 | } 11 | -------------------------------------------------------------------------------- /Example/Shared/AppStoreConnectAPIExampleApp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppStoreConnectAPIExampleApp.swift 3 | // Shared 4 | // 5 | // Created by Antoine van der Lee on 11/07/2022. 6 | // 7 | 8 | import SwiftUI 9 | 10 | @main 11 | struct AppStoreConnectAPIExampleApp: App { 12 | var body: some Scene { 13 | WindowGroup { 14 | AppsListView() 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Example/macOS/macOS.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.files.user-selected.read-only 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/CiTestStatus.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum CiTestStatus: String, Codable, CaseIterable { 7 | case success = "SUCCESS" 8 | case failure = "FAILURE" 9 | case mixed = "MIXED" 10 | case skipped = "SKIPPED" 11 | case expectedFailure = "EXPECTED_FAILURE" 12 | } 13 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BackgroundAssetVersionState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BackgroundAssetVersionState: String, Codable, CaseIterable { 7 | case awaitingUpload = "AWAITING_UPLOAD" 8 | case processing = "PROCESSING" 9 | case failed = "FAILED" 10 | case complete = "COMPLETE" 11 | } 12 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BetaTesterState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BetaTesterState: String, Codable, CaseIterable { 7 | case notInvited = "NOT_INVITED" 8 | case invited = "INVITED" 9 | case accepted = "ACCEPTED" 10 | case installed = "INSTALLED" 11 | case revoked = "REVOKED" 12 | } 13 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BrazilAgeRating.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BrazilAgeRating: String, Codable, CaseIterable { 7 | case l = "L" 8 | case ten = "TEN" 9 | case twelve = "TWELVE" 10 | case fourteen = "FOURTEEN" 11 | case sixteen = "SIXTEEN" 12 | case eighteen = "EIGHTEEN" 13 | } 14 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/CiCompletionStatus.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum CiCompletionStatus: String, Codable, CaseIterable { 7 | case succeeded = "SUCCEEDED" 8 | case failed = "FAILED" 9 | case errored = "ERRORED" 10 | case canceled = "CANCELED" 11 | case skipped = "SKIPPED" 12 | } 13 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/DeviceFamily.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum DeviceFamily: String, Codable, CaseIterable { 7 | case iphone = "IPHONE" 8 | case ipad = "IPAD" 9 | case appleTv = "APPLE_TV" 10 | case appleWatch = "APPLE_WATCH" 11 | case mac = "MAC" 12 | case vision = "VISION" 13 | } 14 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppTags.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appTags: AppTags { 9 | AppTags(path: path + "/appTags") 10 | } 11 | 12 | public struct AppTags { 13 | /// Path: `/v1/appTags` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppClips.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appClips: AppClips { 9 | AppClips(path: path + "/appClips") 10 | } 11 | 12 | public struct AppClips { 13 | /// Path: `/v1/appClips` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppInfos.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appInfos: AppInfos { 9 | AppInfos(path: path + "/appInfos") 10 | } 11 | 12 | public struct AppInfos { 13 | /// Path: `/v1/appInfos` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiIssues.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var ciIssues: CiIssues { 9 | CiIssues(path: path + "/ciIssues") 10 | } 11 | 12 | public struct CiIssues { 13 | /// Path: `/v1/ciIssues` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiArtifacts.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var ciArtifacts: CiArtifacts { 9 | CiArtifacts(path: path + "/ciArtifacts") 10 | } 11 | 12 | public struct CiArtifacts { 13 | /// Path: `/v1/ciArtifacts` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/MetricCategory.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum MetricCategory: String, Codable, CaseIterable { 7 | case hang = "HANG" 8 | case launch = "LAUNCH" 9 | case memory = "MEMORY" 10 | case disk = "DISK" 11 | case battery = "BATTERY" 12 | case termination = "TERMINATION" 13 | case animation = "ANIMATION" 14 | } 15 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetrics.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID { 8 | public var metrics: Metrics { 9 | Metrics(path: path + "/metrics") 10 | } 11 | 12 | public struct Metrics { 13 | /// Path: `/v1/apps/{id}/metrics` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildBundles.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var buildBundles: BuildBundles { 9 | BuildBundles(path: path + "/buildBundles") 10 | } 11 | 12 | public struct BuildBundles { 13 | /// Path: `/v1/buildBundles` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDMetrics.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Builds.WithID { 8 | public var metrics: Metrics { 9 | Metrics(path: path + "/metrics") 10 | } 11 | 12 | public struct Metrics { 13 | /// Path: `/v1/builds/{id}/metrics` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/AppEncryptionDeclarationState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum AppEncryptionDeclarationState: String, Codable, CaseIterable { 7 | case created = "CREATED" 8 | case inReview = "IN_REVIEW" 9 | case approved = "APPROVED" 10 | case rejected = "REJECTED" 11 | case invalid = "INVALID" 12 | case expired = "EXPIRED" 13 | } 14 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaCrashLogs.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var betaCrashLogs: BetaCrashLogs { 9 | BetaCrashLogs(path: path + "/betaCrashLogs") 10 | } 11 | 12 | public struct BetaCrashLogs { 13 | /// Path: `/v1/betaCrashLogs` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BuildBundles { 8 | public func id(_ id: String) -> WithID { 9 | WithID(path: "\(path)/\(id)") 10 | } 11 | 12 | public struct WithID { 13 | /// Path: `/v1/buildBundles/{id}` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiTestResults.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var ciTestResults: CiTestResults { 9 | CiTestResults(path: path + "/ciTestResults") 10 | } 11 | 12 | public struct CiTestResults { 13 | /// Path: `/v1/ciTestResults` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var ciBuildActions: CiBuildActions { 9 | CiBuildActions(path: path + "/ciBuildActions") 10 | } 11 | 12 | public struct CiBuildActions { 13 | /// Path: `/v1/ciBuildActions` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchases.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var inAppPurchases: InAppPurchases { 9 | InAppPurchases(path: path + "/inAppPurchases") 10 | } 11 | 12 | public struct InAppPurchases { 13 | /// Path: `/v1/inAppPurchases` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV3AppPricePoints.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V3 { 8 | public var appPricePoints: AppPricePoints { 9 | AppPricePoints(path: path + "/appPricePoints") 10 | } 11 | 12 | public struct AppPricePoints { 13 | /// Path: `/v3/appPricePoints` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetrics.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaGroups.WithID { 8 | public var metrics: Metrics { 9 | Metrics(path: path + "/metrics") 10 | } 11 | 12 | public struct Metrics { 13 | /// Path: `/v1/betaGroups/{id}/metrics` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetrics.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaTesters.WithID { 8 | public var metrics: Metrics { 9 | Metrics(path: path + "/metrics") 10 | } 11 | 12 | public struct Metrics { 13 | /// Path: `/v1/betaTesters/{id}/metrics` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviews.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var customerReviews: CustomerReviews { 9 | CustomerReviews(path: path + "/customerReviews") 10 | } 11 | 12 | public struct CustomerReviews { 13 | /// Path: `/v1/customerReviews` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1ScmPullRequests.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var scmPullRequests: ScmPullRequests { 9 | ScmPullRequests(path: path + "/scmPullRequests") 10 | } 11 | 12 | public struct ScmPullRequests { 13 | /// Path: `/v1/scmPullRequests` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReports.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var analyticsReports: AnalyticsReports { 9 | AnalyticsReports(path: path + "/analyticsReports") 10 | } 11 | 12 | public struct AnalyticsReports { 13 | /// Path: `/v1/analyticsReports` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1ScmGitReferences.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var scmGitReferences: ScmGitReferences { 9 | ScmGitReferences(path: path + "/scmGitReferences") 10 | } 11 | 12 | public struct ScmGitReferences { 13 | /// Path: `/v1/scmGitReferences` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignaturesWithID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.DiagnosticSignatures { 8 | public func id(_ id: String) -> WithID { 9 | WithID(path: "\(path)/\(id)") 10 | } 11 | 12 | public struct WithID { 13 | /// Path: `/v1/diagnosticSignatures/{id}` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/apps/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetrics.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterDetails.WithID { 8 | public var metrics: Metrics { 9 | Metrics(path: path + "/metrics") 10 | } 11 | 12 | public struct Metrics { 13 | /// Path: `/v1/gameCenterDetails/{id}/metrics` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePointsWithID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.InAppPurchasePricePoints { 8 | public func id(_ id: String) -> WithID { 9 | WithID(path: "\(path)/\(id)") 10 | } 11 | 12 | public struct WithID { 13 | /// Path: `/v1/inAppPurchasePricePoints/{id}` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Users.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/users/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppTagsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppTags.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appTags/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Builds.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/builds/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterEnabledVersions { 8 | public func id(_ id: String) -> WithID { 9 | WithID(path: "\(path)/\(id)") 10 | } 11 | 12 | public struct WithID { 13 | /// Path: `/v1/gameCenterEnabledVersions/{id}` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppClips.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appClips/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppEventsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppEvents.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appEvents/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppInfos.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appInfos/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BundleIDs.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/bundleIds/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Profiles.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/profiles/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1WebhooksWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Webhooks.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/webhooks/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/IconAssetType.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum IconAssetType: String, Codable, CaseIterable { 7 | case appStore = "APP_STORE" 8 | case messagesAppStore = "MESSAGES_APP_STORE" 9 | case watchAppStore = "WATCH_APP_STORE" 10 | case tvOsHomeScreen = "TV_OS_HOME_SCREEN" 11 | case tvOsTopShelf = "TV_OS_TOP_SHELF" 12 | case alternateExperiment = "ALTERNATE_EXPERIMENT" 13 | } 14 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaGroups.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/betaGroups/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CiProducts.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/ciProducts/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1DiagnosticSignatures.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var diagnosticSignatures: DiagnosticSignatures { 9 | DiagnosticSignatures(path: path + "/diagnosticSignatures") 10 | } 11 | 12 | public struct DiagnosticSignatures { 13 | /// Path: `/v1/diagnosticSignatures` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarations.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var ageRatingDeclarations: AgeRatingDeclarations { 9 | AgeRatingDeclarations(path: path + "/ageRatingDeclarations") 10 | } 11 | 12 | public struct AgeRatingDeclarations { 13 | /// Path: `/v1/ageRatingDeclarations` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaTesters.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/betaTesters/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildBundlesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BuildBundles.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/buildBundles/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildUploadsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BuildUploads.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/buildUploads/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Certificates.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/certificates/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CiBuildRuns.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/ciBuildRuns/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CiWorkflows.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/ciWorkflows/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetrics.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID { 8 | public var metrics: Metrics { 9 | Metrics(path: path + "/metrics") 10 | } 11 | 12 | public struct Metrics { 13 | /// Path: `/v1/gameCenterMatchmakingRules/{id}/metrics` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseContents.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var inAppPurchaseContents: InAppPurchaseContents { 9 | InAppPurchaseContents(path: path + "/inAppPurchaseContents") 10 | } 11 | 12 | public struct InAppPurchaseContents { 13 | /// Path: `/v1/inAppPurchaseContents` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1MerchantIDsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.MerchantIDs.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/merchantIds/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1PassTypeIDsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.PassTypeIDs.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/passTypeIds/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1ScmProvidersWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.ScmProviders.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/scmProviders/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppCategories.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appCategories/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSetsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppPreviewSets.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appPreviewSets/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CiBuildActions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/ciBuildActions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetrics.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID { 8 | public var metrics: Metrics { 9 | Metrics(path: path + "/metrics") 10 | } 11 | 12 | public struct Metrics { 13 | /// Path: `/v1/gameCenterMatchmakingQueues/{id}/metrics` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Subscriptions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/subscriptions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffersWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.WinBackOffers.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/winBackOffers/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V2.InAppPurchases.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v2/inAppPurchases/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V3.AppPricePoints.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v3/appPricePoints/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiMacOsVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CiMacOsVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/ciMacOsVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiXcodeVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CiXcodeVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/ciXcodeVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CustomerReviews.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/customerReviews/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1ScmRepositoriesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.ScmRepositories.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/scmRepositories/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.UserInvitations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/userInvitations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportSegments.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var analyticsReportSegments: AnalyticsReportSegments { 9 | AnalyticsReportSegments(path: path + "/analyticsReportSegments") 10 | } 11 | 12 | public struct AnalyticsReportSegments { 13 | /// Path: `/v1/analyticsReportSegments` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AnalyticsReports.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/analyticsReports/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppPriceSchedules.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appPriceSchedules/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSetsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppScreenshotSets.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appScreenshotSets/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppStoreVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appStoreVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BackgroundAssetsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BackgroundAssets.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/backgroundAssets/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BuildBetaDetails.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/buildBetaDetails/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterDetails.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterDetails/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterGroups.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterGroups/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.ReviewSubmissions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/reviewSubmissions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePoints.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var subscriptionPricePoints: SubscriptionPricePoints { 9 | SubscriptionPricePoints(path: path + "/subscriptionPricePoints") 10 | } 11 | 12 | public struct SubscriptionPricePoints { 13 | /// Path: `/v1/subscriptionPricePoints` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilities.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var territoryAvailabilities: TerritoryAvailabilities { 9 | TerritoryAvailabilities(path: path + "/territoryAvailabilities") 10 | } 11 | 12 | public struct TerritoryAvailabilities { 13 | /// Path: `/v1/territoryAvailabilities` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilitiesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V2.AppAvailabilities.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v2/appAvailabilities/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportInstances.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var analyticsReportInstances: AnalyticsReportInstances { 9 | AnalyticsReportInstances(path: path + "/analyticsReportInstances") 10 | } 11 | 12 | public struct AnalyticsReportInstances { 13 | /// Path: `/v1/analyticsReportInstances` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePoints.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var inAppPurchasePricePoints: InAppPurchasePricePoints { 9 | InAppPurchasePricePoints(path: path + "/inAppPurchasePricePoints") 10 | } 11 | 12 | public struct InAppPurchasePricePoints { 13 | /// Path: `/v1/inAppPurchasePricePoints` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.PreReleaseVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/preReleaseVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGracePeriods.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var subscriptionGracePeriods: SubscriptionGracePeriods { 9 | SubscriptionGracePeriods(path: path + "/subscriptionGracePeriods") 10 | } 11 | 12 | public struct SubscriptionGracePeriods { 13 | /// Path: `/v1/subscriptionGracePeriods` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.SubscriptionGroups.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/subscriptionGroups/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/SubscriptionOfferDuration.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum SubscriptionOfferDuration: String, Codable, CaseIterable { 7 | case threeDays = "THREE_DAYS" 8 | case oneWeek = "ONE_WEEK" 9 | case twoWeeks = "TWO_WEEKS" 10 | case oneMonth = "ONE_MONTH" 11 | case twoMonths = "TWO_MONTHS" 12 | case threeMonths = "THREE_MONTHS" 13 | case sixMonths = "SIX_MONTHS" 14 | case oneYear = "ONE_YEAR" 15 | } 16 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaAppLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/betaAppLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaAppReviewDetails.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/betaAppReviewDetails/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterActivitiesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterActivities.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterActivities/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterChallengesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterChallenges.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterChallenges/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPagesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppCustomProductPages.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appCustomProductPages/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppEventLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appEventLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetailsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppStoreReviewDetails.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appStoreReviewDetails/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaBuildLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/betaBuildLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaLicenseAgreements.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/betaLicenseAgreements/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterAchievements.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterAchievements/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterAppVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterAppVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var gameCenterEnabledVersions: GameCenterEnabledVersions { 9 | GameCenterEnabledVersions(path: path + "/gameCenterEnabledVersions") 10 | } 11 | 12 | public struct GameCenterEnabledVersions { 13 | /// Path: `/v1/gameCenterEnabledVersions` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterLeaderboards.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterLeaderboards/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.SubscriptionOfferCodes.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/subscriptionOfferCodes/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportInstancesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AnalyticsReportInstances.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/analyticsReportInstances/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequestsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AnalyticsReportRequests.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/analyticsReportRequests/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appStoreVersionSubmissions: AppStoreVersionSubmissions { 9 | AppStoreVersionSubmissions(path: path + "/appStoreVersionSubmissions") 10 | } 11 | 12 | public struct AppStoreVersionSubmissions { 13 | /// Path: `/v1/appStoreVersionSubmissions` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BackgroundAssetVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BackgroundAssetVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/backgroundAssetVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaAppReviewSubmissions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/betaAppReviewSubmissions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreementsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.EndUserLicenseAgreements.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/endUserLicenseAgreements/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePricePointsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.InAppPurchasePricePoints.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/inAppPurchasePricePoints/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricePointsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.SubscriptionPricePoints.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/subscriptionPricePoints/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appClipDefaultExperiences/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appEncryptionDeclarations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterEnabledVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterLeaderboardSets.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterLeaderboardSets/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppStoreVersionExperiments.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appStoreVersionExperiments/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterActivityVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterActivityVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterActivityVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterChallengeVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterChallengeVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterChallengeVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseAvailabilitiesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.InAppPurchaseAvailabilities.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/inAppPurchaseAvailabilities/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchasePriceSchedulesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.InAppPurchasePriceSchedules.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/inAppPurchasePriceSchedules/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionAvailabilitiesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.SubscriptionAvailabilities.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/subscriptionAvailabilities/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV2AppStoreVersionExperimentsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V2.AppStoreVersionExperiments.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v2/appStoreVersionExperiments/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppCustomProductPageVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appCustomProductPageVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appStoreVersionLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaFeedbackCrashSubmissions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var betaFeedbackCrashSubmissions: BetaFeedbackCrashSubmissions { 9 | BetaFeedbackCrashSubmissions(path: path + "/betaFeedbackCrashSubmissions") 10 | } 11 | 12 | public struct BetaFeedbackCrashSubmissions { 13 | /// Path: `/v1/betaFeedbackCrashSubmissions` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaFeedbackCrashSubmissionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaFeedbackCrashSubmissions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/betaFeedbackCrashSubmissions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterMatchmakingRuleSets/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPromotionalOffersWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.SubscriptionPromotionalOffers.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/subscriptionPromotionalOffers/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.github/workflows/sync_asc_api.yml: -------------------------------------------------------------------------------- 1 | name: Synchronize ASC API 2 | 3 | concurrency: 4 | group: ${{ github.workflow }}-${{ github.ref }} 5 | cancel-in-progress: true 6 | 7 | permissions: 8 | contents: write 9 | pull-requests: write 10 | 11 | on: 12 | schedule: 13 | - cron: '0 * * * *' 14 | workflow_dispatch: 15 | 16 | jobs: 17 | diff_spec: 18 | runs-on: macos-latest 19 | steps: 20 | - uses: actions/checkout@v2 21 | - run: ./check_for_updates.sh 22 | env: 23 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 24 | 25 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AlternativeDistributionPackages.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/alternativeDistributionPackages/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterActivityLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterActivityLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterActivityLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterChallengeLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterChallengeLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterChallengeLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appCustomProductPageLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterAchievementLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterAchievementLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterLeaderboardLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterLeaderboardLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppStoreVersionExperimentTreatments.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appStoreVersionExperimentTreatments/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperienceLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppClipDefaultExperienceLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appClipDefaultExperienceLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterLeaderboardSetLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterLeaderboardSetLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/Extensions/HTTPURLResponseExtensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // HTTPURLResponseExtensions.swift 3 | // 4 | // 5 | // Created by Mathias Emil Mortensen on 10/04/2023. 6 | // 7 | 8 | import Foundation 9 | #if canImport(FoundationNetworking) 10 | import FoundationNetworking 11 | #endif 12 | 13 | extension HTTPURLResponse { 14 | public var rateLimit: RateLimit? { 15 | if let value = value(forHTTPHeaderField: "X-Rate-Limit") { 16 | return RateLimit(value: value, requestURL: url) 17 | } else { 18 | return nil 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AlternativeDistributionPackageVersions.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/alternativeDistributionPackageVersions/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/InternalBetaState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum InternalBetaState: String, Codable, CaseIterable { 7 | case processing = "PROCESSING" 8 | case processingException = "PROCESSING_EXCEPTION" 9 | case missingExportCompliance = "MISSING_EXPORT_COMPLIANCE" 10 | case readyForBetaTesting = "READY_FOR_BETA_TESTING" 11 | case inBetaTesting = "IN_BETA_TESTING" 12 | case expired = "EXPIRED" 13 | case inExportComplianceReview = "IN_EXPORT_COMPLIANCE_REVIEW" 14 | } 15 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaFeedbackScreenshotSubmissions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var betaFeedbackScreenshotSubmissions: BetaFeedbackScreenshotSubmissions { 9 | BetaFeedbackScreenshotSubmissions(path: path + "/betaFeedbackScreenshotSubmissions") 10 | } 11 | 12 | public struct BetaFeedbackScreenshotSubmissions { 13 | /// Path: `/v1/betaFeedbackScreenshotSubmissions` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardSetMemberLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterLeaderboardSetMemberLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/gameCenterLeaderboardSetMemberLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltas.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var alternativeDistributionPackageDeltas: AlternativeDistributionPackageDeltas { 9 | AlternativeDistributionPackageDeltas(path: path + "/alternativeDistributionPackageDeltas") 10 | } 11 | 12 | public struct AlternativeDistributionPackageDeltas { 13 | /// Path: `/v1/alternativeDistributionPackageDeltas` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDRelationships.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID { 8 | public var relationships: Relationships { 9 | Relationships(path: path + "/relationships") 10 | } 11 | 12 | public struct Relationships { 13 | /// Path: `/v1/appStoreVersionExperimentTreatmentLocalizations/{id}/relationships` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPricesWithID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.SubscriptionPrices { 8 | public func id(_ id: String) -> WithID { 9 | WithID(path: "\(path)/\(id)") 10 | } 11 | 12 | public struct WithID { 13 | /// Path: `/v1/subscriptionPrices/{id}` 14 | public let path: String 15 | 16 | public var delete: Request { 17 | Request(path: path, method: "DELETE", id: "subscriptionPrices_deleteInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BackgroundAssetVersionExternalBetaReleaseState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BackgroundAssetVersionExternalBetaReleaseState: String, Codable, CaseIterable { 7 | case readyForBetaSubmission = "READY_FOR_BETA_SUBMISSION" 8 | case waitingForReview = "WAITING_FOR_REVIEW" 9 | case inReview = "IN_REVIEW" 10 | case rejected = "REJECTED" 11 | case processingForTesting = "PROCESSING_FOR_TESTING" 12 | case readyForTesting = "READY_FOR_TESTING" 13 | case superseded = "SUPERSEDED" 14 | } 15 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariants.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var alternativeDistributionPackageVariants: AlternativeDistributionPackageVariants { 9 | AlternativeDistributionPackageVariants(path: path + "/alternativeDistributionPackageVariants") 10 | } 11 | 12 | public struct AlternativeDistributionPackageVariants { 13 | /// Path: `/v1/alternativeDistributionPackageVariants` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var alternativeDistributionPackageVersions: AlternativeDistributionPackageVersions { 9 | AlternativeDistributionPackageVersions(path: path + "/alternativeDistributionPackageVersions") 10 | } 11 | 12 | public struct AlternativeDistributionPackageVersions { 13 | /// Path: `/v1/alternativeDistributionPackageVersions` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BackgroundAssetVersionAppStoreReleases.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var backgroundAssetVersionAppStoreReleases: BackgroundAssetVersionAppStoreReleases { 9 | BackgroundAssetVersionAppStoreReleases(path: path + "/backgroundAssetVersionAppStoreReleases") 10 | } 11 | 12 | public struct BackgroundAssetVersionAppStoreReleases { 13 | /// Path: `/v1/backgroundAssetVersionAppStoreReleases` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsApp.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Builds.WithID.Relationships { 8 | public var app: App { 9 | App(path: path + "/app") 10 | } 11 | 12 | public struct App { 13 | /// Path: `/v1/builds/{id}/relationships/app` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "builds_app_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BackgroundAssetVersionExternalBetaReleases.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var backgroundAssetVersionExternalBetaReleases: BackgroundAssetVersionExternalBetaReleases { 9 | BackgroundAssetVersionExternalBetaReleases(path: path + "/backgroundAssetVersionExternalBetaReleases") 10 | } 11 | 12 | public struct BackgroundAssetVersionExternalBetaReleases { 13 | /// Path: `/v1/backgroundAssetVersionExternalBetaReleases` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BackgroundAssetVersionInternalBetaReleases.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var backgroundAssetVersionInternalBetaReleases: BackgroundAssetVersionInternalBetaReleases { 9 | BackgroundAssetVersionInternalBetaReleases(path: path + "/backgroundAssetVersionInternalBetaReleases") 10 | } 11 | 12 | public struct BackgroundAssetVersionInternalBetaReleases { 13 | /// Path: `/v1/backgroundAssetVersionInternalBetaReleases` 14 | public let path: String 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDRelationshipsApp.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BundleIDs.WithID.Relationships { 8 | public var app: App { 9 | App(path: path + "/app") 10 | } 11 | 12 | public struct App { 13 | /// Path: `/v1/bundleIds/{id}/relationships/app` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "bundleIds_app_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1Webhooks.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var webhooks: Webhooks { 9 | Webhooks(path: path + "/webhooks") 10 | } 11 | 12 | public struct Webhooks { 13 | /// Path: `/v1/webhooks` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.WebhookCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "webhooks_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDRelationshipsApp.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaGroups.WithID.Relationships { 8 | public var app: App { 9 | App(path: path + "/app") 10 | } 11 | 12 | public struct App { 13 | /// Path: `/v1/betaGroups/{id}/relationships/app` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "betaGroups_app_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDRelationshipsApp.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CiProducts.WithID.Relationships { 8 | public var app: App { 9 | App(path: path + "/app") 10 | } 11 | 12 | public struct App { 13 | /// Path: `/v1/ciProducts/{id}/relationships/app` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "ciProducts_app_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppEvents.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appEvents: AppEvents { 9 | AppEvents(path: path + "/appEvents") 10 | } 11 | 12 | public struct AppEvents { 13 | /// Path: `/v1/appEvents` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppEventCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appEvents_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppTagsWithID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppTags { 8 | public func id(_ id: String) -> WithID { 9 | WithID(path: "\(path)/\(id)") 10 | } 11 | 12 | public struct WithID { 13 | /// Path: `/v1/appTags/{id}` 14 | public let path: String 15 | 16 | public func patch(_ body: AppStoreConnect_Swift_SDK.AppTagUpdateRequest) -> Request { 17 | Request(path: path, method: "PATCH", body: body, id: "appTags_updateInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/Extensions/ErrorResponseExtensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ErrorResponseExtensions.swift 3 | // 4 | // 5 | // Created by Antoine van der Lee on 29/07/2022. 6 | // 7 | 8 | import Foundation 9 | 10 | extension ErrorResponse: CustomStringConvertible { 11 | public var description: String { 12 | var errorString = "Related response error(s):" 13 | errors?.forEach({ error in 14 | errorString.append(""" 15 | \n\nThe request failed with response code \(error.status) \(error.code) 16 | 17 | \(error.title).\(error.detail.map { " \($0)" } ?? "") 18 | """) 19 | }) 20 | return errorString 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/GameCenterVersionState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum GameCenterVersionState: String, Codable, CaseIterable { 7 | case prepareForSubmission = "PREPARE_FOR_SUBMISSION" 8 | case readyForReview = "READY_FOR_REVIEW" 9 | case waitingForReview = "WAITING_FOR_REVIEW" 10 | case inReview = "IN_REVIEW" 11 | case developerRejected = "DEVELOPER_REJECTED" 12 | case rejected = "REJECTED" 13 | case accepted = "ACCEPTED" 14 | case pendingRelease = "PENDING_RELEASE" 15 | case live = "LIVE" 16 | case replacedWithNewVersion = "REPLACED_WITH_NEW_VERSION" 17 | } 18 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppPreviews.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appPreviews: AppPreviews { 9 | AppPreviews(path: path + "/appPreviews") 10 | } 11 | 12 | public struct AppPreviews { 13 | /// Path: `/v1/appPreviews` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppPreviewCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appPreviews_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsCiProduct.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID.Relationships { 8 | public var ciProduct: CiProduct { 9 | CiProduct(path: path + "/ciProduct") 10 | } 11 | 12 | public struct CiProduct { 13 | /// Path: `/v1/apps/{id}/relationships/ciProduct` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "apps_ciProduct_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRuns.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var ciBuildRuns: CiBuildRuns { 9 | CiBuildRuns(path: path + "/ciBuildRuns") 10 | } 11 | 12 | public struct CiBuildRuns { 13 | /// Path: `/v1/ciBuildRuns` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.CiBuildRunCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "ciBuildRuns_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflows.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var ciWorkflows: CiWorkflows { 9 | CiWorkflows(path: path + "/ciWorkflows") 10 | } 11 | 12 | public struct CiWorkflows { 13 | /// Path: `/v1/ciWorkflows` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.CiWorkflowCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "ciWorkflows_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/DocumentLinks.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public struct DocumentLinks: Codable { 7 | public var this: String 8 | 9 | public init(this: String) { 10 | self.this = this 11 | } 12 | 13 | public init(from decoder: Decoder) throws { 14 | let values = try decoder.container(keyedBy: StringCodingKey.self) 15 | self.this = try values.decode(String.self, forKey: "self") 16 | } 17 | 18 | public func encode(to encoder: Encoder) throws { 19 | var values = encoder.container(keyedBy: StringCodingKey.self) 20 | try values.encode(this, forKey: "self") 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildUploads.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var buildUploads: BuildUploads { 9 | BuildUploads(path: path + "/buildUploads") 10 | } 11 | 12 | public struct BuildUploads { 13 | /// Path: `/v1/buildUploads` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.BuildUploadCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "buildUploads_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1ProfilesWithIDRelationshipsBundleID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Profiles.WithID.Relationships { 8 | public var bundleID: BundleID { 9 | BundleID(path: path + "/bundleId") 10 | } 11 | 12 | public struct BundleID { 13 | /// Path: `/v1/profiles/{id}/relationships/bundleId` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "profiles_bundleId_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodeOneTimeUseCodesWithIDValues.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.SubscriptionOfferCodeOneTimeUseCodes.WithID { 8 | public var values: Values { 9 | Values(path: path + "/values") 10 | } 11 | 12 | public struct Values { 13 | /// Path: `/v1/subscriptionOfferCodeOneTimeUseCodes/{id}/values` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "subscriptionOfferCodeOneTimeUseCodes_values_getToOneRelated") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1WebhookPings.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var webhookPings: WebhookPings { 9 | WebhookPings(path: path + "/webhookPings") 10 | } 11 | 12 | public struct WebhookPings { 13 | /// Path: `/v1/webhookPings` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.WebhookPingCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "webhookPings_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppCategoriesWithIDRelationshipsParent.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppCategories.WithID.Relationships { 8 | public var parent: Parent { 9 | Parent(path: path + "/parent") 10 | } 11 | 12 | public struct Parent { 13 | /// Path: `/v1/appCategories/{id}/relationships/parent` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "appCategories_parent_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionSubmissionsWithID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppStoreVersionSubmissions { 8 | public func id(_ id: String) -> WithID { 9 | WithID(path: "\(path)/\(id)") 10 | } 11 | 12 | public struct WithID { 13 | /// Path: `/v1/appStoreVersionSubmissions/{id}` 14 | public let path: String 15 | 16 | @available(*, deprecated, message: "Deprecated") 17 | public var delete: Request { 18 | Request(path: path, method: "DELETE", id: "appStoreVersionSubmissions_deleteInstance") 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDRelationshipsApp.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.PreReleaseVersions.WithID.Relationships { 8 | public var app: App { 9 | App(path: path + "/app") 10 | } 11 | 12 | public struct App { 13 | /// Path: `/v1/preReleaseVersions/{id}/relationships/app` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "preReleaseVersions_app_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/BackgroundAssetVersionAppStoreReleaseState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum BackgroundAssetVersionAppStoreReleaseState: String, Codable, CaseIterable { 7 | case prepareForSubmission = "PREPARE_FOR_SUBMISSION" 8 | case readyForReview = "READY_FOR_REVIEW" 9 | case waitingForReview = "WAITING_FOR_REVIEW" 10 | case inReview = "IN_REVIEW" 11 | case accepted = "ACCEPTED" 12 | case rejected = "REJECTED" 13 | case processingForDistribution = "PROCESSING_FOR_DISTRIBUTION" 14 | case readyForDistribution = "READY_FOR_DISTRIBUTION" 15 | case superseded = "SUPERSEDED" 16 | } 17 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1Subscriptions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var subscriptions: Subscriptions { 9 | Subscriptions(path: path + "/subscriptions") 10 | } 11 | 12 | public struct Subscriptions { 13 | /// Path: `/v1/subscriptions` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "subscriptions_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1WinBackOffers.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var winBackOffers: WinBackOffers { 9 | WinBackOffers(path: path + "/winBackOffers") 10 | } 11 | 12 | public struct WinBackOffers { 13 | /// Path: `/v1/winBackOffers` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.WinBackOfferCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "winBackOffers_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDRelationshipsApp.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaAppLocalizations.WithID.Relationships { 8 | public var app: App { 9 | App(path: path + "/app") 10 | } 11 | 12 | public struct App { 13 | /// Path: `/v1/betaAppLocalizations/{id}/relationships/app` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "betaAppLocalizations_app_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDRelationshipsApp.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaAppReviewDetails.WithID.Relationships { 8 | public var app: App { 9 | App(path: path + "/app") 10 | } 11 | 12 | public struct App { 13 | /// Path: `/v1/betaAppReviewDetails/{id}/relationships/app` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "betaAppReviewDetails_app_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaDetailsWithIDRelationshipsBuild.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BuildBetaDetails.WithID.Relationships { 8 | public var build: Build { 9 | Build(path: path + "/build") 10 | } 11 | 12 | public struct Build { 13 | /// Path: `/v1/buildBetaDetails/{id}/relationships/build` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "buildBetaDetails_build_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppPreviewSets.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appPreviewSets: AppPreviewSets { 9 | AppPreviewSets(path: path + "/appPreviewSets") 10 | } 11 | 12 | public struct AppPreviewSets { 13 | /// Path: `/v1/appPreviewSets` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppPreviewSetCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appPreviewSets_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshots.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appScreenshots: AppScreenshots { 9 | AppScreenshots(path: path + "/appScreenshots") 10 | } 11 | 12 | public struct AppScreenshots { 13 | /// Path: `/v1/appScreenshots` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppScreenshotCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appScreenshots_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDRelationshipsApp.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaLicenseAgreements.WithID.Relationships { 8 | public var app: App { 9 | App(path: path + "/app") 10 | } 11 | 12 | public struct App { 13 | /// Path: `/v1/betaLicenseAgreements/{id}/relationships/app` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "betaLicenseAgreements_app_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/ResourceLinks.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public struct ResourceLinks: Codable { 7 | public var this: String? 8 | 9 | public init(this: String? = nil) { 10 | self.this = this 11 | } 12 | 13 | public init(from decoder: Decoder) throws { 14 | let values = try decoder.container(keyedBy: StringCodingKey.self) 15 | self.this = try values.decodeIfPresent(String.self, forKey: "self") 16 | } 17 | 18 | public func encode(to encoder: Encoder) throws { 19 | var values = encoder.container(keyedBy: StringCodingKey.self) 20 | try values.encodeIfPresent(this, forKey: "self") 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchases.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V2 { 8 | public var inAppPurchases: InAppPurchases { 9 | InAppPurchases(path: path + "/inAppPurchases") 10 | } 11 | 12 | public struct InAppPurchases { 13 | /// Path: `/v2/inAppPurchases` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseV2CreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "inAppPurchasesV2_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsContent.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V2.InAppPurchases.WithID.Relationships { 8 | public var content: Content { 9 | Content(path: path + "/content") 10 | } 11 | 12 | public struct Content { 13 | /// Path: `/v2/inAppPurchases/{id}/relationships/content` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "inAppPurchasesV2_content_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV2SandboxTestersWithID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V2.SandboxTesters { 8 | public func id(_ id: String) -> WithID { 9 | WithID(path: "\(path)/\(id)") 10 | } 11 | 12 | public struct WithID { 13 | /// Path: `/v2/sandboxTesters/{id}` 14 | public let path: String 15 | 16 | public func patch(_ body: AppStoreConnect_Swift_SDK.SandboxTesterV2UpdateRequest) -> Request { 17 | Request(path: path, method: "PATCH", body: body, id: "sandboxTestersV2_updateInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDRelationshipsBuildRun.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CiBuildActions.WithID.Relationships { 8 | public var buildRun: BuildRun { 9 | BuildRun(path: path + "/buildRun") 10 | } 11 | 12 | public struct BuildRun { 13 | /// Path: `/v1/ciBuildActions/{id}/relationships/buildRun` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "ciBuildActions_buildRun_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDRelationshipsRepository.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CiWorkflows.WithID.Relationships { 8 | public var repository: Repository { 9 | Repository(path: path + "/repository") 10 | } 11 | 12 | public struct Repository { 13 | /// Path: `/v1/ciWorkflows/{id}/relationships/repository` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "ciWorkflows_repository_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewsWithIDRelationshipsResponse.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.CustomerReviews.WithID.Relationships { 8 | public var response: Response { 9 | Response(path: path + "/response") 10 | } 11 | 12 | public struct Response { 13 | /// Path: `/v1/customerReviews/{id}/relationships/response` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "customerReviews_response_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appStoreVersions: AppStoreVersions { 9 | AppStoreVersions(path: path + "/appStoreVersions") 10 | } 11 | 12 | public struct AppStoreVersions { 13 | /// Path: `/v1/appStoreVersions` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appStoreVersions_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BackgroundAssets.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var backgroundAssets: BackgroundAssets { 9 | BackgroundAssets(path: path + "/backgroundAssets") 10 | } 11 | 12 | public struct BackgroundAssets { 13 | /// Path: `/v1/backgroundAssets` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.BackgroundAssetCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "backgroundAssets_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildUploadFiles.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var buildUploadFiles: BuildUploadFiles { 9 | BuildUploadFiles(path: path + "/buildUploadFiles") 10 | } 11 | 12 | public struct BuildUploadFiles { 13 | /// Path: `/v1/buildUploadFiles` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.BuildUploadFileCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "buildUploadFiles_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CertificatesWithIDRelationshipsPassTypeID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Certificates.WithID.Relationships { 8 | public var passTypeID: PassTypeID { 9 | PassTypeID(path: path + "/passTypeId") 10 | } 11 | 12 | public struct PassTypeID { 13 | /// Path: `/v1/certificates/{id}/relationships/passTypeId` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "certificates_passTypeId_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaTesters.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID.Relationships { 8 | public var betaTesters: BetaTesters { 9 | BetaTesters(path: path + "/betaTesters") 10 | } 11 | 12 | public struct BetaTesters { 13 | /// Path: `/v1/apps/{id}/relationships/betaTesters` 14 | public let path: String 15 | 16 | public func delete(_ body: AppStoreConnect_Swift_SDK.AppBetaTestersLinkagesRequest) -> Request { 17 | Request(path: path, method: "DELETE", body: body, id: "apps_betaTesters_deleteToManyRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaBuildLocalizationsWithIDRelationshipsBuild.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaBuildLocalizations.WithID.Relationships { 8 | public var build: Build { 9 | Build(path: path + "/build") 10 | } 11 | 12 | public struct Build { 13 | /// Path: `/v1/betaBuildLocalizations/{id}/relationships/build` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "betaBuildLocalizations_build_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1WebhookDeliveries.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var webhookDeliveries: WebhookDeliveries { 9 | WebhookDeliveries(path: path + "/webhookDeliveries") 10 | } 11 | 12 | public struct WebhookDeliveries { 13 | /// Path: `/v1/webhookDeliveries` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.WebhookDeliveryCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "webhookDeliveries_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedules.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appPriceSchedules: AppPriceSchedules { 9 | AppPriceSchedules(path: path + "/appPriceSchedules") 10 | } 11 | 12 | public struct AppPriceSchedules { 13 | /// Path: `/v1/appPriceSchedules` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppPriceScheduleCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appPriceSchedules_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppScreenshotSets.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appScreenshotSets: AppScreenshotSets { 9 | AppScreenshotSets(path: path + "/appScreenshotSets") 10 | } 11 | 12 | public struct AppScreenshotSets { 13 | /// Path: `/v1/appScreenshotSets` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppScreenshotSetCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appScreenshotSets_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppPriceSchedule.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID.Relationships { 8 | public var appPriceSchedule: AppPriceSchedule { 9 | AppPriceSchedule(path: path + "/appPriceSchedule") 10 | } 11 | 12 | public struct AppPriceSchedule { 13 | /// Path: `/v1/apps/{id}/relationships/appPriceSchedule` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "apps_appPriceSchedule_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsGameCenterDetail.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID.Relationships { 8 | public var gameCenterDetail: GameCenterDetail { 9 | GameCenterDetail(path: path + "/gameCenterDetail") 10 | } 11 | 12 | public struct GameCenterDetail { 13 | /// Path: `/v1/apps/{id}/relationships/gameCenterDetail` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "apps_gameCenterDetail_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetails.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var gameCenterDetails: GameCenterDetails { 9 | GameCenterDetails(path: path + "/gameCenterDetails") 10 | } 11 | 12 | public struct GameCenterDetails { 13 | /// Path: `/v1/gameCenterDetails` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterDetailCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "gameCenterDetails_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1PromotedPurchases.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var promotedPurchases: PromotedPurchases { 9 | PromotedPurchases(path: path + "/promotedPurchases") 10 | } 11 | 12 | public struct PromotedPurchases { 13 | /// Path: `/v1/promotedPurchases` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.PromotedPurchaseCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "promotedPurchases_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV2AppAvailabilities.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V2 { 8 | public var appAvailabilities: AppAvailabilities { 9 | AppAvailabilities(path: path + "/appAvailabilities") 10 | } 11 | 12 | public struct AppAvailabilities { 13 | /// Path: `/v2/appAvailabilities` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppAvailabilityV2CreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appAvailabilitiesV2_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/ErrorSourcePointer.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | /// JsonPointer 7 | public struct ErrorSourcePointer: Codable { 8 | public var pointer: String 9 | 10 | public init(pointer: String) { 11 | self.pointer = pointer 12 | } 13 | 14 | public init(from decoder: Decoder) throws { 15 | let values = try decoder.container(keyedBy: StringCodingKey.self) 16 | self.pointer = try values.decode(String.self, forKey: "pointer") 17 | } 18 | 19 | public func encode(to encoder: Encoder) throws { 20 | var values = encoder.container(keyedBy: StringCodingKey.self) 21 | try values.encode(pointer, forKey: "pointer") 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Extensions/StringCodingKey.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | struct StringCodingKey: CodingKey, ExpressibleByStringLiteral { 7 | private let string: String 8 | private var int: Int? 9 | 10 | var stringValue: String { return string } 11 | 12 | init(string: String) { 13 | self.string = string 14 | } 15 | 16 | init?(stringValue: String) { 17 | self.string = stringValue 18 | } 19 | 20 | var intValue: Int? { return int } 21 | 22 | init?(intValue: Int) { 23 | self.string = String(describing: intValue) 24 | self.int = intValue 25 | } 26 | 27 | init(stringLiteral value: String) { 28 | self.string = value 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewSubmissionsWithIDRelationshipsBuild.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaAppReviewSubmissions.WithID.Relationships { 8 | public var build: Build { 9 | Build(path: path + "/build") 10 | } 11 | 12 | public struct Build { 13 | /// Path: `/v1/betaAppReviewSubmissions/{id}/relationships/build` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "betaAppReviewSubmissions_build_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsAppStoreVersion.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Builds.WithID.Relationships { 8 | public var appStoreVersion: AppStoreVersion { 9 | AppStoreVersion(path: path + "/appStoreVersion") 10 | } 11 | 12 | public struct AppStoreVersion { 13 | /// Path: `/v1/builds/{id}/relationships/appStoreVersion` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "builds_appStoreVersion_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBuildBetaDetail.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Builds.WithID.Relationships { 8 | public var buildBetaDetail: BuildBetaDetail { 9 | BuildBetaDetail(path: path + "/buildBetaDetail") 10 | } 11 | 12 | public struct BuildBetaDetail { 13 | /// Path: `/v1/builds/{id}/relationships/buildBetaDetail` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "builds_buildBetaDetail_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AgeRatingDeclarationsWithID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AgeRatingDeclarations { 8 | public func id(_ id: String) -> WithID { 9 | WithID(path: "\(path)/\(id)") 10 | } 11 | 12 | public struct WithID { 13 | /// Path: `/v1/ageRatingDeclarations/{id}` 14 | public let path: String 15 | 16 | public func patch(_ body: AppStoreConnect_Swift_SDK.AgeRatingDeclarationUpdateRequest) -> Request { 17 | Request(path: path, method: "PATCH", body: body, id: "ageRatingDeclarations_updateInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppEventVideoClips.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appEventVideoClips: AppEventVideoClips { 9 | AppEventVideoClips(path: path + "/appEventVideoClips") 10 | } 11 | 12 | public struct AppEventVideoClips { 13 | /// Path: `/v1/appEventVideoClips` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppEventVideoClipCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appEventVideoClips_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAppAvailabilityV2.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID.Relationships { 8 | public var appAvailabilityV2: AppAvailabilityV2 { 9 | AppAvailabilityV2(path: path + "/appAvailabilityV2") 10 | } 11 | 12 | public struct AppAvailabilityV2 { 13 | /// Path: `/v1/apps/{id}/relationships/appAvailabilityV2` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "apps_appAvailabilityV2_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroups.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var subscriptionGroups: SubscriptionGroups { 9 | SubscriptionGroups(path: path + "/subscriptionGroups") 10 | } 11 | 12 | public struct SubscriptionGroups { 13 | /// Path: `/v1/subscriptionGroups` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionGroupCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "subscriptionGroups_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionImages.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var subscriptionImages: SubscriptionImages { 9 | SubscriptionImages(path: path + "/subscriptionImages") 10 | } 11 | 12 | public struct SubscriptionImages { 13 | /// Path: `/v1/subscriptionImages` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionImageCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "subscriptionImages_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionPrices.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var subscriptionPrices: SubscriptionPrices { 9 | SubscriptionPrices(path: path + "/subscriptionPrices") 10 | } 11 | 12 | public struct SubscriptionPrices { 13 | /// Path: `/v1/subscriptionPrices` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionPriceCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "subscriptionPrices_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimaryCategory.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppInfos.WithID.Relationships { 8 | public var primaryCategory: PrimaryCategory { 9 | PrimaryCategory(path: path + "/primaryCategory") 10 | } 11 | 12 | public struct PrimaryCategory { 13 | /// Path: `/v1/appInfos/{id}/relationships/primaryCategory` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "appInfos_primaryCategory_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/ErrorResponse.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public struct ErrorResponse: Codable { 7 | public var errors: [ResponseError]? 8 | 9 | public init(errors: [ResponseError]? = nil) { 10 | self.errors = errors 11 | } 12 | 13 | public init(from decoder: Decoder) throws { 14 | let values = try decoder.container(keyedBy: StringCodingKey.self) 15 | self.errors = try values.decodeIfPresent([ResponseError].self, forKey: "errors") 16 | } 17 | 18 | public func encode(to encoder: Encoder) throws { 19 | var values = encoder.container(keyedBy: StringCodingKey.self) 20 | try values.encodeIfPresent(errors, forKey: "errors") 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/ErrorSourceParameter.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | /// Parameter 7 | public struct ErrorSourceParameter: Codable { 8 | public var parameter: String 9 | 10 | public init(parameter: String) { 11 | self.parameter = parameter 12 | } 13 | 14 | public init(from decoder: Decoder) throws { 15 | let values = try decoder.container(keyedBy: StringCodingKey.self) 16 | self.parameter = try values.decode(String.self, forKey: "parameter") 17 | } 18 | 19 | public func encode(to encoder: Encoder) throws { 20 | var values = encoder.container(keyedBy: StringCodingKey.self) 21 | try values.encode(parameter, forKey: "parameter") 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppClipHeaderImages.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appClipHeaderImages: AppClipHeaderImages { 9 | AppClipHeaderImages(path: path + "/appClipHeaderImages") 10 | } 11 | 12 | public struct AppClipHeaderImages { 13 | /// Path: `/v1/appClipHeaderImages` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppClipHeaderImageCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appClipHeaderImages_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppEventScreenshots.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appEventScreenshots: AppEventScreenshots { 9 | AppEventScreenshots(path: path + "/appEventScreenshots") 10 | } 11 | 12 | public struct AppEventScreenshots { 13 | /// Path: `/v1/appEventScreenshots` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppEventScreenshotCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appEventScreenshots_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsPreReleaseVersion.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Builds.WithID.Relationships { 8 | public var preReleaseVersion: PreReleaseVersion { 9 | PreReleaseVersion(path: path + "/preReleaseVersion") 10 | } 11 | 12 | public struct PreReleaseVersion { 13 | /// Path: `/v1/builds/{id}/relationships/preReleaseVersion` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "builds_preReleaseVersion_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseImages.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var inAppPurchaseImages: InAppPurchaseImages { 9 | InAppPurchaseImages(path: path + "/inAppPurchaseImages") 10 | } 11 | 12 | public struct InAppPurchaseImages { 13 | /// Path: `/v1/inAppPurchaseImages` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseImageCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "inAppPurchaseImages_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1RoutingAppCoverages.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var routingAppCoverages: RoutingAppCoverages { 9 | RoutingAppCoverages(path: path + "/routingAppCoverages") 10 | } 11 | 12 | public struct RoutingAppCoverages { 13 | /// Path: `/v1/routingAppCoverages` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.RoutingAppCoverageCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "routingAppCoverages_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1TerritoryAvailabilitiesWithID.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.TerritoryAvailabilities { 8 | public func id(_ id: String) -> WithID { 9 | WithID(path: "\(path)/\(id)") 10 | } 11 | 12 | public struct WithID { 13 | /// Path: `/v1/territoryAvailabilities/{id}` 14 | public let path: String 15 | 16 | public func patch(_ body: AppStoreConnect_Swift_SDK.TerritoryAvailabilityUpdateRequest) -> Request { 17 | Request(path: path, method: "PATCH", body: body, id: "territoryAvailabilities_updateInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BundleIDCapabilities.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var bundleIDCapabilities: BundleIDCapabilities { 9 | BundleIDCapabilities(path: path + "/bundleIdCapabilities") 10 | } 11 | 12 | public struct BundleIDCapabilities { 13 | /// Path: `/v1/bundleIdCapabilities` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.BundleIDCapabilityCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "bundleIdCapabilities_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterActivities.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var gameCenterActivities: GameCenterActivities { 9 | GameCenterActivities(path: path + "/gameCenterActivities") 10 | } 11 | 12 | public struct GameCenterActivities { 13 | /// Path: `/v1/gameCenterActivities` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterActivityCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "gameCenterActivities_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppInfoLocalizations.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appInfoLocalizations: AppInfoLocalizations { 9 | AppInfoLocalizations(path: path + "/appInfoLocalizations") 10 | } 11 | 12 | public struct AppInfoLocalizations { 13 | /// Path: `/v1/appInfoLocalizations` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppInfoLocalizationCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appInfoLocalizations_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsSecondaryCategory.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppInfos.WithID.Relationships { 8 | public var secondaryCategory: SecondaryCategory { 9 | SecondaryCategory(path: path + "/secondaryCategory") 10 | } 11 | 12 | public struct SecondaryCategory { 13 | /// Path: `/v1/appInfos/{id}/relationships/secondaryCategory` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "appInfos_secondaryCategory_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaAppReviewDetail.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID.Relationships { 8 | public var betaAppReviewDetail: BetaAppReviewDetail { 9 | BetaAppReviewDetail(path: path + "/betaAppReviewDetail") 10 | } 11 | 12 | public struct BetaAppReviewDetail { 13 | /// Path: `/v1/apps/{id}/relationships/betaAppReviewDetail` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "apps_betaAppReviewDetail_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterChallenges.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var gameCenterChallenges: GameCenterChallenges { 9 | GameCenterChallenges(path: path + "/gameCenterChallenges") 10 | } 11 | 12 | public struct GameCenterChallenges { 13 | /// Path: `/v1/gameCenterChallenges` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterChallengeCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "gameCenterChallenges_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/CiManualTagStartCondition.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public struct CiManualTagStartCondition: Codable { 7 | public var source: CiTagPatterns? 8 | 9 | public init(source: CiTagPatterns? = nil) { 10 | self.source = source 11 | } 12 | 13 | public init(from decoder: Decoder) throws { 14 | let values = try decoder.container(keyedBy: StringCodingKey.self) 15 | self.source = try values.decodeIfPresent(CiTagPatterns.self, forKey: "source") 16 | } 17 | 18 | public func encode(to encoder: Encoder) throws { 19 | var values = encoder.container(keyedBy: StringCodingKey.self) 20 | try values.encodeIfPresent(source, forKey: "source") 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPages.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appCustomProductPages: AppCustomProductPages { 9 | AppCustomProductPages(path: path + "/appCustomProductPages") 10 | } 11 | 12 | public struct AppCustomProductPages { 13 | /// Path: `/v1/appCustomProductPages` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppCustomProductPageCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appCustomProductPages_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppEventLocalizations.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appEventLocalizations: AppEventLocalizations { 9 | AppEventLocalizations(path: path + "/appEventLocalizations") 10 | } 11 | 12 | public struct AppEventLocalizations { 13 | /// Path: `/v1/appEventLocalizations` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppEventLocalizationCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appEventLocalizations_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppPriceSchedulesWithIDRelationshipsBaseTerritory.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppPriceSchedules.WithID.Relationships { 8 | public var baseTerritory: BaseTerritory { 9 | BaseTerritory(path: path + "/baseTerritory") 10 | } 11 | 12 | public struct BaseTerritory { 13 | /// Path: `/v1/appPriceSchedules/{id}/relationships/baseTerritory` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "appPriceSchedules_baseTerritory_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewDetails.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appStoreReviewDetails: AppStoreReviewDetails { 9 | AppStoreReviewDetails(path: path + "/appStoreReviewDetails") 10 | } 11 | 12 | public struct AppStoreReviewDetails { 13 | /// Path: `/v1/appStoreReviewDetails` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreReviewDetailCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appStoreReviewDetails_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsBetaLicenseAgreement.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID.Relationships { 8 | public var betaLicenseAgreement: BetaLicenseAgreement { 9 | BetaLicenseAgreement(path: path + "/betaLicenseAgreement") 10 | } 11 | 12 | public struct BetaLicenseAgreement { 13 | /// Path: `/v1/apps/{id}/relationships/betaLicenseAgreement` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "apps_betaLicenseAgreement_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaTesterInvitations.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var betaTesterInvitations: BetaTesterInvitations { 9 | BetaTesterInvitations(path: path + "/betaTesterInvitations") 10 | } 11 | 12 | public struct BetaTesterInvitations { 13 | /// Path: `/v1/betaTesterInvitations` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.BetaTesterInvitationCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "betaTesterInvitations_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterActivityLocalizationsWithIDRelationshipsImage.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterActivityLocalizations.WithID.Relationships { 8 | public var image: Image { 9 | Image(path: path + "/image") 10 | } 11 | 12 | public struct Image { 13 | /// Path: `/v1/gameCenterActivityLocalizations/{id}/relationships/image` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "gameCenterActivityLocalizations_image_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var gameCenterAppVersions: GameCenterAppVersions { 9 | GameCenterAppVersions(path: path + "/gameCenterAppVersions") 10 | } 11 | 12 | public struct GameCenterAppVersions { 13 | /// Path: `/v1/gameCenterAppVersions` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAppVersionCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "gameCenterAppVersions_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionItems.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var reviewSubmissionItems: ReviewSubmissionItems { 9 | ReviewSubmissionItems(path: path + "/reviewSubmissionItems") 10 | } 11 | 12 | public struct ReviewSubmissionItems { 13 | /// Path: `/v1/reviewSubmissionItems` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.ReviewSubmissionItemCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "reviewSubmissionItems_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/UserRole.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum UserRole: String, Codable, CaseIterable { 7 | case admin = "ADMIN" 8 | case finance = "FINANCE" 9 | case accountHolder = "ACCOUNT_HOLDER" 10 | case sales = "SALES" 11 | case marketing = "MARKETING" 12 | case appManager = "APP_MANAGER" 13 | case developer = "DEVELOPER" 14 | case accessToReports = "ACCESS_TO_REPORTS" 15 | case customerSupport = "CUSTOMER_SUPPORT" 16 | case createApps = "CREATE_APPS" 17 | case cloudManagedDeveloperID = "CLOUD_MANAGED_DEVELOPER_ID" 18 | case cloudManagedAppDistribution = "CLOUD_MANAGED_APP_DISTRIBUTION" 19 | case generateIndividualKeys = "GENERATE_INDIVIDUAL_KEYS" 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDRelationshipsApp.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppEncryptionDeclarations.WithID.Relationships { 8 | public var app: App { 9 | App(path: path + "/app") 10 | } 11 | 12 | public struct App { 13 | /// Path: `/v1/appEncryptionDeclarations/{id}/relationships/app` 14 | public let path: String 15 | 16 | @available(*, deprecated, message: "Deprecated") 17 | public var get: Request { 18 | Request(path: path, method: "GET", id: "appEncryptionDeclarations_app_getToOneRelationship") 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterChallengeLocalizationsWithIDRelationshipsImage.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterChallengeLocalizations.WithID.Relationships { 8 | public var image: Image { 9 | Image(path: path + "/image") 10 | } 11 | 12 | public struct Image { 13 | /// Path: `/v1/gameCenterChallengeLocalizations/{id}/relationships/image` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "gameCenterChallengeLocalizations_image_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDRelationshipsPromotedPurchase.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Subscriptions.WithID.Relationships { 8 | public var promotedPurchase: PromotedPurchase { 9 | PromotedPurchase(path: path + "/promotedPurchase") 10 | } 11 | 12 | public struct PromotedPurchase { 13 | /// Path: `/v1/subscriptions/{id}/relationships/promotedPurchase` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "subscriptions_promotedPurchase_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/patches/generated/encode-update-app-clip-for-version-data-as-null.patch: -------------------------------------------------------------------------------- 1 | diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift 2 | index ebb61c7..b41caa9 100644 3 | --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift 4 | +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift 5 | @@ -158,7 +158,7 @@ public struct AppStoreVersionUpdateRequest: Codable { 6 | 7 | public func encode(to encoder: Encoder) throws { 8 | var values = encoder.container(keyedBy: StringCodingKey.self) 9 | - try values.encodeIfPresent(data, forKey: "data") 10 | + try values.encode(data, forKey: "data") 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/CiManualBranchStartCondition.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public struct CiManualBranchStartCondition: Codable { 7 | public var source: CiBranchPatterns? 8 | 9 | public init(source: CiBranchPatterns? = nil) { 10 | self.source = source 11 | } 12 | 13 | public init(from decoder: Decoder) throws { 14 | let values = try decoder.container(keyedBy: StringCodingKey.self) 15 | self.source = try values.decodeIfPresent(CiBranchPatterns.self, forKey: "source") 16 | } 17 | 18 | public func encode(to encoder: Encoder) throws { 19 | var values = encoder.container(keyedBy: StringCodingKey.self) 20 | try values.encodeIfPresent(source, forKey: "source") 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/PreviewType.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum PreviewType: String, Codable, CaseIterable { 7 | case iphone67 = "IPHONE_67" 8 | case iphone61 = "IPHONE_61" 9 | case iphone65 = "IPHONE_65" 10 | case iphone58 = "IPHONE_58" 11 | case iphone55 = "IPHONE_55" 12 | case iphone47 = "IPHONE_47" 13 | case iphone40 = "IPHONE_40" 14 | case iphone35 = "IPHONE_35" 15 | case ipadPro3gen129 = "IPAD_PRO_3GEN_129" 16 | case ipadPro3gen11 = "IPAD_PRO_3GEN_11" 17 | case ipadPro129 = "IPAD_PRO_129" 18 | case ipad105 = "IPAD_105" 19 | case ipad97 = "IPAD_97" 20 | case desktop = "DESKTOP" 21 | case appleTv = "APPLE_TV" 22 | case appleVisionPro = "APPLE_VISION_PRO" 23 | } 24 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaAppClipInvocations.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var betaAppClipInvocations: BetaAppClipInvocations { 9 | BetaAppClipInvocations(path: path + "/betaAppClipInvocations") 10 | } 11 | 12 | public struct BetaAppClipInvocations { 13 | /// Path: `/v1/betaAppClipInvocations` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.BetaAppClipInvocationCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "betaAppClipInvocations_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaFeedbackCrashSubmissionsWithIDRelationshipsCrashLog.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.BetaFeedbackCrashSubmissions.WithID.Relationships { 8 | public var crashLog: CrashLog { 9 | CrashLog(path: path + "/crashLog") 10 | } 11 | 12 | public struct CrashLog { 13 | /// Path: `/v1/betaFeedbackCrashSubmissions/{id}/relationships/crashLog` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "betaFeedbackCrashSubmissions_crashLog_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildBetaNotifications.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var buildBetaNotifications: BuildBetaNotifications { 9 | BuildBetaNotifications(path: path + "/buildBetaNotifications") 10 | } 11 | 12 | public struct BuildBetaNotifications { 13 | /// Path: `/v1/buildBetaNotifications` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.BuildBetaNotificationCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "buildBetaNotifications_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievements.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var gameCenterAchievements: GameCenterAchievements { 9 | GameCenterAchievements(path: path + "/gameCenterAchievements") 10 | } 11 | 12 | public struct GameCenterAchievements { 13 | /// Path: `/v1/gameCenterAchievements` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "gameCenterAchievements_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboards.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var gameCenterLeaderboards: GameCenterLeaderboards { 9 | GameCenterLeaderboards(path: path + "/gameCenterLeaderboards") 10 | } 11 | 12 | public struct GameCenterLeaderboards { 13 | /// Path: `/v1/gameCenterLeaderboards` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboards_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionOfferCodes.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var subscriptionOfferCodes: SubscriptionOfferCodes { 9 | SubscriptionOfferCodes(path: path + "/subscriptionOfferCodes") 10 | } 11 | 12 | public struct SubscriptionOfferCodes { 13 | /// Path: `/v1/subscriptionOfferCodes` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionOfferCodeCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "subscriptionOfferCodes_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAchievementsWithIDRelationshipsActivity.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterAchievements.WithID.Relationships { 8 | public var activity: Activity { 9 | Activity(path: path + "/activity") 10 | } 11 | 12 | public struct Activity { 13 | /// Path: `/v1/gameCenterAchievements/{id}/relationships/activity` 14 | public let path: String 15 | 16 | public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterAchievementActivityLinkageRequest) -> Request { 17 | Request(path: path, method: "PATCH", body: body, id: "gameCenterAchievements_activity_updateToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsActivity.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterLeaderboards.WithID.Relationships { 8 | public var activity: Activity { 9 | Activity(path: path + "/activity") 10 | } 11 | 12 | public struct Activity { 13 | /// Path: `/v1/gameCenterLeaderboards/{id}/relationships/activity` 14 | public let path: String 15 | 16 | public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardActivityLinkageRequest) -> Request { 17 | Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboards_activity_updateToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsIapPriceSchedule.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V2.InAppPurchases.WithID.Relationships { 8 | public var iapPriceSchedule: IapPriceSchedule { 9 | IapPriceSchedule(path: path + "/iapPriceSchedule") 10 | } 11 | 12 | public struct IapPriceSchedule { 13 | /// Path: `/v2/inAppPurchases/{id}/relationships/iapPriceSchedule` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "inAppPurchasesV2_iapPriceSchedule_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDRelationshipsPromotedPurchase.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V2.InAppPurchases.WithID.Relationships { 8 | public var promotedPurchase: PromotedPurchase { 9 | PromotedPurchase(path: path + "/promotedPurchase") 10 | } 11 | 12 | public struct PromotedPurchase { 13 | /// Path: `/v2/inAppPurchases/{id}/relationships/promotedPurchase` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "inAppPurchasesV2_promotedPurchase_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AnalyticsReportRequests.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var analyticsReportRequests: AnalyticsReportRequests { 9 | AnalyticsReportRequests(path: path + "/analyticsReportRequests") 10 | } 11 | 12 | public struct AnalyticsReportRequests { 13 | /// Path: `/v1/analyticsReportRequests` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AnalyticsReportRequestCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "analyticsReportRequests_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsAgeRatingDeclaration.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppInfos.WithID.Relationships { 8 | public var ageRatingDeclaration: AgeRatingDeclaration { 9 | AgeRatingDeclaration(path: path + "/ageRatingDeclaration") 10 | } 11 | 12 | public struct AgeRatingDeclaration { 13 | /// Path: `/v1/appInfos/{id}/relationships/ageRatingDeclaration` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "appInfos_ageRatingDeclaration_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BackgroundAssetVersions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var backgroundAssetVersions: BackgroundAssetVersions { 9 | BackgroundAssetVersions(path: path + "/backgroundAssetVersions") 10 | } 11 | 12 | public struct BackgroundAssetVersions { 13 | /// Path: `/v1/backgroundAssetVersions` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.BackgroundAssetVersionCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "backgroundAssetVersions_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BetaRecruitmentCriteria.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var betaRecruitmentCriteria: BetaRecruitmentCriteria { 9 | BetaRecruitmentCriteria(path: path + "/betaRecruitmentCriteria") 10 | } 11 | 12 | public struct BetaRecruitmentCriteria { 13 | /// Path: `/v1/betaRecruitmentCriteria` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.BetaRecruitmentCriterionCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "betaRecruitmentCriteria_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1CustomerReviewResponses.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var customerReviewResponses: CustomerReviewResponses { 9 | CustomerReviewResponses(path: path + "/customerReviewResponses") 10 | } 11 | 12 | public struct CustomerReviewResponses { 13 | /// Path: `/v1/customerReviewResponses` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.CustomerReviewResponseV1CreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "customerReviewResponses_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDRelationshipsGameCenterGroup.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterDetails.WithID.Relationships { 8 | public var gameCenterGroup: GameCenterGroup { 9 | GameCenterGroup(path: path + "/gameCenterGroup") 10 | } 11 | 12 | public struct GameCenterGroup { 13 | /// Path: `/v1/gameCenterDetails/{id}/relationships/gameCenterGroup` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "gameCenterDetails_gameCenterGroup_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionSubmissions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var subscriptionSubmissions: SubscriptionSubmissions { 9 | SubscriptionSubmissions(path: path + "/subscriptionSubmissions") 10 | } 11 | 12 | public struct SubscriptionSubmissions { 13 | /// Path: `/v1/subscriptionSubmissions` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.SubscriptionSubmissionCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "subscriptionSubmissions_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryOne.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppInfos.WithID.Relationships { 8 | public var primarySubcategoryOne: PrimarySubcategoryOne { 9 | PrimarySubcategoryOne(path: path + "/primarySubcategoryOne") 10 | } 11 | 12 | public struct PrimarySubcategoryOne { 13 | /// Path: `/v1/appInfos/{id}/relationships/primarySubcategoryOne` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "appInfos_primarySubcategoryOne_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDRelationshipsPrimarySubcategoryTwo.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.AppInfos.WithID.Relationships { 8 | public var primarySubcategoryTwo: PrimarySubcategoryTwo { 9 | PrimarySubcategoryTwo(path: path + "/primarySubcategoryTwo") 10 | } 11 | 12 | public struct PrimarySubcategoryTwo { 13 | /// Path: `/v1/appInfos/{id}/relationships/primarySubcategoryTwo` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "appInfos_primarySubcategoryTwo_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsEndUserLicenseAgreement.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID.Relationships { 8 | public var endUserLicenseAgreement: EndUserLicenseAgreement { 9 | EndUserLicenseAgreement(path: path + "/endUserLicenseAgreement") 10 | } 11 | 12 | public struct EndUserLicenseAgreement { 13 | /// Path: `/v1/apps/{id}/relationships/endUserLicenseAgreement` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "apps_endUserLicenseAgreement_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsMarketplaceSearchDetail.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID.Relationships { 8 | public var marketplaceSearchDetail: MarketplaceSearchDetail { 9 | MarketplaceSearchDetail(path: path + "/marketplaceSearchDetail") 10 | } 11 | 12 | public struct MarketplaceSearchDetail { 13 | /// Path: `/v1/apps/{id}/relationships/marketplaceSearchDetail` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "apps_marketplaceSearchDetail_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsSubscriptionGracePeriod.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Apps.WithID.Relationships { 8 | public var subscriptionGracePeriod: SubscriptionGracePeriod { 9 | SubscriptionGracePeriod(path: path + "/subscriptionGracePeriod") 10 | } 11 | 12 | public struct SubscriptionGracePeriod { 13 | /// Path: `/v1/apps/{id}/relationships/subscriptionGracePeriod` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "apps_subscriptionGracePeriod_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardsWithIDRelationshipsChallenge.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterLeaderboards.WithID.Relationships { 8 | public var challenge: Challenge { 9 | Challenge(path: path + "/challenge") 10 | } 11 | 12 | public struct Challenge { 13 | /// Path: `/v1/gameCenterLeaderboards/{id}/relationships/challenge` 14 | public let path: String 15 | 16 | public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardChallengeLinkageRequest) -> Request { 17 | Request(path: path, method: "PATCH", body: body, id: "gameCenterLeaderboards_challenge_updateToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1EndUserLicenseAgreements.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var endUserLicenseAgreements: EndUserLicenseAgreements { 9 | EndUserLicenseAgreements(path: path + "/endUserLicenseAgreements") 10 | } 11 | 12 | public struct EndUserLicenseAgreements { 13 | /// Path: `/v1/endUserLicenseAgreements` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.EndUserLicenseAgreementCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "endUserLicenseAgreements_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterActivityImages.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var gameCenterActivityImages: GameCenterActivityImages { 9 | GameCenterActivityImages(path: path + "/gameCenterActivityImages") 10 | } 11 | 12 | public struct GameCenterActivityImages { 13 | /// Path: `/v1/gameCenterActivityImages` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterActivityImageCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "gameCenterActivityImages_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterChallengesWithIDRelationshipsLeaderboard.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterChallenges.WithID.Relationships { 8 | public var leaderboard: Leaderboard { 9 | Leaderboard(path: path + "/leaderboard") 10 | } 11 | 12 | public struct Leaderboard { 13 | /// Path: `/v1/gameCenterChallenges/{id}/relationships/leaderboard` 14 | public let path: String 15 | 16 | public func patch(_ body: AppStoreConnect_Swift_SDK.GameCenterChallengeLeaderboardLinkageRequest) -> Request { 17 | Request(path: path, method: "PATCH", body: body, id: "gameCenterChallenges_leaderboard_updateToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1InAppPurchaseSubmissions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var inAppPurchaseSubmissions: InAppPurchaseSubmissions { 9 | InAppPurchaseSubmissions(path: path + "/inAppPurchaseSubmissions") 10 | } 11 | 12 | public struct InAppPurchaseSubmissions { 13 | /// Path: `/v1/inAppPurchaseSubmissions` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.InAppPurchaseSubmissionCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "inAppPurchaseSubmissions_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetails.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var marketplaceSearchDetails: MarketplaceSearchDetails { 9 | MarketplaceSearchDetails(path: path + "/marketplaceSearchDetails") 10 | } 11 | 12 | public struct MarketplaceSearchDetails { 13 | /// Path: `/v1/marketplaceSearchDetails` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.MarketplaceSearchDetailCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "marketplaceSearchDetails_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Entities/InAppPurchaseState.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | 6 | public enum InAppPurchaseState: String, Codable, CaseIterable { 7 | case missingMetadata = "MISSING_METADATA" 8 | case waitingForUpload = "WAITING_FOR_UPLOAD" 9 | case processingContent = "PROCESSING_CONTENT" 10 | case readyToSubmit = "READY_TO_SUBMIT" 11 | case waitingForReview = "WAITING_FOR_REVIEW" 12 | case inReview = "IN_REVIEW" 13 | case developerActionNeeded = "DEVELOPER_ACTION_NEEDED" 14 | case pendingBinaryApproval = "PENDING_BINARY_APPROVAL" 15 | case approved = "APPROVED" 16 | case developerRemovedFromSale = "DEVELOPER_REMOVED_FROM_SALE" 17 | case removedFromSale = "REMOVED_FROM_SALE" 18 | case rejected = "REJECTED" 19 | } 20 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDRelationshipsBetaAppReviewSubmission.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.Builds.WithID.Relationships { 8 | public var betaAppReviewSubmission: BetaAppReviewSubmission { 9 | BetaAppReviewSubmission(path: path + "/betaAppReviewSubmission") 10 | } 11 | 12 | public struct BetaAppReviewSubmission { 13 | /// Path: `/v1/builds/{id}/relationships/betaAppReviewSubmission` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "builds_betaAppReviewSubmission_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1GameCenterActivityVersionsWithIDRelationshipsDefaultImage.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1.GameCenterActivityVersions.WithID.Relationships { 8 | public var defaultImage: DefaultImage { 9 | DefaultImage(path: path + "/defaultImage") 10 | } 11 | 12 | public struct DefaultImage { 13 | /// Path: `/v1/gameCenterActivityVersions/{id}/relationships/defaultImage` 14 | public let path: String 15 | 16 | public var get: Request { 17 | Request(path: path, method: "GET", id: "gameCenterActivityVersions_defaultImage_getToOneRelationship") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AccessibilityDeclarations.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var accessibilityDeclarations: AccessibilityDeclarations { 9 | AccessibilityDeclarations(path: path + "/accessibilityDeclarations") 10 | } 11 | 12 | public struct AccessibilityDeclarations { 13 | /// Path: `/v1/accessibilityDeclarations` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AccessibilityDeclarationCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "accessibilityDeclarations_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiences.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appClipDefaultExperiences: AppClipDefaultExperiences { 9 | AppClipDefaultExperiences(path: path + "/appClipDefaultExperiences") 10 | } 11 | 12 | public struct AppClipDefaultExperiences { 13 | /// Path: `/v1/appClipDefaultExperiences` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppClipDefaultExperienceCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appClipDefaultExperiences_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreReviewAttachments.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appStoreReviewAttachments: AppStoreReviewAttachments { 9 | AppStoreReviewAttachments(path: path + "/appStoreReviewAttachments") 10 | } 11 | 12 | public struct AppStoreReviewAttachments { 13 | /// Path: `/v1/appStoreReviewAttachments` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreReviewAttachmentCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appStoreReviewAttachments_createInstance") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionPromotions.swift: -------------------------------------------------------------------------------- 1 | // Generated by Create API 2 | // https://github.com/CreateAPI/CreateAPI 3 | 4 | import Foundation 5 | import URLQueryEncoder 6 | 7 | extension APIEndpoint.V1 { 8 | public var appStoreVersionPromotions: AppStoreVersionPromotions { 9 | AppStoreVersionPromotions(path: path + "/appStoreVersionPromotions") 10 | } 11 | 12 | public struct AppStoreVersionPromotions { 13 | /// Path: `/v1/appStoreVersionPromotions` 14 | public let path: String 15 | 16 | public func post(_ body: AppStoreConnect_Swift_SDK.AppStoreVersionPromotionCreateRequest) -> Request { 17 | Request(path: path, method: "POST", body: body, id: "appStoreVersionPromotions_createInstance") 18 | } 19 | } 20 | } 21 | --------------------------------------------------------------------------------