From 7b041323410a221aabb8c381409c1e1098e274ac Mon Sep 17 00:00:00 2001 From: Mathias Emil Mortensen Date: Sun, 4 Feb 2024 22:09:21 +0100 Subject: [PATCH 1/5] Updates to OpenAPI spec version 3.2 --- .../BetaGroupsWithoutIncludesResponse.swift | 6 +- .../BetaTestersWithoutIncludesResponse.swift | 6 +- .../OpenAPI/Generated/Entities/CiAction.swift | 3 + .../Generated/Entities/CiArtifact.swift | 1 + .../CiManualBranchStartCondition.swift | 22 + .../CiManualPullRequestStartCondition.swift | 26 + .../Entities/CiManualTagStartCondition.swift | 22 + .../Generated/Entities/CiWorkflow.swift | 14 +- .../Entities/CiWorkflowCreateRequest.swift | 14 +- .../Entities/CiWorkflowUpdateRequest.swift | 14 +- .../Generated/Entities/ErrorResponse.swift | 6 +- ...GameCenterLeaderboardEntrySubmission.swift | 80 + ...derboardEntrySubmissionCreateRequest.swift | 90 + ...erLeaderboardEntrySubmissionResponse.swift | 27 + .../Entities/GameCenterMatchmakingQueue.swift | 6 +- ...eCenterMatchmakingQueueCreateRequest.swift | 6 +- ...eCenterMatchmakingQueueUpdateRequest.swift | 24 +- .../GameCenterMatchmakingTestRequest.swift | 34 - ...ameCenterPlayerAchievementSubmission.swift | 76 + ...erAchievementSubmissionCreateRequest.swift | 86 + ...rPlayerAchievementSubmissionResponse.swift | 27 + ...ppPurchasePriceScheduleCreateRequest.swift | 16 +- .../Generated/Entities/InAppPurchaseV2.swift | 7 +- .../InAppPurchaseV2CreateRequest.swift | 7 +- .../InAppPurchaseV2UpdateRequest.swift | 7 +- .../Generated/Entities/MetricsInsight.swift | 6 +- .../OpenAPI/Generated/Entities/Platform.swift | 1 + .../Generated/Entities/PreviewType.swift | 1 + .../Entities/ScreenshotDisplayType.swift | 1 + .../Generated/Entities/Subscription.swift | 7 +- .../Entities/SubscriptionCreateRequest.swift | 7 +- .../Entities/SubscriptionUpdateRequest.swift | 7 +- .../OpenAPI/Generated/Entities/UserRole.swift | 1 - .../Generated/Entities/XcodeMetrics.swift | 8 +- .../Generated/Extensions/AnyJSON.swift | 52 + .../Paths/PathsV1AppCategories.swift | 1 + ...ageLocalizationsWithIDAppPreviewSets.swift | 1 + ...LocalizationsWithIDAppScreenshotSets.swift | 1 + .../PathsV1AppEncryptionDeclarations.swift | 1 + ...entLocalizationsWithIDAppPreviewSets.swift | 1 + ...LocalizationsWithIDAppScreenshotSets.swift | 1 + ...ionLocalizationsWithIDAppPreviewSets.swift | 1 + ...LocalizationsWithIDAppScreenshotSets.swift | 1 + .../OpenAPI/Generated/Paths/PathsV1Apps.swift | 2 +- .../Generated/Paths/PathsV1AppsWithID.swift | 1 - ...1AppsWithIDAppEncryptionDeclarations.swift | 1 + .../PathsV1AppsWithIDAppStoreVersions.swift | 1 + ...1AppsWithIDGameCenterEnabledVersions.swift | 1 + .../PathsV1AppsWithIDInAppPurchasesV2.swift | 1 - ...sV1AppsWithIDMetricsBetaTesterUsages.swift | 11 +- .../PathsV1AppsWithIDPromotedPurchases.swift | 2 - .../PathsV1AppsWithIDReviewSubmissions.swift | 1 + .../PathsV1AppsWithIDSubscriptionGroups.swift | 1 - ...aGroupsWithIDMetricsBetaTesterUsages.swift | 11 +- ...TestersWithIDMetricsBetaTesterUsages.swift | 17 +- .../Generated/Paths/PathsV1Builds.swift | 1 + .../PathsV1CiBuildActionsWithIDBuildRun.swift | 3 + .../PathsV1CiBuildRunsWithIDBuilds.swift | 1 + .../Generated/Paths/PathsV1CiProducts.swift | 3 + .../Paths/PathsV1CiProductsWithID.swift | 3 + .../Paths/PathsV1CiProductsWithIDApp.swift | 1 - .../PathsV1CiProductsWithIDBuildRuns.swift | 13 +- .../PathsV1CiProductsWithIDWorkflows.swift | 3 + .../Paths/PathsV1CiWorkflowsWithID.swift | 3 + .../PathsV1CiWorkflowsWithIDBuildRuns.swift | 13 +- ...hIDMetricsClassicMatchmakingRequests.swift | 4 +- ...DMetricsRuleBasedMatchmakingRequests.swift | 4 +- ...bledVersionsWithIDCompatibleVersions.swift | 1 + ...ameCenterLeaderboardEntrySubmissions.swift | 20 + .../PathsV1GameCenterMatchmakingQueues.swift | 1 + ...sV1GameCenterMatchmakingQueuesWithID.swift | 1 + ...tricsExperimentMatchmakingQueueSizes.swift | 4 +- ...MetricsExperimentMatchmakingRequests.swift | 4 +- ...esWithIDMetricsMatchmakingQueueSizes.swift | 4 +- ...euesWithIDMetricsMatchmakingRequests.swift | 4 +- ...euesWithIDMetricsMatchmakingSessions.swift | 4 +- ...PathsV1GameCenterMatchmakingRuleSets.swift | 1 + ...1GameCenterMatchmakingRuleSetsWithID.swift | 1 + ...akingRuleSetsWithIDMatchmakingQueues.swift | 1 + ...MetricsMatchmakingBooleanRuleResults.swift | 4 +- ...DMetricsMatchmakingNumberRuleResults.swift | 4 +- ...esWithIDMetricsMatchmakingRuleErrors.swift | 4 +- ...meCenterPlayerAchievementSubmissions.swift | 20 + .../Paths/PathsV1PreReleaseVersions.swift | 1 + .../Paths/PathsV1ReviewSubmissions.swift | 1 + .../Generated/Paths/PathsV1SalesReports.swift | 4 + .../PathsV1SubscriptionGroupsWithID.swift | 1 - ...ubscriptionGroupsWithIDSubscriptions.swift | 1 - .../Paths/PathsV1SubscriptionsWithID.swift | 1 - ...ptionsWithIDAppStoreReviewScreenshot.swift | 1 - ...ubscriptionsWithIDIntroductoryOffers.swift | 1 - ...PathsV1SubscriptionsWithIDOfferCodes.swift | 1 - ...1SubscriptionsWithIDPromotedPurchase.swift | 2 - ...SubscriptionsWithIDPromotionalOffers.swift | 1 - ...ptionsWithIDSubscriptionAvailability.swift | 1 - ...tionsWithIDSubscriptionLocalizations.swift | 1 - .../Paths/PathsV1UserInvitations.swift | 1 - .../Generated/Paths/PathsV1Users.swift | 1 - .../Paths/PathsV2InAppPurchasesWithID.swift | 1 - ...chasesWithIDAppStoreReviewScreenshot.swift | 1 - .../PathsV2InAppPurchasesWithIDContent.swift | 1 - ...InAppPurchasesWithIDIapPriceSchedule.swift | 1 - ...asesWithIDInAppPurchaseLocalizations.swift | 1 - ...InAppPurchasesWithIDPromotedPurchase.swift | 2 - Sources/OpenAPI/app_store_connect_api.json | 9181 +++++++++++++++-- 105 files changed, 9116 insertions(+), 997 deletions(-) create mode 100644 Sources/OpenAPI/Generated/Entities/CiManualBranchStartCondition.swift create mode 100644 Sources/OpenAPI/Generated/Entities/CiManualPullRequestStartCondition.swift create mode 100644 Sources/OpenAPI/Generated/Entities/CiManualTagStartCondition.swift create mode 100644 Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmission.swift create mode 100644 Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmissionCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmissionResponse.swift delete mode 100644 Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmission.swift create mode 100644 Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmissionCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmissionResponse.swift create mode 100644 Sources/OpenAPI/Generated/Extensions/AnyJSON.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardEntrySubmissions.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1GameCenterPlayerAchievementSubmissions.swift diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift index 6c5ff149..ad38c455 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift @@ -4,11 +4,11 @@ import Foundation public struct BetaGroupsWithoutIncludesResponse: Codable { - public var data: [BetaGroup] + public var data: [BetaTester] public var links: PagedDocumentLinks public var meta: PagingInformation? - public init(data: [BetaGroup], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + public init(data: [BetaTester], links: PagedDocumentLinks, meta: PagingInformation? = nil) { self.data = data self.links = links self.meta = meta @@ -16,7 +16,7 @@ public struct BetaGroupsWithoutIncludesResponse: Codable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode([BetaGroup].self, forKey: "data") + self.data = try values.decode([BetaTester].self, forKey: "data") self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") } diff --git a/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift index 155f52b8..ab8f0480 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift @@ -4,11 +4,11 @@ import Foundation public struct BetaTestersWithoutIncludesResponse: Codable { - public var data: [BetaTester] + public var data: [Build] public var links: PagedDocumentLinks public var meta: PagingInformation? - public init(data: [BetaTester], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + public init(data: [Build], links: PagedDocumentLinks, meta: PagingInformation? = nil) { self.data = data self.links = links self.meta = meta @@ -16,7 +16,7 @@ public struct BetaTestersWithoutIncludesResponse: Codable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode([BetaTester].self, forKey: "data") + self.data = try values.decode([Build].self, forKey: "data") self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") } diff --git a/Sources/OpenAPI/Generated/Entities/CiAction.swift b/Sources/OpenAPI/Generated/Entities/CiAction.swift index 408855c4..e486fcf9 100644 --- a/Sources/OpenAPI/Generated/Entities/CiAction.swift +++ b/Sources/OpenAPI/Generated/Entities/CiAction.swift @@ -22,6 +22,8 @@ public struct CiAction: Codable { case anyWatchosSimulator = "ANY_WATCHOS_SIMULATOR" case anyMac = "ANY_MAC" case anyMacCatalyst = "ANY_MAC_CATALYST" + case anyVisionosDevice = "ANY_VISIONOS_DEVICE" + case anyVisionosSimulator = "ANY_VISIONOS_SIMULATOR" } public struct TestConfiguration: Codable { @@ -60,6 +62,7 @@ public struct CiAction: Codable { case ios = "IOS" case tvos = "TVOS" case watchos = "WATCHOS" + case visionos = "VISIONOS" } public init(name: String? = nil, actionType: CiActionType? = nil, destination: Destination? = nil, buildDistributionAudience: BuildAudienceType? = nil, testConfiguration: TestConfiguration? = nil, scheme: String? = nil, platform: Platform? = nil, isRequiredToPass: Bool? = nil) { diff --git a/Sources/OpenAPI/Generated/Entities/CiArtifact.swift b/Sources/OpenAPI/Generated/Entities/CiArtifact.swift index cfedf49b..eac7f029 100644 --- a/Sources/OpenAPI/Generated/Entities/CiArtifact.swift +++ b/Sources/OpenAPI/Generated/Entities/CiArtifact.swift @@ -26,6 +26,7 @@ public struct CiArtifact: Codable, Identifiable { case resultBundle = "RESULT_BUNDLE" case testProducts = "TEST_PRODUCTS" case xcodebuildProducts = "XCODEBUILD_PRODUCTS" + case stapledNotarizedArchive = "STAPLED_NOTARIZED_ARCHIVE" } public init(fileType: FileType? = nil, fileName: String? = nil, fileSize: Int? = nil, downloadURL: URL? = nil) { diff --git a/Sources/OpenAPI/Generated/Entities/CiManualBranchStartCondition.swift b/Sources/OpenAPI/Generated/Entities/CiManualBranchStartCondition.swift new file mode 100644 index 00000000..a4a50e59 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/CiManualBranchStartCondition.swift @@ -0,0 +1,22 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct CiManualBranchStartCondition: Codable { + public var source: CiBranchPatterns? + + public init(source: CiBranchPatterns? = nil) { + self.source = source + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.source = try values.decodeIfPresent(CiBranchPatterns.self, forKey: "source") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(source, forKey: "source") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/CiManualPullRequestStartCondition.swift b/Sources/OpenAPI/Generated/Entities/CiManualPullRequestStartCondition.swift new file mode 100644 index 00000000..a548681b --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/CiManualPullRequestStartCondition.swift @@ -0,0 +1,26 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct CiManualPullRequestStartCondition: Codable { + public var source: CiBranchPatterns? + public var destination: CiBranchPatterns? + + public init(source: CiBranchPatterns? = nil, destination: CiBranchPatterns? = nil) { + self.source = source + self.destination = destination + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.source = try values.decodeIfPresent(CiBranchPatterns.self, forKey: "source") + self.destination = try values.decodeIfPresent(CiBranchPatterns.self, forKey: "destination") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(source, forKey: "source") + try values.encodeIfPresent(destination, forKey: "destination") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/CiManualTagStartCondition.swift b/Sources/OpenAPI/Generated/Entities/CiManualTagStartCondition.swift new file mode 100644 index 00000000..d795e844 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/CiManualTagStartCondition.swift @@ -0,0 +1,22 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct CiManualTagStartCondition: Codable { + public var source: CiTagPatterns? + + public init(source: CiTagPatterns? = nil) { + self.source = source + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.source = try values.decodeIfPresent(CiTagPatterns.self, forKey: "source") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(source, forKey: "source") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift b/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift index eb9355c0..c12d7a03 100644 --- a/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift +++ b/Sources/OpenAPI/Generated/Entities/CiWorkflow.swift @@ -21,6 +21,9 @@ public struct CiWorkflow: Codable, Identifiable { public var tagStartCondition: CiTagStartCondition? public var pullRequestStartCondition: CiPullRequestStartCondition? public var scheduledStartCondition: CiScheduledStartCondition? + public var manualBranchStartCondition: CiManualBranchStartCondition? + public var manualTagStartCondition: CiManualTagStartCondition? + public var manualPullRequestStartCondition: CiManualPullRequestStartCondition? public var actions: [CiAction]? public var isEnabled: Bool? public var isLockedForEditing: Bool? @@ -28,13 +31,16 @@ public struct CiWorkflow: Codable, Identifiable { public var containerFilePath: String? public var lastModifiedDate: Date? - public init(name: String? = nil, description: String? = nil, branchStartCondition: CiBranchStartCondition? = nil, tagStartCondition: CiTagStartCondition? = nil, pullRequestStartCondition: CiPullRequestStartCondition? = nil, scheduledStartCondition: CiScheduledStartCondition? = nil, actions: [CiAction]? = nil, isEnabled: Bool? = nil, isLockedForEditing: Bool? = nil, isClean: Bool? = nil, containerFilePath: String? = nil, lastModifiedDate: Date? = nil) { + public init(name: String? = nil, description: String? = nil, branchStartCondition: CiBranchStartCondition? = nil, tagStartCondition: CiTagStartCondition? = nil, pullRequestStartCondition: CiPullRequestStartCondition? = nil, scheduledStartCondition: CiScheduledStartCondition? = nil, manualBranchStartCondition: CiManualBranchStartCondition? = nil, manualTagStartCondition: CiManualTagStartCondition? = nil, manualPullRequestStartCondition: CiManualPullRequestStartCondition? = nil, actions: [CiAction]? = nil, isEnabled: Bool? = nil, isLockedForEditing: Bool? = nil, isClean: Bool? = nil, containerFilePath: String? = nil, lastModifiedDate: Date? = nil) { self.name = name self.description = description self.branchStartCondition = branchStartCondition self.tagStartCondition = tagStartCondition self.pullRequestStartCondition = pullRequestStartCondition self.scheduledStartCondition = scheduledStartCondition + self.manualBranchStartCondition = manualBranchStartCondition + self.manualTagStartCondition = manualTagStartCondition + self.manualPullRequestStartCondition = manualPullRequestStartCondition self.actions = actions self.isEnabled = isEnabled self.isLockedForEditing = isLockedForEditing @@ -51,6 +57,9 @@ public struct CiWorkflow: Codable, Identifiable { self.tagStartCondition = try values.decodeIfPresent(CiTagStartCondition.self, forKey: "tagStartCondition") self.pullRequestStartCondition = try values.decodeIfPresent(CiPullRequestStartCondition.self, forKey: "pullRequestStartCondition") self.scheduledStartCondition = try values.decodeIfPresent(CiScheduledStartCondition.self, forKey: "scheduledStartCondition") + self.manualBranchStartCondition = try values.decodeIfPresent(CiManualBranchStartCondition.self, forKey: "manualBranchStartCondition") + self.manualTagStartCondition = try values.decodeIfPresent(CiManualTagStartCondition.self, forKey: "manualTagStartCondition") + self.manualPullRequestStartCondition = try values.decodeIfPresent(CiManualPullRequestStartCondition.self, forKey: "manualPullRequestStartCondition") self.actions = try values.decodeIfPresent([CiAction].self, forKey: "actions") self.isEnabled = try values.decodeIfPresent(Bool.self, forKey: "isEnabled") self.isLockedForEditing = try values.decodeIfPresent(Bool.self, forKey: "isLockedForEditing") @@ -67,6 +76,9 @@ public struct CiWorkflow: Codable, Identifiable { try values.encodeIfPresent(tagStartCondition, forKey: "tagStartCondition") try values.encodeIfPresent(pullRequestStartCondition, forKey: "pullRequestStartCondition") try values.encodeIfPresent(scheduledStartCondition, forKey: "scheduledStartCondition") + try values.encodeIfPresent(manualBranchStartCondition, forKey: "manualBranchStartCondition") + try values.encodeIfPresent(manualTagStartCondition, forKey: "manualTagStartCondition") + try values.encodeIfPresent(manualPullRequestStartCondition, forKey: "manualPullRequestStartCondition") try values.encodeIfPresent(actions, forKey: "actions") try values.encodeIfPresent(isEnabled, forKey: "isEnabled") try values.encodeIfPresent(isLockedForEditing, forKey: "isLockedForEditing") diff --git a/Sources/OpenAPI/Generated/Entities/CiWorkflowCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/CiWorkflowCreateRequest.swift index e523a878..b7ea0bd4 100644 --- a/Sources/OpenAPI/Generated/Entities/CiWorkflowCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/CiWorkflowCreateRequest.swift @@ -22,19 +22,25 @@ public struct CiWorkflowCreateRequest: Codable { public var tagStartCondition: CiTagStartCondition? public var pullRequestStartCondition: CiPullRequestStartCondition? public var scheduledStartCondition: CiScheduledStartCondition? + public var manualBranchStartCondition: CiManualBranchStartCondition? + public var manualTagStartCondition: CiManualTagStartCondition? + public var manualPullRequestStartCondition: CiManualPullRequestStartCondition? public var actions: [CiAction] public var isEnabled: Bool public var isLockedForEditing: Bool? public var isClean: Bool public var containerFilePath: String - public init(name: String, description: String, branchStartCondition: CiBranchStartCondition? = nil, tagStartCondition: CiTagStartCondition? = nil, pullRequestStartCondition: CiPullRequestStartCondition? = nil, scheduledStartCondition: CiScheduledStartCondition? = nil, actions: [CiAction], isEnabled: Bool, isLockedForEditing: Bool? = nil, isClean: Bool, containerFilePath: String) { + public init(name: String, description: String, branchStartCondition: CiBranchStartCondition? = nil, tagStartCondition: CiTagStartCondition? = nil, pullRequestStartCondition: CiPullRequestStartCondition? = nil, scheduledStartCondition: CiScheduledStartCondition? = nil, manualBranchStartCondition: CiManualBranchStartCondition? = nil, manualTagStartCondition: CiManualTagStartCondition? = nil, manualPullRequestStartCondition: CiManualPullRequestStartCondition? = nil, actions: [CiAction], isEnabled: Bool, isLockedForEditing: Bool? = nil, isClean: Bool, containerFilePath: String) { self.name = name self.description = description self.branchStartCondition = branchStartCondition self.tagStartCondition = tagStartCondition self.pullRequestStartCondition = pullRequestStartCondition self.scheduledStartCondition = scheduledStartCondition + self.manualBranchStartCondition = manualBranchStartCondition + self.manualTagStartCondition = manualTagStartCondition + self.manualPullRequestStartCondition = manualPullRequestStartCondition self.actions = actions self.isEnabled = isEnabled self.isLockedForEditing = isLockedForEditing @@ -50,6 +56,9 @@ public struct CiWorkflowCreateRequest: Codable { self.tagStartCondition = try values.decodeIfPresent(CiTagStartCondition.self, forKey: "tagStartCondition") self.pullRequestStartCondition = try values.decodeIfPresent(CiPullRequestStartCondition.self, forKey: "pullRequestStartCondition") self.scheduledStartCondition = try values.decodeIfPresent(CiScheduledStartCondition.self, forKey: "scheduledStartCondition") + self.manualBranchStartCondition = try values.decodeIfPresent(CiManualBranchStartCondition.self, forKey: "manualBranchStartCondition") + self.manualTagStartCondition = try values.decodeIfPresent(CiManualTagStartCondition.self, forKey: "manualTagStartCondition") + self.manualPullRequestStartCondition = try values.decodeIfPresent(CiManualPullRequestStartCondition.self, forKey: "manualPullRequestStartCondition") self.actions = try values.decode([CiAction].self, forKey: "actions") self.isEnabled = try values.decode(Bool.self, forKey: "isEnabled") self.isLockedForEditing = try values.decodeIfPresent(Bool.self, forKey: "isLockedForEditing") @@ -65,6 +74,9 @@ public struct CiWorkflowCreateRequest: Codable { try values.encodeIfPresent(tagStartCondition, forKey: "tagStartCondition") try values.encodeIfPresent(pullRequestStartCondition, forKey: "pullRequestStartCondition") try values.encodeIfPresent(scheduledStartCondition, forKey: "scheduledStartCondition") + try values.encodeIfPresent(manualBranchStartCondition, forKey: "manualBranchStartCondition") + try values.encodeIfPresent(manualTagStartCondition, forKey: "manualTagStartCondition") + try values.encodeIfPresent(manualPullRequestStartCondition, forKey: "manualPullRequestStartCondition") try values.encode(actions, forKey: "actions") try values.encode(isEnabled, forKey: "isEnabled") try values.encodeIfPresent(isLockedForEditing, forKey: "isLockedForEditing") diff --git a/Sources/OpenAPI/Generated/Entities/CiWorkflowUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/CiWorkflowUpdateRequest.swift index ffa8db18..73fe4fc9 100644 --- a/Sources/OpenAPI/Generated/Entities/CiWorkflowUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/CiWorkflowUpdateRequest.swift @@ -23,19 +23,25 @@ public struct CiWorkflowUpdateRequest: Codable { public var tagStartCondition: CiTagStartCondition? public var pullRequestStartCondition: CiPullRequestStartCondition? public var scheduledStartCondition: CiScheduledStartCondition? + public var manualBranchStartCondition: CiManualBranchStartCondition? + public var manualTagStartCondition: CiManualTagStartCondition? + public var manualPullRequestStartCondition: CiManualPullRequestStartCondition? public var actions: [CiAction]? public var isEnabled: Bool? public var isLockedForEditing: Bool? public var isClean: Bool? public var containerFilePath: String? - public init(name: String? = nil, description: String? = nil, branchStartCondition: CiBranchStartCondition? = nil, tagStartCondition: CiTagStartCondition? = nil, pullRequestStartCondition: CiPullRequestStartCondition? = nil, scheduledStartCondition: CiScheduledStartCondition? = nil, actions: [CiAction]? = nil, isEnabled: Bool? = nil, isLockedForEditing: Bool? = nil, isClean: Bool? = nil, containerFilePath: String? = nil) { + public init(name: String? = nil, description: String? = nil, branchStartCondition: CiBranchStartCondition? = nil, tagStartCondition: CiTagStartCondition? = nil, pullRequestStartCondition: CiPullRequestStartCondition? = nil, scheduledStartCondition: CiScheduledStartCondition? = nil, manualBranchStartCondition: CiManualBranchStartCondition? = nil, manualTagStartCondition: CiManualTagStartCondition? = nil, manualPullRequestStartCondition: CiManualPullRequestStartCondition? = nil, actions: [CiAction]? = nil, isEnabled: Bool? = nil, isLockedForEditing: Bool? = nil, isClean: Bool? = nil, containerFilePath: String? = nil) { self.name = name self.description = description self.branchStartCondition = branchStartCondition self.tagStartCondition = tagStartCondition self.pullRequestStartCondition = pullRequestStartCondition self.scheduledStartCondition = scheduledStartCondition + self.manualBranchStartCondition = manualBranchStartCondition + self.manualTagStartCondition = manualTagStartCondition + self.manualPullRequestStartCondition = manualPullRequestStartCondition self.actions = actions self.isEnabled = isEnabled self.isLockedForEditing = isLockedForEditing @@ -51,6 +57,9 @@ public struct CiWorkflowUpdateRequest: Codable { self.tagStartCondition = try values.decodeIfPresent(CiTagStartCondition.self, forKey: "tagStartCondition") self.pullRequestStartCondition = try values.decodeIfPresent(CiPullRequestStartCondition.self, forKey: "pullRequestStartCondition") self.scheduledStartCondition = try values.decodeIfPresent(CiScheduledStartCondition.self, forKey: "scheduledStartCondition") + self.manualBranchStartCondition = try values.decodeIfPresent(CiManualBranchStartCondition.self, forKey: "manualBranchStartCondition") + self.manualTagStartCondition = try values.decodeIfPresent(CiManualTagStartCondition.self, forKey: "manualTagStartCondition") + self.manualPullRequestStartCondition = try values.decodeIfPresent(CiManualPullRequestStartCondition.self, forKey: "manualPullRequestStartCondition") self.actions = try values.decodeIfPresent([CiAction].self, forKey: "actions") self.isEnabled = try values.decodeIfPresent(Bool.self, forKey: "isEnabled") self.isLockedForEditing = try values.decodeIfPresent(Bool.self, forKey: "isLockedForEditing") @@ -66,6 +75,9 @@ public struct CiWorkflowUpdateRequest: Codable { try values.encodeIfPresent(tagStartCondition, forKey: "tagStartCondition") try values.encodeIfPresent(pullRequestStartCondition, forKey: "pullRequestStartCondition") try values.encodeIfPresent(scheduledStartCondition, forKey: "scheduledStartCondition") + try values.encodeIfPresent(manualBranchStartCondition, forKey: "manualBranchStartCondition") + try values.encodeIfPresent(manualTagStartCondition, forKey: "manualTagStartCondition") + try values.encodeIfPresent(manualPullRequestStartCondition, forKey: "manualPullRequestStartCondition") try values.encodeIfPresent(actions, forKey: "actions") try values.encodeIfPresent(isEnabled, forKey: "isEnabled") try values.encodeIfPresent(isLockedForEditing, forKey: "isLockedForEditing") diff --git a/Sources/OpenAPI/Generated/Entities/ErrorResponse.swift b/Sources/OpenAPI/Generated/Entities/ErrorResponse.swift index 1d07aad3..041666f1 100644 --- a/Sources/OpenAPI/Generated/Entities/ErrorResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/ErrorResponse.swift @@ -13,6 +13,7 @@ public struct ErrorResponse: Codable { public var title: String public var detail: String public var source: Source? + public var meta: [String: AnyJSON]? public enum Source: Codable { case errorSourcePointer(ErrorSourcePointer) @@ -41,13 +42,14 @@ public struct ErrorResponse: Codable { } } - public init(id: String? = nil, status: String, code: String, title: String, detail: String, source: Source? = nil) { + public init(id: String? = nil, status: String, code: String, title: String, detail: String, source: Source? = nil, meta: [String: AnyJSON]? = nil) { self.id = id self.status = status self.code = code self.title = title self.detail = detail self.source = source + self.meta = meta } public init(from decoder: Decoder) throws { @@ -58,6 +60,7 @@ public struct ErrorResponse: Codable { self.title = try values.decode(String.self, forKey: "title") self.detail = try values.decode(String.self, forKey: "detail") self.source = try values.decodeIfPresent(Source.self, forKey: "source") + self.meta = try values.decodeIfPresent([String: AnyJSON].self, forKey: "meta") } public func encode(to encoder: Encoder) throws { @@ -68,6 +71,7 @@ public struct ErrorResponse: Codable { try values.encode(title, forKey: "title") try values.encode(detail, forKey: "detail") try values.encodeIfPresent(source, forKey: "source") + try values.encodeIfPresent(meta, forKey: "meta") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmission.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmission.swift new file mode 100644 index 00000000..ceb2353f --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmission.swift @@ -0,0 +1,80 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterLeaderboardEntrySubmission: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterLeaderboardEntrySubmissions + } + + public struct Attributes: Codable { + public var bundleID: String? + public var challengeIDs: [String]? + public var context: String? + public var scopedPlayerID: String? + public var score: String? + public var submittedDate: Date? + public var vendorIdentifier: String? + + public init(bundleID: String? = nil, challengeIDs: [String]? = nil, context: String? = nil, scopedPlayerID: String? = nil, score: String? = nil, submittedDate: Date? = nil, vendorIdentifier: String? = nil) { + self.bundleID = bundleID + self.challengeIDs = challengeIDs + self.context = context + self.scopedPlayerID = scopedPlayerID + self.score = score + self.submittedDate = submittedDate + self.vendorIdentifier = vendorIdentifier + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.bundleID = try values.decodeIfPresent(String.self, forKey: "bundleId") + self.challengeIDs = try values.decodeIfPresent([String].self, forKey: "challengeIds") + self.context = try values.decodeIfPresent(String.self, forKey: "context") + self.scopedPlayerID = try values.decodeIfPresent(String.self, forKey: "scopedPlayerId") + self.score = try values.decodeIfPresent(String.self, forKey: "score") + self.submittedDate = try values.decodeIfPresent(Date.self, forKey: "submittedDate") + self.vendorIdentifier = try values.decodeIfPresent(String.self, forKey: "vendorIdentifier") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(bundleID, forKey: "bundleId") + try values.encodeIfPresent(challengeIDs, forKey: "challengeIds") + try values.encodeIfPresent(context, forKey: "context") + try values.encodeIfPresent(scopedPlayerID, forKey: "scopedPlayerId") + try values.encodeIfPresent(score, forKey: "score") + try values.encodeIfPresent(submittedDate, forKey: "submittedDate") + try values.encodeIfPresent(vendorIdentifier, forKey: "vendorIdentifier") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmissionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmissionCreateRequest.swift new file mode 100644 index 00000000..f2b474c5 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmissionCreateRequest.swift @@ -0,0 +1,90 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterLeaderboardEntrySubmissionCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterLeaderboardEntrySubmissions + } + + public struct Attributes: Codable { + public var bundleID: String + public var challengeIDs: [String]? + public var context: String? + public var scopedPlayerID: String + public var score: String + public var submittedDate: Date? + public var vendorIdentifier: String + + public init(bundleID: String, challengeIDs: [String]? = nil, context: String? = nil, scopedPlayerID: String, score: String, submittedDate: Date? = nil, vendorIdentifier: String) { + self.bundleID = bundleID + self.challengeIDs = challengeIDs + self.context = context + self.scopedPlayerID = scopedPlayerID + self.score = score + self.submittedDate = submittedDate + self.vendorIdentifier = vendorIdentifier + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.bundleID = try values.decode(String.self, forKey: "bundleId") + self.challengeIDs = try values.decodeIfPresent([String].self, forKey: "challengeIds") + self.context = try values.decodeIfPresent(String.self, forKey: "context") + self.scopedPlayerID = try values.decode(String.self, forKey: "scopedPlayerId") + self.score = try values.decode(String.self, forKey: "score") + self.submittedDate = try values.decodeIfPresent(Date.self, forKey: "submittedDate") + self.vendorIdentifier = try values.decode(String.self, forKey: "vendorIdentifier") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(bundleID, forKey: "bundleId") + try values.encodeIfPresent(challengeIDs, forKey: "challengeIds") + try values.encodeIfPresent(context, forKey: "context") + try values.encode(scopedPlayerID, forKey: "scopedPlayerId") + try values.encode(score, forKey: "score") + try values.encodeIfPresent(submittedDate, forKey: "submittedDate") + try values.encode(vendorIdentifier, forKey: "vendorIdentifier") + } + } + + public init(type: `Type`, attributes: Attributes) { + self.type = type + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(attributes, forKey: "attributes") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmissionResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmissionResponse.swift new file mode 100644 index 00000000..abd20a3d --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterLeaderboardEntrySubmissionResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterLeaderboardEntrySubmissionResponse: Codable { + /// GameCenterLeaderboardEntrySubmission + public var data: GameCenterLeaderboardEntrySubmission + public var links: DocumentLinks + + public init(data: GameCenterLeaderboardEntrySubmission, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(GameCenterLeaderboardEntrySubmission.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift index 894bf101..ac3cb3f3 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueue.swift @@ -16,19 +16,23 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { public struct Attributes: Codable { public var referenceName: String? + public var classicMatchmakingBundleIDs: [String]? - public init(referenceName: String? = nil) { + public init(referenceName: String? = nil, classicMatchmakingBundleIDs: [String]? = nil) { self.referenceName = referenceName + self.classicMatchmakingBundleIDs = classicMatchmakingBundleIDs } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.referenceName = try values.decodeIfPresent(String.self, forKey: "referenceName") + self.classicMatchmakingBundleIDs = try values.decodeIfPresent([String].self, forKey: "classicMatchmakingBundleIds") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(referenceName, forKey: "referenceName") + try values.encodeIfPresent(classicMatchmakingBundleIDs, forKey: "classicMatchmakingBundleIds") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueCreateRequest.swift index 62ab4590..d10f1c6e 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueCreateRequest.swift @@ -17,19 +17,23 @@ public struct GameCenterMatchmakingQueueCreateRequest: Codable { public struct Attributes: Codable { public var referenceName: String + public var classicMatchmakingBundleIDs: [String]? - public init(referenceName: String) { + public init(referenceName: String, classicMatchmakingBundleIDs: [String]? = nil) { self.referenceName = referenceName + self.classicMatchmakingBundleIDs = classicMatchmakingBundleIDs } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.referenceName = try values.decode(String.self, forKey: "referenceName") + self.classicMatchmakingBundleIDs = try values.decodeIfPresent([String].self, forKey: "classicMatchmakingBundleIds") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(referenceName, forKey: "referenceName") + try values.encodeIfPresent(classicMatchmakingBundleIDs, forKey: "classicMatchmakingBundleIds") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueUpdateRequest.swift index 17094ffa..4509b44d 100644 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingQueueUpdateRequest.swift @@ -9,12 +9,31 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable { public struct Data: Codable, Identifiable { public var type: `Type` public var id: String + public var attributes: Attributes? public var relationships: Relationships? public enum `Type`: String, Codable, CaseIterable { case gameCenterMatchmakingQueues } + public struct Attributes: Codable { + public var classicMatchmakingBundleIDs: [String]? + + public init(classicMatchmakingBundleIDs: [String]? = nil) { + self.classicMatchmakingBundleIDs = classicMatchmakingBundleIDs + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.classicMatchmakingBundleIDs = try values.decodeIfPresent([String].self, forKey: "classicMatchmakingBundleIds") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(classicMatchmakingBundleIDs, forKey: "classicMatchmakingBundleIds") + } + } + public struct Relationships: Codable { public var ruleSet: RuleSet? public var experimentRuleSet: ExperimentRuleSet? @@ -125,9 +144,10 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable { } } - public init(type: `Type`, id: String, relationships: Relationships? = nil) { + public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil) { self.type = type self.id = id + self.attributes = attributes self.relationships = relationships } @@ -135,6 +155,7 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable { let values = try decoder.container(keyedBy: StringCodingKey.self) self.type = try values.decode(`Type`.self, forKey: "type") self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") } @@ -142,6 +163,7 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(type, forKey: "type") try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") try values.encodeIfPresent(relationships, forKey: "relationships") } } diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestRequest.swift deleted file mode 100644 index ea8141d8..00000000 --- a/Sources/OpenAPI/Generated/Entities/GameCenterMatchmakingTestRequest.swift +++ /dev/null @@ -1,34 +0,0 @@ -// Generated by Create API -// https://github.com/CreateAPI/CreateAPI - -import Foundation - -public struct GameCenterMatchmakingTestRequest: Codable, Identifiable { - public var type: `Type` - public var id: String - public var links: ResourceLinks? - - public enum `Type`: String, Codable, CaseIterable { - case gameCenterMatchmakingTestRequests - } - - public init(type: `Type`, id: String, links: ResourceLinks? = nil) { - self.type = type - self.id = id - self.links = links - } - - public init(from decoder: Decoder) throws { - let values = try decoder.container(keyedBy: StringCodingKey.self) - self.type = try values.decode(`Type`.self, forKey: "type") - self.id = try values.decode(String.self, forKey: "id") - self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") - } - - public func encode(to encoder: Encoder) throws { - var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encode(type, forKey: "type") - try values.encode(id, forKey: "id") - try values.encodeIfPresent(links, forKey: "links") - } -} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmission.swift b/Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmission.swift new file mode 100644 index 00000000..c95394f6 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmission.swift @@ -0,0 +1,76 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterPlayerAchievementSubmission: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterPlayerAchievementSubmissions + } + + public struct Attributes: Codable { + public var bundleID: String? + public var challengeIDs: [String]? + public var percentageAchieved: Int? + public var scopedPlayerID: String? + public var submittedDate: Date? + public var vendorIdentifier: String? + + public init(bundleID: String? = nil, challengeIDs: [String]? = nil, percentageAchieved: Int? = nil, scopedPlayerID: String? = nil, submittedDate: Date? = nil, vendorIdentifier: String? = nil) { + self.bundleID = bundleID + self.challengeIDs = challengeIDs + self.percentageAchieved = percentageAchieved + self.scopedPlayerID = scopedPlayerID + self.submittedDate = submittedDate + self.vendorIdentifier = vendorIdentifier + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.bundleID = try values.decodeIfPresent(String.self, forKey: "bundleId") + self.challengeIDs = try values.decodeIfPresent([String].self, forKey: "challengeIds") + self.percentageAchieved = try values.decodeIfPresent(Int.self, forKey: "percentageAchieved") + self.scopedPlayerID = try values.decodeIfPresent(String.self, forKey: "scopedPlayerId") + self.submittedDate = try values.decodeIfPresent(Date.self, forKey: "submittedDate") + self.vendorIdentifier = try values.decodeIfPresent(String.self, forKey: "vendorIdentifier") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(bundleID, forKey: "bundleId") + try values.encodeIfPresent(challengeIDs, forKey: "challengeIds") + try values.encodeIfPresent(percentageAchieved, forKey: "percentageAchieved") + try values.encodeIfPresent(scopedPlayerID, forKey: "scopedPlayerId") + try values.encodeIfPresent(submittedDate, forKey: "submittedDate") + try values.encodeIfPresent(vendorIdentifier, forKey: "vendorIdentifier") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmissionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmissionCreateRequest.swift new file mode 100644 index 00000000..d791d225 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmissionCreateRequest.swift @@ -0,0 +1,86 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterPlayerAchievementSubmissionCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + + public enum `Type`: String, Codable, CaseIterable { + case gameCenterPlayerAchievementSubmissions + } + + public struct Attributes: Codable { + public var bundleID: String + public var challengeIDs: [String]? + public var percentageAchieved: Int + public var scopedPlayerID: String + public var submittedDate: Date? + public var vendorIdentifier: String + + public init(bundleID: String, challengeIDs: [String]? = nil, percentageAchieved: Int, scopedPlayerID: String, submittedDate: Date? = nil, vendorIdentifier: String) { + self.bundleID = bundleID + self.challengeIDs = challengeIDs + self.percentageAchieved = percentageAchieved + self.scopedPlayerID = scopedPlayerID + self.submittedDate = submittedDate + self.vendorIdentifier = vendorIdentifier + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.bundleID = try values.decode(String.self, forKey: "bundleId") + self.challengeIDs = try values.decodeIfPresent([String].self, forKey: "challengeIds") + self.percentageAchieved = try values.decode(Int.self, forKey: "percentageAchieved") + self.scopedPlayerID = try values.decode(String.self, forKey: "scopedPlayerId") + self.submittedDate = try values.decodeIfPresent(Date.self, forKey: "submittedDate") + self.vendorIdentifier = try values.decode(String.self, forKey: "vendorIdentifier") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(bundleID, forKey: "bundleId") + try values.encodeIfPresent(challengeIDs, forKey: "challengeIds") + try values.encode(percentageAchieved, forKey: "percentageAchieved") + try values.encode(scopedPlayerID, forKey: "scopedPlayerId") + try values.encodeIfPresent(submittedDate, forKey: "submittedDate") + try values.encode(vendorIdentifier, forKey: "vendorIdentifier") + } + } + + public init(type: `Type`, attributes: Attributes) { + self.type = type + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(attributes, forKey: "attributes") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmissionResponse.swift b/Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmissionResponse.swift new file mode 100644 index 00000000..dc6ec523 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/GameCenterPlayerAchievementSubmissionResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct GameCenterPlayerAchievementSubmissionResponse: Codable { + /// GameCenterPlayerAchievementSubmission + public var data: GameCenterPlayerAchievementSubmission + public var links: DocumentLinks + + public init(data: GameCenterPlayerAchievementSubmission, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(GameCenterPlayerAchievementSubmission.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleCreateRequest.swift index 0a10e6e2..a8922905 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchasePriceScheduleCreateRequest.swift @@ -17,7 +17,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable { public struct Relationships: Codable { public var inAppPurchase: InAppPurchase - public var baseTerritory: BaseTerritory? + public var baseTerritory: BaseTerritory public var manualPrices: ManualPrices public struct InAppPurchase: Codable { @@ -65,7 +65,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable { } public struct BaseTerritory: Codable { - public var data: Data? + public var data: Data public struct Data: Codable, Identifiable { public var type: `Type` @@ -93,18 +93,18 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable { } } - public init(data: Data? = nil) { + public init(data: Data) { self.data = data } public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decodeIfPresent(Data.self, forKey: "data") + self.data = try values.decode(Data.self, forKey: "data") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) - try values.encodeIfPresent(data, forKey: "data") + try values.encode(data, forKey: "data") } } @@ -152,7 +152,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable { } } - public init(inAppPurchase: InAppPurchase, baseTerritory: BaseTerritory? = nil, manualPrices: ManualPrices) { + public init(inAppPurchase: InAppPurchase, baseTerritory: BaseTerritory, manualPrices: ManualPrices) { self.inAppPurchase = inAppPurchase self.baseTerritory = baseTerritory self.manualPrices = manualPrices @@ -161,14 +161,14 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.inAppPurchase = try values.decode(InAppPurchase.self, forKey: "inAppPurchase") - self.baseTerritory = try values.decodeIfPresent(BaseTerritory.self, forKey: "baseTerritory") + self.baseTerritory = try values.decode(BaseTerritory.self, forKey: "baseTerritory") self.manualPrices = try values.decode(ManualPrices.self, forKey: "manualPrices") } public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encode(inAppPurchase, forKey: "inAppPurchase") - try values.encodeIfPresent(baseTerritory, forKey: "baseTerritory") + try values.encode(baseTerritory, forKey: "baseTerritory") try values.encode(manualPrices, forKey: "manualPrices") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift index 92c12a78..91bc7658 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2.swift @@ -22,10 +22,8 @@ public struct InAppPurchaseV2: Codable, Identifiable { public var reviewNote: String? public var isFamilySharable: Bool? public var isContentHosting: Bool? - /// - warning: Deprecated. - public var isAvailableInAllTerritories: Bool? - public init(name: String? = nil, productID: String? = nil, inAppPurchaseType: InAppPurchaseType? = nil, state: InAppPurchaseState? = nil, reviewNote: String? = nil, isFamilySharable: Bool? = nil, isContentHosting: Bool? = nil, isAvailableInAllTerritories: Bool? = nil) { + public init(name: String? = nil, productID: String? = nil, inAppPurchaseType: InAppPurchaseType? = nil, state: InAppPurchaseState? = nil, reviewNote: String? = nil, isFamilySharable: Bool? = nil, isContentHosting: Bool? = nil) { self.name = name self.productID = productID self.inAppPurchaseType = inAppPurchaseType @@ -33,7 +31,6 @@ public struct InAppPurchaseV2: Codable, Identifiable { self.reviewNote = reviewNote self.isFamilySharable = isFamilySharable self.isContentHosting = isContentHosting - self.isAvailableInAllTerritories = isAvailableInAllTerritories } public init(from decoder: Decoder) throws { @@ -45,7 +42,6 @@ public struct InAppPurchaseV2: Codable, Identifiable { self.reviewNote = try values.decodeIfPresent(String.self, forKey: "reviewNote") self.isFamilySharable = try values.decodeIfPresent(Bool.self, forKey: "familySharable") self.isContentHosting = try values.decodeIfPresent(Bool.self, forKey: "contentHosting") - self.isAvailableInAllTerritories = try values.decodeIfPresent(Bool.self, forKey: "availableInAllTerritories") } public func encode(to encoder: Encoder) throws { @@ -57,7 +53,6 @@ public struct InAppPurchaseV2: Codable, Identifiable { try values.encodeIfPresent(reviewNote, forKey: "reviewNote") try values.encodeIfPresent(isFamilySharable, forKey: "familySharable") try values.encodeIfPresent(isContentHosting, forKey: "contentHosting") - try values.encodeIfPresent(isAvailableInAllTerritories, forKey: "availableInAllTerritories") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2CreateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2CreateRequest.swift index 7559ffaf..3e14a7ee 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2CreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2CreateRequest.swift @@ -21,16 +21,13 @@ public struct InAppPurchaseV2CreateRequest: Codable { public var inAppPurchaseType: InAppPurchaseType public var reviewNote: String? public var isFamilySharable: Bool? - /// - warning: Deprecated. - public var isAvailableInAllTerritories: Bool? - public init(name: String, productID: String, inAppPurchaseType: InAppPurchaseType, reviewNote: String? = nil, isFamilySharable: Bool? = nil, isAvailableInAllTerritories: Bool? = nil) { + public init(name: String, productID: String, inAppPurchaseType: InAppPurchaseType, reviewNote: String? = nil, isFamilySharable: Bool? = nil) { self.name = name self.productID = productID self.inAppPurchaseType = inAppPurchaseType self.reviewNote = reviewNote self.isFamilySharable = isFamilySharable - self.isAvailableInAllTerritories = isAvailableInAllTerritories } public init(from decoder: Decoder) throws { @@ -40,7 +37,6 @@ public struct InAppPurchaseV2CreateRequest: Codable { self.inAppPurchaseType = try values.decode(InAppPurchaseType.self, forKey: "inAppPurchaseType") self.reviewNote = try values.decodeIfPresent(String.self, forKey: "reviewNote") self.isFamilySharable = try values.decodeIfPresent(Bool.self, forKey: "familySharable") - self.isAvailableInAllTerritories = try values.decodeIfPresent(Bool.self, forKey: "availableInAllTerritories") } public func encode(to encoder: Encoder) throws { @@ -50,7 +46,6 @@ public struct InAppPurchaseV2CreateRequest: Codable { try values.encode(inAppPurchaseType, forKey: "inAppPurchaseType") try values.encodeIfPresent(reviewNote, forKey: "reviewNote") try values.encodeIfPresent(isFamilySharable, forKey: "familySharable") - try values.encodeIfPresent(isAvailableInAllTerritories, forKey: "availableInAllTerritories") } } diff --git a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2UpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2UpdateRequest.swift index 36560a8a..12dd056b 100644 --- a/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2UpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/InAppPurchaseV2UpdateRequest.swift @@ -19,14 +19,11 @@ public struct InAppPurchaseV2UpdateRequest: Codable { public var name: String? public var reviewNote: String? public var isFamilySharable: Bool? - /// - warning: Deprecated. - public var isAvailableInAllTerritories: Bool? - public init(name: String? = nil, reviewNote: String? = nil, isFamilySharable: Bool? = nil, isAvailableInAllTerritories: Bool? = nil) { + public init(name: String? = nil, reviewNote: String? = nil, isFamilySharable: Bool? = nil) { self.name = name self.reviewNote = reviewNote self.isFamilySharable = isFamilySharable - self.isAvailableInAllTerritories = isAvailableInAllTerritories } public init(from decoder: Decoder) throws { @@ -34,7 +31,6 @@ public struct InAppPurchaseV2UpdateRequest: Codable { self.name = try values.decodeIfPresent(String.self, forKey: "name") self.reviewNote = try values.decodeIfPresent(String.self, forKey: "reviewNote") self.isFamilySharable = try values.decodeIfPresent(Bool.self, forKey: "familySharable") - self.isAvailableInAllTerritories = try values.decodeIfPresent(Bool.self, forKey: "availableInAllTerritories") } public func encode(to encoder: Encoder) throws { @@ -42,7 +38,6 @@ public struct InAppPurchaseV2UpdateRequest: Codable { try values.encodeIfPresent(name, forKey: "name") try values.encodeIfPresent(reviewNote, forKey: "reviewNote") try values.encodeIfPresent(isFamilySharable, forKey: "familySharable") - try values.encodeIfPresent(isAvailableInAllTerritories, forKey: "availableInAllTerritories") } } diff --git a/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift b/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift index 26390959..0f99265b 100644 --- a/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift +++ b/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift @@ -8,7 +8,7 @@ public struct MetricsInsight: Codable { public var latestVersion: String? public var metric: String? public var summaryString: String? - public var referenceVersions: [String]? + public var referenceVersions: String? public var maxLatestVersionValue: Double? public var subSystemLabel: String? public var isHighImpact: Bool? @@ -52,7 +52,7 @@ public struct MetricsInsight: Codable { } } - public init(metricCategory: MetricCategory? = nil, latestVersion: String? = nil, metric: String? = nil, summaryString: String? = nil, referenceVersions: [String]? = nil, maxLatestVersionValue: Double? = nil, subSystemLabel: String? = nil, isHighImpact: Bool? = nil, populations: [Population]? = nil) { + public init(metricCategory: MetricCategory? = nil, latestVersion: String? = nil, metric: String? = nil, summaryString: String? = nil, referenceVersions: String? = nil, maxLatestVersionValue: Double? = nil, subSystemLabel: String? = nil, isHighImpact: Bool? = nil, populations: [Population]? = nil) { self.metricCategory = metricCategory self.latestVersion = latestVersion self.metric = metric @@ -70,7 +70,7 @@ public struct MetricsInsight: Codable { self.latestVersion = try values.decodeIfPresent(String.self, forKey: "latestVersion") self.metric = try values.decodeIfPresent(String.self, forKey: "metric") self.summaryString = try values.decodeIfPresent(String.self, forKey: "summaryString") - self.referenceVersions = try values.decodeIfPresent([String].self, forKey: "referenceVersions") + self.referenceVersions = try values.decodeIfPresent(String.self, forKey: "referenceVersions") self.maxLatestVersionValue = try values.decodeIfPresent(Double.self, forKey: "maxLatestVersionValue") self.subSystemLabel = try values.decodeIfPresent(String.self, forKey: "subSystemLabel") self.isHighImpact = try values.decodeIfPresent(Bool.self, forKey: "highImpact") diff --git a/Sources/OpenAPI/Generated/Entities/Platform.swift b/Sources/OpenAPI/Generated/Entities/Platform.swift index 3c92100a..7075c1e8 100644 --- a/Sources/OpenAPI/Generated/Entities/Platform.swift +++ b/Sources/OpenAPI/Generated/Entities/Platform.swift @@ -7,4 +7,5 @@ public enum Platform: String, Codable, CaseIterable { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } diff --git a/Sources/OpenAPI/Generated/Entities/PreviewType.swift b/Sources/OpenAPI/Generated/Entities/PreviewType.swift index 9cde99e8..da1066fa 100644 --- a/Sources/OpenAPI/Generated/Entities/PreviewType.swift +++ b/Sources/OpenAPI/Generated/Entities/PreviewType.swift @@ -19,4 +19,5 @@ public enum PreviewType: String, Codable, CaseIterable { case ipad97 = "IPAD_97" case desktop = "DESKTOP" case appleTv = "APPLE_TV" + case appleVisionPro = "APPLE_VISION_PRO" } diff --git a/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift b/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift index aad50281..12220753 100644 --- a/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift +++ b/Sources/OpenAPI/Generated/Entities/ScreenshotDisplayType.swift @@ -23,6 +23,7 @@ public enum ScreenshotDisplayType: String, Codable, CaseIterable { case appWatchSeries4 = "APP_WATCH_SERIES_4" case appWatchSeries3 = "APP_WATCH_SERIES_3" case appAppleTv = "APP_APPLE_TV" + case appAppleVisionPro = "APP_APPLE_VISION_PRO" case imessageAppIphone67 = "IMESSAGE_APP_IPHONE_67" case imessageAppIphone61 = "IMESSAGE_APP_IPHONE_61" case imessageAppIphone65 = "IMESSAGE_APP_IPHONE_65" diff --git a/Sources/OpenAPI/Generated/Entities/Subscription.swift b/Sources/OpenAPI/Generated/Entities/Subscription.swift index 0732dce7..4e1b90df 100644 --- a/Sources/OpenAPI/Generated/Entities/Subscription.swift +++ b/Sources/OpenAPI/Generated/Entities/Subscription.swift @@ -22,8 +22,6 @@ public struct Subscription: Codable, Identifiable { public var subscriptionPeriod: SubscriptionPeriod? public var reviewNote: String? public var groupLevel: Int? - /// - warning: Deprecated. - public var isAvailableInAllTerritories: Bool? public enum State: String, Codable, CaseIterable { case missingMetadata = "MISSING_METADATA" @@ -47,7 +45,7 @@ public struct Subscription: Codable, Identifiable { case oneYear = "ONE_YEAR" } - public init(name: String? = nil, productID: String? = nil, isFamilySharable: Bool? = nil, state: State? = nil, subscriptionPeriod: SubscriptionPeriod? = nil, reviewNote: String? = nil, groupLevel: Int? = nil, isAvailableInAllTerritories: Bool? = nil) { + public init(name: String? = nil, productID: String? = nil, isFamilySharable: Bool? = nil, state: State? = nil, subscriptionPeriod: SubscriptionPeriod? = nil, reviewNote: String? = nil, groupLevel: Int? = nil) { self.name = name self.productID = productID self.isFamilySharable = isFamilySharable @@ -55,7 +53,6 @@ public struct Subscription: Codable, Identifiable { self.subscriptionPeriod = subscriptionPeriod self.reviewNote = reviewNote self.groupLevel = groupLevel - self.isAvailableInAllTerritories = isAvailableInAllTerritories } public init(from decoder: Decoder) throws { @@ -67,7 +64,6 @@ public struct Subscription: Codable, Identifiable { self.subscriptionPeriod = try values.decodeIfPresent(SubscriptionPeriod.self, forKey: "subscriptionPeriod") self.reviewNote = try values.decodeIfPresent(String.self, forKey: "reviewNote") self.groupLevel = try values.decodeIfPresent(Int.self, forKey: "groupLevel") - self.isAvailableInAllTerritories = try values.decodeIfPresent(Bool.self, forKey: "availableInAllTerritories") } public func encode(to encoder: Encoder) throws { @@ -79,7 +75,6 @@ public struct Subscription: Codable, Identifiable { try values.encodeIfPresent(subscriptionPeriod, forKey: "subscriptionPeriod") try values.encodeIfPresent(reviewNote, forKey: "reviewNote") try values.encodeIfPresent(groupLevel, forKey: "groupLevel") - try values.encodeIfPresent(isAvailableInAllTerritories, forKey: "availableInAllTerritories") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionCreateRequest.swift index 9e7c0a04..da432885 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionCreateRequest.swift @@ -22,8 +22,6 @@ public struct SubscriptionCreateRequest: Codable { public var subscriptionPeriod: SubscriptionPeriod? public var reviewNote: String? public var groupLevel: Int? - /// - warning: Deprecated. - public var isAvailableInAllTerritories: Bool? public enum SubscriptionPeriod: String, Codable, CaseIterable { case oneWeek = "ONE_WEEK" @@ -34,14 +32,13 @@ public struct SubscriptionCreateRequest: Codable { case oneYear = "ONE_YEAR" } - public init(name: String, productID: String, isFamilySharable: Bool? = nil, subscriptionPeriod: SubscriptionPeriod? = nil, reviewNote: String? = nil, groupLevel: Int? = nil, isAvailableInAllTerritories: Bool? = nil) { + public init(name: String, productID: String, isFamilySharable: Bool? = nil, subscriptionPeriod: SubscriptionPeriod? = nil, reviewNote: String? = nil, groupLevel: Int? = nil) { self.name = name self.productID = productID self.isFamilySharable = isFamilySharable self.subscriptionPeriod = subscriptionPeriod self.reviewNote = reviewNote self.groupLevel = groupLevel - self.isAvailableInAllTerritories = isAvailableInAllTerritories } public init(from decoder: Decoder) throws { @@ -52,7 +49,6 @@ public struct SubscriptionCreateRequest: Codable { self.subscriptionPeriod = try values.decodeIfPresent(SubscriptionPeriod.self, forKey: "subscriptionPeriod") self.reviewNote = try values.decodeIfPresent(String.self, forKey: "reviewNote") self.groupLevel = try values.decodeIfPresent(Int.self, forKey: "groupLevel") - self.isAvailableInAllTerritories = try values.decodeIfPresent(Bool.self, forKey: "availableInAllTerritories") } public func encode(to encoder: Encoder) throws { @@ -63,7 +59,6 @@ public struct SubscriptionCreateRequest: Codable { try values.encodeIfPresent(subscriptionPeriod, forKey: "subscriptionPeriod") try values.encodeIfPresent(reviewNote, forKey: "reviewNote") try values.encodeIfPresent(groupLevel, forKey: "groupLevel") - try values.encodeIfPresent(isAvailableInAllTerritories, forKey: "availableInAllTerritories") } } diff --git a/Sources/OpenAPI/Generated/Entities/SubscriptionUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/SubscriptionUpdateRequest.swift index 85483d9d..a213cba6 100644 --- a/Sources/OpenAPI/Generated/Entities/SubscriptionUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/SubscriptionUpdateRequest.swift @@ -23,8 +23,6 @@ public struct SubscriptionUpdateRequest: Codable { public var subscriptionPeriod: SubscriptionPeriod? public var reviewNote: String? public var groupLevel: Int? - /// - warning: Deprecated. - public var isAvailableInAllTerritories: Bool? public enum SubscriptionPeriod: String, Codable, CaseIterable { case oneWeek = "ONE_WEEK" @@ -35,13 +33,12 @@ public struct SubscriptionUpdateRequest: Codable { case oneYear = "ONE_YEAR" } - public init(name: String? = nil, isFamilySharable: Bool? = nil, subscriptionPeriod: SubscriptionPeriod? = nil, reviewNote: String? = nil, groupLevel: Int? = nil, isAvailableInAllTerritories: Bool? = nil) { + public init(name: String? = nil, isFamilySharable: Bool? = nil, subscriptionPeriod: SubscriptionPeriod? = nil, reviewNote: String? = nil, groupLevel: Int? = nil) { self.name = name self.isFamilySharable = isFamilySharable self.subscriptionPeriod = subscriptionPeriod self.reviewNote = reviewNote self.groupLevel = groupLevel - self.isAvailableInAllTerritories = isAvailableInAllTerritories } public init(from decoder: Decoder) throws { @@ -51,7 +48,6 @@ public struct SubscriptionUpdateRequest: Codable { self.subscriptionPeriod = try values.decodeIfPresent(SubscriptionPeriod.self, forKey: "subscriptionPeriod") self.reviewNote = try values.decodeIfPresent(String.self, forKey: "reviewNote") self.groupLevel = try values.decodeIfPresent(Int.self, forKey: "groupLevel") - self.isAvailableInAllTerritories = try values.decodeIfPresent(Bool.self, forKey: "availableInAllTerritories") } public func encode(to encoder: Encoder) throws { @@ -61,7 +57,6 @@ public struct SubscriptionUpdateRequest: Codable { try values.encodeIfPresent(subscriptionPeriod, forKey: "subscriptionPeriod") try values.encodeIfPresent(reviewNote, forKey: "reviewNote") try values.encodeIfPresent(groupLevel, forKey: "groupLevel") - try values.encodeIfPresent(isAvailableInAllTerritories, forKey: "availableInAllTerritories") } } diff --git a/Sources/OpenAPI/Generated/Entities/UserRole.swift b/Sources/OpenAPI/Generated/Entities/UserRole.swift index b8470d59..06157c6d 100644 --- a/Sources/OpenAPI/Generated/Entities/UserRole.swift +++ b/Sources/OpenAPI/Generated/Entities/UserRole.swift @@ -17,5 +17,4 @@ public enum UserRole: String, Codable, CaseIterable { case createApps = "CREATE_APPS" case cloudManagedDeveloperID = "CLOUD_MANAGED_DEVELOPER_ID" case cloudManagedAppDistribution = "CLOUD_MANAGED_APP_DISTRIBUTION" - case generateIndividualKeys = "GENERATE_INDIVIDUAL_KEYS" } diff --git a/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift b/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift index f05f0c7b..139d803c 100644 --- a/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift +++ b/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift @@ -126,10 +126,10 @@ public struct XcodeMetrics: Codable { public var version: String? public var value: Double? public var errorMargin: Double? - public var percentageBreakdown: [PercentageBreakdownItem]? + public var percentageBreakdown: PercentageBreakdown? public var goal: String? - public struct PercentageBreakdownItem: Codable { + public struct PercentageBreakdown: Codable { public var value: Double? public var subSystemLabel: String? @@ -151,7 +151,7 @@ public struct XcodeMetrics: Codable { } } - public init(version: String? = nil, value: Double? = nil, errorMargin: Double? = nil, percentageBreakdown: [PercentageBreakdownItem]? = nil, goal: String? = nil) { + public init(version: String? = nil, value: Double? = nil, errorMargin: Double? = nil, percentageBreakdown: PercentageBreakdown? = nil, goal: String? = nil) { self.version = version self.value = value self.errorMargin = errorMargin @@ -164,7 +164,7 @@ public struct XcodeMetrics: Codable { self.version = try values.decodeIfPresent(String.self, forKey: "version") self.value = try values.decodeIfPresent(Double.self, forKey: "value") self.errorMargin = try values.decodeIfPresent(Double.self, forKey: "errorMargin") - self.percentageBreakdown = try values.decodeIfPresent([PercentageBreakdownItem].self, forKey: "percentageBreakdown") + self.percentageBreakdown = try values.decodeIfPresent(PercentageBreakdown.self, forKey: "percentageBreakdown") self.goal = try values.decodeIfPresent(String.self, forKey: "goal") } diff --git a/Sources/OpenAPI/Generated/Extensions/AnyJSON.swift b/Sources/OpenAPI/Generated/Extensions/AnyJSON.swift new file mode 100644 index 00000000..b344730b --- /dev/null +++ b/Sources/OpenAPI/Generated/Extensions/AnyJSON.swift @@ -0,0 +1,52 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public enum AnyJSON: Equatable, Codable { + case string(String) + case number(Double) + case object([String: AnyJSON]) + case array([AnyJSON]) + case bool(Bool) + + var value: Any { + switch self { + case .string(let string): return string + case .number(let double): return double + case .object(let dictionary): return dictionary + case .array(let array): return array + case .bool(let bool): return bool + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case let .array(array): try container.encode(array) + case let .object(object): try container.encode(object) + case let .string(string): try container.encode(string) + case let .number(number): try container.encode(number) + case let .bool(bool): try container.encode(bool) + } + } + + public init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let object = try? container.decode([String: AnyJSON].self) { + self = .object(object) + } else if let array = try? container.decode([AnyJSON].self) { + self = .array(array) + } else if let string = try? container.decode(String.self) { + self = .string(string) + } else if let bool = try? container.decode(Bool.self) { + self = .bool(bool) + } else if let number = try? container.decode(Double.self) { + self = .number(number) + } else { + throw DecodingError.dataCorrupted( + .init(codingPath: decoder.codingPath, debugDescription: "Invalid JSON value.") + ) + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift index 5cddec08..3f39690b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCategories.swift @@ -29,6 +29,7 @@ extension APIEndpoint.V1 { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum FieldsAppCategories: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift index b3afebe8..6d912a8e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppPreviewSets.swift @@ -46,6 +46,7 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { case ipad97 = "IPAD_97" case desktop = "DESKTOP" case appleTv = "APPLE_TV" + case appleVisionPro = "APPLE_VISION_PRO" } public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift index 0ee1780e..927ac631 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppCustomProductPageLocalizationsWithIDAppScreenshotSets.swift @@ -50,6 +50,7 @@ extension APIEndpoint.V1.AppCustomProductPageLocalizations.WithID { case appWatchSeries4 = "APP_WATCH_SERIES_4" case appWatchSeries3 = "APP_WATCH_SERIES_3" case appAppleTv = "APP_APPLE_TV" + case appAppleVisionPro = "APP_APPLE_VISION_PRO" case imessageAppIphone67 = "IMESSAGE_APP_IPHONE_67" case imessageAppIphone61 = "IMESSAGE_APP_IPHONE_61" case imessageAppIphone65 = "IMESSAGE_APP_IPHONE_65" diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift index b3873477..9ff4fda0 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift @@ -32,6 +32,7 @@ extension APIEndpoint.V1 { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift index 04564691..8feb7f13 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppPreviewSets.swift @@ -46,6 +46,7 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID case ipad97 = "IPAD_97" case desktop = "DESKTOP" case appleTv = "APPLE_TV" + case appleVisionPro = "APPLE_VISION_PRO" } public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift index 71b313e5..49b02122 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionExperimentTreatmentLocalizationsWithIDAppScreenshotSets.swift @@ -50,6 +50,7 @@ extension APIEndpoint.V1.AppStoreVersionExperimentTreatmentLocalizations.WithID case appWatchSeries4 = "APP_WATCH_SERIES_4" case appWatchSeries3 = "APP_WATCH_SERIES_3" case appAppleTv = "APP_APPLE_TV" + case appAppleVisionPro = "APP_APPLE_VISION_PRO" case imessageAppIphone67 = "IMESSAGE_APP_IPHONE_67" case imessageAppIphone61 = "IMESSAGE_APP_IPHONE_61" case imessageAppIphone65 = "IMESSAGE_APP_IPHONE_65" diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift index 14bd4622..6c6c83e9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppPreviewSets.swift @@ -46,6 +46,7 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { case ipad97 = "IPAD_97" case desktop = "DESKTOP" case appleTv = "APPLE_TV" + case appleVisionPro = "APPLE_VISION_PRO" } public enum FieldsAppCustomProductPageLocalizations: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift index fcb2b92a..5cecab17 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionLocalizationsWithIDAppScreenshotSets.swift @@ -50,6 +50,7 @@ extension APIEndpoint.V1.AppStoreVersionLocalizations.WithID { case appWatchSeries4 = "APP_WATCH_SERIES_4" case appWatchSeries3 = "APP_WATCH_SERIES_3" case appAppleTv = "APP_APPLE_TV" + case appAppleVisionPro = "APP_APPLE_VISION_PRO" case imessageAppIphone67 = "IMESSAGE_APP_IPHONE_67" case imessageAppIphone61 = "IMESSAGE_APP_IPHONE_61" case imessageAppIphone65 = "IMESSAGE_APP_IPHONE_65" diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift index 8f0d9e39..5cbd82ff 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift @@ -106,6 +106,7 @@ extension APIEndpoint.V1 { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum Sort: String, Codable, CaseIterable { @@ -390,7 +391,6 @@ extension APIEndpoint.V1 { case app case appStoreReviewScreenshot case apps - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift index 1691ad9c..8e7ef84a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift @@ -343,7 +343,6 @@ extension APIEndpoint.V1.Apps { case app case appStoreReviewScreenshot case apps - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift index 89d5db5e..cf624abb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift @@ -32,6 +32,7 @@ extension APIEndpoint.V1.Apps.WithID { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum FieldsAppEncryptionDeclarations: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift index 099d70d1..1cc05161 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift @@ -65,6 +65,7 @@ extension APIEndpoint.V1.Apps.WithID { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift index e17df48c..fafa9ae7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift @@ -33,6 +33,7 @@ extension APIEndpoint.V1.Apps.WithID { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum Sort: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift index 14c1bd6a..20852619 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchasesV2.swift @@ -102,7 +102,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsInAppPurchases: String, Codable, CaseIterable { case app case appStoreReviewScreenshot - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift index 70695552..697de74f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMetricsBetaTesterUsages.swift @@ -21,13 +21,20 @@ extension APIEndpoint.V1.Apps.WithID.Metrics { public var limit: Int? public var groupBy: [GroupBy]? public var filterBetaTesters: String? - public var period: String? + public var period: Period? public enum GroupBy: String, Codable, CaseIterable { case betaTesters } - public init(limit: Int? = nil, groupBy: [GroupBy]? = nil, filterBetaTesters: String? = nil, period: String? = nil) { + public enum Period: String, Codable, CaseIterable { + case p7d = "P7D" + case p30d = "P30D" + case p90d = "P90D" + case p365d = "P365D" + } + + public init(limit: Int? = nil, groupBy: [GroupBy]? = nil, filterBetaTesters: String? = nil, period: Period? = nil) { self.limit = limit self.groupBy = groupBy self.filterBetaTesters = filterBetaTesters diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift index 3b8a393c..43ec0a9a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPromotedPurchases.swift @@ -38,7 +38,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel @@ -60,7 +59,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsInAppPurchases: String, Codable, CaseIterable { case app case appStoreReviewScreenshot - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift index f6906796..be4c2f8b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift @@ -33,6 +33,7 @@ extension APIEndpoint.V1.Apps.WithID { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum FilterState: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift index 25ca6936..adc17e66 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDSubscriptionGroups.swift @@ -49,7 +49,6 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift index d612ecb1..b09dfb09 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDMetricsBetaTesterUsages.swift @@ -21,13 +21,20 @@ extension APIEndpoint.V1.BetaGroups.WithID.Metrics { public var limit: Int? public var groupBy: [GroupBy]? public var filterBetaTesters: String? - public var period: String? + public var period: Period? public enum GroupBy: String, Codable, CaseIterable { case betaTesters } - public init(limit: Int? = nil, groupBy: [GroupBy]? = nil, filterBetaTesters: String? = nil, period: String? = nil) { + public enum Period: String, Codable, CaseIterable { + case p7d = "P7D" + case p30d = "P30D" + case p90d = "P90D" + case p365d = "P365D" + } + + public init(limit: Int? = nil, groupBy: [GroupBy]? = nil, filterBetaTesters: String? = nil, period: Period? = nil) { self.limit = limit self.groupBy = groupBy self.filterBetaTesters = filterBetaTesters diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift index 5c4ccc9f..e7a4e692 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDMetricsBetaTesterUsages.swift @@ -13,16 +13,23 @@ extension APIEndpoint.V1.BetaTesters.WithID.Metrics { /// Path: `/v1/betaTesters/{id}/metrics/betaTesterUsages` public let path: String - public func get(parameters: GetParameters? = nil) -> Request { - Request(path: path, method: "GET", query: parameters?.asQuery, id: "betaTesters-betaTesterUsages-get_metrics") + public func get(parameters: GetParameters) -> Request { + Request(path: path, method: "GET", query: parameters.asQuery, id: "betaTesters-betaTesterUsages-get_metrics") } public struct GetParameters { public var limit: Int? - public var filterApps: String? - public var period: String? + public var filterApps: String + public var period: Period? - public init(limit: Int? = nil, filterApps: String? = nil, period: String? = nil) { + public enum Period: String, Codable, CaseIterable { + case p7d = "P7D" + case p30d = "P30D" + case p90d = "P90D" + case p365d = "P365D" + } + + public init(limit: Int? = nil, filterApps: String, period: Period? = nil) { self.limit = limit self.filterApps = filterApps self.period = period diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift index 0bb467eb..6074e4f8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift @@ -68,6 +68,7 @@ extension APIEndpoint.V1 { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum FilterProcessingState: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift index b00bc290..87053815 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildActionsWithIDBuildRun.swift @@ -70,6 +70,9 @@ extension APIEndpoint.V1.CiBuildActions.WithID { case isLockedForEditing case lastModifiedDate case macOsVersion + case manualBranchStartCondition + case manualPullRequestStartCondition + case manualTagStartCondition case name case product case pullRequestStartCondition diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift index d1233fae..45f6354a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift @@ -68,6 +68,7 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum FilterProcessingState: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift index ab4fe920..6e8feff8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift @@ -87,6 +87,9 @@ extension APIEndpoint.V1 { case isLockedForEditing case lastModifiedDate case macOsVersion + case manualBranchStartCondition + case manualPullRequestStartCondition + case manualTagStartCondition case name case product case pullRequestStartCondition diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift index e74935bd..ace4c5fd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift @@ -79,6 +79,9 @@ extension APIEndpoint.V1.CiProducts { case isLockedForEditing case lastModifiedDate case macOsVersion + case manualBranchStartCondition + case manualPullRequestStartCondition + case manualTagStartCondition case name case product case pullRequestStartCondition diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift index d3200119..9c7c8c64 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift @@ -284,7 +284,6 @@ extension APIEndpoint.V1.CiProducts.WithID { case app case appStoreReviewScreenshot case apps - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift index 38c712b2..b352c51b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDBuildRuns.swift @@ -19,6 +19,7 @@ extension APIEndpoint.V1.CiProducts.WithID { public struct GetParameters { public var filterBuilds: [String]? + public var sort: [Sort]? public var fieldsScmGitReferences: [FieldsScmGitReferences]? public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? public var fieldsCiWorkflows: [FieldsCiWorkflows]? @@ -29,6 +30,11 @@ extension APIEndpoint.V1.CiProducts.WithID { public var limitBuilds: Int? public var include: [Include]? + public enum Sort: String, Codable, CaseIterable { + case number + case minusnumber = "-number" + } + public enum FieldsScmGitReferences: String, Codable, CaseIterable { case canonicalName case isDeleted @@ -72,6 +78,9 @@ extension APIEndpoint.V1.CiProducts.WithID { case isLockedForEditing case lastModifiedDate case macOsVersion + case manualBranchStartCondition + case manualPullRequestStartCondition + case manualTagStartCondition case name case product case pullRequestStartCondition @@ -144,8 +153,9 @@ extension APIEndpoint.V1.CiProducts.WithID { case workflow } - public init(filterBuilds: [String]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, limitBuilds: Int? = nil, include: [Include]? = nil) { + public init(filterBuilds: [String]? = nil, sort: [Sort]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, limitBuilds: Int? = nil, include: [Include]? = nil) { self.filterBuilds = filterBuilds + self.sort = sort self.fieldsScmGitReferences = fieldsScmGitReferences self.fieldsCiBuildRuns = fieldsCiBuildRuns self.fieldsCiWorkflows = fieldsCiWorkflows @@ -160,6 +170,7 @@ extension APIEndpoint.V1.CiProducts.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterBuilds, forKey: "filter[builds]") + encoder.encode(sort, forKey: "sort") encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") encoder.encode(fieldsCiWorkflows, forKey: "fields[ciWorkflows]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift index f3a52ce2..3150bf65 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDWorkflows.swift @@ -44,6 +44,9 @@ extension APIEndpoint.V1.CiProducts.WithID { case isLockedForEditing case lastModifiedDate case macOsVersion + case manualBranchStartCondition + case manualPullRequestStartCondition + case manualTagStartCondition case name case product case pullRequestStartCondition diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift index f5bb83e8..84385a17 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithID.swift @@ -34,6 +34,9 @@ extension APIEndpoint.V1.CiWorkflows { case isLockedForEditing case lastModifiedDate case macOsVersion + case manualBranchStartCondition + case manualPullRequestStartCondition + case manualTagStartCondition case name case product case pullRequestStartCondition diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift index 8e36a444..84bd27f3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiWorkflowsWithIDBuildRuns.swift @@ -19,6 +19,7 @@ extension APIEndpoint.V1.CiWorkflows.WithID { public struct GetParameters { public var filterBuilds: [String]? + public var sort: [Sort]? public var fieldsScmGitReferences: [FieldsScmGitReferences]? public var fieldsCiBuildRuns: [FieldsCiBuildRuns]? public var fieldsCiWorkflows: [FieldsCiWorkflows]? @@ -29,6 +30,11 @@ extension APIEndpoint.V1.CiWorkflows.WithID { public var limitBuilds: Int? public var include: [Include]? + public enum Sort: String, Codable, CaseIterable { + case number + case minusnumber = "-number" + } + public enum FieldsScmGitReferences: String, Codable, CaseIterable { case canonicalName case isDeleted @@ -72,6 +78,9 @@ extension APIEndpoint.V1.CiWorkflows.WithID { case isLockedForEditing case lastModifiedDate case macOsVersion + case manualBranchStartCondition + case manualPullRequestStartCondition + case manualTagStartCondition case name case product case pullRequestStartCondition @@ -144,8 +153,9 @@ extension APIEndpoint.V1.CiWorkflows.WithID { case workflow } - public init(filterBuilds: [String]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, limitBuilds: Int? = nil, include: [Include]? = nil) { + public init(filterBuilds: [String]? = nil, sort: [Sort]? = nil, fieldsScmGitReferences: [FieldsScmGitReferences]? = nil, fieldsCiBuildRuns: [FieldsCiBuildRuns]? = nil, fieldsCiWorkflows: [FieldsCiWorkflows]? = nil, fieldsScmPullRequests: [FieldsScmPullRequests]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, limitBuilds: Int? = nil, include: [Include]? = nil) { self.filterBuilds = filterBuilds + self.sort = sort self.fieldsScmGitReferences = fieldsScmGitReferences self.fieldsCiBuildRuns = fieldsCiBuildRuns self.fieldsCiWorkflows = fieldsCiWorkflows @@ -160,6 +170,7 @@ extension APIEndpoint.V1.CiWorkflows.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterBuilds, forKey: "filter[builds]") + encoder.encode(sort, forKey: "sort") encoder.encode(fieldsScmGitReferences, forKey: "fields[scmGitReferences]") encoder.encode(fieldsCiBuildRuns, forKey: "fields[ciBuildRuns]") encoder.encode(fieldsCiWorkflows, forKey: "fields[ciWorkflows]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift index 62a0774e..17cf3e6b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsClassicMatchmakingRequests.swift @@ -19,7 +19,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Metrics { public struct GetParameters { public var limit: Int? - public var granularity: [Granularity] + public var granularity: Granularity public var groupBy: [GroupBy]? public var filterResult: FilterResult? public var sort: [Sort]? @@ -51,7 +51,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Metrics { case minusp95SecondsInQueue = "-p95SecondsInQueue" } - public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, sort: [Sort]? = nil) { + public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, sort: [Sort]? = nil) { self.limit = limit self.granularity = granularity self.groupBy = groupBy diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift index d8598625..f1d0ea63 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDMetricsRuleBasedMatchmakingRequests.swift @@ -19,7 +19,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Metrics { public struct GetParameters { public var limit: Int? - public var granularity: [Granularity] + public var granularity: Granularity public var groupBy: [GroupBy]? public var filterResult: FilterResult? public var sort: [Sort]? @@ -51,7 +51,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID.Metrics { case minusp95SecondsInQueue = "-p95SecondsInQueue" } - public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, sort: [Sort]? = nil) { + public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, sort: [Sort]? = nil) { self.limit = limit self.granularity = granularity self.groupBy = groupBy diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift index 9e94806c..7ad838ec 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift @@ -34,6 +34,7 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum Sort: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardEntrySubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardEntrySubmissions.swift new file mode 100644 index 00000000..8e434c57 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterLeaderboardEntrySubmissions.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var gameCenterLeaderboardEntrySubmissions: GameCenterLeaderboardEntrySubmissions { + GameCenterLeaderboardEntrySubmissions(path: path + "/gameCenterLeaderboardEntrySubmissions") + } + + public struct GameCenterLeaderboardEntrySubmissions { + /// Path: `/v1/gameCenterLeaderboardEntrySubmissions` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterLeaderboardEntrySubmissionCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "gameCenterLeaderboardEntrySubmissions-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift index a032f685..30029d71 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueues.swift @@ -23,6 +23,7 @@ extension APIEndpoint.V1 { public var include: [Include]? public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { + case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" case experimentRuleSet case referenceName case ruleSet diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift index 281bb349..2ef6ba50 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithID.swift @@ -25,6 +25,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues { } public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { + case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" case experimentRuleSet case referenceName case ruleSet diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift index 2835b579..9c46619b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingQueueSizes.swift @@ -19,7 +19,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { public struct GetParameters { public var limit: Int? - public var granularity: [Granularity] + public var granularity: Granularity public var sort: [Sort]? public enum Granularity: String, Codable, CaseIterable { @@ -39,7 +39,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { case minusp95NumberOfRequests = "-p95NumberOfRequests" } - public init(limit: Int? = nil, granularity: [Granularity], sort: [Sort]? = nil) { + public init(limit: Int? = nil, granularity: Granularity, sort: [Sort]? = nil) { self.limit = limit self.granularity = granularity self.sort = sort diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift index 143001d7..2eae53bf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsExperimentMatchmakingRequests.swift @@ -19,7 +19,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { public struct GetParameters { public var limit: Int? - public var granularity: [Granularity] + public var granularity: Granularity public var groupBy: [GroupBy]? public var filterResult: FilterResult? public var filterGameCenterDetail: String? @@ -53,7 +53,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { case minusp95SecondsInQueue = "-p95SecondsInQueue" } - public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, filterGameCenterDetail: String? = nil, sort: [Sort]? = nil) { + public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, filterGameCenterDetail: String? = nil, sort: [Sort]? = nil) { self.limit = limit self.granularity = granularity self.groupBy = groupBy diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift index c9a44a20..9bd18114 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingQueueSizes.swift @@ -19,7 +19,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { public struct GetParameters { public var limit: Int? - public var granularity: [Granularity] + public var granularity: Granularity public var sort: [Sort]? public enum Granularity: String, Codable, CaseIterable { @@ -39,7 +39,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { case minusp95NumberOfRequests = "-p95NumberOfRequests" } - public init(limit: Int? = nil, granularity: [Granularity], sort: [Sort]? = nil) { + public init(limit: Int? = nil, granularity: Granularity, sort: [Sort]? = nil) { self.limit = limit self.granularity = granularity self.sort = sort diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift index b5c832a2..a6544906 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingRequests.swift @@ -19,7 +19,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { public struct GetParameters { public var limit: Int? - public var granularity: [Granularity] + public var granularity: Granularity public var groupBy: [GroupBy]? public var filterResult: FilterResult? public var filterGameCenterDetail: String? @@ -53,7 +53,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { case minusp95SecondsInQueue = "-p95SecondsInQueue" } - public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, filterGameCenterDetail: String? = nil, sort: [Sort]? = nil) { + public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: FilterResult? = nil, filterGameCenterDetail: String? = nil, sort: [Sort]? = nil) { self.limit = limit self.granularity = granularity self.groupBy = groupBy diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift index be9b4715..0645a0a5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingQueuesWithIDMetricsMatchmakingSessions.swift @@ -19,7 +19,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { public struct GetParameters { public var limit: Int? - public var granularity: [Granularity] + public var granularity: Granularity public var sort: [Sort]? public enum Granularity: String, Codable, CaseIterable { @@ -39,7 +39,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingQueues.WithID.Metrics { case minusp95PlayerCount = "-p95PlayerCount" } - public init(limit: Int? = nil, granularity: [Granularity], sort: [Sort]? = nil) { + public init(limit: Int? = nil, granularity: Granularity, sort: [Sort]? = nil) { self.limit = limit self.granularity = granularity self.sort = sort diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift index 3862d41c..d5778ee2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSets.swift @@ -45,6 +45,7 @@ extension APIEndpoint.V1 { } public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { + case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" case experimentRuleSet case referenceName case ruleSet diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift index b65e6a38..4606e80e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithID.swift @@ -44,6 +44,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets { } public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { + case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" case experimentRuleSet case referenceName case ruleSet diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift index 1e2949a2..2b24f98b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRuleSetsWithIDMatchmakingQueues.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRuleSets.WithID { public var include: [Include]? public enum FieldsGameCenterMatchmakingQueues: String, Codable, CaseIterable { + case classicMatchmakingBundleIDs = "classicMatchmakingBundleIds" case experimentRuleSet case referenceName case ruleSet diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift index 92495ce0..369e1e73 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingBooleanRuleResults.swift @@ -19,7 +19,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { public struct GetParameters { public var limit: Int? - public var granularity: [Granularity] + public var granularity: Granularity public var groupBy: [GroupBy]? public var filterResult: String? public var filterGameCenterMatchmakingQueue: String? @@ -41,7 +41,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { case minuscount = "-count" } - public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterResult: String? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { + public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterResult: String? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { self.limit = limit self.granularity = granularity self.groupBy = groupBy diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift index 01fc0a06..b9448b03 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingNumberRuleResults.swift @@ -19,7 +19,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { public struct GetParameters { public var limit: Int? - public var granularity: [Granularity] + public var granularity: Granularity public var groupBy: [GroupBy]? public var filterGameCenterMatchmakingQueue: String? public var sort: [Sort]? @@ -45,7 +45,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { case minusp95Result = "-p95Result" } - public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { + public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { self.limit = limit self.granularity = granularity self.groupBy = groupBy diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift index 07dd30f8..9c77d638 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterMatchmakingRulesWithIDMetricsMatchmakingRuleErrors.swift @@ -19,7 +19,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { public struct GetParameters { public var limit: Int? - public var granularity: [Granularity] + public var granularity: Granularity public var groupBy: [GroupBy]? public var filterGameCenterMatchmakingQueue: String? public var sort: [Sort]? @@ -39,7 +39,7 @@ extension APIEndpoint.V1.GameCenterMatchmakingRules.WithID.Metrics { case minuscount = "-count" } - public init(limit: Int? = nil, granularity: [Granularity], groupBy: [GroupBy]? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { + public init(limit: Int? = nil, granularity: Granularity, groupBy: [GroupBy]? = nil, filterGameCenterMatchmakingQueue: String? = nil, sort: [Sort]? = nil) { self.limit = limit self.granularity = granularity self.groupBy = groupBy diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterPlayerAchievementSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterPlayerAchievementSubmissions.swift new file mode 100644 index 00000000..27f5307b --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterPlayerAchievementSubmissions.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var gameCenterPlayerAchievementSubmissions: GameCenterPlayerAchievementSubmissions { + GameCenterPlayerAchievementSubmissions(path: path + "/gameCenterPlayerAchievementSubmissions") + } + + public struct GameCenterPlayerAchievementSubmissions { + /// Path: `/v1/gameCenterPlayerAchievementSubmissions` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.GameCenterPlayerAchievementSubmissionCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "gameCenterPlayerAchievementSubmissions-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift index 211af22e..92e9f68b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift @@ -44,6 +44,7 @@ extension APIEndpoint.V1 { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum Sort: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift index e716ab80..e5028f2d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissions.swift @@ -31,6 +31,7 @@ extension APIEndpoint.V1 { case ios = "IOS" case macOs = "MAC_OS" case tvOs = "TV_OS" + case visionOs = "VISION_OS" } public enum FilterState: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift index 49e75ffb..a974e52c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SalesReports.swift @@ -35,6 +35,9 @@ extension APIEndpoint.V1 { public enum FilterReportSubType: String, Codable, CaseIterable { case summary = "SUMMARY" case detailed = "DETAILED" + case summaryInstallType = "SUMMARY_INSTALL_TYPE" + case summaryTerritory = "SUMMARY_TERRITORY" + case summaryChannel = "SUMMARY_CHANNEL" } public enum FilterReportType: String, Codable, CaseIterable { @@ -45,6 +48,7 @@ extension APIEndpoint.V1 { case subscriptionEvent = "SUBSCRIPTION_EVENT" case subscriber = "SUBSCRIBER" case subscriptionOfferCodeRedemption = "SUBSCRIPTION_OFFER_CODE_REDEMPTION" + case installs = "INSTALLS" } public init(filterFrequency: [FilterFrequency], filterReportDate: [String]? = nil, filterReportSubType: [FilterReportSubType], filterReportType: [FilterReportType], filterVendorNumber: [String], filterVersion: [String]? = nil) { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift index c4f928f8..64bc3c72 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithID.swift @@ -39,7 +39,6 @@ extension APIEndpoint.V1.SubscriptionGroups { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift index d760c560..df171265 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionGroupsWithIDSubscriptions.swift @@ -108,7 +108,6 @@ extension APIEndpoint.V1.SubscriptionGroups.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift index 101bc7dd..db27812f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithID.swift @@ -37,7 +37,6 @@ extension APIEndpoint.V1.Subscriptions { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift index babfe0ba..edd3d581 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDAppStoreReviewScreenshot.swift @@ -37,7 +37,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift index de17e4a1..edecf041 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDIntroductoryOffers.swift @@ -37,7 +37,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift index c2408e8d..6ba4a776 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDOfferCodes.swift @@ -65,7 +65,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift index 25c9c3b6..125156f5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotedPurchase.swift @@ -37,7 +37,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel @@ -59,7 +58,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { public enum FieldsInAppPurchases: String, Codable, CaseIterable { case app case appStoreReviewScreenshot - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift index eb6da416..2a6c1f4d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDPromotionalOffers.swift @@ -38,7 +38,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift index 105e1c6a..b0ad66a3 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionAvailability.swift @@ -32,7 +32,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift index f65bae53..692f2b20 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1SubscriptionsWithIDSubscriptionLocalizations.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V1.Subscriptions.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift index db465c81..09449faf 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift @@ -42,7 +42,6 @@ extension APIEndpoint.V1 { case createApps = "CREATE_APPS" case cloudManagedDeveloperID = "CLOUD_MANAGED_DEVELOPER_ID" case cloudManagedAppDistribution = "CLOUD_MANAGED_APP_DISTRIBUTION" - case generateIndividualKeys = "GENERATE_INDIVIDUAL_KEYS" } public enum Sort: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift index 88c2dba8..f1b4ed90 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift @@ -42,7 +42,6 @@ extension APIEndpoint.V1 { case createApps = "CREATE_APPS" case cloudManagedDeveloperID = "CLOUD_MANAGED_DEVELOPER_ID" case cloudManagedAppDistribution = "CLOUD_MANAGED_APP_DISTRIBUTION" - case generateIndividualKeys = "GENERATE_INDIVIDUAL_KEYS" } public enum Sort: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift index 4acc4264..f037a24c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithID.swift @@ -33,7 +33,6 @@ extension APIEndpoint.V2.InAppPurchases { public enum FieldsInAppPurchases: String, Codable, CaseIterable { case app case appStoreReviewScreenshot - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift index 1479c709..a7fb82c6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDAppStoreReviewScreenshot.swift @@ -38,7 +38,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public enum FieldsInAppPurchases: String, Codable, CaseIterable { case app case appStoreReviewScreenshot - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift index d613f3a3..36c65d35 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDContent.swift @@ -25,7 +25,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public enum FieldsInAppPurchases: String, Codable, CaseIterable { case app case appStoreReviewScreenshot - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift index 9ef86aba..b56ffb2c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDIapPriceSchedule.swift @@ -38,7 +38,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public enum FieldsInAppPurchases: String, Codable, CaseIterable { case app case appStoreReviewScreenshot - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift index a8aac3fd..80564e03 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDInAppPurchaseLocalizations.swift @@ -34,7 +34,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public enum FieldsInAppPurchases: String, Codable, CaseIterable { case app case appStoreReviewScreenshot - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift index 8328040e..1d8215c6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV2InAppPurchasesWithIDPromotedPurchase.swift @@ -37,7 +37,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public enum FieldsSubscriptions: String, Codable, CaseIterable { case appStoreReviewScreenshot - case availableInAllTerritories case familySharable case group case groupLevel @@ -59,7 +58,6 @@ extension APIEndpoint.V2.InAppPurchases.WithID { public enum FieldsInAppPurchases: String, Codable, CaseIterable { case app case appStoreReviewScreenshot - case availableInAllTerritories case content case contentHosting case familySharable diff --git a/Sources/OpenAPI/app_store_connect_api.json b/Sources/OpenAPI/app_store_connect_api.json index 33426936..ce59bbe4 100644 --- a/Sources/OpenAPI/app_store_connect_api.json +++ b/Sources/OpenAPI/app_store_connect_api.json @@ -2,7 +2,7 @@ "openapi": "3.0.1", "info": { "title": "App Store Connect API", - "version": "3.1", + "version": "3.2", "x-platform": "app_store_connect_api" }, "servers": [ @@ -75,6 +75,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -138,6 +148,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -211,6 +231,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -294,6 +324,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -415,6 +455,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -489,6 +539,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -607,6 +667,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -670,7 +740,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -759,6 +830,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -849,6 +930,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -922,6 +1013,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -997,6 +1098,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1056,6 +1167,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1139,6 +1260,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1250,6 +1381,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1309,6 +1450,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1392,6 +1543,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1479,6 +1640,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1538,6 +1709,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1621,6 +1802,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1735,6 +1926,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1794,6 +1995,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1852,6 +2063,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -1928,6 +2149,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2107,6 +2338,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2166,6 +2407,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2224,6 +2475,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2300,6 +2561,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2393,6 +2664,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2452,6 +2733,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2510,6 +2801,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2677,6 +2978,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2750,6 +3061,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2906,6 +3227,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -2965,6 +3296,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3023,6 +3364,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3099,6 +3450,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3221,6 +3582,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3294,6 +3665,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3418,6 +3799,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3477,6 +3868,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3535,6 +3936,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3611,6 +4022,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3688,6 +4109,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3747,6 +4178,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -3820,7 +4261,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -4026,6 +4468,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -4216,6 +4668,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -4289,6 +4751,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -4456,6 +4928,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -4515,6 +4997,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -4573,6 +5065,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -4649,6 +5151,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -4743,6 +5255,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -4802,6 +5324,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -4860,6 +5392,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -4936,6 +5478,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -5031,6 +5583,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -5090,6 +5652,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -5148,6 +5720,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -5224,6 +5806,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -5355,57 +5947,77 @@ } } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single AppEvent", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppEventResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "AppEvents" - ], - "operationId": "appEvents-update_instance", - "requestBody": { - "description": "AppEvent representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppEventUpdateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AppEvent", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEventResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "AppEvents" + ], + "operationId": "appEvents-update_instance", + "requestBody": { + "description": "AppEvent representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppEventUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -5472,6 +6084,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -5548,6 +6170,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -5640,6 +6272,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -5699,6 +6341,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -5757,6 +6409,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -5965,6 +6627,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6024,6 +6696,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6108,6 +6790,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6197,6 +6889,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6257,6 +6959,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6316,6 +7028,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6392,6 +7114,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6523,6 +7255,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6571,6 +7313,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6647,6 +7399,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6743,6 +7505,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6802,6 +7574,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6860,6 +7642,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -6966,6 +7758,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -7125,6 +7927,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -7223,6 +8035,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -7296,6 +8118,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -7448,6 +8280,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -7604,6 +8446,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -7714,6 +8566,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -7815,6 +8677,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -7888,6 +8760,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8018,6 +8900,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8066,6 +8958,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8142,6 +9044,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8237,6 +9149,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8296,6 +9218,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8354,6 +9286,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8430,6 +9372,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8522,6 +9474,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8581,6 +9543,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8639,6 +9611,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8715,6 +9697,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8845,6 +9837,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8904,6 +9906,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -8987,6 +9999,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9142,6 +10164,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9190,6 +10222,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9266,6 +10308,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9391,6 +10443,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9450,6 +10512,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9508,6 +10580,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9584,6 +10666,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9729,6 +10821,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9788,6 +10890,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9846,6 +10958,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -9923,6 +11045,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10053,6 +11185,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10113,6 +11255,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10172,6 +11324,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10248,6 +11410,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10409,6 +11581,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10468,6 +11650,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10526,6 +11718,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10602,6 +11804,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10663,6 +11875,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10721,6 +11943,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10797,6 +12029,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10858,6 +12100,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10920,6 +12172,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -10971,6 +12233,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -11047,6 +12319,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -11458,6 +12740,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -11517,6 +12809,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -11575,6 +12877,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -11676,7 +12988,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -12314,7 +13627,6 @@ "app", "appStoreReviewScreenshot", "apps", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -12857,6 +14169,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -13403,7 +14725,6 @@ "app", "appStoreReviewScreenshot", "apps", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -13946,6 +15267,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14005,6 +15336,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14088,6 +15429,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14149,6 +15500,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14207,6 +15568,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14283,6 +15654,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14382,6 +15763,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14441,6 +15832,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14499,6 +15900,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14704,6 +16115,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14753,6 +16174,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14905,6 +16336,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -14964,6 +16405,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -15022,6 +16473,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -15215,6 +16676,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -15359,6 +16830,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -15418,6 +16899,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -15612,6 +17103,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -15661,6 +17162,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -15789,6 +17300,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -15967,6 +17488,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -16016,6 +17547,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -16144,6 +17685,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -16203,6 +17754,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -16261,6 +17822,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -16668,6 +18239,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -16717,6 +18298,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -16963,6 +18554,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -17022,6 +18623,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -17080,6 +18691,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -17266,6 +18887,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -17403,6 +19034,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -17462,6 +19103,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -17545,6 +19196,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -17952,6 +19613,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -18001,6 +19672,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -18258,6 +19939,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -18306,6 +19997,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -18491,6 +20192,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -18610,6 +20321,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -18669,6 +20390,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -18752,6 +20483,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -18855,7 +20596,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -19449,6 +21191,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -19901,6 +21653,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -19960,6 +21722,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -20043,6 +21815,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -20104,6 +21886,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -20162,6 +21954,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -20509,6 +22311,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -20558,6 +22370,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -20780,6 +22602,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -20839,6 +22671,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -20897,6 +22739,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -21091,6 +22943,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -21140,6 +23002,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -21216,6 +23088,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -21264,6 +23146,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -21351,6 +23243,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -21559,6 +23461,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -21632,6 +23544,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -21822,6 +23744,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -21906,6 +23838,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -22047,6 +23989,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -22156,6 +24108,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -22350,6 +24312,9 @@ "isLockedForEditing", "lastModifiedDate", "macOsVersion", + "manualBranchStartCondition", + "manualPullRequestStartCondition", + "manualTagStartCondition", "name", "product", "pullRequestStartCondition", @@ -22472,6 +24437,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -22602,6 +24577,9 @@ "isLockedForEditing", "lastModifiedDate", "macOsVersion", + "manualBranchStartCondition", + "manualPullRequestStartCondition", + "manualTagStartCondition", "name", "product", "pullRequestStartCondition", @@ -22724,6 +24702,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -22772,6 +24760,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -22861,6 +24859,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -22934,6 +24942,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -22993,6 +25011,9 @@ "isLockedForEditing", "lastModifiedDate", "macOsVersion", + "manualBranchStartCondition", + "manualPullRequestStartCondition", + "manualTagStartCondition", "name", "product", "pullRequestStartCondition", @@ -23101,6 +25122,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -23160,6 +25191,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -23218,6 +25259,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -23362,6 +25413,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -23471,6 +25532,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -23544,6 +25615,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -23633,6 +25714,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -23681,6 +25772,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -23808,6 +25909,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24009,6 +26120,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24058,6 +26179,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24133,6 +26264,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24192,6 +26333,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24275,6 +26426,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24336,6 +26497,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24453,6 +26624,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24512,6 +26693,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24570,6 +26761,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24697,6 +26898,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24748,6 +26959,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24840,6 +27061,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24899,6 +27130,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -24957,6 +27198,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25033,6 +27284,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25175,6 +27436,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25234,6 +27505,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25292,6 +27573,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25368,6 +27659,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25457,6 +27758,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25505,6 +27816,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25581,6 +27902,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25744,6 +28075,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25803,6 +28144,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25861,6 +28212,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -25937,6 +28298,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -26073,6 +28444,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -26132,6 +28513,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -26215,6 +28606,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -26581,6 +28982,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -26640,6 +29051,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -26936,6 +29357,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -26985,6 +29416,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -27235,57 +29676,77 @@ } } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterGroup", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterGroupResponse" - } - } - } - } - } - }, - "patch": { - "tags": [ - "GameCenterGroups" - ], - "operationId": "gameCenterGroups-update_instance", - "requestBody": { - "description": "GameCenterGroup representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterGroupUpdateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single GameCenterGroup", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterGroupResponse" + } + } + } + } + } + }, + "patch": { + "tags": [ + "GameCenterGroups" + ], + "operationId": "gameCenterGroups-update_instance", + "requestBody": { + "description": "GameCenterGroup representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterGroupUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -27352,6 +29813,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -27400,6 +29871,77 @@ } ] }, + "/v1/gameCenterLeaderboardEntrySubmissions": { + "post": { + "tags": [ + "GameCenterLeaderboardEntrySubmissions" + ], + "operationId": "gameCenterLeaderboardEntrySubmissions-create_instance", + "requestBody": { + "description": "GameCenterLeaderboardEntrySubmission representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardEntrySubmissionCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single GameCenterLeaderboardEntrySubmission", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardEntrySubmissionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, "/v1/gameCenterLeaderboardImages": { "post": { "tags": [ @@ -27428,6 +29970,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -27520,6 +30072,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -27579,6 +30141,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -27637,6 +30209,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -27713,6 +30295,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -27829,6 +30421,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -27888,6 +30490,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -27946,6 +30558,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28022,6 +30644,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28111,6 +30743,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28159,6 +30801,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28235,6 +30887,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28327,6 +30989,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28386,6 +31058,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28444,6 +31126,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28520,6 +31212,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28633,6 +31335,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28692,6 +31404,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28750,6 +31472,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28950,6 +31682,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -28999,6 +31741,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -29060,56 +31812,8 @@ } } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterLeaderboardSetMemberLocalization", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "GameCenterLeaderboardSetMemberLocalizations" - ], - "operationId": "gameCenterLeaderboardSetMemberLocalizations-delete_instance", - "responses": { - "400": { - "description": "Parameter error(s)", + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -29138,78 +31842,12 @@ } } }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/gameCenterLeaderboardSetReleases": { - "post": { - "tags": [ - "GameCenterLeaderboardSetReleases" - ], - "operationId": "gameCenterLeaderboardSetReleases-create_instance", - "requestBody": { - "description": "GameCenterLeaderboardSetRelease representation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "400": { - "description": "Parameter error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "201": { - "description": "Single GameCenterLeaderboardSetRelease", + "200": { + "description": "Single GameCenterLeaderboardSetMemberLocalization", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseResponse" + "$ref": "#/components/schemas/GameCenterLeaderboardSetMemberLocalizationResponse" } } } @@ -29225,53 +31863,12 @@ } } } - } - }, - "/v1/gameCenterLeaderboardSetReleases/{id}": { - "get": { + }, + "delete": { "tags": [ - "GameCenterLeaderboardSetReleases" - ], - "operationId": "gameCenterLeaderboardSetReleases-get_instance", - "parameters": [ - { - "name": "fields[gameCenterLeaderboardSetReleases]", - "in": "query", - "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet", - "live" - ] - } - }, - "style": "form", - "explode": false, - "required": false - }, - { - "name": "include", - "in": "query", - "description": "comma-separated list of relationships to include", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "gameCenterDetail", - "gameCenterLeaderboardSet" - ] - } - }, - "style": "form", - "explode": false, - "required": false - } + "GameCenterLeaderboardSetMemberLocalizations" ], + "operationId": "gameCenterLeaderboardSetMemberLocalizations-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -29283,46 +31880,251 @@ } } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "Single GameCenterLeaderboardSetRelease", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseResponse" - } - } - } - } - } - }, - "delete": { - "tags": [ - "GameCenterLeaderboardSetReleases" - ], - "operationId": "gameCenterLeaderboardSetReleases-delete_instance", - "responses": { - "400": { - "description": "Parameter error(s)", + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/gameCenterLeaderboardSetReleases": { + "post": { + "tags": [ + "GameCenterLeaderboardSetReleases" + ], + "operationId": "gameCenterLeaderboardSetReleases-create_instance", + "requestBody": { + "description": "GameCenterLeaderboardSetRelease representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single GameCenterLeaderboardSetRelease", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/gameCenterLeaderboardSetReleases/{id}": { + "get": { + "tags": [ + "GameCenterLeaderboardSetReleases" + ], + "operationId": "gameCenterLeaderboardSetReleases-get_instance", + "parameters": [ + { + "name": "fields[gameCenterLeaderboardSetReleases]", + "in": "query", + "description": "the fields to include for returned resources of type gameCenterLeaderboardSetReleases", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterLeaderboardSet", + "live" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "gameCenterDetail", + "gameCenterLeaderboardSet" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single GameCenterLeaderboardSetRelease", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterLeaderboardSetReleaseResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "GameCenterLeaderboardSetReleases" + ], + "operationId": "gameCenterLeaderboardSetReleases-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -29407,6 +32209,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -29610,6 +32422,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -29669,6 +32491,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -29727,6 +32559,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -29803,6 +32645,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -29985,6 +32837,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30044,6 +32906,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30102,6 +32974,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30166,6 +33048,7 @@ "items": { "type": "string", "enum": [ + "classicMatchmakingBundleIds", "experimentRuleSet", "referenceName", "ruleSet" @@ -30216,6 +33099,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30265,6 +33158,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30314,6 +33217,7 @@ "items": { "type": "string", "enum": [ + "classicMatchmakingBundleIds", "experimentRuleSet", "referenceName", "ruleSet" @@ -30354,6 +33258,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30413,6 +33327,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30471,6 +33395,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30547,6 +33481,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30648,6 +33592,7 @@ "items": { "type": "string", "enum": [ + "classicMatchmakingBundleIds", "experimentRuleSet", "referenceName", "ruleSet" @@ -30745,6 +33690,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30794,6 +33749,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -30885,6 +33850,7 @@ "items": { "type": "string", "enum": [ + "classicMatchmakingBundleIds", "experimentRuleSet", "referenceName", "ruleSet" @@ -30982,6 +33948,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31041,6 +34017,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31099,6 +34085,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31175,6 +34171,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31236,6 +34242,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31294,6 +34310,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31370,6 +34396,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31431,6 +34467,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31489,6 +34535,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31537,6 +34593,77 @@ } ] }, + "/v1/gameCenterPlayerAchievementSubmissions": { + "post": { + "tags": [ + "GameCenterPlayerAchievementSubmissions" + ], + "operationId": "gameCenterPlayerAchievementSubmissions-create_instance", + "requestBody": { + "description": "GameCenterPlayerAchievementSubmission representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterPlayerAchievementSubmissionCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single GameCenterPlayerAchievementSubmission", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterPlayerAchievementSubmissionResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, "/v1/inAppPurchaseAppStoreReviewScreenshots": { "post": { "tags": [ @@ -31565,6 +34692,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31660,6 +34797,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31719,6 +34866,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31777,6 +34934,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31853,6 +35020,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -31969,6 +35146,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32071,6 +35258,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32144,6 +35341,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32234,6 +35441,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32293,6 +35510,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32351,6 +35578,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32427,6 +35664,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32580,6 +35827,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32653,6 +35910,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32755,6 +36022,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32828,6 +36105,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -32879,7 +36166,6 @@ "enum": [ "app", "appStoreReviewScreenshot", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -33108,6 +36394,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -33167,6 +36463,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -33225,6 +36531,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -33339,7 +36655,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -33578,6 +36895,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -33769,6 +37096,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34081,6 +37418,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34130,6 +37477,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34320,6 +37677,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34368,6 +37735,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34444,6 +37821,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34539,6 +37926,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34598,6 +37995,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34656,6 +38063,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34732,6 +38149,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34863,6 +38290,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34922,6 +38359,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -34980,6 +38427,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35056,6 +38513,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35117,6 +38584,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35175,6 +38652,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35241,7 +38728,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -35391,6 +38879,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35440,6 +38938,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35575,6 +39083,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35634,6 +39152,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35717,6 +39245,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35809,6 +39347,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35868,6 +39416,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -35926,6 +39484,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -36025,7 +39593,10 @@ "type": "string", "enum": [ "SUMMARY", - "DETAILED" + "DETAILED", + "SUMMARY_INSTALL_TYPE", + "SUMMARY_TERRITORY", + "SUMMARY_CHANNEL" ] } }, @@ -36048,7 +39619,8 @@ "SUBSCRIPTION", "SUBSCRIPTION_EVENT", "SUBSCRIBER", - "SUBSCRIPTION_OFFER_CODE_REDEMPTION" + "SUBSCRIPTION_OFFER_CODE_REDEMPTION", + "INSTALLS" ] } }, @@ -36096,6 +39668,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -36171,6 +39753,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -36222,6 +39814,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -36305,6 +39907,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -36395,6 +40007,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -36513,6 +40135,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -36599,6 +40231,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -36708,6 +40350,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -36888,6 +40540,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37022,6 +40684,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37095,6 +40767,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37190,6 +40872,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37249,6 +40941,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37307,6 +41009,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37383,6 +41095,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37500,6 +41222,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37584,6 +41316,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37643,6 +41385,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37726,6 +41478,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37816,6 +41578,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37875,6 +41647,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -37933,6 +41715,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38009,6 +41801,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38070,6 +41872,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38158,7 +41970,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -38237,6 +42048,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38296,6 +42117,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38354,6 +42185,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38430,6 +42271,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38491,6 +42342,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38549,6 +42410,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38625,6 +42496,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38715,6 +42596,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38774,6 +42665,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38832,6 +42733,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38908,6 +42819,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -38999,6 +42920,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39058,6 +42989,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39141,6 +43082,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39232,6 +43183,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39291,6 +43252,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39374,6 +43345,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39569,6 +43550,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39628,6 +43619,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39741,6 +43742,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39814,6 +43825,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39864,6 +43885,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -39940,6 +43971,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -40062,6 +44103,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -40121,6 +44172,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -40179,6 +44240,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -40255,6 +44326,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -40316,6 +44397,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -40366,7 +44457,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -40690,6 +44780,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -40749,6 +44849,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -40807,6 +44917,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -40901,6 +45021,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -40952,6 +45082,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -41049,8 +45189,7 @@ "IMAGE_MANAGER", "CREATE_APPS", "CLOUD_MANAGED_DEVELOPER_ID", - "CLOUD_MANAGED_APP_DISTRIBUTION", - "GENERATE_INDIVIDUAL_KEYS" + "CLOUD_MANAGED_APP_DISTRIBUTION" ] } }, @@ -41226,6 +45365,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -41275,6 +45424,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -41439,6 +45598,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -41487,6 +45656,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -41563,8 +45742,7 @@ "IMAGE_MANAGER", "CREATE_APPS", "CLOUD_MANAGED_DEVELOPER_ID", - "CLOUD_MANAGED_APP_DISTRIBUTION", - "GENERATE_INDIVIDUAL_KEYS" + "CLOUD_MANAGED_APP_DISTRIBUTION" ] } }, @@ -41753,6 +45931,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -41906,6 +46094,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -41965,6 +46163,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -42023,6 +46231,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -42167,6 +46385,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -42272,6 +46500,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -42368,6 +46606,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -42474,6 +46722,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -42610,6 +46868,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -42742,6 +47010,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -42923,6 +47201,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -42986,6 +47274,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -43035,6 +47333,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -43481,6 +47789,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -43738,6 +48056,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -43976,6 +48304,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -44065,7 +48403,8 @@ "IPAD_105", "IPAD_97", "DESKTOP", - "APPLE_TV" + "APPLE_TV", + "APPLE_VISION_PRO" ] } }, @@ -44259,6 +48598,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -44353,6 +48702,7 @@ "APP_WATCH_SERIES_4", "APP_WATCH_SERIES_3", "APP_APPLE_TV", + "APP_APPLE_VISION_PRO", "IMESSAGE_APP_IPHONE_67", "IMESSAGE_APP_IPHONE_61", "IMESSAGE_APP_IPHONE_65", @@ -44557,6 +48907,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -44775,6 +49135,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -44974,6 +49344,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -45111,6 +49491,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -45213,6 +49603,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -45277,6 +49677,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -45430,6 +49840,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -45581,6 +50001,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -45805,6 +50235,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -45915,6 +50355,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -46083,6 +50533,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -46206,6 +50666,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -46329,6 +50799,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -46452,6 +50932,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -46575,6 +51065,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -46698,6 +51198,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -46821,6 +51331,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -46895,6 +51415,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -46944,6 +51474,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -47083,6 +51623,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -47296,6 +51846,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -47396,6 +51956,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -47596,6 +52166,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -47690,6 +52270,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -47890,6 +52480,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -48060,6 +52660,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -48134,6 +52744,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -48183,6 +52803,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -48321,6 +52951,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -48472,6 +53112,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -48561,7 +53211,8 @@ "IPAD_105", "IPAD_97", "DESKTOP", - "APPLE_TV" + "APPLE_TV", + "APPLE_VISION_PRO" ] } }, @@ -48755,6 +53406,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -48849,6 +53510,7 @@ "APP_WATCH_SERIES_4", "APP_WATCH_SERIES_3", "APP_APPLE_TV", + "APP_APPLE_VISION_PRO", "IMESSAGE_APP_IPHONE_67", "IMESSAGE_APP_IPHONE_61", "IMESSAGE_APP_IPHONE_65", @@ -49053,6 +53715,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -49273,6 +53945,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -49458,6 +54140,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -49644,6 +54336,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -49733,7 +54435,8 @@ "IPAD_105", "IPAD_97", "DESKTOP", - "APPLE_TV" + "APPLE_TV", + "APPLE_VISION_PRO" ] } }, @@ -49927,6 +54630,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -50021,6 +54734,7 @@ "APP_WATCH_SERIES_4", "APP_WATCH_SERIES_3", "APP_APPLE_TV", + "APP_APPLE_VISION_PRO", "IMESSAGE_APP_IPHONE_67", "IMESSAGE_APP_IPHONE_61", "IMESSAGE_APP_IPHONE_65", @@ -50225,6 +54939,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -50336,6 +55060,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -50399,6 +55133,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -50448,6 +55192,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -50655,6 +55409,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -50842,6 +55606,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -51063,6 +55837,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -51357,6 +56141,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -51470,6 +56264,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -51568,6 +56372,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -51714,6 +56528,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -51777,6 +56601,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -51826,6 +56660,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -51932,6 +56776,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -52366,6 +57220,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -52466,6 +57330,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -52665,6 +57539,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -52892,6 +57776,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -53120,6 +58014,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -53197,7 +58101,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -53421,6 +58326,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -53622,6 +58537,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -53904,6 +58829,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -54117,6 +59052,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -54353,6 +59298,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -54647,6 +59602,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -54758,7 +59723,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -55192,6 +60158,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -55297,6 +60273,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -55407,6 +60393,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -55509,6 +60505,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -55626,6 +60632,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -55721,6 +60737,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -55784,6 +60810,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -55917,6 +60953,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -56152,6 +61198,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -56586,6 +61642,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -56682,6 +61748,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -57116,6 +62192,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -57194,7 +62280,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -57373,6 +62460,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -57621,6 +62718,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -57873,7 +62980,6 @@ "enum": [ "app", "appStoreReviewScreenshot", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -57984,6 +63090,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -58099,6 +63215,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -58196,6 +63322,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -58303,6 +63439,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -58548,6 +63694,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -58746,6 +63902,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -58820,6 +63986,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -58869,6 +64045,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -58956,7 +64142,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -58990,7 +64175,6 @@ "enum": [ "app", "appStoreReviewScreenshot", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -59085,6 +64269,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -59162,7 +64356,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -59406,6 +64601,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -59503,6 +64708,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -59634,7 +64849,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -59755,6 +64969,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -59892,6 +65116,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60029,6 +65263,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60146,6 +65390,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60263,6 +65517,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60400,6 +65664,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60474,6 +65748,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60523,6 +65807,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60575,6 +65869,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60674,6 +65978,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60748,6 +66062,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60797,6 +66121,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60849,6 +66183,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -60965,6 +66309,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -61102,6 +66456,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -61176,6 +66540,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -61225,6 +66599,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -61364,72 +66748,92 @@ } } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of Apps with get", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AppsWithoutIncludesResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/betaTesters/{id}/relationships/betaGroups": { - "get": { - "tags": [ - "BetaTesters" - ], - "operationId": "betaTesters-betaGroups-get_to_many_relationship", - "parameters": [ - { - "name": "limit", - "in": "query", - "description": "maximum resources per page", - "schema": { - "type": "integer", - "maximum": 200 - }, - "style": "form" - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of Apps with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AppsWithoutIncludesResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/betaTesters/{id}/relationships/betaGroups": { + "get": { + "tags": [ + "BetaTesters" + ], + "operationId": "betaTesters-betaGroups-get_to_many_relationship", + "parameters": [ + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -61487,6 +66891,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -61539,6 +66953,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -61645,6 +67069,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -61719,6 +67153,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -61768,6 +67212,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -61820,6 +67274,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -61936,6 +67400,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -62053,6 +67527,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -62148,6 +67632,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -62243,6 +67737,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -62393,6 +67897,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -62500,6 +68014,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -62637,6 +68161,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -62700,6 +68234,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -62749,6 +68293,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -62848,6 +68402,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -63305,6 +68869,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -63401,6 +68975,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -63507,6 +69091,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -63570,6 +69164,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -63622,6 +69226,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -63722,6 +69336,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -63846,6 +69470,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -63952,6 +69586,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -64026,6 +69670,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -64075,6 +69729,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -64127,6 +69791,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -64226,6 +69900,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -64341,6 +70025,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -64438,6 +70132,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -64575,6 +70279,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -64681,6 +70395,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -64795,6 +70519,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -64902,6 +70636,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -65043,6 +70787,9 @@ "isLockedForEditing", "lastModifiedDate", "macOsVersion", + "manualBranchStartCondition", + "manualPullRequestStartCondition", + "manualTagStartCondition", "name", "product", "pullRequestStartCondition", @@ -65189,6 +70936,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -65296,6 +71053,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -65405,6 +71172,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -65572,6 +71349,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -65698,7 +71485,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -66291,6 +72079,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -66442,6 +72240,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -66622,6 +72430,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -67083,7 +72901,6 @@ "app", "appStoreReviewScreenshot", "apps", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -67593,6 +73410,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -67672,6 +73499,23 @@ "style": "form", "explode": false }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "number", + "-number" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[scmGitReferences]", "in": "query", @@ -67747,6 +73591,9 @@ "isLockedForEditing", "lastModifiedDate", "macOsVersion", + "manualBranchStartCondition", + "manualPullRequestStartCondition", + "manualTagStartCondition", "name", "product", "pullRequestStartCondition", @@ -67903,6 +73750,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -68083,6 +73940,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -68187,6 +74054,9 @@ "isLockedForEditing", "lastModifiedDate", "macOsVersion", + "manualBranchStartCondition", + "manualPullRequestStartCondition", + "manualTagStartCondition", "name", "product", "pullRequestStartCondition", @@ -68307,6 +74177,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -68386,6 +74266,23 @@ "style": "form", "explode": false }, + { + "name": "sort", + "in": "query", + "description": "comma-separated list of sort expressions; resources will be sorted as specified", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "number", + "-number" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[scmGitReferences]", "in": "query", @@ -68461,6 +74358,9 @@ "isLockedForEditing", "lastModifiedDate", "macOsVersion", + "manualBranchStartCondition", + "manualPullRequestStartCondition", + "manualTagStartCondition", "name", "product", "pullRequestStartCondition", @@ -68617,6 +74517,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -68774,6 +74684,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -68925,6 +74845,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -69060,6 +74990,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -69134,6 +75074,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -69238,6 +75188,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -69469,6 +75429,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -69606,6 +75576,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -69669,6 +75649,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -69718,6 +75708,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -69938,6 +75938,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -70112,6 +76122,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -70315,6 +76335,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -70772,6 +76802,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -70846,6 +76886,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -70895,6 +76945,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -70947,6 +77007,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -71117,6 +77187,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -71320,6 +77400,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -71394,6 +77484,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -71443,6 +77543,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -71712,6 +77822,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -71893,6 +78013,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -72159,6 +78289,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -72233,6 +78373,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -72282,6 +78432,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -72576,6 +78736,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -72650,6 +78820,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -72699,6 +78879,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -73009,6 +79199,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -73218,6 +79418,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -73418,6 +79628,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -73493,6 +79713,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -73543,18 +79773,71 @@ "required": true }, "responses": { - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "patch": { + "tags": [ + "GameCenterEnabledVersions" + ], + "operationId": "gameCenterEnabledVersions-compatibleVersions-replace_to_many_relationship", + "deprecated": true, + "requestBody": { + "description": "List of related linkages", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" + } + } + }, + "required": true + }, + "responses": { + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -73563,39 +79846,6 @@ } } }, - "409": { - "description": "Request entity error(s)", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "204": { - "description": "Success (no content)" - } - } - }, - "patch": { - "tags": [ - "GameCenterEnabledVersions" - ], - "operationId": "gameCenterEnabledVersions-compatibleVersions-replace_to_many_relationship", - "deprecated": true, - "requestBody": { - "description": "List of related linkages", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest" - } - } - }, - "required": true - }, - "responses": { "403": { "description": "Forbidden error", "content": { @@ -73649,6 +79899,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -73716,7 +79976,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] } }, @@ -73908,6 +80169,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -73982,6 +80253,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -74031,6 +80312,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -74300,6 +80591,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -74757,6 +81058,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -74831,6 +81142,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -74880,6 +81201,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -75174,6 +81505,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -75248,6 +81589,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -75297,6 +81648,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -75607,6 +81968,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -75745,6 +82116,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -75880,6 +82261,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -76152,6 +82543,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -76421,6 +82822,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -76495,6 +82906,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -76544,6 +82965,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -76596,6 +83027,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -76648,6 +83089,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -76958,6 +83409,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -77021,6 +83482,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -77070,6 +83541,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -77328,6 +83809,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -77497,6 +83988,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -77697,6 +84198,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -77760,6 +84271,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -77809,6 +84330,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -78070,6 +84601,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -78251,6 +84792,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -78460,6 +85011,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -78535,6 +85096,7 @@ "items": { "type": "string", "enum": [ + "classicMatchmakingBundleIds", "experimentRuleSet", "referenceName", "ruleSet" @@ -78605,6 +85167,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -78714,6 +85286,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -78821,6 +85403,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -78925,6 +85517,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -79100,6 +85702,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -79194,6 +85806,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -79369,6 +85991,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -79471,7 +86103,6 @@ "enum": [ "app", "appStoreReviewScreenshot", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -79519,6 +86150,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -79596,7 +86237,6 @@ "enum": [ "app", "appStoreReviewScreenshot", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -79664,6 +86304,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -79762,7 +86412,6 @@ "enum": [ "app", "appStoreReviewScreenshot", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -79868,6 +86517,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -80006,6 +86665,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -80103,7 +86772,6 @@ "enum": [ "app", "appStoreReviewScreenshot", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -80161,6 +86829,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -80327,6 +87005,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -80430,7 +87118,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -80464,7 +87151,6 @@ "enum": [ "app", "appStoreReviewScreenshot", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -80549,6 +87235,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -80686,6 +87382,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -80813,98 +87519,118 @@ } } }, - "403": { - "description": "Forbidden error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "404": { - "description": "Not found error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "List of Builds with get", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" - } - } - } - } - } - }, - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/profiles/{id}/relationships/bundleId": { - "parameters": [ - { - "name": "id", - "in": "path", - "description": "the id of the requested resource", - "schema": { - "type": "string" - }, - "style": "simple", - "required": true - } - ] - }, - "/v1/profiles/{id}/bundleId": { - "get": { - "tags": [ - "Profiles" - ], - "operationId": "profiles-bundleId-get_to_one_related", - "parameters": [ - { - "name": "fields[bundleIds]", - "in": "query", - "description": "the fields to include for returned resources of type bundleIds", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "bundleIdCapabilities", - "identifier", - "name", - "platform", - "profiles", - "seedId" - ] - } - }, - "style": "form", - "explode": false - } - ], - "responses": { - "400": { - "description": "Parameter error(s)", + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of Builds with get", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BuildsWithoutIncludesResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/profiles/{id}/relationships/bundleId": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/profiles/{id}/bundleId": { + "get": { + "tags": [ + "Profiles" + ], + "operationId": "profiles-bundleId-get_to_one_related", + "parameters": [ + { + "name": "fields[bundleIds]", + "in": "query", + "description": "the fields to include for returned resources of type bundleIds", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "bundleIdCapabilities", + "identifier", + "name", + "platform", + "profiles", + "seedId" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", "content": { "application/json": { "schema": { @@ -81024,6 +87750,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -81134,6 +87870,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -81285,6 +88031,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -81526,6 +88282,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -81706,6 +88472,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -81854,6 +88630,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -82009,6 +88795,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -82113,6 +88909,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -82256,6 +89062,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -82496,7 +89312,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -82716,6 +89531,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -82779,6 +89604,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -82931,6 +89766,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -83083,6 +89928,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -83255,6 +90110,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -83422,6 +90287,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -83599,6 +90474,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -83700,7 +90585,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -83751,6 +90635,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -83825,6 +90719,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -83874,6 +90778,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -83973,7 +90887,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -84075,6 +90988,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -84233,7 +91156,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -84344,6 +91266,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -84498,6 +91430,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -84577,6 +91519,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -84626,6 +91578,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -84804,6 +91766,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -84902,7 +91874,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -84936,7 +91907,6 @@ "enum": [ "app", "appStoreReviewScreenshot", - "availableInAllTerritories", "content", "contentHosting", "familySharable", @@ -85021,6 +91991,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -85132,7 +92112,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -85221,6 +92200,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -85315,7 +92304,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -85393,6 +92381,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -85469,7 +92467,6 @@ "type": "string", "enum": [ "appStoreReviewScreenshot", - "availableInAllTerritories", "familySharable", "group", "groupLevel", @@ -85550,6 +92547,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -85697,6 +92704,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -85771,6 +92788,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -85820,6 +92847,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -85872,6 +92909,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -85924,6 +92971,16 @@ "required": true }, "responses": { + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -86060,6 +93117,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -86147,32 +93214,39 @@ "type": "string" }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "period", "in": "query", "description": "the duration of the reporting period", "schema": { - "type": "string" + "type": "string", + "enum": [ + "P7D", + "P30D", + "P90D", + "P365D" + ] }, "style": "form", "explode": false, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } } @@ -86188,6 +93262,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -86275,32 +93359,39 @@ "type": "string" }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "period", "in": "query", "description": "the duration of the reporting period", "schema": { - "type": "string" + "type": "string", + "enum": [ + "P7D", + "P30D", + "P90D", + "P365D" + ] }, "style": "form", "explode": false, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } } @@ -86316,6 +93407,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -86387,32 +93488,39 @@ "type": "string" }, "style": "form", - "explode": false + "explode": false, + "required": true }, { "name": "period", "in": "query", "description": "the duration of the reporting period", "schema": { - "type": "string" + "type": "string", + "enum": [ + "P7D", + "P30D", + "P90D", + "P365D" + ] }, "style": "form", "explode": false, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } } @@ -86428,6 +93536,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -86503,6 +93621,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -86571,34 +93699,31 @@ "in": "query", "description": "the granularity of the per-group dataset", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] }, "style": "form", "explode": false, "required": true, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } }, @@ -86631,7 +93756,8 @@ ] }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "sort", @@ -86668,6 +93794,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -86736,34 +93872,31 @@ "in": "query", "description": "the granularity of the per-group dataset", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] }, "style": "form", "explode": false, "required": true, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } }, @@ -86796,7 +93929,8 @@ ] }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "sort", @@ -86833,6 +93967,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -86901,34 +94045,31 @@ "in": "query", "description": "the granularity of the per-group dataset", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] }, "style": "form", "explode": false, "required": true, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } }, @@ -86967,6 +94108,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -87035,34 +94186,31 @@ "in": "query", "description": "the granularity of the per-group dataset", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] }, "style": "form", "explode": false, "required": true, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } }, @@ -87096,7 +94244,8 @@ ] }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "filter[gameCenterDetail]", @@ -87106,7 +94255,8 @@ "type": "string" }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "sort", @@ -87143,6 +94293,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -87211,34 +94371,31 @@ "in": "query", "description": "the granularity of the per-group dataset", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] }, "style": "form", "explode": false, "required": true, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } }, @@ -87277,6 +94434,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -87345,34 +94512,31 @@ "in": "query", "description": "the granularity of the per-group dataset", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] }, "style": "form", "explode": false, "required": true, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } }, @@ -87406,7 +94570,8 @@ ] }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "filter[gameCenterDetail]", @@ -87416,7 +94581,8 @@ "type": "string" }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "sort", @@ -87453,6 +94619,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -87521,34 +94697,31 @@ "in": "query", "description": "the granularity of the per-group dataset", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] }, "style": "form", "explode": false, "required": true, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } }, @@ -87587,6 +94760,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -87655,34 +94838,31 @@ "in": "query", "description": "the granularity of the per-group dataset", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] }, "style": "form", "explode": false, "required": true, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } }, @@ -87711,7 +94891,8 @@ "type": "string" }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "filter[gameCenterMatchmakingQueue]", @@ -87721,7 +94902,8 @@ "type": "string" }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "sort", @@ -87752,6 +94934,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -87820,34 +95012,31 @@ "in": "query", "description": "the granularity of the per-group dataset", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] }, "style": "form", "explode": false, "required": true, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } }, @@ -87875,7 +95064,8 @@ "type": "string" }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "sort", @@ -87912,6 +95102,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -87980,34 +95180,31 @@ "in": "query", "description": "the granularity of the per-group dataset", "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "P1D", - "PT1H", - "PT15M" - ] - } + "type": "string", + "enum": [ + "P1D", + "PT1H", + "PT15M" + ] }, "style": "form", "explode": false, "required": true, "examples": { - "PTnM": { - "value": "PT10M" - }, - "PnDTnHnMn.nS": { - "value": "P7DT10H10M10.5S" - }, "PnD": { "value": "P7D" }, + "PTnH": { + "value": "PT10H" + }, + "PTnM": { + "value": "PT10M" + }, "PTn.nS": { "value": "PT10.5S" }, - "PTnH": { - "value": "PT10H" + "PnDTnHnMn.nS": { + "value": "P7DT10H10M10.5S" } } }, @@ -88035,7 +95232,8 @@ "type": "string" }, "style": "form", - "explode": false + "explode": false, + "required": false }, { "name": "sort", @@ -88066,6 +95264,16 @@ } } }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, "403": { "description": "Forbidden error", "content": { @@ -107960,7 +115168,8 @@ "LOG_BUNDLE", "RESULT_BUNDLE", "TEST_PRODUCTS", - "XCODEBUILD_PRODUCTS" + "XCODEBUILD_PRODUCTS", + "STAPLED_NOTARIZED_ARCHIVE" ] }, "fileName": { @@ -109297,6 +116506,15 @@ "scheduledStartCondition": { "$ref": "#/components/schemas/CiScheduledStartCondition" }, + "manualBranchStartCondition": { + "$ref": "#/components/schemas/CiManualBranchStartCondition" + }, + "manualTagStartCondition": { + "$ref": "#/components/schemas/CiManualTagStartCondition" + }, + "manualPullRequestStartCondition": { + "$ref": "#/components/schemas/CiManualPullRequestStartCondition" + }, "actions": { "type": "array", "items": { @@ -109589,6 +116807,15 @@ "scheduledStartCondition": { "$ref": "#/components/schemas/CiScheduledStartCondition" }, + "manualBranchStartCondition": { + "$ref": "#/components/schemas/CiManualBranchStartCondition" + }, + "manualTagStartCondition": { + "$ref": "#/components/schemas/CiManualTagStartCondition" + }, + "manualPullRequestStartCondition": { + "$ref": "#/components/schemas/CiManualPullRequestStartCondition" + }, "actions": { "type": "array", "items": { @@ -109781,6 +117008,15 @@ "scheduledStartCondition": { "$ref": "#/components/schemas/CiScheduledStartCondition" }, + "manualBranchStartCondition": { + "$ref": "#/components/schemas/CiManualBranchStartCondition" + }, + "manualTagStartCondition": { + "$ref": "#/components/schemas/CiManualTagStartCondition" + }, + "manualPullRequestStartCondition": { + "$ref": "#/components/schemas/CiManualPullRequestStartCondition" + }, "actions": { "type": "array", "items": { @@ -113789,6 +121025,138 @@ "data" ] }, + "GameCenterLeaderboardEntrySubmission": { + "type": "object", + "title": "GameCenterLeaderboardEntrySubmission", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardEntrySubmissions" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "bundleId": { + "type": "string" + }, + "challengeIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "context": { + "type": "string", + "format": "number" + }, + "scopedPlayerId": { + "type": "string" + }, + "score": { + "type": "string", + "format": "number" + }, + "submittedDate": { + "type": "string", + "format": "date-time" + }, + "vendorIdentifier": { + "type": "string" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "GameCenterLeaderboardEntrySubmissionResponse": { + "type": "object", + "title": "GameCenterLeaderboardEntrySubmissionResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/GameCenterLeaderboardEntrySubmission" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterLeaderboardEntrySubmissionCreateRequest": { + "type": "object", + "title": "GameCenterLeaderboardEntrySubmissionCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterLeaderboardEntrySubmissions" + ] + }, + "attributes": { + "type": "object", + "properties": { + "bundleId": { + "type": "string" + }, + "challengeIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "context": { + "type": "string", + "format": "number" + }, + "scopedPlayerId": { + "type": "string" + }, + "score": { + "type": "string", + "format": "number" + }, + "submittedDate": { + "type": "string", + "format": "date-time" + }, + "vendorIdentifier": { + "type": "string" + } + }, + "required": [ + "vendorIdentifier", + "score", + "bundleId", + "scopedPlayerId" + ] + } + }, + "required": [ + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, "GameCenterLeaderboardImage": { "type": "object", "title": "GameCenterLeaderboardImage", @@ -116790,6 +124158,12 @@ "properties": { "referenceName": { "type": "string" + }, + "classicMatchmakingBundleIds": { + "type": "array", + "items": { + "type": "string" + } } } }, @@ -116947,6 +124321,12 @@ "properties": { "referenceName": { "type": "string" + }, + "classicMatchmakingBundleIds": { + "type": "array", + "items": { + "type": "string" + } } }, "required": [ @@ -117038,6 +124418,17 @@ "id": { "type": "string" }, + "attributes": { + "type": "object", + "properties": { + "classicMatchmakingBundleIds": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "relationships": { "type": "object", "properties": { @@ -118032,28 +125423,6 @@ "type" ] }, - "GameCenterMatchmakingTestRequest": { - "type": "object", - "title": "GameCenterMatchmakingTestRequest", - "properties": { - "type": { - "type": "string", - "enum": [ - "gameCenterMatchmakingTestRequests" - ] - }, - "id": { - "type": "string" - }, - "links": { - "$ref": "#/components/schemas/ResourceLinks" - } - }, - "required": [ - "id", - "type" - ] - }, "GameCenterMatchmakingTestRequestInlineCreate": { "type": "object", "properties": { @@ -118186,6 +125555,128 @@ "type" ] }, + "GameCenterPlayerAchievementSubmission": { + "type": "object", + "title": "GameCenterPlayerAchievementSubmission", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterPlayerAchievementSubmissions" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "bundleId": { + "type": "string" + }, + "challengeIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "percentageAchieved": { + "type": "integer" + }, + "scopedPlayerId": { + "type": "string" + }, + "submittedDate": { + "type": "string", + "format": "date-time" + }, + "vendorIdentifier": { + "type": "string" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "GameCenterPlayerAchievementSubmissionResponse": { + "type": "object", + "title": "GameCenterPlayerAchievementSubmissionResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/GameCenterPlayerAchievementSubmission" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "GameCenterPlayerAchievementSubmissionCreateRequest": { + "type": "object", + "title": "GameCenterPlayerAchievementSubmissionCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "gameCenterPlayerAchievementSubmissions" + ] + }, + "attributes": { + "type": "object", + "properties": { + "bundleId": { + "type": "string" + }, + "challengeIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "percentageAchieved": { + "type": "integer" + }, + "scopedPlayerId": { + "type": "string" + }, + "submittedDate": { + "type": "string", + "format": "date-time" + }, + "vendorIdentifier": { + "type": "string" + } + }, + "required": [ + "vendorIdentifier", + "percentageAchieved", + "bundleId", + "scopedPlayerId" + ] + } + }, + "required": [ + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, "InAppPurchaseAppStoreReviewScreenshot": { "type": "object", "title": "InAppPurchaseAppStoreReviewScreenshot", @@ -119353,7 +126844,10 @@ "type" ] } - } + }, + "required": [ + "data" + ] }, "manualPrices": { "type": "object", @@ -119387,7 +126881,8 @@ }, "required": [ "inAppPurchase", - "manualPrices" + "manualPrices", + "baseTerritory" ] } }, @@ -119991,10 +127486,6 @@ }, "contentHosting": { "type": "boolean" - }, - "availableInAllTerritories": { - "type": "boolean", - "deprecated": true } } }, @@ -120400,10 +127891,6 @@ }, "familySharable": { "type": "boolean" - }, - "availableInAllTerritories": { - "type": "boolean", - "deprecated": true } }, "required": [ @@ -120485,10 +127972,6 @@ }, "familySharable": { "type": "boolean" - }, - "availableInAllTerritories": { - "type": "boolean", - "deprecated": true } } } @@ -128311,10 +135794,6 @@ }, "groupLevel": { "type": "integer" - }, - "availableInAllTerritories": { - "type": "boolean", - "deprecated": true } } }, @@ -128833,10 +136312,6 @@ }, "groupLevel": { "type": "integer" - }, - "availableInAllTerritories": { - "type": "boolean", - "deprecated": true } }, "required": [ @@ -128931,10 +136406,6 @@ }, "groupLevel": { "type": "integer" - }, - "availableInAllTerritories": { - "type": "boolean", - "deprecated": true } } }, @@ -130336,7 +137807,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/BetaGroup" + "$ref": "#/components/schemas/BetaTester" } }, "links": { @@ -130544,7 +138015,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/BetaTester" + "$ref": "#/components/schemas/Build" } }, "links": { @@ -133047,13 +140518,17 @@ "$ref": "#/components/schemas/ErrorSourceParameter" } ] + }, + "meta": { + "type": "object", + "additionalProperties": {} } }, "required": [ "code", "detail", - "title", - "status" + "status", + "title" ] } } @@ -133456,7 +140931,9 @@ "ANY_WATCHOS_DEVICE", "ANY_WATCHOS_SIMULATOR", "ANY_MAC", - "ANY_MAC_CATALYST" + "ANY_MAC_CATALYST", + "ANY_VISIONOS_DEVICE", + "ANY_VISIONOS_SIMULATOR" ] }, "buildDistributionAudience": { @@ -133492,7 +140969,8 @@ "MACOS", "IOS", "TVOS", - "WATCHOS" + "WATCHOS", + "VISIONOS" ] }, "isRequiredToPass": { @@ -133617,6 +141095,33 @@ } } }, + "CiManualBranchStartCondition": { + "type": "object", + "properties": { + "source": { + "$ref": "#/components/schemas/CiBranchPatterns" + } + } + }, + "CiManualPullRequestStartCondition": { + "type": "object", + "properties": { + "source": { + "$ref": "#/components/schemas/CiBranchPatterns" + }, + "destination": { + "$ref": "#/components/schemas/CiBranchPatterns" + } + } + }, + "CiManualTagStartCondition": { + "type": "object", + "properties": { + "source": { + "$ref": "#/components/schemas/CiTagPatterns" + } + } + }, "CiPullRequestStartCondition": { "type": "object", "properties": { @@ -133995,10 +141500,7 @@ "type": "string" }, "referenceVersions": { - "type": "array", - "items": { - "type": "string" - } + "type": "string" }, "maxLatestVersionValue": { "type": "number" @@ -134051,7 +141553,8 @@ "enum": [ "IOS", "MAC_OS", - "TV_OS" + "TV_OS", + "VISION_OS" ] }, "PreviewType": { @@ -134071,7 +141574,8 @@ "IPAD_105", "IPAD_97", "DESKTOP", - "APPLE_TV" + "APPLE_TV", + "APPLE_VISION_PRO" ] }, "Property": { @@ -134129,6 +141633,7 @@ "APP_WATCH_SERIES_4", "APP_WATCH_SERIES_3", "APP_APPLE_TV", + "APP_APPLE_VISION_PRO", "IMESSAGE_APP_IPHONE_67", "IMESSAGE_APP_IPHONE_61", "IMESSAGE_APP_IPHONE_65", @@ -134472,8 +141977,7 @@ "IMAGE_MANAGER", "CREATE_APPS", "CLOUD_MANAGED_DEVELOPER_ID", - "CLOUD_MANAGED_APP_DISTRIBUTION", - "GENERATE_INDIVIDUAL_KEYS" + "CLOUD_MANAGED_APP_DISTRIBUTION" ] }, "csv": { @@ -134693,18 +142197,15 @@ "type": "number" }, "percentageBreakdown": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "subSystemLabel": { - "type": "string" - } + "type": "object", + "properties": { + "value": { + "type": "number" + }, + "subSystemLabel": { + "type": "string" } - } + } }, "goal": { "type": "string" From 0f638f4dd44956c0010b287813b6ab1a88ff9c2d Mon Sep 17 00:00:00 2001 From: Mathias Emil Mortensen Date: Fri, 23 Feb 2024 11:29:39 +0100 Subject: [PATCH 2/5] Updates to OpenAI spec version 3.3 --- .../Entities/AgeRatingDeclaration.swift | 13 +- .../AgeRatingDeclarationUpdateRequest.swift | 13 +- .../Entities/AlternativeDistributionKey.swift | 56 + ...ernativeDistributionKeyCreateRequest.swift | 132 + .../AlternativeDistributionKeyResponse.swift | 27 + .../AlternativeDistributionPackage.swift | 130 + ...tiveDistributionPackageCreateRequest.swift | 110 + .../AlternativeDistributionPackageDelta.swift | 64 + ...tiveDistributionPackageDeltaResponse.swift | 27 + ...iveDistributionPackageDeltasResponse.swift | 30 + ...ternativeDistributionPackageResponse.swift | 31 + ...lternativeDistributionPackageVariant.swift | 64 + ...veDistributionPackageVariantResponse.swift | 27 + ...eDistributionPackageVariantsResponse.swift | 30 + ...lternativeDistributionPackageVersion.swift | 321 ++ ...veDistributionPackageVersionResponse.swift | 62 + ...eDistributionPackageVersionsResponse.swift | 65 + .../OpenAPI/Generated/Entities/AppInfo.swift | 19 +- .../Entities/AppStoreAgeRating.swift | 1 + .../Generated/Entities/AppStoreVersion.swift | 91 +- .../AppStoreVersionCreateRequest.swift | 11 +- .../Entities/AppStoreVersionResponse.swift | 6 +- .../Entities/AppStoreVersionState.swift | 1 + .../AppStoreVersionUpdateRequest.swift | 11 +- .../Entities/AppStoreVersionsResponse.swift | 6 +- .../Generated/Entities/AppVersionState.swift | 22 + .../Entities/MarketplaceDomain.swift | 64 + .../MarketplaceDomainCreateRequest.swift | 70 + .../Entities/MarketplaceDomainResponse.swift | 27 + .../Entities/MarketplaceDomainsResponse.swift | 30 + .../Entities/MarketplaceSearchDetail.swift | 56 + ...MarketplaceSearchDetailCreateRequest.swift | 132 + .../MarketplaceSearchDetailResponse.swift | 27 + ...MarketplaceSearchDetailUpdateRequest.swift | 70 + .../Entities/MarketplaceWebhook.swift | 56 + .../MarketplaceWebhookCreateRequest.swift | 70 + .../Entities/MarketplaceWebhookResponse.swift | 27 + .../MarketplaceWebhookUpdateRequest.swift | 74 + .../MarketplaceWebhooksResponse.swift | 30 + .../PathsV1AlternativeDistributionKeys.swift | 20 + ...sV1AlternativeDistributionKeysWithID.swift | 35 + ...AlternativeDistributionPackageDeltas.swift | 16 + ...ativeDistributionPackageDeltasWithID.swift | 32 + ...ternativeDistributionPackageVariants.swift | 16 + ...iveDistributionPackageVariantsWithID.swift | 32 + ...ternativeDistributionPackageVersions.swift | 16 + ...iveDistributionPackageVersionsWithID.swift | 77 + ...tributionPackageVersionsWithIDDeltas.swift | 33 + ...onPackageVersionsWithIDRelationships.swift | 16 + ...ageVersionsWithIDRelationshipsDeltas.swift | 16 + ...eVersionsWithIDRelationshipsVariants.swift | 16 + ...ibutionPackageVersionsWithIDVariants.swift | 33 + ...thsV1AlternativeDistributionPackages.swift | 20 + ...lternativeDistributionPackagesWithID.swift | 62 + ...tributionPackagesWithIDRelationships.swift | 16 + ...nPackagesWithIDRelationshipsVersions.swift | 16 + ...veDistributionPackagesWithIDVersions.swift | 96 + ...thsV1AppClipDefaultExperiencesWithID.swift | 3 + ...ncesWithIDReleaseWithAppStoreVersion.swift | 101 +- ...ClipsWithIDAppClipDefaultExperiences.swift | 3 + .../PathsV1AppEncryptionDeclarations.swift | 2 + ...thsV1AppEncryptionDeclarationsWithID.swift | 2 + ...V1AppEncryptionDeclarationsWithIDApp.swift | 2 + .../Paths/PathsV1AppInfosWithID.swift | 2 + ...V1AppInfosWithIDAgeRatingDeclaration.swift | 1 + ...V1AppInfosWithIDAppInfoLocalizations.swift | 1 + .../Paths/PathsV1AppStoreVersionsWithID.swift | 15 +- ...reVersionsWithIDAgeRatingDeclaration.swift | 1 + ...WithIDAlternativeDistributionPackage.swift | 62 + ...rsionsWithIDAppClipDefaultExperience.swift | 3 + ...reVersionsWithIDAppStoreReviewDetail.swift | 3 + ...ionsWithIDAppStoreVersionExperiments.swift | 3 + ...nsWithIDAppStoreVersionExperimentsV2.swift | 5 + ...sionsWithIDAppStoreVersionSubmission.swift | 3 + ...nshipsAlternativeDistributionPackage.swift | 16 + .../OpenAPI/Generated/Paths/PathsV1Apps.swift | 25 +- .../Generated/Paths/PathsV1AppsWithID.swift | 24 +- ...AppsWithIDAlternativeDistributionKey.swift | 31 + .../PathsV1AppsWithIDAppAvailability.swift | 2 + .../Paths/PathsV1AppsWithIDAppClips.swift | 2 + ...thsV1AppsWithIDAppCustomProductPages.swift | 2 + ...1AppsWithIDAppEncryptionDeclarations.swift | 2 + .../Paths/PathsV1AppsWithIDAppInfos.swift | 4 + .../PathsV1AppsWithIDAppPricePoints.swift | 2 + .../PathsV1AppsWithIDAppPriceSchedule.swift | 2 + ...psWithIDAppStoreVersionExperimentsV2.swift | 5 + .../PathsV1AppsWithIDAppStoreVersions.swift | 123 +- .../Paths/PathsV1AppsWithIDCiProduct.swift | 2 + .../PathsV1AppsWithIDGameCenterDetail.swift | 2 + ...1AppsWithIDGameCenterEnabledVersions.swift | 2 + .../PathsV1AppsWithIDInAppPurchases.swift | 2 + ...sV1AppsWithIDMarketplaceSearchDetail.swift | 31 + .../Paths/PathsV1AppsWithIDPricePoints.swift | 2 + .../Paths/PathsV1AppsWithIDPrices.swift | 2 + ...ationshipsAlternativeDistributionKey.swift | 16 + ...RelationshipsMarketplaceSearchDetail.swift | 16 + .../PathsV1AppsWithIDReviewSubmissions.swift | 5 + .../Paths/PathsV1BetaAppLocalizations.swift | 2 + .../PathsV1BetaAppLocalizationsWithID.swift | 2 + ...PathsV1BetaAppLocalizationsWithIDApp.swift | 2 + .../Paths/PathsV1BetaAppReviewDetails.swift | 2 + .../PathsV1BetaAppReviewDetailsWithID.swift | 2 + ...PathsV1BetaAppReviewDetailsWithIDApp.swift | 2 + .../Generated/Paths/PathsV1BetaGroups.swift | 2 + .../Paths/PathsV1BetaGroupsWithID.swift | 2 + .../Paths/PathsV1BetaGroupsWithIDApp.swift | 2 + .../Paths/PathsV1BetaLicenseAgreements.swift | 2 + .../PathsV1BetaLicenseAgreementsWithID.swift | 2 + ...athsV1BetaLicenseAgreementsWithIDApp.swift | 2 + .../Generated/Paths/PathsV1BetaTesters.swift | 2 + .../Paths/PathsV1BetaTestersWithID.swift | 2 + .../Paths/PathsV1BetaTestersWithIDApps.swift | 2 + .../Generated/Paths/PathsV1Builds.swift | 5 + .../Generated/Paths/PathsV1BuildsWithID.swift | 5 + .../Paths/PathsV1BuildsWithIDApp.swift | 2 + .../PathsV1BuildsWithIDAppStoreVersion.swift | 101 +- .../Generated/Paths/PathsV1BundleIDs.swift | 2 + .../Paths/PathsV1BundleIDsWithID.swift | 2 + .../Paths/PathsV1BundleIDsWithIDApp.swift | 2 + .../PathsV1CiBuildRunsWithIDBuilds.swift | 5 + .../Generated/Paths/PathsV1CiProducts.swift | 2 + .../Paths/PathsV1CiProductsWithID.swift | 2 + .../Paths/PathsV1CiProductsWithIDApp.swift | 6 + .../PathsV1GameCenterAppVersionsWithID.swift | 3 + ...nterAppVersionsWithIDAppStoreVersion.swift | 101 +- ...pVersionsWithIDCompatibilityVersions.swift | 3 + ...erDetailsWithIDGameCenterAppVersions.swift | 3 + ...bledVersionsWithIDCompatibleVersions.swift | 2 + ...eCenterGroupsWithIDGameCenterDetails.swift | 2 + .../Paths/PathsV1MarketplaceDomains.swift | 37 + .../PathsV1MarketplaceDomainsWithID.swift | 36 + .../PathsV1MarketplaceSearchDetails.swift | 20 + ...athsV1MarketplaceSearchDetailsWithID.swift | 24 + .../Paths/PathsV1MarketplaceWebhooks.swift | 36 + .../PathsV1MarketplaceWebhooksWithID.swift | 24 + .../Paths/PathsV1PreReleaseVersions.swift | 2 + .../PathsV1PreReleaseVersionsWithID.swift | 2 + .../PathsV1PreReleaseVersionsWithIDApp.swift | 2 + .../PathsV1ReviewSubmissionsWithIDItems.swift | 3 + .../Paths/PathsV1UserInvitations.swift | 2 + .../Paths/PathsV1UserInvitationsWithID.swift | 2 + ...hsV1UserInvitationsWithIDVisibleApps.swift | 2 + .../Generated/Paths/PathsV1Users.swift | 2 + .../Generated/Paths/PathsV1UsersWithID.swift | 2 + .../Paths/PathsV1UsersWithIDVisibleApps.swift | 2 + ...sV3AppPricePointsWithIDEqualizations.swift | 2 + Sources/OpenAPI/app_store_connect_api.json | 4647 +++++++++++++++-- 147 files changed, 7849 insertions(+), 479 deletions(-) create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionKey.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionKeyCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionKeyResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackage.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDelta.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDeltaResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDeltasResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariant.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariantResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariantsResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersion.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersionResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersionsResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/AppVersionState.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceDomain.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceDomainCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceDomainResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceDomainsResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetail.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailUpdateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceWebhook.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceWebhookCreateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceWebhookResponse.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceWebhookUpdateRequest.swift create mode 100644 Sources/OpenAPI/Generated/Entities/MarketplaceWebhooksResponse.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltas.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltasWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariants.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariantsWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersions.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDDeltas.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationships.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationshipsDeltas.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationshipsVariants.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDVariants.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackages.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDRelationships.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDRelationshipsVersions.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAlternativeDistributionPackage.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAlternativeDistributionKey.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsMarketplaceSearchDetail.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomains.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomainsWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetails.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetailsWithID.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift create mode 100644 Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooksWithID.swift diff --git a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift index 3ab3feb3..c83dfad3 100644 --- a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclaration.swift @@ -25,7 +25,9 @@ public struct AgeRatingDeclaration: Codable, Identifiable { public var profanityOrCrudeHumor: ProfanityOrCrudeHumor? public var sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? public var sexualContentOrNudity: SexualContentOrNudity? + /// - warning: Deprecated. public var isSeventeenPlus: Bool? + public var ageRatingOverride: AgeRatingOverride? public var horrorOrFearThemes: HorrorOrFearThemes? public var matureOrSuggestiveThemes: MatureOrSuggestiveThemes? public var isUnrestrictedWebAccess: Bool? @@ -75,6 +77,12 @@ public struct AgeRatingDeclaration: Codable, Identifiable { case frequentOrIntense = "FREQUENT_OR_INTENSE" } + public enum AgeRatingOverride: String, Codable, CaseIterable { + case `none` = "NONE" + case seventeenPlus = "SEVENTEEN_PLUS" + case unrated = "UNRATED" + } + public enum HorrorOrFearThemes: String, Codable, CaseIterable { case `none` = "NONE" case infrequentOrMild = "INFREQUENT_OR_MILD" @@ -105,7 +113,7 @@ public struct AgeRatingDeclaration: Codable, Identifiable { case frequentOrIntense = "FREQUENT_OR_INTENSE" } - public init(alcoholTobaccoOrDrugUseOrReferences: AlcoholTobaccoOrDrugUseOrReferences? = nil, contests: Contests? = nil, isGamblingAndContests: Bool? = nil, isGambling: Bool? = nil, gamblingSimulated: GamblingSimulated? = nil, kidsAgeBand: KidsAgeBand? = nil, medicalOrTreatmentInformation: MedicalOrTreatmentInformation? = nil, profanityOrCrudeHumor: ProfanityOrCrudeHumor? = nil, sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? = nil, sexualContentOrNudity: SexualContentOrNudity? = nil, isSeventeenPlus: Bool? = nil, horrorOrFearThemes: HorrorOrFearThemes? = nil, matureOrSuggestiveThemes: MatureOrSuggestiveThemes? = nil, isUnrestrictedWebAccess: Bool? = nil, violenceCartoonOrFantasy: ViolenceCartoonOrFantasy? = nil, violenceRealisticProlongedGraphicOrSadistic: ViolenceRealisticProlongedGraphicOrSadistic? = nil, violenceRealistic: ViolenceRealistic? = nil) { + public init(alcoholTobaccoOrDrugUseOrReferences: AlcoholTobaccoOrDrugUseOrReferences? = nil, contests: Contests? = nil, isGamblingAndContests: Bool? = nil, isGambling: Bool? = nil, gamblingSimulated: GamblingSimulated? = nil, kidsAgeBand: KidsAgeBand? = nil, medicalOrTreatmentInformation: MedicalOrTreatmentInformation? = nil, profanityOrCrudeHumor: ProfanityOrCrudeHumor? = nil, sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? = nil, sexualContentOrNudity: SexualContentOrNudity? = nil, isSeventeenPlus: Bool? = nil, ageRatingOverride: AgeRatingOverride? = nil, horrorOrFearThemes: HorrorOrFearThemes? = nil, matureOrSuggestiveThemes: MatureOrSuggestiveThemes? = nil, isUnrestrictedWebAccess: Bool? = nil, violenceCartoonOrFantasy: ViolenceCartoonOrFantasy? = nil, violenceRealisticProlongedGraphicOrSadistic: ViolenceRealisticProlongedGraphicOrSadistic? = nil, violenceRealistic: ViolenceRealistic? = nil) { self.alcoholTobaccoOrDrugUseOrReferences = alcoholTobaccoOrDrugUseOrReferences self.contests = contests self.isGamblingAndContests = isGamblingAndContests @@ -117,6 +125,7 @@ public struct AgeRatingDeclaration: Codable, Identifiable { self.sexualContentGraphicAndNudity = sexualContentGraphicAndNudity self.sexualContentOrNudity = sexualContentOrNudity self.isSeventeenPlus = isSeventeenPlus + self.ageRatingOverride = ageRatingOverride self.horrorOrFearThemes = horrorOrFearThemes self.matureOrSuggestiveThemes = matureOrSuggestiveThemes self.isUnrestrictedWebAccess = isUnrestrictedWebAccess @@ -138,6 +147,7 @@ public struct AgeRatingDeclaration: Codable, Identifiable { self.sexualContentGraphicAndNudity = try values.decodeIfPresent(SexualContentGraphicAndNudity.self, forKey: "sexualContentGraphicAndNudity") self.sexualContentOrNudity = try values.decodeIfPresent(SexualContentOrNudity.self, forKey: "sexualContentOrNudity") self.isSeventeenPlus = try values.decodeIfPresent(Bool.self, forKey: "seventeenPlus") + self.ageRatingOverride = try values.decodeIfPresent(AgeRatingOverride.self, forKey: "ageRatingOverride") self.horrorOrFearThemes = try values.decodeIfPresent(HorrorOrFearThemes.self, forKey: "horrorOrFearThemes") self.matureOrSuggestiveThemes = try values.decodeIfPresent(MatureOrSuggestiveThemes.self, forKey: "matureOrSuggestiveThemes") self.isUnrestrictedWebAccess = try values.decodeIfPresent(Bool.self, forKey: "unrestrictedWebAccess") @@ -159,6 +169,7 @@ public struct AgeRatingDeclaration: Codable, Identifiable { try values.encodeIfPresent(sexualContentGraphicAndNudity, forKey: "sexualContentGraphicAndNudity") try values.encodeIfPresent(sexualContentOrNudity, forKey: "sexualContentOrNudity") try values.encodeIfPresent(isSeventeenPlus, forKey: "seventeenPlus") + try values.encodeIfPresent(ageRatingOverride, forKey: "ageRatingOverride") try values.encodeIfPresent(horrorOrFearThemes, forKey: "horrorOrFearThemes") try values.encodeIfPresent(matureOrSuggestiveThemes, forKey: "matureOrSuggestiveThemes") try values.encodeIfPresent(isUnrestrictedWebAccess, forKey: "unrestrictedWebAccess") diff --git a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift index dd6e107d..06fd9c31 100644 --- a/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AgeRatingDeclarationUpdateRequest.swift @@ -27,7 +27,9 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { public var profanityOrCrudeHumor: ProfanityOrCrudeHumor? public var sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? public var sexualContentOrNudity: SexualContentOrNudity? + /// - warning: Deprecated. public var isSeventeenPlus: Bool? + public var ageRatingOverride: AgeRatingOverride? public var horrorOrFearThemes: HorrorOrFearThemes? public var matureOrSuggestiveThemes: MatureOrSuggestiveThemes? public var isUnrestrictedWebAccess: Bool? @@ -77,6 +79,12 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { case frequentOrIntense = "FREQUENT_OR_INTENSE" } + public enum AgeRatingOverride: String, Codable, CaseIterable { + case `none` = "NONE" + case seventeenPlus = "SEVENTEEN_PLUS" + case unrated = "UNRATED" + } + public enum HorrorOrFearThemes: String, Codable, CaseIterable { case `none` = "NONE" case infrequentOrMild = "INFREQUENT_OR_MILD" @@ -107,7 +115,7 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { case frequentOrIntense = "FREQUENT_OR_INTENSE" } - public init(alcoholTobaccoOrDrugUseOrReferences: AlcoholTobaccoOrDrugUseOrReferences? = nil, contests: Contests? = nil, isGamblingAndContests: Bool? = nil, isGambling: Bool? = nil, gamblingSimulated: GamblingSimulated? = nil, kidsAgeBand: KidsAgeBand? = nil, medicalOrTreatmentInformation: MedicalOrTreatmentInformation? = nil, profanityOrCrudeHumor: ProfanityOrCrudeHumor? = nil, sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? = nil, sexualContentOrNudity: SexualContentOrNudity? = nil, isSeventeenPlus: Bool? = nil, horrorOrFearThemes: HorrorOrFearThemes? = nil, matureOrSuggestiveThemes: MatureOrSuggestiveThemes? = nil, isUnrestrictedWebAccess: Bool? = nil, violenceCartoonOrFantasy: ViolenceCartoonOrFantasy? = nil, violenceRealisticProlongedGraphicOrSadistic: ViolenceRealisticProlongedGraphicOrSadistic? = nil, violenceRealistic: ViolenceRealistic? = nil) { + public init(alcoholTobaccoOrDrugUseOrReferences: AlcoholTobaccoOrDrugUseOrReferences? = nil, contests: Contests? = nil, isGamblingAndContests: Bool? = nil, isGambling: Bool? = nil, gamblingSimulated: GamblingSimulated? = nil, kidsAgeBand: KidsAgeBand? = nil, medicalOrTreatmentInformation: MedicalOrTreatmentInformation? = nil, profanityOrCrudeHumor: ProfanityOrCrudeHumor? = nil, sexualContentGraphicAndNudity: SexualContentGraphicAndNudity? = nil, sexualContentOrNudity: SexualContentOrNudity? = nil, isSeventeenPlus: Bool? = nil, ageRatingOverride: AgeRatingOverride? = nil, horrorOrFearThemes: HorrorOrFearThemes? = nil, matureOrSuggestiveThemes: MatureOrSuggestiveThemes? = nil, isUnrestrictedWebAccess: Bool? = nil, violenceCartoonOrFantasy: ViolenceCartoonOrFantasy? = nil, violenceRealisticProlongedGraphicOrSadistic: ViolenceRealisticProlongedGraphicOrSadistic? = nil, violenceRealistic: ViolenceRealistic? = nil) { self.alcoholTobaccoOrDrugUseOrReferences = alcoholTobaccoOrDrugUseOrReferences self.contests = contests self.isGamblingAndContests = isGamblingAndContests @@ -119,6 +127,7 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { self.sexualContentGraphicAndNudity = sexualContentGraphicAndNudity self.sexualContentOrNudity = sexualContentOrNudity self.isSeventeenPlus = isSeventeenPlus + self.ageRatingOverride = ageRatingOverride self.horrorOrFearThemes = horrorOrFearThemes self.matureOrSuggestiveThemes = matureOrSuggestiveThemes self.isUnrestrictedWebAccess = isUnrestrictedWebAccess @@ -140,6 +149,7 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { self.sexualContentGraphicAndNudity = try values.decodeIfPresent(SexualContentGraphicAndNudity.self, forKey: "sexualContentGraphicAndNudity") self.sexualContentOrNudity = try values.decodeIfPresent(SexualContentOrNudity.self, forKey: "sexualContentOrNudity") self.isSeventeenPlus = try values.decodeIfPresent(Bool.self, forKey: "seventeenPlus") + self.ageRatingOverride = try values.decodeIfPresent(AgeRatingOverride.self, forKey: "ageRatingOverride") self.horrorOrFearThemes = try values.decodeIfPresent(HorrorOrFearThemes.self, forKey: "horrorOrFearThemes") self.matureOrSuggestiveThemes = try values.decodeIfPresent(MatureOrSuggestiveThemes.self, forKey: "matureOrSuggestiveThemes") self.isUnrestrictedWebAccess = try values.decodeIfPresent(Bool.self, forKey: "unrestrictedWebAccess") @@ -161,6 +171,7 @@ public struct AgeRatingDeclarationUpdateRequest: Codable { try values.encodeIfPresent(sexualContentGraphicAndNudity, forKey: "sexualContentGraphicAndNudity") try values.encodeIfPresent(sexualContentOrNudity, forKey: "sexualContentOrNudity") try values.encodeIfPresent(isSeventeenPlus, forKey: "seventeenPlus") + try values.encodeIfPresent(ageRatingOverride, forKey: "ageRatingOverride") try values.encodeIfPresent(horrorOrFearThemes, forKey: "horrorOrFearThemes") try values.encodeIfPresent(matureOrSuggestiveThemes, forKey: "matureOrSuggestiveThemes") try values.encodeIfPresent(isUnrestrictedWebAccess, forKey: "unrestrictedWebAccess") diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionKey.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionKey.swift new file mode 100644 index 00000000..019bd57a --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionKey.swift @@ -0,0 +1,56 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionKey: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionKeys + } + + public struct Attributes: Codable { + public var publicKey: String? + + public init(publicKey: String? = nil) { + self.publicKey = publicKey + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.publicKey = try values.decodeIfPresent(String.self, forKey: "publicKey") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(publicKey, forKey: "publicKey") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionKeyCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionKeyCreateRequest.swift new file mode 100644 index 00000000..2be56729 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionKeyCreateRequest.swift @@ -0,0 +1,132 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionKeyCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + public var relationships: Relationships + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionKeys + } + + public struct Attributes: Codable { + public var publicKey: String + + public init(publicKey: String) { + self.publicKey = publicKey + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.publicKey = try values.decode(String.self, forKey: "publicKey") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(publicKey, forKey: "publicKey") + } + } + + public struct Relationships: Codable { + public var app: App + + public struct App: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case apps + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } + } + + public init(app: App) { + self.app = app + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.app = try values.decode(App.self, forKey: "app") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(app, forKey: "app") + } + } + + public init(type: `Type`, attributes: Attributes, relationships: Relationships) { + self.type = type + self.attributes = attributes + self.relationships = relationships + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + self.relationships = try values.decode(Relationships.self, forKey: "relationships") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(attributes, forKey: "attributes") + try values.encode(relationships, forKey: "relationships") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionKeyResponse.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionKeyResponse.swift new file mode 100644 index 00000000..d6fd1e40 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionKeyResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionKeyResponse: Codable { + /// AlternativeDistributionKey + public var data: AlternativeDistributionKey + public var links: DocumentLinks + + public init(data: AlternativeDistributionKey, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(AlternativeDistributionKey.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackage.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackage.swift new file mode 100644 index 00000000..d2685851 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackage.swift @@ -0,0 +1,130 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackage: Codable, Identifiable { + public var type: `Type` + public var id: String + public var relationships: Relationships? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionPackages + } + + public struct Relationships: Codable { + public var versions: Versions? + + public struct Versions: Codable { + public var links: Links? + public var meta: PagingInformation? + public var data: [Datum]? + + public struct Links: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public struct Datum: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionPackageVersions + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + self.links = links + self.meta = meta + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + self.data = try values.decodeIfPresent([Datum].self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + try values.encodeIfPresent(data, forKey: "data") + } + } + + public init(versions: Versions? = nil) { + self.versions = versions + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.versions = try values.decodeIfPresent(Versions.self, forKey: "versions") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(versions, forKey: "versions") + } + } + + public init(type: `Type`, id: String, relationships: Relationships? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.relationships = relationships + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageCreateRequest.swift new file mode 100644 index 00000000..da9687d1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageCreateRequest.swift @@ -0,0 +1,110 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var relationships: Relationships + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionPackages + } + + public struct Relationships: Codable { + public var appStoreVersion: AppStoreVersion + + public struct AppStoreVersion: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case appStoreVersions + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } + } + + public init(appStoreVersion: AppStoreVersion) { + self.appStoreVersion = appStoreVersion + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.appStoreVersion = try values.decode(AppStoreVersion.self, forKey: "appStoreVersion") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(appStoreVersion, forKey: "appStoreVersion") + } + } + + public init(type: `Type`, relationships: Relationships) { + self.type = type + self.relationships = relationships + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.relationships = try values.decode(Relationships.self, forKey: "relationships") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(relationships, forKey: "relationships") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDelta.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDelta.swift new file mode 100644 index 00000000..fba454b6 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDelta.swift @@ -0,0 +1,64 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageDelta: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionPackageDeltas + } + + public struct Attributes: Codable { + public var url: URL? + public var urlExpirationDate: Date? + public var alternativeDistributionKeyBlob: String? + + public init(url: URL? = nil, urlExpirationDate: Date? = nil, alternativeDistributionKeyBlob: String? = nil) { + self.url = url + self.urlExpirationDate = urlExpirationDate + self.alternativeDistributionKeyBlob = alternativeDistributionKeyBlob + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.url = try values.decodeIfPresent(URL.self, forKey: "url") + self.urlExpirationDate = try values.decodeIfPresent(Date.self, forKey: "urlExpirationDate") + self.alternativeDistributionKeyBlob = try values.decodeIfPresent(String.self, forKey: "alternativeDistributionKeyBlob") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(url, forKey: "url") + try values.encodeIfPresent(urlExpirationDate, forKey: "urlExpirationDate") + try values.encodeIfPresent(alternativeDistributionKeyBlob, forKey: "alternativeDistributionKeyBlob") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDeltaResponse.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDeltaResponse.swift new file mode 100644 index 00000000..367ebb19 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDeltaResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageDeltaResponse: Codable { + /// AlternativeDistributionPackageDelta + public var data: AlternativeDistributionPackageDelta + public var links: DocumentLinks + + public init(data: AlternativeDistributionPackageDelta, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(AlternativeDistributionPackageDelta.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDeltasResponse.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDeltasResponse.swift new file mode 100644 index 00000000..a1fff17d --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageDeltasResponse.swift @@ -0,0 +1,30 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageDeltasResponse: Codable { + public var data: [AlternativeDistributionPackageDelta] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public init(data: [AlternativeDistributionPackageDelta], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([AlternativeDistributionPackageDelta].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageResponse.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageResponse.swift new file mode 100644 index 00000000..ae2f5414 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageResponse.swift @@ -0,0 +1,31 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageResponse: Codable { + /// AlternativeDistributionPackage + public var data: AlternativeDistributionPackage + public var included: [AlternativeDistributionPackageVersion]? + public var links: DocumentLinks + + public init(data: AlternativeDistributionPackage, included: [AlternativeDistributionPackageVersion]? = nil, links: DocumentLinks) { + self.data = data + self.included = included + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(AlternativeDistributionPackage.self, forKey: "data") + self.included = try values.decodeIfPresent([AlternativeDistributionPackageVersion].self, forKey: "included") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encodeIfPresent(included, forKey: "included") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariant.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariant.swift new file mode 100644 index 00000000..92d42118 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariant.swift @@ -0,0 +1,64 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageVariant: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionPackageVariants + } + + public struct Attributes: Codable { + public var url: URL? + public var urlExpirationDate: Date? + public var alternativeDistributionKeyBlob: String? + + public init(url: URL? = nil, urlExpirationDate: Date? = nil, alternativeDistributionKeyBlob: String? = nil) { + self.url = url + self.urlExpirationDate = urlExpirationDate + self.alternativeDistributionKeyBlob = alternativeDistributionKeyBlob + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.url = try values.decodeIfPresent(URL.self, forKey: "url") + self.urlExpirationDate = try values.decodeIfPresent(Date.self, forKey: "urlExpirationDate") + self.alternativeDistributionKeyBlob = try values.decodeIfPresent(String.self, forKey: "alternativeDistributionKeyBlob") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(url, forKey: "url") + try values.encodeIfPresent(urlExpirationDate, forKey: "urlExpirationDate") + try values.encodeIfPresent(alternativeDistributionKeyBlob, forKey: "alternativeDistributionKeyBlob") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariantResponse.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariantResponse.swift new file mode 100644 index 00000000..cacfeae4 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariantResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageVariantResponse: Codable { + /// AlternativeDistributionPackageVariant + public var data: AlternativeDistributionPackageVariant + public var links: DocumentLinks + + public init(data: AlternativeDistributionPackageVariant, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(AlternativeDistributionPackageVariant.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariantsResponse.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariantsResponse.swift new file mode 100644 index 00000000..c059ef61 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVariantsResponse.swift @@ -0,0 +1,30 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageVariantsResponse: Codable { + public var data: [AlternativeDistributionPackageVariant] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public init(data: [AlternativeDistributionPackageVariant], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([AlternativeDistributionPackageVariant].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersion.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersion.swift new file mode 100644 index 00000000..3bbe195d --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersion.swift @@ -0,0 +1,321 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageVersion: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var relationships: Relationships? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionPackageVersions + } + + public struct Attributes: Codable { + public var url: URL? + public var urlExpirationDate: Date? + public var version: String? + public var state: State? + + public enum State: String, Codable, CaseIterable { + case completed = "COMPLETED" + case replaced = "REPLACED" + } + + public init(url: URL? = nil, urlExpirationDate: Date? = nil, version: String? = nil, state: State? = nil) { + self.url = url + self.urlExpirationDate = urlExpirationDate + self.version = version + self.state = state + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.url = try values.decodeIfPresent(URL.self, forKey: "url") + self.urlExpirationDate = try values.decodeIfPresent(Date.self, forKey: "urlExpirationDate") + self.version = try values.decodeIfPresent(String.self, forKey: "version") + self.state = try values.decodeIfPresent(State.self, forKey: "state") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(url, forKey: "url") + try values.encodeIfPresent(urlExpirationDate, forKey: "urlExpirationDate") + try values.encodeIfPresent(version, forKey: "version") + try values.encodeIfPresent(state, forKey: "state") + } + } + + public struct Relationships: Codable { + public var variants: Variants? + public var deltas: Deltas? + public var alternativeDistributionPackage: AlternativeDistributionPackage? + + public struct Variants: Codable { + public var links: Links? + public var meta: PagingInformation? + public var data: [Datum]? + + public struct Links: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public struct Datum: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionPackageVariants + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + self.links = links + self.meta = meta + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + self.data = try values.decodeIfPresent([Datum].self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + try values.encodeIfPresent(data, forKey: "data") + } + } + + public struct Deltas: Codable { + public var links: Links? + public var meta: PagingInformation? + public var data: [Datum]? + + public struct Links: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public struct Datum: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionPackageDeltas + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(links: Links? = nil, meta: PagingInformation? = nil, data: [Datum]? = nil) { + self.links = links + self.meta = meta + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + self.data = try values.decodeIfPresent([Datum].self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + try values.encodeIfPresent(data, forKey: "data") + } + } + + public struct AlternativeDistributionPackage: Codable { + public var links: Links? + public var data: Data? + + public struct Links: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionPackages + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(links: Links? = nil, data: Data? = nil) { + self.links = links + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + try values.encodeIfPresent(data, forKey: "data") + } + } + + public init(variants: Variants? = nil, deltas: Deltas? = nil, alternativeDistributionPackage: AlternativeDistributionPackage? = nil) { + self.variants = variants + self.deltas = deltas + self.alternativeDistributionPackage = alternativeDistributionPackage + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.variants = try values.decodeIfPresent(Variants.self, forKey: "variants") + self.deltas = try values.decodeIfPresent(Deltas.self, forKey: "deltas") + self.alternativeDistributionPackage = try values.decodeIfPresent(AlternativeDistributionPackage.self, forKey: "alternativeDistributionPackage") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(variants, forKey: "variants") + try values.encodeIfPresent(deltas, forKey: "deltas") + try values.encodeIfPresent(alternativeDistributionPackage, forKey: "alternativeDistributionPackage") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, relationships: Relationships? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.relationships = relationships + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.relationships = try values.decodeIfPresent(Relationships.self, forKey: "relationships") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(relationships, forKey: "relationships") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersionResponse.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersionResponse.swift new file mode 100644 index 00000000..c843aa11 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersionResponse.swift @@ -0,0 +1,62 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageVersionResponse: Codable { + /// AlternativeDistributionPackageVersion + public var data: AlternativeDistributionPackageVersion + public var included: [IncludedItem]? + public var links: DocumentLinks + + public enum IncludedItem: Codable { + case alternativeDistributionPackageVariant(AlternativeDistributionPackageVariant) + case alternativeDistributionPackageDelta(AlternativeDistributionPackageDelta) + case alternativeDistributionPackage(AlternativeDistributionPackage) + + public init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let value = try? container.decode(AlternativeDistributionPackageVariant.self) { + self = .alternativeDistributionPackageVariant(value) + } else if let value = try? container.decode(AlternativeDistributionPackageDelta.self) { + self = .alternativeDistributionPackageDelta(value) + } else if let value = try? container.decode(AlternativeDistributionPackage.self) { + self = .alternativeDistributionPackage(value) + } else { + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AlternativeDistributionPackageVariant, AlternativeDistributionPackageDelta, AlternativeDistributionPackage)." + ) + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .alternativeDistributionPackageVariant(let value): try container.encode(value) + case .alternativeDistributionPackageDelta(let value): try container.encode(value) + case .alternativeDistributionPackage(let value): try container.encode(value) + } + } + } + + public init(data: AlternativeDistributionPackageVersion, included: [IncludedItem]? = nil, links: DocumentLinks) { + self.data = data + self.included = included + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(AlternativeDistributionPackageVersion.self, forKey: "data") + self.included = try values.decodeIfPresent([IncludedItem].self, forKey: "included") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encodeIfPresent(included, forKey: "included") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersionsResponse.swift b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersionsResponse.swift new file mode 100644 index 00000000..3dd2e506 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AlternativeDistributionPackageVersionsResponse.swift @@ -0,0 +1,65 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct AlternativeDistributionPackageVersionsResponse: Codable { + public var data: [AlternativeDistributionPackageVersion] + public var included: [IncludedItem]? + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public enum IncludedItem: Codable { + case alternativeDistributionPackageVariant(AlternativeDistributionPackageVariant) + case alternativeDistributionPackageDelta(AlternativeDistributionPackageDelta) + case alternativeDistributionPackage(AlternativeDistributionPackage) + + public init(from decoder: Decoder) throws { + let container = try decoder.singleValueContainer() + if let value = try? container.decode(AlternativeDistributionPackageVariant.self) { + self = .alternativeDistributionPackageVariant(value) + } else if let value = try? container.decode(AlternativeDistributionPackageDelta.self) { + self = .alternativeDistributionPackageDelta(value) + } else if let value = try? container.decode(AlternativeDistributionPackage.self) { + self = .alternativeDistributionPackage(value) + } else { + throw DecodingError.dataCorruptedError( + in: container, + debugDescription: "Data could not be decoded as any of the expected types (AlternativeDistributionPackageVariant, AlternativeDistributionPackageDelta, AlternativeDistributionPackage)." + ) + } + } + + public func encode(to encoder: Encoder) throws { + var container = encoder.singleValueContainer() + switch self { + case .alternativeDistributionPackageVariant(let value): try container.encode(value) + case .alternativeDistributionPackageDelta(let value): try container.encode(value) + case .alternativeDistributionPackage(let value): try container.encode(value) + } + } + } + + public init(data: [AlternativeDistributionPackageVersion], included: [IncludedItem]? = nil, links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.included = included + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([AlternativeDistributionPackageVersion].self, forKey: "data") + self.included = try values.decodeIfPresent([IncludedItem].self, forKey: "included") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encodeIfPresent(included, forKey: "included") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/AppInfo.swift b/Sources/OpenAPI/Generated/Entities/AppInfo.swift index 9f3c98ac..ea85604f 100644 --- a/Sources/OpenAPI/Generated/Entities/AppInfo.swift +++ b/Sources/OpenAPI/Generated/Entities/AppInfo.swift @@ -16,11 +16,25 @@ public struct AppInfo: Codable, Identifiable { public struct Attributes: Codable { public var appStoreState: AppStoreVersionState? + public var state: State? public var appStoreAgeRating: AppStoreAgeRating? public var brazilAgeRating: BrazilAgeRating? public var brazilAgeRatingV2: BrazilAgeRatingV2? public var kidsAgeBand: KidsAgeBand? + public enum State: String, Codable, CaseIterable { + case accepted = "ACCEPTED" + case developerRejected = "DEVELOPER_REJECTED" + case inReview = "IN_REVIEW" + case pendingRelease = "PENDING_RELEASE" + case prepareForSubmission = "PREPARE_FOR_SUBMISSION" + case readyForDistribution = "READY_FOR_DISTRIBUTION" + case readyForReview = "READY_FOR_REVIEW" + case rejected = "REJECTED" + case replacedWithNewInfo = "REPLACED_WITH_NEW_INFO" + case waitingForReview = "WAITING_FOR_REVIEW" + } + public enum BrazilAgeRatingV2: String, Codable, CaseIterable { case selfRatedL = "SELF_RATED_L" case selfRatedTen = "SELF_RATED_TEN" @@ -36,8 +50,9 @@ public struct AppInfo: Codable, Identifiable { case officialEighteen = "OFFICIAL_EIGHTEEN" } - public init(appStoreState: AppStoreVersionState? = nil, appStoreAgeRating: AppStoreAgeRating? = nil, brazilAgeRating: BrazilAgeRating? = nil, brazilAgeRatingV2: BrazilAgeRatingV2? = nil, kidsAgeBand: KidsAgeBand? = nil) { + public init(appStoreState: AppStoreVersionState? = nil, state: State? = nil, appStoreAgeRating: AppStoreAgeRating? = nil, brazilAgeRating: BrazilAgeRating? = nil, brazilAgeRatingV2: BrazilAgeRatingV2? = nil, kidsAgeBand: KidsAgeBand? = nil) { self.appStoreState = appStoreState + self.state = state self.appStoreAgeRating = appStoreAgeRating self.brazilAgeRating = brazilAgeRating self.brazilAgeRatingV2 = brazilAgeRatingV2 @@ -47,6 +62,7 @@ public struct AppInfo: Codable, Identifiable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) self.appStoreState = try values.decodeIfPresent(AppStoreVersionState.self, forKey: "appStoreState") + self.state = try values.decodeIfPresent(State.self, forKey: "state") self.appStoreAgeRating = try values.decodeIfPresent(AppStoreAgeRating.self, forKey: "appStoreAgeRating") self.brazilAgeRating = try values.decodeIfPresent(BrazilAgeRating.self, forKey: "brazilAgeRating") self.brazilAgeRatingV2 = try values.decodeIfPresent(BrazilAgeRatingV2.self, forKey: "brazilAgeRatingV2") @@ -56,6 +72,7 @@ public struct AppInfo: Codable, Identifiable { public func encode(to encoder: Encoder) throws { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(appStoreState, forKey: "appStoreState") + try values.encodeIfPresent(state, forKey: "state") try values.encodeIfPresent(appStoreAgeRating, forKey: "appStoreAgeRating") try values.encodeIfPresent(brazilAgeRating, forKey: "brazilAgeRating") try values.encodeIfPresent(brazilAgeRatingV2, forKey: "brazilAgeRatingV2") diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreAgeRating.swift b/Sources/OpenAPI/Generated/Entities/AppStoreAgeRating.swift index dd574fc3..cb4dd623 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreAgeRating.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreAgeRating.swift @@ -8,4 +8,5 @@ public enum AppStoreAgeRating: String, Codable, CaseIterable { case ninePlus = "NINE_PLUS" case twelvePlus = "TWELVE_PLUS" case seventeenPlus = "SEVENTEEN_PLUS" + case unrated = "UNRATED" } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift index 41f87857..1f4dde51 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersion.swift @@ -18,23 +18,32 @@ public struct AppStoreVersion: Codable, Identifiable { public var platform: Platform? public var versionString: String? public var appStoreState: AppStoreVersionState? + public var appVersionState: AppVersionState? public var copyright: String? + public var reviewType: ReviewType? public var releaseType: ReleaseType? public var earliestReleaseDate: Date? public var isDownloadable: Bool? public var createdDate: Date? + public enum ReviewType: String, Codable, CaseIterable { + case appStore = "APP_STORE" + case notarization = "NOTARIZATION" + } + public enum ReleaseType: String, Codable, CaseIterable { case manual = "MANUAL" case afterApproval = "AFTER_APPROVAL" case scheduled = "SCHEDULED" } - public init(platform: Platform? = nil, versionString: String? = nil, appStoreState: AppStoreVersionState? = nil, copyright: String? = nil, releaseType: ReleaseType? = nil, earliestReleaseDate: Date? = nil, isDownloadable: Bool? = nil, createdDate: Date? = nil) { + public init(platform: Platform? = nil, versionString: String? = nil, appStoreState: AppStoreVersionState? = nil, appVersionState: AppVersionState? = nil, copyright: String? = nil, reviewType: ReviewType? = nil, releaseType: ReleaseType? = nil, earliestReleaseDate: Date? = nil, isDownloadable: Bool? = nil, createdDate: Date? = nil) { self.platform = platform self.versionString = versionString self.appStoreState = appStoreState + self.appVersionState = appVersionState self.copyright = copyright + self.reviewType = reviewType self.releaseType = releaseType self.earliestReleaseDate = earliestReleaseDate self.isDownloadable = isDownloadable @@ -46,7 +55,9 @@ public struct AppStoreVersion: Codable, Identifiable { self.platform = try values.decodeIfPresent(Platform.self, forKey: "platform") self.versionString = try values.decodeIfPresent(String.self, forKey: "versionString") self.appStoreState = try values.decodeIfPresent(AppStoreVersionState.self, forKey: "appStoreState") + self.appVersionState = try values.decodeIfPresent(AppVersionState.self, forKey: "appVersionState") self.copyright = try values.decodeIfPresent(String.self, forKey: "copyright") + self.reviewType = try values.decodeIfPresent(ReviewType.self, forKey: "reviewType") self.releaseType = try values.decodeIfPresent(ReleaseType.self, forKey: "releaseType") self.earliestReleaseDate = try values.decodeIfPresent(Date.self, forKey: "earliestReleaseDate") self.isDownloadable = try values.decodeIfPresent(Bool.self, forKey: "downloadable") @@ -58,7 +69,9 @@ public struct AppStoreVersion: Codable, Identifiable { try values.encodeIfPresent(platform, forKey: "platform") try values.encodeIfPresent(versionString, forKey: "versionString") try values.encodeIfPresent(appStoreState, forKey: "appStoreState") + try values.encodeIfPresent(appVersionState, forKey: "appVersionState") try values.encodeIfPresent(copyright, forKey: "copyright") + try values.encodeIfPresent(reviewType, forKey: "reviewType") try values.encodeIfPresent(releaseType, forKey: "releaseType") try values.encodeIfPresent(earliestReleaseDate, forKey: "earliestReleaseDate") try values.encodeIfPresent(isDownloadable, forKey: "downloadable") @@ -79,6 +92,7 @@ public struct AppStoreVersion: Codable, Identifiable { public var appClipDefaultExperience: AppClipDefaultExperience? public var appStoreVersionExperiments: AppStoreVersionExperiments? public var appStoreVersionExperimentsV2: AppStoreVersionExperimentsV2? + public var alternativeDistributionPackage: AlternativeDistributionPackage? public struct App: Codable { public var links: Links? @@ -863,7 +877,77 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public init(app: App? = nil, ageRatingDeclaration: AgeRatingDeclaration? = nil, appStoreVersionLocalizations: AppStoreVersionLocalizations? = nil, build: Build? = nil, appStoreVersionPhasedRelease: AppStoreVersionPhasedRelease? = nil, routingAppCoverage: RoutingAppCoverage? = nil, appStoreReviewDetail: AppStoreReviewDetail? = nil, appStoreVersionSubmission: AppStoreVersionSubmission? = nil, appClipDefaultExperience: AppClipDefaultExperience? = nil, appStoreVersionExperiments: AppStoreVersionExperiments? = nil, appStoreVersionExperimentsV2: AppStoreVersionExperimentsV2? = nil) { + public struct AlternativeDistributionPackage: Codable { + public var links: Links? + public var data: Data? + + public struct Links: Codable { + public var this: String? + public var related: String? + + public init(this: String? = nil, related: String? = nil) { + self.this = this + self.related = related + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.this = try values.decodeIfPresent(String.self, forKey: "self") + self.related = try values.decodeIfPresent(String.self, forKey: "related") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(this, forKey: "self") + try values.encodeIfPresent(related, forKey: "related") + } + } + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case alternativeDistributionPackages + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(links: Links? = nil, data: Data? = nil) { + self.links = links + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.links = try values.decodeIfPresent(Links.self, forKey: "links") + self.data = try values.decodeIfPresent(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(links, forKey: "links") + try values.encodeIfPresent(data, forKey: "data") + } + } + + public init(app: App? = nil, ageRatingDeclaration: AgeRatingDeclaration? = nil, appStoreVersionLocalizations: AppStoreVersionLocalizations? = nil, build: Build? = nil, appStoreVersionPhasedRelease: AppStoreVersionPhasedRelease? = nil, routingAppCoverage: RoutingAppCoverage? = nil, appStoreReviewDetail: AppStoreReviewDetail? = nil, appStoreVersionSubmission: AppStoreVersionSubmission? = nil, appClipDefaultExperience: AppClipDefaultExperience? = nil, appStoreVersionExperiments: AppStoreVersionExperiments? = nil, appStoreVersionExperimentsV2: AppStoreVersionExperimentsV2? = nil, alternativeDistributionPackage: AlternativeDistributionPackage? = nil) { self.app = app self.ageRatingDeclaration = ageRatingDeclaration self.appStoreVersionLocalizations = appStoreVersionLocalizations @@ -875,6 +959,7 @@ public struct AppStoreVersion: Codable, Identifiable { self.appClipDefaultExperience = appClipDefaultExperience self.appStoreVersionExperiments = appStoreVersionExperiments self.appStoreVersionExperimentsV2 = appStoreVersionExperimentsV2 + self.alternativeDistributionPackage = alternativeDistributionPackage } public init(from decoder: Decoder) throws { @@ -890,6 +975,7 @@ public struct AppStoreVersion: Codable, Identifiable { self.appClipDefaultExperience = try values.decodeIfPresent(AppClipDefaultExperience.self, forKey: "appClipDefaultExperience") self.appStoreVersionExperiments = try values.decodeIfPresent(AppStoreVersionExperiments.self, forKey: "appStoreVersionExperiments") self.appStoreVersionExperimentsV2 = try values.decodeIfPresent(AppStoreVersionExperimentsV2.self, forKey: "appStoreVersionExperimentsV2") + self.alternativeDistributionPackage = try values.decodeIfPresent(AlternativeDistributionPackage.self, forKey: "alternativeDistributionPackage") } public func encode(to encoder: Encoder) throws { @@ -905,6 +991,7 @@ public struct AppStoreVersion: Codable, Identifiable { try values.encodeIfPresent(appClipDefaultExperience, forKey: "appClipDefaultExperience") try values.encodeIfPresent(appStoreVersionExperiments, forKey: "appStoreVersionExperiments") try values.encodeIfPresent(appStoreVersionExperimentsV2, forKey: "appStoreVersionExperimentsV2") + try values.encodeIfPresent(alternativeDistributionPackage, forKey: "alternativeDistributionPackage") } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionCreateRequest.swift index bacd8d3b..2ebef418 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionCreateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionCreateRequest.swift @@ -19,19 +19,26 @@ public struct AppStoreVersionCreateRequest: Codable { public var platform: Platform public var versionString: String public var copyright: String? + public var reviewType: ReviewType? public var releaseType: ReleaseType? public var earliestReleaseDate: Date? + public enum ReviewType: String, Codable, CaseIterable { + case appStore = "APP_STORE" + case notarization = "NOTARIZATION" + } + public enum ReleaseType: String, Codable, CaseIterable { case manual = "MANUAL" case afterApproval = "AFTER_APPROVAL" case scheduled = "SCHEDULED" } - public init(platform: Platform, versionString: String, copyright: String? = nil, releaseType: ReleaseType? = nil, earliestReleaseDate: Date? = nil) { + public init(platform: Platform, versionString: String, copyright: String? = nil, reviewType: ReviewType? = nil, releaseType: ReleaseType? = nil, earliestReleaseDate: Date? = nil) { self.platform = platform self.versionString = versionString self.copyright = copyright + self.reviewType = reviewType self.releaseType = releaseType self.earliestReleaseDate = earliestReleaseDate } @@ -41,6 +48,7 @@ public struct AppStoreVersionCreateRequest: Codable { self.platform = try values.decode(Platform.self, forKey: "platform") self.versionString = try values.decode(String.self, forKey: "versionString") self.copyright = try values.decodeIfPresent(String.self, forKey: "copyright") + self.reviewType = try values.decodeIfPresent(ReviewType.self, forKey: "reviewType") self.releaseType = try values.decodeIfPresent(ReleaseType.self, forKey: "releaseType") self.earliestReleaseDate = try values.decodeIfPresent(Date.self, forKey: "earliestReleaseDate") } @@ -50,6 +58,7 @@ public struct AppStoreVersionCreateRequest: Codable { try values.encode(platform, forKey: "platform") try values.encode(versionString, forKey: "versionString") try values.encodeIfPresent(copyright, forKey: "copyright") + try values.encodeIfPresent(reviewType, forKey: "reviewType") try values.encodeIfPresent(releaseType, forKey: "releaseType") try values.encodeIfPresent(earliestReleaseDate, forKey: "earliestReleaseDate") } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift index 892fbee5..fd2525b7 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionResponse.swift @@ -21,6 +21,7 @@ public struct AppStoreVersionResponse: Codable { case appClipDefaultExperience(AppClipDefaultExperience) case appStoreVersionExperiment(AppStoreVersionExperiment) case appStoreVersionExperimentV2(AppStoreVersionExperimentV2) + case alternativeDistributionPackage(AlternativeDistributionPackage) public init(from decoder: Decoder) throws { let container = try decoder.singleValueContainer() @@ -46,10 +47,12 @@ public struct AppStoreVersionResponse: Codable { self = .appStoreVersionExperiment(value) } else if let value = try? container.decode(AppStoreVersionExperimentV2.self) { self = .appStoreVersionExperimentV2(value) + } else if let value = try? container.decode(AlternativeDistributionPackage.self) { + self = .alternativeDistributionPackage(value) } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppStoreVersionLocalization, Build, AppStoreVersionPhasedRelease, RoutingAppCoverage, AppStoreReviewDetail, AppStoreVersionSubmission, AppClipDefaultExperience, AppStoreVersionExperiment, AppStoreVersionExperimentV2)." + debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppStoreVersionLocalization, Build, AppStoreVersionPhasedRelease, RoutingAppCoverage, AppStoreReviewDetail, AppStoreVersionSubmission, AppClipDefaultExperience, AppStoreVersionExperiment, AppStoreVersionExperimentV2, AlternativeDistributionPackage)." ) } } @@ -68,6 +71,7 @@ public struct AppStoreVersionResponse: Codable { case .appClipDefaultExperience(let value): try container.encode(value) case .appStoreVersionExperiment(let value): try container.encode(value) case .appStoreVersionExperimentV2(let value): try container.encode(value) + case .alternativeDistributionPackage(let value): try container.encode(value) } } } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionState.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionState.swift index 0a3402b0..2aba4806 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionState.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionState.swift @@ -23,4 +23,5 @@ public enum AppStoreVersionState: String, Codable, CaseIterable { case waitingForExportCompliance = "WAITING_FOR_EXPORT_COMPLIANCE" case waitingForReview = "WAITING_FOR_REVIEW" case replacedWithNewVersion = "REPLACED_WITH_NEW_VERSION" + case notApplicable = "NOT_APPLICABLE" } diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift index cee32242..d8123a69 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionUpdateRequest.swift @@ -19,19 +19,26 @@ public struct AppStoreVersionUpdateRequest: Codable { public struct Attributes: Codable { public var versionString: String? public var copyright: String? + public var reviewType: ReviewType? public var releaseType: ReleaseType? public var earliestReleaseDate: Date? public var isDownloadable: Bool? + public enum ReviewType: String, Codable, CaseIterable { + case appStore = "APP_STORE" + case notarization = "NOTARIZATION" + } + public enum ReleaseType: String, Codable, CaseIterable { case manual = "MANUAL" case afterApproval = "AFTER_APPROVAL" case scheduled = "SCHEDULED" } - public init(versionString: String? = nil, copyright: String? = nil, releaseType: ReleaseType? = nil, earliestReleaseDate: Date? = nil, isDownloadable: Bool? = nil) { + public init(versionString: String? = nil, copyright: String? = nil, reviewType: ReviewType? = nil, releaseType: ReleaseType? = nil, earliestReleaseDate: Date? = nil, isDownloadable: Bool? = nil) { self.versionString = versionString self.copyright = copyright + self.reviewType = reviewType self.releaseType = releaseType self.earliestReleaseDate = earliestReleaseDate self.isDownloadable = isDownloadable @@ -41,6 +48,7 @@ public struct AppStoreVersionUpdateRequest: Codable { let values = try decoder.container(keyedBy: StringCodingKey.self) self.versionString = try values.decodeIfPresent(String.self, forKey: "versionString") self.copyright = try values.decodeIfPresent(String.self, forKey: "copyright") + self.reviewType = try values.decodeIfPresent(ReviewType.self, forKey: "reviewType") self.releaseType = try values.decodeIfPresent(ReleaseType.self, forKey: "releaseType") self.earliestReleaseDate = try values.decodeIfPresent(Date.self, forKey: "earliestReleaseDate") self.isDownloadable = try values.decodeIfPresent(Bool.self, forKey: "downloadable") @@ -50,6 +58,7 @@ public struct AppStoreVersionUpdateRequest: Codable { var values = encoder.container(keyedBy: StringCodingKey.self) try values.encodeIfPresent(versionString, forKey: "versionString") try values.encodeIfPresent(copyright, forKey: "copyright") + try values.encodeIfPresent(reviewType, forKey: "reviewType") try values.encodeIfPresent(releaseType, forKey: "releaseType") try values.encodeIfPresent(earliestReleaseDate, forKey: "earliestReleaseDate") try values.encodeIfPresent(isDownloadable, forKey: "downloadable") diff --git a/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift b/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift index 1bb540e4..a22ab097 100644 --- a/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/AppStoreVersionsResponse.swift @@ -21,6 +21,7 @@ public struct AppStoreVersionsResponse: Codable { case appClipDefaultExperience(AppClipDefaultExperience) case appStoreVersionExperiment(AppStoreVersionExperiment) case appStoreVersionExperimentV2(AppStoreVersionExperimentV2) + case alternativeDistributionPackage(AlternativeDistributionPackage) public init(from decoder: Decoder) throws { let container = try decoder.singleValueContainer() @@ -46,10 +47,12 @@ public struct AppStoreVersionsResponse: Codable { self = .appStoreVersionExperiment(value) } else if let value = try? container.decode(AppStoreVersionExperimentV2.self) { self = .appStoreVersionExperimentV2(value) + } else if let value = try? container.decode(AlternativeDistributionPackage.self) { + self = .alternativeDistributionPackage(value) } else { throw DecodingError.dataCorruptedError( in: container, - debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppStoreVersionLocalization, Build, AppStoreVersionPhasedRelease, RoutingAppCoverage, AppStoreReviewDetail, AppStoreVersionSubmission, AppClipDefaultExperience, AppStoreVersionExperiment, AppStoreVersionExperimentV2)." + debugDescription: "Data could not be decoded as any of the expected types (App, AgeRatingDeclaration, AppStoreVersionLocalization, Build, AppStoreVersionPhasedRelease, RoutingAppCoverage, AppStoreReviewDetail, AppStoreVersionSubmission, AppClipDefaultExperience, AppStoreVersionExperiment, AppStoreVersionExperimentV2, AlternativeDistributionPackage)." ) } } @@ -68,6 +71,7 @@ public struct AppStoreVersionsResponse: Codable { case .appClipDefaultExperience(let value): try container.encode(value) case .appStoreVersionExperiment(let value): try container.encode(value) case .appStoreVersionExperimentV2(let value): try container.encode(value) + case .alternativeDistributionPackage(let value): try container.encode(value) } } } diff --git a/Sources/OpenAPI/Generated/Entities/AppVersionState.swift b/Sources/OpenAPI/Generated/Entities/AppVersionState.swift new file mode 100644 index 00000000..779e8e34 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/AppVersionState.swift @@ -0,0 +1,22 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public enum AppVersionState: String, Codable, CaseIterable { + case accepted = "ACCEPTED" + case developerRejected = "DEVELOPER_REJECTED" + case inReview = "IN_REVIEW" + case invalidBinary = "INVALID_BINARY" + case metadataRejected = "METADATA_REJECTED" + case pendingAppleRelease = "PENDING_APPLE_RELEASE" + case pendingDeveloperRelease = "PENDING_DEVELOPER_RELEASE" + case prepareForSubmission = "PREPARE_FOR_SUBMISSION" + case processingForDistribution = "PROCESSING_FOR_DISTRIBUTION" + case readyForDistribution = "READY_FOR_DISTRIBUTION" + case readyForReview = "READY_FOR_REVIEW" + case rejected = "REJECTED" + case replacedWithNewVersion = "REPLACED_WITH_NEW_VERSION" + case waitingForExportCompliance = "WAITING_FOR_EXPORT_COMPLIANCE" + case waitingForReview = "WAITING_FOR_REVIEW" +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceDomain.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceDomain.swift new file mode 100644 index 00000000..818014b6 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceDomain.swift @@ -0,0 +1,64 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceDomain: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case marketplaceDomains + } + + public struct Attributes: Codable { + public var domain: String? + public var referenceName: String? + public var createdDate: Date? + + public init(domain: String? = nil, referenceName: String? = nil, createdDate: Date? = nil) { + self.domain = domain + self.referenceName = referenceName + self.createdDate = createdDate + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.domain = try values.decodeIfPresent(String.self, forKey: "domain") + self.referenceName = try values.decodeIfPresent(String.self, forKey: "referenceName") + self.createdDate = try values.decodeIfPresent(Date.self, forKey: "createdDate") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(domain, forKey: "domain") + try values.encodeIfPresent(referenceName, forKey: "referenceName") + try values.encodeIfPresent(createdDate, forKey: "createdDate") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceDomainCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceDomainCreateRequest.swift new file mode 100644 index 00000000..774b0b5f --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceDomainCreateRequest.swift @@ -0,0 +1,70 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceDomainCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + + public enum `Type`: String, Codable, CaseIterable { + case marketplaceDomains + } + + public struct Attributes: Codable { + public var domain: String + public var referenceName: String + + public init(domain: String, referenceName: String) { + self.domain = domain + self.referenceName = referenceName + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.domain = try values.decode(String.self, forKey: "domain") + self.referenceName = try values.decode(String.self, forKey: "referenceName") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(domain, forKey: "domain") + try values.encode(referenceName, forKey: "referenceName") + } + } + + public init(type: `Type`, attributes: Attributes) { + self.type = type + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(attributes, forKey: "attributes") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceDomainResponse.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceDomainResponse.swift new file mode 100644 index 00000000..3be14e1d --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceDomainResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceDomainResponse: Codable { + /// MarketplaceDomain + public var data: MarketplaceDomain + public var links: DocumentLinks + + public init(data: MarketplaceDomain, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(MarketplaceDomain.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceDomainsResponse.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceDomainsResponse.swift new file mode 100644 index 00000000..153699bd --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceDomainsResponse.swift @@ -0,0 +1,30 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceDomainsResponse: Codable { + public var data: [MarketplaceDomain] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public init(data: [MarketplaceDomain], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([MarketplaceDomain].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetail.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetail.swift new file mode 100644 index 00000000..2132d229 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetail.swift @@ -0,0 +1,56 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceSearchDetail: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case marketplaceSearchDetails + } + + public struct Attributes: Codable { + public var catalogURL: URL? + + public init(catalogURL: URL? = nil) { + self.catalogURL = catalogURL + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.catalogURL = try values.decodeIfPresent(URL.self, forKey: "catalogUrl") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(catalogURL, forKey: "catalogUrl") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailCreateRequest.swift new file mode 100644 index 00000000..62e448dc --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailCreateRequest.swift @@ -0,0 +1,132 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceSearchDetailCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + public var relationships: Relationships + + public enum `Type`: String, Codable, CaseIterable { + case marketplaceSearchDetails + } + + public struct Attributes: Codable { + public var catalogURL: URL + + public init(catalogURL: URL) { + self.catalogURL = catalogURL + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.catalogURL = try values.decode(URL.self, forKey: "catalogUrl") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(catalogURL, forKey: "catalogUrl") + } + } + + public struct Relationships: Codable { + public var app: App + + public struct App: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + + public enum `Type`: String, Codable, CaseIterable { + case apps + } + + public init(type: `Type`, id: String) { + self.type = type + self.id = id + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } + } + + public init(app: App) { + self.app = app + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.app = try values.decode(App.self, forKey: "app") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(app, forKey: "app") + } + } + + public init(type: `Type`, attributes: Attributes, relationships: Relationships) { + self.type = type + self.attributes = attributes + self.relationships = relationships + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + self.relationships = try values.decode(Relationships.self, forKey: "relationships") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(attributes, forKey: "attributes") + try values.encode(relationships, forKey: "relationships") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailResponse.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailResponse.swift new file mode 100644 index 00000000..74eb4539 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceSearchDetailResponse: Codable { + /// MarketplaceSearchDetail + public var data: MarketplaceSearchDetail + public var links: DocumentLinks + + public init(data: MarketplaceSearchDetail, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(MarketplaceSearchDetail.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailUpdateRequest.swift new file mode 100644 index 00000000..2ee77a9e --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceSearchDetailUpdateRequest.swift @@ -0,0 +1,70 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceSearchDetailUpdateRequest: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + + public enum `Type`: String, Codable, CaseIterable { + case marketplaceSearchDetails + } + + public struct Attributes: Codable { + public var catalogURL: URL? + + public init(catalogURL: URL? = nil) { + self.catalogURL = catalogURL + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.catalogURL = try values.decodeIfPresent(URL.self, forKey: "catalogUrl") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(catalogURL, forKey: "catalogUrl") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil) { + self.type = type + self.id = id + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceWebhook.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceWebhook.swift new file mode 100644 index 00000000..a331b9fb --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceWebhook.swift @@ -0,0 +1,56 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceWebhook: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + public var links: ResourceLinks? + + public enum `Type`: String, Codable, CaseIterable { + case marketplaceWebhooks + } + + public struct Attributes: Codable { + public var endpointURL: URL? + + public init(endpointURL: URL? = nil) { + self.endpointURL = endpointURL + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.endpointURL = try values.decodeIfPresent(URL.self, forKey: "endpointUrl") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(endpointURL, forKey: "endpointUrl") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil, links: ResourceLinks? = nil) { + self.type = type + self.id = id + self.attributes = attributes + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + self.links = try values.decodeIfPresent(ResourceLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + try values.encodeIfPresent(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceWebhookCreateRequest.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceWebhookCreateRequest.swift new file mode 100644 index 00000000..87ed29e3 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceWebhookCreateRequest.swift @@ -0,0 +1,70 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceWebhookCreateRequest: Codable { + public var data: Data + + public struct Data: Codable { + public var type: `Type` + public var attributes: Attributes + + public enum `Type`: String, Codable, CaseIterable { + case marketplaceWebhooks + } + + public struct Attributes: Codable { + public var endpointURL: URL + public var secret: String + + public init(endpointURL: URL, secret: String) { + self.endpointURL = endpointURL + self.secret = secret + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.endpointURL = try values.decode(URL.self, forKey: "endpointUrl") + self.secret = try values.decode(String.self, forKey: "secret") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(endpointURL, forKey: "endpointUrl") + try values.encode(secret, forKey: "secret") + } + } + + public init(type: `Type`, attributes: Attributes) { + self.type = type + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.attributes = try values.decode(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(attributes, forKey: "attributes") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceWebhookResponse.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceWebhookResponse.swift new file mode 100644 index 00000000..6d94e919 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceWebhookResponse.swift @@ -0,0 +1,27 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceWebhookResponse: Codable { + /// MarketplaceWebhook + public var data: MarketplaceWebhook + public var links: DocumentLinks + + public init(data: MarketplaceWebhook, links: DocumentLinks) { + self.data = data + self.links = links + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(MarketplaceWebhook.self, forKey: "data") + self.links = try values.decode(DocumentLinks.self, forKey: "links") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceWebhookUpdateRequest.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceWebhookUpdateRequest.swift new file mode 100644 index 00000000..a30d7cdd --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceWebhookUpdateRequest.swift @@ -0,0 +1,74 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceWebhookUpdateRequest: Codable { + public var data: Data + + public struct Data: Codable, Identifiable { + public var type: `Type` + public var id: String + public var attributes: Attributes? + + public enum `Type`: String, Codable, CaseIterable { + case marketplaceWebhooks + } + + public struct Attributes: Codable { + public var endpointURL: URL? + public var secret: String? + + public init(endpointURL: URL? = nil, secret: String? = nil) { + self.endpointURL = endpointURL + self.secret = secret + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.endpointURL = try values.decodeIfPresent(URL.self, forKey: "endpointUrl") + self.secret = try values.decodeIfPresent(String.self, forKey: "secret") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encodeIfPresent(endpointURL, forKey: "endpointUrl") + try values.encodeIfPresent(secret, forKey: "secret") + } + } + + public init(type: `Type`, id: String, attributes: Attributes? = nil) { + self.type = type + self.id = id + self.attributes = attributes + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.type = try values.decode(`Type`.self, forKey: "type") + self.id = try values.decode(String.self, forKey: "id") + self.attributes = try values.decodeIfPresent(Attributes.self, forKey: "attributes") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(type, forKey: "type") + try values.encode(id, forKey: "id") + try values.encodeIfPresent(attributes, forKey: "attributes") + } + } + + public init(data: Data) { + self.data = data + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode(Data.self, forKey: "data") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + } +} diff --git a/Sources/OpenAPI/Generated/Entities/MarketplaceWebhooksResponse.swift b/Sources/OpenAPI/Generated/Entities/MarketplaceWebhooksResponse.swift new file mode 100644 index 00000000..35546d65 --- /dev/null +++ b/Sources/OpenAPI/Generated/Entities/MarketplaceWebhooksResponse.swift @@ -0,0 +1,30 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation + +public struct MarketplaceWebhooksResponse: Codable { + public var data: [MarketplaceWebhook] + public var links: PagedDocumentLinks + public var meta: PagingInformation? + + public init(data: [MarketplaceWebhook], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + self.data = data + self.links = links + self.meta = meta + } + + public init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: StringCodingKey.self) + self.data = try values.decode([MarketplaceWebhook].self, forKey: "data") + self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") + self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") + } + + public func encode(to encoder: Encoder) throws { + var values = encoder.container(keyedBy: StringCodingKey.self) + try values.encode(data, forKey: "data") + try values.encode(links, forKey: "links") + try values.encodeIfPresent(meta, forKey: "meta") + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift new file mode 100644 index 00000000..6d8a8ebe --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeys.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var alternativeDistributionKeys: AlternativeDistributionKeys { + AlternativeDistributionKeys(path: path + "/alternativeDistributionKeys") + } + + public struct AlternativeDistributionKeys { + /// Path: `/v1/alternativeDistributionKeys` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.AlternativeDistributionKeyCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "alternativeDistributionKeys-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift new file mode 100644 index 00000000..770d8879 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionKeysWithID.swift @@ -0,0 +1,35 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionKeys { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/alternativeDistributionKeys/{id}` + public let path: String + + public func get(fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionKeys), id: "alternativeDistributionKeys-get_instance") + } + + private func makeGetQuery(_ fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsAlternativeDistributionKeys, forKey: "fields[alternativeDistributionKeys]", explode: false) + return encoder.items + } + + public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { + case app + case publicKey + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "alternativeDistributionKeys-delete_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltas.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltas.swift new file mode 100644 index 00000000..b1e15345 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltas.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var alternativeDistributionPackageDeltas: AlternativeDistributionPackageDeltas { + AlternativeDistributionPackageDeltas(path: path + "/alternativeDistributionPackageDeltas") + } + + public struct AlternativeDistributionPackageDeltas { + /// Path: `/v1/alternativeDistributionPackageDeltas` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltasWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltasWithID.swift new file mode 100644 index 00000000..e61a722f --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageDeltasWithID.swift @@ -0,0 +1,32 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackageDeltas { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/alternativeDistributionPackageDeltas/{id}` + public let path: String + + public func get(fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageDeltas), id: "alternativeDistributionPackageDeltas-get_instance") + } + + private func makeGetQuery(_ fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsAlternativeDistributionPackageDeltas, forKey: "fields[alternativeDistributionPackageDeltas]", explode: false) + return encoder.items + } + + public enum FieldsAlternativeDistributionPackageDeltas: String, Codable, CaseIterable { + case alternativeDistributionKeyBlob + case url + case urlExpirationDate + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariants.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariants.swift new file mode 100644 index 00000000..463a7a9c --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariants.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var alternativeDistributionPackageVariants: AlternativeDistributionPackageVariants { + AlternativeDistributionPackageVariants(path: path + "/alternativeDistributionPackageVariants") + } + + public struct AlternativeDistributionPackageVariants { + /// Path: `/v1/alternativeDistributionPackageVariants` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariantsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariantsWithID.swift new file mode 100644 index 00000000..69eb51f1 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVariantsWithID.swift @@ -0,0 +1,32 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackageVariants { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/alternativeDistributionPackageVariants/{id}` + public let path: String + + public func get(fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageVariants), id: "alternativeDistributionPackageVariants-get_instance") + } + + private func makeGetQuery(_ fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsAlternativeDistributionPackageVariants, forKey: "fields[alternativeDistributionPackageVariants]", explode: false) + return encoder.items + } + + public enum FieldsAlternativeDistributionPackageVariants: String, Codable, CaseIterable { + case alternativeDistributionKeyBlob + case url + case urlExpirationDate + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersions.swift new file mode 100644 index 00000000..0942ed30 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersions.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var alternativeDistributionPackageVersions: AlternativeDistributionPackageVersions { + AlternativeDistributionPackageVersions(path: path + "/alternativeDistributionPackageVersions") + } + + public struct AlternativeDistributionPackageVersions { + /// Path: `/v1/alternativeDistributionPackageVersions` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithID.swift new file mode 100644 index 00000000..40672961 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithID.swift @@ -0,0 +1,77 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackageVersions { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/alternativeDistributionPackageVersions/{id}` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionPackageVersions-get_instance") + } + + public struct GetParameters { + public var fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? + public var include: [Include]? + public var fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? + public var fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? + public var limitDeltas: Int? + public var limitVariants: Int? + + public enum FieldsAlternativeDistributionPackageVersions: String, Codable, CaseIterable { + case alternativeDistributionPackage + case deltas + case state + case url + case urlExpirationDate + case variants + case version + } + + public enum Include: String, Codable, CaseIterable { + case alternativeDistributionPackage + case deltas + case variants + } + + public enum FieldsAlternativeDistributionPackageVariants: String, Codable, CaseIterable { + case alternativeDistributionKeyBlob + case url + case urlExpirationDate + } + + public enum FieldsAlternativeDistributionPackageDeltas: String, Codable, CaseIterable { + case alternativeDistributionKeyBlob + case url + case urlExpirationDate + } + + public init(fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, include: [Include]? = nil, fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? = nil, fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? = nil, limitDeltas: Int? = nil, limitVariants: Int? = nil) { + self.fieldsAlternativeDistributionPackageVersions = fieldsAlternativeDistributionPackageVersions + self.include = include + self.fieldsAlternativeDistributionPackageVariants = fieldsAlternativeDistributionPackageVariants + self.fieldsAlternativeDistributionPackageDeltas = fieldsAlternativeDistributionPackageDeltas + self.limitDeltas = limitDeltas + self.limitVariants = limitVariants + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsAlternativeDistributionPackageVersions, forKey: "fields[alternativeDistributionPackageVersions]") + encoder.encode(include, forKey: "include") + encoder.encode(fieldsAlternativeDistributionPackageVariants, forKey: "fields[alternativeDistributionPackageVariants]") + encoder.encode(fieldsAlternativeDistributionPackageDeltas, forKey: "fields[alternativeDistributionPackageDeltas]") + encoder.encode(limitDeltas, forKey: "limit[deltas]") + encoder.encode(limitVariants, forKey: "limit[variants]") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDDeltas.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDDeltas.swift new file mode 100644 index 00000000..6f34ea90 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDDeltas.swift @@ -0,0 +1,33 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackageVersions.WithID { + public var deltas: Deltas { + Deltas(path: path + "/deltas") + } + + public struct Deltas { + /// Path: `/v1/alternativeDistributionPackageVersions/{id}/deltas` + public let path: String + + public func get(fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? = nil, limit: Int? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageDeltas, limit), id: "alternativeDistributionPackageVersions-deltas-get_to_many_related") + } + + private func makeGetQuery(_ fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]?, _ limit: Int?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsAlternativeDistributionPackageDeltas, forKey: "fields[alternativeDistributionPackageDeltas]", explode: false) + encoder.encode(limit, forKey: "limit") + return encoder.items + } + + public enum FieldsAlternativeDistributionPackageDeltas: String, Codable, CaseIterable { + case alternativeDistributionKeyBlob + case url + case urlExpirationDate + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationships.swift new file mode 100644 index 00000000..5a3aa451 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationships.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackageVersions.WithID { + public var relationships: Relationships { + Relationships(path: path + "/relationships") + } + + public struct Relationships { + /// Path: `/v1/alternativeDistributionPackageVersions/{id}/relationships` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationshipsDeltas.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationshipsDeltas.swift new file mode 100644 index 00000000..d1215137 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationshipsDeltas.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackageVersions.WithID.Relationships { + public var deltas: Deltas { + Deltas(path: path + "/deltas") + } + + public struct Deltas { + /// Path: `/v1/alternativeDistributionPackageVersions/{id}/relationships/deltas` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationshipsVariants.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationshipsVariants.swift new file mode 100644 index 00000000..a8f70414 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDRelationshipsVariants.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackageVersions.WithID.Relationships { + public var variants: Variants { + Variants(path: path + "/variants") + } + + public struct Variants { + /// Path: `/v1/alternativeDistributionPackageVersions/{id}/relationships/variants` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDVariants.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDVariants.swift new file mode 100644 index 00000000..c2e3d9d8 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackageVersionsWithIDVariants.swift @@ -0,0 +1,33 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackageVersions.WithID { + public var variants: Variants { + Variants(path: path + "/variants") + } + + public struct Variants { + /// Path: `/v1/alternativeDistributionPackageVersions/{id}/variants` + public let path: String + + public func get(fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? = nil, limit: Int? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionPackageVariants, limit), id: "alternativeDistributionPackageVersions-variants-get_to_many_related") + } + + private func makeGetQuery(_ fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]?, _ limit: Int?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsAlternativeDistributionPackageVariants, forKey: "fields[alternativeDistributionPackageVariants]", explode: false) + encoder.encode(limit, forKey: "limit") + return encoder.items + } + + public enum FieldsAlternativeDistributionPackageVariants: String, Codable, CaseIterable { + case alternativeDistributionKeyBlob + case url + case urlExpirationDate + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackages.swift new file mode 100644 index 00000000..ef59d208 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackages.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var alternativeDistributionPackages: AlternativeDistributionPackages { + AlternativeDistributionPackages(path: path + "/alternativeDistributionPackages") + } + + public struct AlternativeDistributionPackages { + /// Path: `/v1/alternativeDistributionPackages` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.AlternativeDistributionPackageCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "alternativeDistributionPackages-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift new file mode 100644 index 00000000..adde6275 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithID.swift @@ -0,0 +1,62 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackages { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/alternativeDistributionPackages/{id}` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionPackages-get_instance") + } + + public struct GetParameters { + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? + public var include: [Include]? + public var fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? + public var limitVersions: Int? + + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + case appStoreVersion + case versions + } + + public enum Include: String, Codable, CaseIterable { + case versions + } + + public enum FieldsAlternativeDistributionPackageVersions: String, Codable, CaseIterable { + case alternativeDistributionPackage + case deltas + case state + case url + case urlExpirationDate + case variants + case version + } + + public init(fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, include: [Include]? = nil, fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, limitVersions: Int? = nil) { + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages + self.include = include + self.fieldsAlternativeDistributionPackageVersions = fieldsAlternativeDistributionPackageVersions + self.limitVersions = limitVersions + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") + encoder.encode(include, forKey: "include") + encoder.encode(fieldsAlternativeDistributionPackageVersions, forKey: "fields[alternativeDistributionPackageVersions]") + encoder.encode(limitVersions, forKey: "limit[versions]") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDRelationships.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDRelationships.swift new file mode 100644 index 00000000..2ca32264 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDRelationships.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackages.WithID { + public var relationships: Relationships { + Relationships(path: path + "/relationships") + } + + public struct Relationships { + /// Path: `/v1/alternativeDistributionPackages/{id}/relationships` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDRelationshipsVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDRelationshipsVersions.swift new file mode 100644 index 00000000..b5b648ef --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDRelationshipsVersions.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackages.WithID.Relationships { + public var versions: Versions { + Versions(path: path + "/versions") + } + + public struct Versions { + /// Path: `/v1/alternativeDistributionPackages/{id}/relationships/versions` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift new file mode 100644 index 00000000..49f11965 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AlternativeDistributionPackagesWithIDVersions.swift @@ -0,0 +1,96 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AlternativeDistributionPackages.WithID { + public var versions: Versions { + Versions(path: path + "/versions") + } + + public struct Versions { + /// Path: `/v1/alternativeDistributionPackages/{id}/versions` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "alternativeDistributionPackages-versions-get_to_many_related") + } + + public struct GetParameters { + public var filterState: [FilterState]? + public var fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? + public var fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? + public var fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? + public var limit: Int? + public var limitVariants: Int? + public var limitDeltas: Int? + public var include: [Include]? + + public enum FilterState: String, Codable, CaseIterable { + case completed = "COMPLETED" + case replaced = "REPLACED" + } + + public enum FieldsAlternativeDistributionPackageVariants: String, Codable, CaseIterable { + case alternativeDistributionKeyBlob + case url + case urlExpirationDate + } + + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + case appStoreVersion + case versions + } + + public enum FieldsAlternativeDistributionPackageVersions: String, Codable, CaseIterable { + case alternativeDistributionPackage + case deltas + case state + case url + case urlExpirationDate + case variants + case version + } + + public enum FieldsAlternativeDistributionPackageDeltas: String, Codable, CaseIterable { + case alternativeDistributionKeyBlob + case url + case urlExpirationDate + } + + public enum Include: String, Codable, CaseIterable { + case alternativeDistributionPackage + case deltas + case variants + } + + public init(filterState: [FilterState]? = nil, fieldsAlternativeDistributionPackageVariants: [FieldsAlternativeDistributionPackageVariants]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, fieldsAlternativeDistributionPackageDeltas: [FieldsAlternativeDistributionPackageDeltas]? = nil, limit: Int? = nil, limitVariants: Int? = nil, limitDeltas: Int? = nil, include: [Include]? = nil) { + self.filterState = filterState + self.fieldsAlternativeDistributionPackageVariants = fieldsAlternativeDistributionPackageVariants + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages + self.fieldsAlternativeDistributionPackageVersions = fieldsAlternativeDistributionPackageVersions + self.fieldsAlternativeDistributionPackageDeltas = fieldsAlternativeDistributionPackageDeltas + self.limit = limit + self.limitVariants = limitVariants + self.limitDeltas = limitDeltas + self.include = include + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(filterState, forKey: "filter[state]") + encoder.encode(fieldsAlternativeDistributionPackageVariants, forKey: "fields[alternativeDistributionPackageVariants]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") + encoder.encode(fieldsAlternativeDistributionPackageVersions, forKey: "fields[alternativeDistributionPackageVersions]") + encoder.encode(fieldsAlternativeDistributionPackageDeltas, forKey: "fields[alternativeDistributionPackageDeltas]") + encoder.encode(limit, forKey: "limit") + encoder.encode(limitVariants, forKey: "limit[variants]") + encoder.encode(limitDeltas, forKey: "limit[deltas]") + encoder.encode(include, forKey: "include") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift index 227c6323..7de3619c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithID.swift @@ -48,6 +48,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -57,6 +58,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -65,6 +67,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift index a6520bb5..bd8c1f3f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipDefaultExperiencesWithIDReleaseWithAppStoreVersion.swift @@ -18,39 +18,25 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { } public struct GetParameters { - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? - public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsApps: [FieldsApps]? public var fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? public var fieldsBuilds: [FieldsBuilds]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limitAppStoreVersionLocalizations: Int? public var limitAppStoreVersionExperiments: Int? public var limitAppStoreVersionExperimentsV2: Int? public var include: [Include]? - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion - } - public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { + case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests case gambling @@ -70,10 +56,6 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case violenceRealisticProlongedGraphicOrSadistic } - public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { - case appStoreVersion - } - public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion @@ -87,8 +69,47 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case notes } + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case appPreviewSets + case appScreenshotSets + case appStoreVersion + case description + case keywords + case locale + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + } + + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case app + case appStoreVersion + case appStoreVersionExperimentTreatments + case controlVersions + case endDate + case latestControlVersion + case name + case platform + case reviewRequired + case startDate + case started + case state + case trafficProportion + } + + public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + case appStoreVersion + } + + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + case appStoreVersion + case versions + } + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -98,6 +119,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -106,11 +128,13 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -139,6 +163,7 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder @@ -211,21 +236,9 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case version } - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew - } - public enum Include: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -238,18 +251,19 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { case routingAppCoverage } - public init(fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + public init(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations - self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsApps = fieldsApps self.fieldsRoutingAppCoverages = fieldsRoutingAppCoverages self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases self.fieldsBuilds = fieldsBuilds - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limitAppStoreVersionLocalizations = limitAppStoreVersionLocalizations self.limitAppStoreVersionExperiments = limitAppStoreVersionExperiments self.limitAppStoreVersionExperimentsV2 = limitAppStoreVersionExperimentsV2 @@ -258,17 +272,18 @@ extension APIEndpoint.V1.AppClipDefaultExperiences.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") - encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsRoutingAppCoverages, forKey: "fields[routingAppCoverages]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionLocalizations, forKey: "limit[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionExperiments, forKey: "limit[appStoreVersionExperiments]") encoder.encode(limitAppStoreVersionExperimentsV2, forKey: "limit[appStoreVersionExperimentsV2]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift index d2934a66..222e79f2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppClipsWithIDAppClipDefaultExperiences.swift @@ -42,6 +42,7 @@ extension APIEndpoint.V1.AppClips.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -51,6 +52,7 @@ extension APIEndpoint.V1.AppClips.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -59,6 +61,7 @@ extension APIEndpoint.V1.AppClips.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift index 9ff4fda0..c252e4ea 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarations.swift @@ -74,6 +74,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -102,6 +103,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift index 12ad2ae9..3d80843f 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithID.swift @@ -63,6 +63,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -91,6 +92,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift index 7ca85733..9ee6aaa2 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppEncryptionDeclarationsWithIDApp.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -52,6 +53,7 @@ extension APIEndpoint.V1.AppEncryptionDeclarations.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift index 701c5dec..acab9052 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithID.swift @@ -40,6 +40,7 @@ extension APIEndpoint.V1.AppInfos { case secondaryCategory case secondarySubcategoryOne case secondarySubcategoryTwo + case state } public enum Include: String, Codable, CaseIterable { @@ -55,6 +56,7 @@ extension APIEndpoint.V1.AppInfos { } public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { + case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests case gambling diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift index 39547a5d..16d5972e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAgeRatingDeclaration.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.AppInfos.WithID { } public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { + case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests case gambling diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift index 2fac7322..7aa6ed50 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppInfosWithIDAppInfoLocalizations.swift @@ -39,6 +39,7 @@ extension APIEndpoint.V1.AppInfos.WithID { case secondaryCategory case secondarySubcategoryOne case secondarySubcategoryTwo + case state } public enum FieldsAppInfoLocalizations: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift index 6eb6b635..72935634 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithID.swift @@ -23,6 +23,7 @@ extension APIEndpoint.V1.AppStoreVersions { public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsCustomerReviews: [FieldsCustomerReviews]? public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? @@ -36,6 +37,7 @@ extension APIEndpoint.V1.AppStoreVersions { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -45,6 +47,7 @@ extension APIEndpoint.V1.AppStoreVersions { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -53,12 +56,14 @@ extension APIEndpoint.V1.AppStoreVersions { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } public enum Include: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -92,6 +97,7 @@ extension APIEndpoint.V1.AppStoreVersions { } public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { + case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests case gambling @@ -111,6 +117,11 @@ extension APIEndpoint.V1.AppStoreVersions { case violenceRealisticProlongedGraphicOrSadistic } + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + case appStoreVersion + case versions + } + public enum FieldsCustomerReviews: String, Codable, CaseIterable { case body case createdDate @@ -201,12 +212,13 @@ extension APIEndpoint.V1.AppStoreVersions { case whatsNew } - public init(fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, include: [Include]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersionLocalizations: Int? = nil) { + public init(fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, include: [Include]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersionLocalizations: Int? = nil) { self.fieldsAppStoreVersions = fieldsAppStoreVersions self.include = include self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages self.fieldsCustomerReviews = fieldsCustomerReviews self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences @@ -226,6 +238,7 @@ extension APIEndpoint.V1.AppStoreVersions { encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsCustomerReviews, forKey: "fields[customerReviews]") encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift index c66f94f8..562bf578 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAgeRatingDeclaration.swift @@ -25,6 +25,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { } public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { + case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests case gambling diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift new file mode 100644 index 00000000..d7846489 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAlternativeDistributionPackage.swift @@ -0,0 +1,62 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AppStoreVersions.WithID { + public var alternativeDistributionPackage: AlternativeDistributionPackage { + AlternativeDistributionPackage(path: path + "/alternativeDistributionPackage") + } + + public struct AlternativeDistributionPackage { + /// Path: `/v1/appStoreVersions/{id}/alternativeDistributionPackage` + public let path: String + + public func get(parameters: GetParameters? = nil) -> Request { + Request(path: path, method: "GET", query: parameters?.asQuery, id: "appStoreVersions-alternativeDistributionPackage-get_to_one_related") + } + + public struct GetParameters { + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? + public var fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? + public var limitVersions: Int? + public var include: [Include]? + + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + case appStoreVersion + case versions + } + + public enum FieldsAlternativeDistributionPackageVersions: String, Codable, CaseIterable { + case alternativeDistributionPackage + case deltas + case state + case url + case urlExpirationDate + case variants + case version + } + + public enum Include: String, Codable, CaseIterable { + case versions + } + + public init(fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAlternativeDistributionPackageVersions: [FieldsAlternativeDistributionPackageVersions]? = nil, limitVersions: Int? = nil, include: [Include]? = nil) { + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages + self.fieldsAlternativeDistributionPackageVersions = fieldsAlternativeDistributionPackageVersions + self.limitVersions = limitVersions + self.include = include + } + + public var asQuery: [(String, String?)] { + let encoder = URLQueryEncoder(explode: false) + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") + encoder.encode(fieldsAlternativeDistributionPackageVersions, forKey: "fields[alternativeDistributionPackageVersions]") + encoder.encode(limitVersions, forKey: "limit[versions]") + encoder.encode(include, forKey: "include") + return encoder.items + } + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift index 7ec61f4c..e8a4005e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppClipDefaultExperience.swift @@ -40,6 +40,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -49,6 +50,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -57,6 +59,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift index ce1df925..6c5b2388 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreReviewDetail.swift @@ -39,6 +39,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -48,6 +49,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -56,6 +58,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift index 9163fca9..a34b4ac7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperiments.swift @@ -63,6 +63,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -72,6 +73,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -80,6 +82,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift index 87bae20c..76e0f485 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionExperimentsV2.swift @@ -67,6 +67,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -76,6 +77,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -84,11 +86,13 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -117,6 +121,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift index 95fcf240..dfc0f771 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDAppStoreVersionSubmission.swift @@ -29,6 +29,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -38,6 +39,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -46,6 +48,7 @@ extension APIEndpoint.V1.AppStoreVersions.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAlternativeDistributionPackage.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAlternativeDistributionPackage.swift new file mode 100644 index 00000000..90eb49af --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppStoreVersionsWithIDRelationshipsAlternativeDistributionPackage.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.AppStoreVersions.WithID.Relationships { + public var alternativeDistributionPackage: AlternativeDistributionPackage { + AlternativeDistributionPackage(path: path + "/alternativeDistributionPackage") + } + + public struct AlternativeDistributionPackage { + /// Path: `/v1/appStoreVersions/{id}/relationships/alternativeDistributionPackage` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift index 5cbd82ff..945d1fdd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Apps.swift @@ -34,6 +34,7 @@ extension APIEndpoint.V1 { public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? public var fieldsCiProducts: [FieldsCiProducts]? + public var fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? public var fieldsBetaGroups: [FieldsBetaGroups]? public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? @@ -42,6 +43,7 @@ extension APIEndpoint.V1 { public var fieldsAppEvents: [FieldsAppEvents]? public var fieldsBuilds: [FieldsBuilds]? public var fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? + public var fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]? public var fieldsAppClips: [FieldsAppClips]? public var fieldsAppInfos: [FieldsAppInfos]? public var fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? @@ -100,6 +102,7 @@ extension APIEndpoint.V1 { case waitingForExportCompliance = "WAITING_FOR_EXPORT_COMPLIANCE" case waitingForReview = "WAITING_FOR_REVIEW" case replacedWithNewVersion = "REPLACED_WITH_NEW_VERSION" + case notApplicable = "NOT_APPLICABLE" } public enum FilterAppStoreVersionsPlatform: String, Codable, CaseIterable { @@ -119,6 +122,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -147,6 +151,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder @@ -241,6 +246,11 @@ extension APIEndpoint.V1 { case workflows } + public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { + case app + case publicKey + } + public enum FieldsReviewSubmissions: String, Codable, CaseIterable { case app case appStoreVersionForReview @@ -344,6 +354,11 @@ extension APIEndpoint.V1 { case app } + public enum FieldsMarketplaceSearchDetails: String, Codable, CaseIterable { + case app + case catalogURL = "catalogUrl" + } + public enum FieldsAppClips: String, Codable, CaseIterable { case app case appClipAdvancedExperiences @@ -366,6 +381,7 @@ extension APIEndpoint.V1 { case secondaryCategory case secondarySubcategoryOne case secondarySubcategoryTwo + case state } public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { @@ -470,6 +486,7 @@ extension APIEndpoint.V1 { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -479,6 +496,7 @@ extension APIEndpoint.V1 { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -487,6 +505,7 @@ extension APIEndpoint.V1 { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } @@ -531,7 +550,7 @@ extension APIEndpoint.V1 { case platform } - public init(filterAppStoreVersionsAppStoreState: [FilterAppStoreVersionsAppStoreState]? = nil, filterAppStoreVersionsPlatform: [FilterAppStoreVersionsPlatform]? = nil, filterBundleID: [String]? = nil, filterName: [String]? = nil, filterSku: [String]? = nil, filterAppStoreVersions: [String]? = nil, filterID: [String]? = nil, isExistsGameCenterEnabledVersions: Bool? = nil, sort: [Sort]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? = nil, limitAppClips: Int? = nil, limitAppCustomProductPages: Int? = nil, limitAppEncryptionDeclarations: Int? = nil, limitAppEvents: Int? = nil, limitAppInfos: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersions: Int? = nil, limitAvailableTerritories: Int? = nil, limitBetaAppLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil, limitGameCenterEnabledVersions: Int? = nil, limitInAppPurchases: Int? = nil, limitInAppPurchasesV2: Int? = nil, limitPreReleaseVersions: Int? = nil, limitPrices: Int? = nil, limitPromotedPurchases: Int? = nil, limitReviewSubmissions: Int? = nil, limitSubscriptionGroups: Int? = nil) { + public init(filterAppStoreVersionsAppStoreState: [FilterAppStoreVersionsAppStoreState]? = nil, filterAppStoreVersionsPlatform: [FilterAppStoreVersionsPlatform]? = nil, filterBundleID: [String]? = nil, filterName: [String]? = nil, filterSku: [String]? = nil, filterAppStoreVersions: [String]? = nil, filterID: [String]? = nil, isExistsGameCenterEnabledVersions: Bool? = nil, sort: [Sort]? = nil, fieldsApps: [FieldsApps]? = nil, limit: Int? = nil, include: [Include]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? = nil, limitAppClips: Int? = nil, limitAppCustomProductPages: Int? = nil, limitAppEncryptionDeclarations: Int? = nil, limitAppEvents: Int? = nil, limitAppInfos: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersions: Int? = nil, limitAvailableTerritories: Int? = nil, limitBetaAppLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil, limitGameCenterEnabledVersions: Int? = nil, limitInAppPurchases: Int? = nil, limitInAppPurchasesV2: Int? = nil, limitPreReleaseVersions: Int? = nil, limitPrices: Int? = nil, limitPromotedPurchases: Int? = nil, limitReviewSubmissions: Int? = nil, limitSubscriptionGroups: Int? = nil) { self.filterAppStoreVersionsAppStoreState = filterAppStoreVersionsAppStoreState self.filterAppStoreVersionsPlatform = filterAppStoreVersionsPlatform self.filterBundleID = filterBundleID @@ -548,6 +567,7 @@ extension APIEndpoint.V1 { self.fieldsGameCenterDetails = fieldsGameCenterDetails self.fieldsAppPriceSchedules = fieldsAppPriceSchedules self.fieldsCiProducts = fieldsCiProducts + self.fieldsAlternativeDistributionKeys = fieldsAlternativeDistributionKeys self.fieldsReviewSubmissions = fieldsReviewSubmissions self.fieldsBetaGroups = fieldsBetaGroups self.fieldsPromotedPurchases = fieldsPromotedPurchases @@ -556,6 +576,7 @@ extension APIEndpoint.V1 { self.fieldsAppEvents = fieldsAppEvents self.fieldsBuilds = fieldsBuilds self.fieldsBetaLicenseAgreements = fieldsBetaLicenseAgreements + self.fieldsMarketplaceSearchDetails = fieldsMarketplaceSearchDetails self.fieldsAppClips = fieldsAppClips self.fieldsAppInfos = fieldsAppInfos self.fieldsBetaAppLocalizations = fieldsBetaAppLocalizations @@ -613,6 +634,7 @@ extension APIEndpoint.V1 { encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsAppPriceSchedules, forKey: "fields[appPriceSchedules]") encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") + encoder.encode(fieldsAlternativeDistributionKeys, forKey: "fields[alternativeDistributionKeys]") encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") @@ -621,6 +643,7 @@ extension APIEndpoint.V1 { encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsBetaLicenseAgreements, forKey: "fields[betaLicenseAgreements]") + encoder.encode(fieldsMarketplaceSearchDetails, forKey: "fields[marketplaceSearchDetails]") encoder.encode(fieldsAppClips, forKey: "fields[appClips]") encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") encoder.encode(fieldsBetaAppLocalizations, forKey: "fields[betaAppLocalizations]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift index 8e7ef84a..5060c14a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithID.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.Apps { public var fieldsGameCenterDetails: [FieldsGameCenterDetails]? public var fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? public var fieldsCiProducts: [FieldsCiProducts]? + public var fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? public var fieldsReviewSubmissions: [FieldsReviewSubmissions]? public var fieldsBetaGroups: [FieldsBetaGroups]? public var fieldsPromotedPurchases: [FieldsPromotedPurchases]? @@ -32,6 +33,7 @@ extension APIEndpoint.V1.Apps { public var fieldsAppEvents: [FieldsAppEvents]? public var fieldsBuilds: [FieldsBuilds]? public var fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? + public var fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]? public var fieldsAppClips: [FieldsAppClips]? public var fieldsAppInfos: [FieldsAppInfos]? public var fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? @@ -71,6 +73,7 @@ extension APIEndpoint.V1.Apps { public var limitSubscriptionGroups: Int? public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -99,6 +102,7 @@ extension APIEndpoint.V1.Apps { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder @@ -193,6 +197,11 @@ extension APIEndpoint.V1.Apps { case workflows } + public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { + case app + case publicKey + } + public enum FieldsReviewSubmissions: String, Codable, CaseIterable { case app case appStoreVersionForReview @@ -296,6 +305,11 @@ extension APIEndpoint.V1.Apps { case app } + public enum FieldsMarketplaceSearchDetails: String, Codable, CaseIterable { + case app + case catalogURL = "catalogUrl" + } + public enum FieldsAppClips: String, Codable, CaseIterable { case app case appClipAdvancedExperiences @@ -318,6 +332,7 @@ extension APIEndpoint.V1.Apps { case secondaryCategory case secondarySubcategoryOne case secondarySubcategoryTwo + case state } public enum FieldsBetaAppLocalizations: String, Codable, CaseIterable { @@ -422,6 +437,7 @@ extension APIEndpoint.V1.Apps { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -431,6 +447,7 @@ extension APIEndpoint.V1.Apps { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -439,6 +456,7 @@ extension APIEndpoint.V1.Apps { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } @@ -483,13 +501,14 @@ extension APIEndpoint.V1.Apps { case platform } - public init(fieldsApps: [FieldsApps]? = nil, include: [Include]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? = nil, limitAppClips: Int? = nil, limitAppCustomProductPages: Int? = nil, limitAppEncryptionDeclarations: Int? = nil, limitAppEvents: Int? = nil, limitAppInfos: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersions: Int? = nil, limitAvailableTerritories: Int? = nil, limitBetaAppLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil, limitGameCenterEnabledVersions: Int? = nil, limitInAppPurchases: Int? = nil, limitInAppPurchasesV2: Int? = nil, limitPreReleaseVersions: Int? = nil, limitPrices: Int? = nil, limitPromotedPurchases: Int? = nil, limitReviewSubmissions: Int? = nil, limitSubscriptionGroups: Int? = nil) { + public init(fieldsApps: [FieldsApps]? = nil, include: [Include]? = nil, fieldsBetaAppReviewDetails: [FieldsBetaAppReviewDetails]? = nil, fieldsGameCenterDetails: [FieldsGameCenterDetails]? = nil, fieldsAppPriceSchedules: [FieldsAppPriceSchedules]? = nil, fieldsCiProducts: [FieldsCiProducts]? = nil, fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? = nil, fieldsReviewSubmissions: [FieldsReviewSubmissions]? = nil, fieldsBetaGroups: [FieldsBetaGroups]? = nil, fieldsPromotedPurchases: [FieldsPromotedPurchases]? = nil, fieldsAppAvailabilities: [FieldsAppAvailabilities]? = nil, fieldsCustomerReviews: [FieldsCustomerReviews]? = nil, fieldsAppEvents: [FieldsAppEvents]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsBetaLicenseAgreements: [FieldsBetaLicenseAgreements]? = nil, fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]? = nil, fieldsAppClips: [FieldsAppClips]? = nil, fieldsAppInfos: [FieldsAppInfos]? = nil, fieldsBetaAppLocalizations: [FieldsBetaAppLocalizations]? = nil, fieldsAppPricePoints: [FieldsAppPricePoints]? = nil, fieldsInAppPurchases: [FieldsInAppPurchases]? = nil, fieldsPreReleaseVersions: [FieldsPreReleaseVersions]? = nil, fieldsSubscriptionGroups: [FieldsSubscriptionGroups]? = nil, fieldsAppPrices: [FieldsAppPrices]? = nil, fieldsAppPreOrders: [FieldsAppPreOrders]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsGameCenterEnabledVersions: [FieldsGameCenterEnabledVersions]? = nil, fieldsSubscriptionGracePeriods: [FieldsSubscriptionGracePeriods]? = nil, fieldsEndUserLicenseAgreements: [FieldsEndUserLicenseAgreements]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsAppCustomProductPages: [FieldsAppCustomProductPages]? = nil, fieldsAppEncryptionDeclarations: [FieldsAppEncryptionDeclarations]? = nil, fieldsTerritories: [FieldsTerritories]? = nil, fieldsPerfPowerMetrics: [FieldsPerfPowerMetrics]? = nil, limitAppClips: Int? = nil, limitAppCustomProductPages: Int? = nil, limitAppEncryptionDeclarations: Int? = nil, limitAppEvents: Int? = nil, limitAppInfos: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, limitAppStoreVersions: Int? = nil, limitAvailableTerritories: Int? = nil, limitBetaAppLocalizations: Int? = nil, limitBetaGroups: Int? = nil, limitBuilds: Int? = nil, limitGameCenterEnabledVersions: Int? = nil, limitInAppPurchases: Int? = nil, limitInAppPurchasesV2: Int? = nil, limitPreReleaseVersions: Int? = nil, limitPrices: Int? = nil, limitPromotedPurchases: Int? = nil, limitReviewSubmissions: Int? = nil, limitSubscriptionGroups: Int? = nil) { self.fieldsApps = fieldsApps self.include = include self.fieldsBetaAppReviewDetails = fieldsBetaAppReviewDetails self.fieldsGameCenterDetails = fieldsGameCenterDetails self.fieldsAppPriceSchedules = fieldsAppPriceSchedules self.fieldsCiProducts = fieldsCiProducts + self.fieldsAlternativeDistributionKeys = fieldsAlternativeDistributionKeys self.fieldsReviewSubmissions = fieldsReviewSubmissions self.fieldsBetaGroups = fieldsBetaGroups self.fieldsPromotedPurchases = fieldsPromotedPurchases @@ -498,6 +517,7 @@ extension APIEndpoint.V1.Apps { self.fieldsAppEvents = fieldsAppEvents self.fieldsBuilds = fieldsBuilds self.fieldsBetaLicenseAgreements = fieldsBetaLicenseAgreements + self.fieldsMarketplaceSearchDetails = fieldsMarketplaceSearchDetails self.fieldsAppClips = fieldsAppClips self.fieldsAppInfos = fieldsAppInfos self.fieldsBetaAppLocalizations = fieldsBetaAppLocalizations @@ -545,6 +565,7 @@ extension APIEndpoint.V1.Apps { encoder.encode(fieldsGameCenterDetails, forKey: "fields[gameCenterDetails]") encoder.encode(fieldsAppPriceSchedules, forKey: "fields[appPriceSchedules]") encoder.encode(fieldsCiProducts, forKey: "fields[ciProducts]") + encoder.encode(fieldsAlternativeDistributionKeys, forKey: "fields[alternativeDistributionKeys]") encoder.encode(fieldsReviewSubmissions, forKey: "fields[reviewSubmissions]") encoder.encode(fieldsBetaGroups, forKey: "fields[betaGroups]") encoder.encode(fieldsPromotedPurchases, forKey: "fields[promotedPurchases]") @@ -553,6 +574,7 @@ extension APIEndpoint.V1.Apps { encoder.encode(fieldsAppEvents, forKey: "fields[appEvents]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") encoder.encode(fieldsBetaLicenseAgreements, forKey: "fields[betaLicenseAgreements]") + encoder.encode(fieldsMarketplaceSearchDetails, forKey: "fields[marketplaceSearchDetails]") encoder.encode(fieldsAppClips, forKey: "fields[appClips]") encoder.encode(fieldsAppInfos, forKey: "fields[appInfos]") encoder.encode(fieldsBetaAppLocalizations, forKey: "fields[betaAppLocalizations]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift new file mode 100644 index 00000000..74a191d2 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAlternativeDistributionKey.swift @@ -0,0 +1,31 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Apps.WithID { + public var alternativeDistributionKey: AlternativeDistributionKey { + AlternativeDistributionKey(path: path + "/alternativeDistributionKey") + } + + public struct AlternativeDistributionKey { + /// Path: `/v1/apps/{id}/alternativeDistributionKey` + public let path: String + + public func get(fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsAlternativeDistributionKeys), id: "apps-alternativeDistributionKey-get_to_one_related") + } + + private func makeGetQuery(_ fieldsAlternativeDistributionKeys: [FieldsAlternativeDistributionKeys]?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsAlternativeDistributionKeys, forKey: "fields[alternativeDistributionKeys]", explode: false) + return encoder.items + } + + public enum FieldsAlternativeDistributionKeys: String, Codable, CaseIterable { + case app + case publicKey + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift index b536f417..faa7650b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppAvailability.swift @@ -32,6 +32,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -60,6 +61,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift index 0be5e516..b5ede0c1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppClips.swift @@ -34,6 +34,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -62,6 +63,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift index d0f4b1c4..f6f64005 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppCustomProductPages.swift @@ -44,6 +44,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -72,6 +73,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift index cf624abb..dc671dfa 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppEncryptionDeclarations.swift @@ -56,6 +56,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -84,6 +85,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift index 49026f3e..f8001bec 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppInfos.swift @@ -28,6 +28,7 @@ extension APIEndpoint.V1.Apps.WithID { public var include: [Include]? public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { + case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests case gambling @@ -62,6 +63,7 @@ extension APIEndpoint.V1.Apps.WithID { case secondaryCategory case secondarySubcategoryOne case secondarySubcategoryTwo + case state } public enum FieldsAppInfoLocalizations: String, Codable, CaseIterable { @@ -81,6 +83,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -109,6 +112,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift index c9aadd78..0bdf8edd 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPricePoints.swift @@ -34,6 +34,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -62,6 +63,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift index dc81ba01..a2634480 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppPriceSchedule.swift @@ -42,6 +42,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -70,6 +71,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift index b4c2e596..a4d30e1b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersionExperimentsV2.swift @@ -67,6 +67,7 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -76,6 +77,7 @@ extension APIEndpoint.V1.Apps.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -84,11 +86,13 @@ extension APIEndpoint.V1.Apps.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -117,6 +121,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift index 1cc05161..0cb40c62 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDAppStoreVersions.swift @@ -19,20 +19,22 @@ extension APIEndpoint.V1.Apps.WithID { public struct GetParameters { public var filterAppStoreState: [FilterAppStoreState]? + public var filterAppVersionState: [FilterAppVersionState]? public var filterPlatform: [FilterPlatform]? public var filterVersionString: [String]? public var filterID: [String]? - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? - public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsApps: [FieldsApps]? public var fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? public var fieldsBuilds: [FieldsBuilds]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limit: Int? public var limitAppStoreVersionLocalizations: Int? public var limitAppStoreVersionExperiments: Int? @@ -59,6 +61,25 @@ extension APIEndpoint.V1.Apps.WithID { case waitingForExportCompliance = "WAITING_FOR_EXPORT_COMPLIANCE" case waitingForReview = "WAITING_FOR_REVIEW" case replacedWithNewVersion = "REPLACED_WITH_NEW_VERSION" + case notApplicable = "NOT_APPLICABLE" + } + + public enum FilterAppVersionState: String, Codable, CaseIterable { + case accepted = "ACCEPTED" + case developerRejected = "DEVELOPER_REJECTED" + case inReview = "IN_REVIEW" + case invalidBinary = "INVALID_BINARY" + case metadataRejected = "METADATA_REJECTED" + case pendingAppleRelease = "PENDING_APPLE_RELEASE" + case pendingDeveloperRelease = "PENDING_DEVELOPER_RELEASE" + case prepareForSubmission = "PREPARE_FOR_SUBMISSION" + case processingForDistribution = "PROCESSING_FOR_DISTRIBUTION" + case readyForDistribution = "READY_FOR_DISTRIBUTION" + case readyForReview = "READY_FOR_REVIEW" + case rejected = "REJECTED" + case replacedWithNewVersion = "REPLACED_WITH_NEW_VERSION" + case waitingForExportCompliance = "WAITING_FOR_EXPORT_COMPLIANCE" + case waitingForReview = "WAITING_FOR_REVIEW" } public enum FilterPlatform: String, Codable, CaseIterable { @@ -68,23 +89,8 @@ extension APIEndpoint.V1.Apps.WithID { case visionOs = "VISION_OS" } - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion - } - public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { + case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests case gambling @@ -104,10 +110,6 @@ extension APIEndpoint.V1.Apps.WithID { case violenceRealisticProlongedGraphicOrSadistic } - public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { - case appStoreVersion - } - public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion @@ -121,8 +123,47 @@ extension APIEndpoint.V1.Apps.WithID { case notes } + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case appPreviewSets + case appScreenshotSets + case appStoreVersion + case description + case keywords + case locale + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + } + + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case app + case appStoreVersion + case appStoreVersionExperimentTreatments + case controlVersions + case endDate + case latestControlVersion + case name + case platform + case reviewRequired + case startDate + case started + case state + case trafficProportion + } + + public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + case appStoreVersion + } + + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + case appStoreVersion + case versions + } + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -132,6 +173,7 @@ extension APIEndpoint.V1.Apps.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -140,11 +182,13 @@ extension APIEndpoint.V1.Apps.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -173,6 +217,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder @@ -245,21 +290,9 @@ extension APIEndpoint.V1.Apps.WithID { case version } - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew - } - public enum Include: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -272,22 +305,24 @@ extension APIEndpoint.V1.Apps.WithID { case routingAppCoverage } - public init(filterAppStoreState: [FilterAppStoreState]? = nil, filterPlatform: [FilterPlatform]? = nil, filterVersionString: [String]? = nil, filterID: [String]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limit: Int? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { + public init(filterAppStoreState: [FilterAppStoreState]? = nil, filterAppVersionState: [FilterAppVersionState]? = nil, filterPlatform: [FilterPlatform]? = nil, filterVersionString: [String]? = nil, filterID: [String]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limit: Int? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { self.filterAppStoreState = filterAppStoreState + self.filterAppVersionState = filterAppVersionState self.filterPlatform = filterPlatform self.filterVersionString = filterVersionString self.filterID = filterID - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations - self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsApps = fieldsApps self.fieldsRoutingAppCoverages = fieldsRoutingAppCoverages self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases self.fieldsBuilds = fieldsBuilds - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limit = limit self.limitAppStoreVersionLocalizations = limitAppStoreVersionLocalizations self.limitAppStoreVersionExperiments = limitAppStoreVersionExperiments @@ -298,20 +333,22 @@ extension APIEndpoint.V1.Apps.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) encoder.encode(filterAppStoreState, forKey: "filter[appStoreState]") + encoder.encode(filterAppVersionState, forKey: "filter[appVersionState]") encoder.encode(filterPlatform, forKey: "filter[platform]") encoder.encode(filterVersionString, forKey: "filter[versionString]") encoder.encode(filterID, forKey: "filter[id]") - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") - encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsRoutingAppCoverages, forKey: "fields[routingAppCoverages]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limit, forKey: "limit") encoder.encode(limitAppStoreVersionLocalizations, forKey: "limit[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionExperiments, forKey: "limit[appStoreVersionExperiments]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift index 4cb6cec4..a90eedc4 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDCiProduct.swift @@ -38,6 +38,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -66,6 +67,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift index b9de8c70..5e16ca34 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterDetail.swift @@ -125,6 +125,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -153,6 +154,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift index fafa9ae7..09b93c79 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDGameCenterEnabledVersions.swift @@ -50,6 +50,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -78,6 +79,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift index 336633ac..5146f8aa 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDInAppPurchases.swift @@ -54,6 +54,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -82,6 +83,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift new file mode 100644 index 00000000..2794d29b --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDMarketplaceSearchDetail.swift @@ -0,0 +1,31 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Apps.WithID { + public var marketplaceSearchDetail: MarketplaceSearchDetail { + MarketplaceSearchDetail(path: path + "/marketplaceSearchDetail") + } + + public struct MarketplaceSearchDetail { + /// Path: `/v1/apps/{id}/marketplaceSearchDetail` + public let path: String + + public func get(fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceSearchDetails), id: "apps-marketplaceSearchDetail-get_to_one_related") + } + + private func makeGetQuery(_ fieldsMarketplaceSearchDetails: [FieldsMarketplaceSearchDetails]?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsMarketplaceSearchDetails, forKey: "fields[marketplaceSearchDetails]", explode: false) + return encoder.items + } + + public enum FieldsMarketplaceSearchDetails: String, Codable, CaseIterable { + case app + case catalogURL = "catalogUrl" + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPricePoints.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPricePoints.swift index 445cec0b..7f737143 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPricePoints.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPricePoints.swift @@ -41,6 +41,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -69,6 +70,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPrices.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPrices.swift index 04e19ba5..d1e25bfc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPrices.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDPrices.swift @@ -30,6 +30,7 @@ extension APIEndpoint.V1.Apps.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -58,6 +59,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAlternativeDistributionKey.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAlternativeDistributionKey.swift new file mode 100644 index 00000000..bc6ab6e6 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsAlternativeDistributionKey.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Apps.WithID.Relationships { + public var alternativeDistributionKey: AlternativeDistributionKey { + AlternativeDistributionKey(path: path + "/alternativeDistributionKey") + } + + public struct AlternativeDistributionKey { + /// Path: `/v1/apps/{id}/relationships/alternativeDistributionKey` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsMarketplaceSearchDetail.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsMarketplaceSearchDetail.swift new file mode 100644 index 00000000..aa6bcd36 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDRelationshipsMarketplaceSearchDetail.swift @@ -0,0 +1,16 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.Apps.WithID.Relationships { + public var marketplaceSearchDetail: MarketplaceSearchDetail { + MarketplaceSearchDetail(path: path + "/marketplaceSearchDetail") + } + + public struct MarketplaceSearchDetail { + /// Path: `/v1/apps/{id}/relationships/marketplaceSearchDetail` + public let path: String + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift index be4c2f8b..63c353eb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1AppsWithIDReviewSubmissions.swift @@ -68,6 +68,7 @@ extension APIEndpoint.V1.Apps.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -77,6 +78,7 @@ extension APIEndpoint.V1.Apps.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -85,11 +87,13 @@ extension APIEndpoint.V1.Apps.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -118,6 +122,7 @@ extension APIEndpoint.V1.Apps.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift index 94449a1f..3ab82e11 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizations.swift @@ -40,6 +40,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -68,6 +69,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift index ac37e362..98245620 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithID.swift @@ -37,6 +37,7 @@ extension APIEndpoint.V1.BetaAppLocalizations { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -65,6 +66,7 @@ extension APIEndpoint.V1.BetaAppLocalizations { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift index 263187a0..ce879a99 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppLocalizationsWithIDApp.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.BetaAppLocalizations.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -52,6 +53,7 @@ extension APIEndpoint.V1.BetaAppLocalizations.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift index 921d08e8..47e151e1 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetails.swift @@ -41,6 +41,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -69,6 +70,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift index b3cc3bbe..dfecc107 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithID.swift @@ -39,6 +39,7 @@ extension APIEndpoint.V1.BetaAppReviewDetails { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -67,6 +68,7 @@ extension APIEndpoint.V1.BetaAppReviewDetails { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift index cac7378e..ca3cb424 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaAppReviewDetailsWithIDApp.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.BetaAppReviewDetails.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -52,6 +53,7 @@ extension APIEndpoint.V1.BetaAppReviewDetails.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift index da2ea154..43405c77 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroups.swift @@ -81,6 +81,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -109,6 +110,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift index de806fc4..46c1d42c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithID.swift @@ -60,6 +60,7 @@ extension APIEndpoint.V1.BetaGroups { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -88,6 +89,7 @@ extension APIEndpoint.V1.BetaGroups { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift index 06bf2464..a2ea5ae5 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaGroupsWithIDApp.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.BetaGroups.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -52,6 +53,7 @@ extension APIEndpoint.V1.BetaGroups.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift index c7b789a4..2007c11d 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreements.swift @@ -34,6 +34,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -62,6 +63,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift index 3749fdbd..0bb334bc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithID.swift @@ -32,6 +32,7 @@ extension APIEndpoint.V1.BetaLicenseAgreements { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -60,6 +61,7 @@ extension APIEndpoint.V1.BetaLicenseAgreements { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift index ebf41fb5..0704883b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaLicenseAgreementsWithIDApp.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.BetaLicenseAgreements.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -52,6 +53,7 @@ extension APIEndpoint.V1.BetaLicenseAgreements.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift index 9e4d7a47..cefaa637 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTesters.swift @@ -70,6 +70,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -98,6 +99,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift index c24e7791..1515a654 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithID.swift @@ -44,6 +44,7 @@ extension APIEndpoint.V1.BetaTesters { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -72,6 +73,7 @@ extension APIEndpoint.V1.BetaTesters { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift index 8e60fac7..630333c7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BetaTestersWithIDApps.swift @@ -25,6 +25,7 @@ extension APIEndpoint.V1.BetaTesters.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -53,6 +54,7 @@ extension APIEndpoint.V1.BetaTesters.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift index 6074e4f8..651dfe17 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Builds.swift @@ -166,6 +166,7 @@ extension APIEndpoint.V1 { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -175,6 +176,7 @@ extension APIEndpoint.V1 { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -183,6 +185,7 @@ extension APIEndpoint.V1 { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } @@ -221,6 +224,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -249,6 +253,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift index 83d9fcf1..a546af59 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithID.swift @@ -116,6 +116,7 @@ extension APIEndpoint.V1.Builds { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -125,6 +126,7 @@ extension APIEndpoint.V1.Builds { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -133,6 +135,7 @@ extension APIEndpoint.V1.Builds { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } @@ -171,6 +174,7 @@ extension APIEndpoint.V1.Builds { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -199,6 +203,7 @@ extension APIEndpoint.V1.Builds { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift index 62ab78f3..f2b769f8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDApp.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.Builds.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -52,6 +53,7 @@ extension APIEndpoint.V1.Builds.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift index 318a2ad1..1ca1d368 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BuildsWithIDAppStoreVersion.swift @@ -18,39 +18,25 @@ extension APIEndpoint.V1.Builds.WithID { } public struct GetParameters { - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? - public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsApps: [FieldsApps]? public var fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? public var fieldsBuilds: [FieldsBuilds]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limitAppStoreVersionLocalizations: Int? public var limitAppStoreVersionExperiments: Int? public var limitAppStoreVersionExperimentsV2: Int? public var include: [Include]? - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion - } - public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { + case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests case gambling @@ -70,10 +56,6 @@ extension APIEndpoint.V1.Builds.WithID { case violenceRealisticProlongedGraphicOrSadistic } - public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { - case appStoreVersion - } - public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion @@ -87,8 +69,47 @@ extension APIEndpoint.V1.Builds.WithID { case notes } + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case appPreviewSets + case appScreenshotSets + case appStoreVersion + case description + case keywords + case locale + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + } + + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case app + case appStoreVersion + case appStoreVersionExperimentTreatments + case controlVersions + case endDate + case latestControlVersion + case name + case platform + case reviewRequired + case startDate + case started + case state + case trafficProportion + } + + public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + case appStoreVersion + } + + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + case appStoreVersion + case versions + } + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -98,6 +119,7 @@ extension APIEndpoint.V1.Builds.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -106,11 +128,13 @@ extension APIEndpoint.V1.Builds.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -139,6 +163,7 @@ extension APIEndpoint.V1.Builds.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder @@ -211,21 +236,9 @@ extension APIEndpoint.V1.Builds.WithID { case version } - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew - } - public enum Include: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -238,18 +251,19 @@ extension APIEndpoint.V1.Builds.WithID { case routingAppCoverage } - public init(fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + public init(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations - self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsApps = fieldsApps self.fieldsRoutingAppCoverages = fieldsRoutingAppCoverages self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases self.fieldsBuilds = fieldsBuilds - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limitAppStoreVersionLocalizations = limitAppStoreVersionLocalizations self.limitAppStoreVersionExperiments = limitAppStoreVersionExperiments self.limitAppStoreVersionExperimentsV2 = limitAppStoreVersionExperimentsV2 @@ -258,17 +272,18 @@ extension APIEndpoint.V1.Builds.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") - encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsRoutingAppCoverages, forKey: "fields[routingAppCoverages]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionLocalizations, forKey: "limit[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionExperiments, forKey: "limit[appStoreVersionExperiments]") encoder.encode(limitAppStoreVersionExperimentsV2, forKey: "limit[appStoreVersionExperimentsV2]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift index 3a1018f3..2e815e10 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDs.swift @@ -88,6 +88,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -116,6 +117,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift index f1762983..8554e111 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithID.swift @@ -63,6 +63,7 @@ extension APIEndpoint.V1.BundleIDs { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -91,6 +92,7 @@ extension APIEndpoint.V1.BundleIDs { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift index 45c3d5f2..2ae947b9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1BundleIDsWithIDApp.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.BundleIDs.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -52,6 +53,7 @@ extension APIEndpoint.V1.BundleIDs.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift index 45f6354a..46768b00 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiBuildRunsWithIDBuilds.swift @@ -155,6 +155,7 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -164,6 +165,7 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -172,6 +174,7 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } @@ -197,6 +200,7 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -225,6 +229,7 @@ extension APIEndpoint.V1.CiBuildRuns.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift index 6e8feff8..0b77a523 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProducts.swift @@ -100,6 +100,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -128,6 +129,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift index ace4c5fd..fae3ac06 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithID.swift @@ -92,6 +92,7 @@ extension APIEndpoint.V1.CiProducts { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -120,6 +121,7 @@ extension APIEndpoint.V1.CiProducts { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift index 9c7c8c64..48fe7843 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1CiProductsWithIDApp.swift @@ -146,6 +146,7 @@ extension APIEndpoint.V1.CiProducts.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -174,6 +175,7 @@ extension APIEndpoint.V1.CiProducts.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder @@ -271,6 +273,7 @@ extension APIEndpoint.V1.CiProducts.WithID { case secondaryCategory case secondarySubcategoryOne case secondarySubcategoryTwo + case state } public enum FieldsPreReleaseVersions: String, Codable, CaseIterable { @@ -356,6 +359,7 @@ extension APIEndpoint.V1.CiProducts.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -365,6 +369,7 @@ extension APIEndpoint.V1.CiProducts.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -373,6 +378,7 @@ extension APIEndpoint.V1.CiProducts.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift index 08c1cfc3..1febd6c6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithID.swift @@ -36,6 +36,7 @@ extension APIEndpoint.V1.GameCenterAppVersions { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -45,6 +46,7 @@ extension APIEndpoint.V1.GameCenterAppVersions { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -53,6 +55,7 @@ extension APIEndpoint.V1.GameCenterAppVersions { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift index 90d27f20..035284f7 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDAppStoreVersion.swift @@ -18,39 +18,25 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { } public struct GetParameters { - public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? public var fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? - public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? public var fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? + public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? + public var fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? + public var fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? + public var fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? public var fieldsAppStoreVersions: [FieldsAppStoreVersions]? public var fieldsApps: [FieldsApps]? public var fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? public var fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? public var fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? public var fieldsBuilds: [FieldsBuilds]? - public var fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? public var limitAppStoreVersionLocalizations: Int? public var limitAppStoreVersionExperiments: Int? public var limitAppStoreVersionExperimentsV2: Int? public var include: [Include]? - public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { - case app - case appStoreVersion - case appStoreVersionExperimentTreatments - case controlVersions - case endDate - case latestControlVersion - case name - case platform - case reviewRequired - case startDate - case started - case state - case trafficProportion - } - public enum FieldsAgeRatingDeclarations: String, Codable, CaseIterable { + case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests case gambling @@ -70,10 +56,6 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case violenceRealisticProlongedGraphicOrSadistic } - public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { - case appStoreVersion - } - public enum FieldsAppStoreReviewDetails: String, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion @@ -87,8 +69,47 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case notes } + public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { + case appPreviewSets + case appScreenshotSets + case appStoreVersion + case description + case keywords + case locale + case marketingURL = "marketingUrl" + case promotionalText + case supportURL = "supportUrl" + case whatsNew + } + + public enum FieldsAppStoreVersionExperiments: String, Codable, CaseIterable { + case app + case appStoreVersion + case appStoreVersionExperimentTreatments + case controlVersions + case endDate + case latestControlVersion + case name + case platform + case reviewRequired + case startDate + case started + case state + case trafficProportion + } + + public enum FieldsAppStoreVersionSubmissions: String, Codable, CaseIterable { + case appStoreVersion + } + + public enum FieldsAlternativeDistributionPackages: String, Codable, CaseIterable { + case appStoreVersion + case versions + } + public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -98,6 +119,7 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -106,11 +128,13 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -139,6 +163,7 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder @@ -211,21 +236,9 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case version } - public enum FieldsAppStoreVersionLocalizations: String, Codable, CaseIterable { - case appPreviewSets - case appScreenshotSets - case appStoreVersion - case description - case keywords - case locale - case marketingURL = "marketingUrl" - case promotionalText - case supportURL = "supportUrl" - case whatsNew - } - public enum Include: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -238,18 +251,19 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case routingAppCoverage } - public init(fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { - self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + public init(fieldsAgeRatingDeclarations: [FieldsAgeRatingDeclarations]? = nil, fieldsAppStoreReviewDetails: [FieldsAppStoreReviewDetails]? = nil, fieldsAppStoreVersionLocalizations: [FieldsAppStoreVersionLocalizations]? = nil, fieldsAppStoreVersionExperiments: [FieldsAppStoreVersionExperiments]? = nil, fieldsAppStoreVersionSubmissions: [FieldsAppStoreVersionSubmissions]? = nil, fieldsAlternativeDistributionPackages: [FieldsAlternativeDistributionPackages]? = nil, fieldsAppStoreVersions: [FieldsAppStoreVersions]? = nil, fieldsApps: [FieldsApps]? = nil, fieldsRoutingAppCoverages: [FieldsRoutingAppCoverages]? = nil, fieldsAppClipDefaultExperiences: [FieldsAppClipDefaultExperiences]? = nil, fieldsAppStoreVersionPhasedReleases: [FieldsAppStoreVersionPhasedReleases]? = nil, fieldsBuilds: [FieldsBuilds]? = nil, limitAppStoreVersionLocalizations: Int? = nil, limitAppStoreVersionExperiments: Int? = nil, limitAppStoreVersionExperimentsV2: Int? = nil, include: [Include]? = nil) { self.fieldsAgeRatingDeclarations = fieldsAgeRatingDeclarations - self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions self.fieldsAppStoreReviewDetails = fieldsAppStoreReviewDetails + self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations + self.fieldsAppStoreVersionExperiments = fieldsAppStoreVersionExperiments + self.fieldsAppStoreVersionSubmissions = fieldsAppStoreVersionSubmissions + self.fieldsAlternativeDistributionPackages = fieldsAlternativeDistributionPackages self.fieldsAppStoreVersions = fieldsAppStoreVersions self.fieldsApps = fieldsApps self.fieldsRoutingAppCoverages = fieldsRoutingAppCoverages self.fieldsAppClipDefaultExperiences = fieldsAppClipDefaultExperiences self.fieldsAppStoreVersionPhasedReleases = fieldsAppStoreVersionPhasedReleases self.fieldsBuilds = fieldsBuilds - self.fieldsAppStoreVersionLocalizations = fieldsAppStoreVersionLocalizations self.limitAppStoreVersionLocalizations = limitAppStoreVersionLocalizations self.limitAppStoreVersionExperiments = limitAppStoreVersionExperiments self.limitAppStoreVersionExperimentsV2 = limitAppStoreVersionExperimentsV2 @@ -258,17 +272,18 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { public var asQuery: [(String, String?)] { let encoder = URLQueryEncoder(explode: false) - encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") encoder.encode(fieldsAgeRatingDeclarations, forKey: "fields[ageRatingDeclarations]") - encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") encoder.encode(fieldsAppStoreReviewDetails, forKey: "fields[appStoreReviewDetails]") + encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") + encoder.encode(fieldsAppStoreVersionExperiments, forKey: "fields[appStoreVersionExperiments]") + encoder.encode(fieldsAppStoreVersionSubmissions, forKey: "fields[appStoreVersionSubmissions]") + encoder.encode(fieldsAlternativeDistributionPackages, forKey: "fields[alternativeDistributionPackages]") encoder.encode(fieldsAppStoreVersions, forKey: "fields[appStoreVersions]") encoder.encode(fieldsApps, forKey: "fields[apps]") encoder.encode(fieldsRoutingAppCoverages, forKey: "fields[routingAppCoverages]") encoder.encode(fieldsAppClipDefaultExperiences, forKey: "fields[appClipDefaultExperiences]") encoder.encode(fieldsAppStoreVersionPhasedReleases, forKey: "fields[appStoreVersionPhasedReleases]") encoder.encode(fieldsBuilds, forKey: "fields[builds]") - encoder.encode(fieldsAppStoreVersionLocalizations, forKey: "fields[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionLocalizations, forKey: "limit[appStoreVersionLocalizations]") encoder.encode(limitAppStoreVersionExperiments, forKey: "limit[appStoreVersionExperiments]") encoder.encode(limitAppStoreVersionExperimentsV2, forKey: "limit[appStoreVersionExperimentsV2]") diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift index cf1aa6d0..4aababba 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterAppVersionsWithIDCompatibilityVersions.swift @@ -27,6 +27,7 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -36,6 +37,7 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -44,6 +46,7 @@ extension APIEndpoint.V1.GameCenterAppVersions.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift index b15235e7..e0a9f820 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterDetailsWithIDGameCenterAppVersions.swift @@ -27,6 +27,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -36,6 +37,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -44,6 +46,7 @@ extension APIEndpoint.V1.GameCenterDetails.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift index 7ad838ec..31cc9b5a 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterEnabledVersionsWithIDCompatibleVersions.swift @@ -51,6 +51,7 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -79,6 +80,7 @@ extension APIEndpoint.V1.GameCenterEnabledVersions.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift index 3c3d6e56..de75e5b8 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1GameCenterGroupsWithIDGameCenterDetails.swift @@ -127,6 +127,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -155,6 +156,7 @@ extension APIEndpoint.V1.GameCenterGroups.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomains.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomains.swift new file mode 100644 index 00000000..b1992899 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomains.swift @@ -0,0 +1,37 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var marketplaceDomains: MarketplaceDomains { + MarketplaceDomains(path: path + "/marketplaceDomains") + } + + public struct MarketplaceDomains { + /// Path: `/v1/marketplaceDomains` + public let path: String + + public func get(fieldsMarketplaceDomains: [FieldsMarketplaceDomains]? = nil, limit: Int? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceDomains, limit), id: "marketplaceDomains-get_collection") + } + + private func makeGetQuery(_ fieldsMarketplaceDomains: [FieldsMarketplaceDomains]?, _ limit: Int?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsMarketplaceDomains, forKey: "fields[marketplaceDomains]", explode: false) + encoder.encode(limit, forKey: "limit") + return encoder.items + } + + public enum FieldsMarketplaceDomains: String, Codable, CaseIterable { + case createdDate + case domain + case referenceName + } + + public func post(_ body: AppStoreConnect_Swift_SDK.MarketplaceDomainCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "marketplaceDomains-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomainsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomainsWithID.swift new file mode 100644 index 00000000..42705c43 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceDomainsWithID.swift @@ -0,0 +1,36 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.MarketplaceDomains { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/marketplaceDomains/{id}` + public let path: String + + public func get(fieldsMarketplaceDomains: [FieldsMarketplaceDomains]? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceDomains), id: "marketplaceDomains-get_instance") + } + + private func makeGetQuery(_ fieldsMarketplaceDomains: [FieldsMarketplaceDomains]?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsMarketplaceDomains, forKey: "fields[marketplaceDomains]", explode: false) + return encoder.items + } + + public enum FieldsMarketplaceDomains: String, Codable, CaseIterable { + case createdDate + case domain + case referenceName + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "marketplaceDomains-delete_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetails.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetails.swift new file mode 100644 index 00000000..747b109d --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetails.swift @@ -0,0 +1,20 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var marketplaceSearchDetails: MarketplaceSearchDetails { + MarketplaceSearchDetails(path: path + "/marketplaceSearchDetails") + } + + public struct MarketplaceSearchDetails { + /// Path: `/v1/marketplaceSearchDetails` + public let path: String + + public func post(_ body: AppStoreConnect_Swift_SDK.MarketplaceSearchDetailCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "marketplaceSearchDetails-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetailsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetailsWithID.swift new file mode 100644 index 00000000..573a6739 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceSearchDetailsWithID.swift @@ -0,0 +1,24 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.MarketplaceSearchDetails { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/marketplaceSearchDetails/{id}` + public let path: String + + public func patch(_ body: AppStoreConnect_Swift_SDK.MarketplaceSearchDetailUpdateRequest) -> Request { + Request(path: path, method: "PATCH", body: body, id: "marketplaceSearchDetails-update_instance") + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "marketplaceSearchDetails-delete_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift new file mode 100644 index 00000000..9522a829 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooks.swift @@ -0,0 +1,36 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1 { + public var marketplaceWebhooks: MarketplaceWebhooks { + MarketplaceWebhooks(path: path + "/marketplaceWebhooks") + } + + public struct MarketplaceWebhooks { + /// Path: `/v1/marketplaceWebhooks` + public let path: String + + public func get(fieldsMarketplaceWebhooks: [FieldsMarketplaceWebhooks]? = nil, limit: Int? = nil) -> Request { + Request(path: path, method: "GET", query: makeGetQuery(fieldsMarketplaceWebhooks, limit), id: "marketplaceWebhooks-get_collection") + } + + private func makeGetQuery(_ fieldsMarketplaceWebhooks: [FieldsMarketplaceWebhooks]?, _ limit: Int?) -> [(String, String?)] { + let encoder = URLQueryEncoder() + encoder.encode(fieldsMarketplaceWebhooks, forKey: "fields[marketplaceWebhooks]", explode: false) + encoder.encode(limit, forKey: "limit") + return encoder.items + } + + public enum FieldsMarketplaceWebhooks: String, Codable, CaseIterable { + case endpointURL = "endpointUrl" + case secret + } + + public func post(_ body: AppStoreConnect_Swift_SDK.MarketplaceWebhookCreateRequest) -> Request { + Request(path: path, method: "POST", body: body, id: "marketplaceWebhooks-create_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooksWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooksWithID.swift new file mode 100644 index 00000000..e9610316 --- /dev/null +++ b/Sources/OpenAPI/Generated/Paths/PathsV1MarketplaceWebhooksWithID.swift @@ -0,0 +1,24 @@ +// Generated by Create API +// https://github.com/CreateAPI/CreateAPI + +import Foundation +import URLQueryEncoder + +extension APIEndpoint.V1.MarketplaceWebhooks { + public func id(_ id: String) -> WithID { + WithID(path: "\(path)/\(id)") + } + + public struct WithID { + /// Path: `/v1/marketplaceWebhooks/{id}` + public let path: String + + public func patch(_ body: AppStoreConnect_Swift_SDK.MarketplaceWebhookUpdateRequest) -> Request { + Request(path: path, method: "PATCH", body: body, id: "marketplaceWebhooks-update_instance") + } + + public var delete: Request { + Request(path: path, method: "DELETE", id: "marketplaceWebhooks-delete_instance") + } + } +} diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift index 92e9f68b..724289e6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersions.swift @@ -65,6 +65,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -93,6 +94,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift index d9772e72..15d6bc2e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithID.swift @@ -37,6 +37,7 @@ extension APIEndpoint.V1.PreReleaseVersions { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -65,6 +66,7 @@ extension APIEndpoint.V1.PreReleaseVersions { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift index e148c093..b4a975cc 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1PreReleaseVersionsWithIDApp.swift @@ -24,6 +24,7 @@ extension APIEndpoint.V1.PreReleaseVersions.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -52,6 +53,7 @@ extension APIEndpoint.V1.PreReleaseVersions.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift index edac0d40..899062e9 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1ReviewSubmissionsWithIDItems.swift @@ -56,6 +56,7 @@ extension APIEndpoint.V1.ReviewSubmissions.WithID { public enum FieldsAppStoreVersions: String, Codable, CaseIterable { case ageRatingDeclaration + case alternativeDistributionPackage case app case appClipDefaultExperience case appStoreReviewDetail @@ -65,6 +66,7 @@ extension APIEndpoint.V1.ReviewSubmissions.WithID { case appStoreVersionLocalizations case appStoreVersionPhasedRelease case appStoreVersionSubmission + case appVersionState case build case copyright case createdDate @@ -73,6 +75,7 @@ extension APIEndpoint.V1.ReviewSubmissions.WithID { case earliestReleaseDate case platform case releaseType + case reviewType case routingAppCoverage case versionString } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift index 09449faf..e511593c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift @@ -67,6 +67,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -95,6 +96,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift index b8253422..8573fd90 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithID.swift @@ -39,6 +39,7 @@ extension APIEndpoint.V1.UserInvitations { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -67,6 +68,7 @@ extension APIEndpoint.V1.UserInvitations { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift index 4b8066d7..e800bc5b 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitationsWithIDVisibleApps.swift @@ -25,6 +25,7 @@ extension APIEndpoint.V1.UserInvitations.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -53,6 +54,7 @@ extension APIEndpoint.V1.UserInvitations.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift index f1b4ed90..cc8338d6 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift @@ -66,6 +66,7 @@ extension APIEndpoint.V1 { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -94,6 +95,7 @@ extension APIEndpoint.V1 { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift index da56420a..626afead 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithID.swift @@ -38,6 +38,7 @@ extension APIEndpoint.V1.Users { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -66,6 +67,7 @@ extension APIEndpoint.V1.Users { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift index 06e741d3..f3085d4c 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UsersWithIDVisibleApps.swift @@ -25,6 +25,7 @@ extension APIEndpoint.V1.Users.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -53,6 +54,7 @@ extension APIEndpoint.V1.Users.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift index 9a55e9d2..6651decb 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV3AppPricePointsWithIDEqualizations.swift @@ -34,6 +34,7 @@ extension APIEndpoint.V3.AppPricePoints.WithID { } public enum FieldsApps: String, Codable, CaseIterable { + case alternativeDistributionKey case appAvailability case appClips case appCustomProductPages @@ -62,6 +63,7 @@ extension APIEndpoint.V3.AppPricePoints.WithID { case inAppPurchases case inAppPurchasesV2 case isOrEverWasMadeForKids + case marketplaceSearchDetail case name case perfPowerMetrics case preOrder diff --git a/Sources/OpenAPI/app_store_connect_api.json b/Sources/OpenAPI/app_store_connect_api.json index ce59bbe4..701da20f 100644 --- a/Sources/OpenAPI/app_store_connect_api.json +++ b/Sources/OpenAPI/app_store_connect_api.json @@ -2,7 +2,7 @@ "openapi": "3.0.1", "info": { "title": "App Store Connect API", - "version": "3.2", + "version": "3.3", "x-platform": "app_store_connect_api" }, "servers": [ @@ -296,6 +296,806 @@ } ] }, + "/v1/alternativeDistributionKeys": { + "post": { + "tags": [ + "AlternativeDistributionKeys" + ], + "operationId": "alternativeDistributionKeys-create_instance", + "requestBody": { + "description": "AlternativeDistributionKey representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionKeyCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single AlternativeDistributionKey", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionKeyResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/alternativeDistributionKeys/{id}": { + "get": { + "tags": [ + "AlternativeDistributionKeys" + ], + "operationId": "alternativeDistributionKeys-get_instance", + "parameters": [ + { + "name": "fields[alternativeDistributionKeys]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionKeys", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "publicKey" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AlternativeDistributionKey", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionKeyResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "AlternativeDistributionKeys" + ], + "operationId": "alternativeDistributionKeys-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackageDeltas/{id}": { + "get": { + "tags": [ + "AlternativeDistributionPackageDeltas" + ], + "operationId": "alternativeDistributionPackageDeltas-get_instance", + "parameters": [ + { + "name": "fields[alternativeDistributionPackageDeltas]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionKeyBlob", + "url", + "urlExpirationDate" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AlternativeDistributionPackageDelta", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageDeltaResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackageVariants/{id}": { + "get": { + "tags": [ + "AlternativeDistributionPackageVariants" + ], + "operationId": "alternativeDistributionPackageVariants-get_instance", + "parameters": [ + { + "name": "fields[alternativeDistributionPackageVariants]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionKeyBlob", + "url", + "urlExpirationDate" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AlternativeDistributionPackageVariant", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVariantResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackageVersions/{id}": { + "get": { + "tags": [ + "AlternativeDistributionPackageVersions" + ], + "operationId": "alternativeDistributionPackageVersions-get_instance", + "parameters": [ + { + "name": "fields[alternativeDistributionPackageVersions]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionPackage", + "deltas", + "state", + "url", + "urlExpirationDate", + "variants", + "version" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionPackage", + "deltas", + "variants" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[alternativeDistributionPackageVariants]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionKeyBlob", + "url", + "urlExpirationDate" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[alternativeDistributionPackageDeltas]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionKeyBlob", + "url", + "urlExpirationDate" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[deltas]", + "in": "query", + "description": "maximum number of related deltas returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + }, + { + "name": "limit[variants]", + "in": "query", + "description": "maximum number of related variants returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AlternativeDistributionPackageVersion", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVersionResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackages": { + "post": { + "tags": [ + "AlternativeDistributionPackages" + ], + "operationId": "alternativeDistributionPackages-create_instance", + "requestBody": { + "description": "AlternativeDistributionPackage representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single AlternativeDistributionPackage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/alternativeDistributionPackages/{id}": { + "get": { + "tags": [ + "AlternativeDistributionPackages" + ], + "operationId": "alternativeDistributionPackages-get_instance", + "parameters": [ + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "fields[alternativeDistributionPackageVersions]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionPackage", + "deltas", + "state", + "url", + "urlExpirationDate", + "variants", + "version" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form", + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AlternativeDistributionPackage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, "/v2/appAvailabilities": { "post": { "tags": [ @@ -2269,6 +3069,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -2278,6 +3079,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -2286,6 +3088,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -4394,6 +5197,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -4422,6 +5226,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -4594,6 +5399,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -4622,6 +5428,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -6496,7 +7303,8 @@ "primarySubcategoryTwo", "secondaryCategory", "secondarySubcategoryOne", - "secondarySubcategoryTwo" + "secondarySubcategoryTwo", + "state" ] } }, @@ -6538,6 +7346,7 @@ "items": { "type": "string", "enum": [ + "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", "gambling", @@ -12379,6 +13188,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -12388,6 +13198,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -12396,6 +13207,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -12415,6 +13227,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -12488,6 +13301,7 @@ "items": { "type": "string", "enum": [ + "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", "gambling", @@ -12513,6 +13327,24 @@ "required": false, "deprecated": true }, + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion", + "versions" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "fields[customerReviews]", "in": "query", @@ -12969,7 +13801,8 @@ "REMOVED_FROM_SALE", "WAITING_FOR_EXPORT_COMPLIANCE", "WAITING_FOR_REVIEW", - "REPLACED_WITH_NEW_VERSION" + "REPLACED_WITH_NEW_VERSION", + "NOT_APPLICABLE" ] } }, @@ -13110,6 +13943,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -13138,6 +13972,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -13312,6 +14147,24 @@ "explode": false, "required": false }, + { + "name": "fields[alternativeDistributionKeys]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionKeys", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "publicKey" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "fields[reviewSubmissions]", "in": "query", @@ -13520,6 +14373,24 @@ "explode": false, "required": false }, + { + "name": "fields[marketplaceSearchDetails]", + "in": "query", + "description": "the fields to include for returned resources of type marketplaceSearchDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "catalogUrl" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "fields[appClips]", "in": "query", @@ -13562,7 +14433,8 @@ "primarySubcategoryTwo", "secondaryCategory", "secondarySubcategoryOne", - "secondarySubcategoryTwo" + "secondarySubcategoryTwo", + "state" ] } }, @@ -13826,6 +14698,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -13835,6 +14708,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -13843,6 +14717,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -14218,6 +15093,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -14246,6 +15122,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -14410,6 +15287,24 @@ "explode": false, "required": false }, + { + "name": "fields[alternativeDistributionKeys]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionKeys", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "publicKey" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "fields[reviewSubmissions]", "in": "query", @@ -14618,6 +15513,24 @@ "explode": false, "required": false }, + { + "name": "fields[marketplaceSearchDetails]", + "in": "query", + "description": "the fields to include for returned resources of type marketplaceSearchDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "catalogUrl" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, { "name": "fields[appClips]", "in": "query", @@ -14660,7 +15573,8 @@ "primarySubcategoryTwo", "secondaryCategory", "secondarySubcategoryOne", - "secondarySubcategoryTwo" + "secondarySubcategoryTwo", + "state" ] } }, @@ -14924,6 +15838,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -14933,6 +15848,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -14941,6 +15857,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -16052,6 +16969,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -16080,6 +16998,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -16273,6 +17192,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -16301,6 +17221,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -16613,6 +17534,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -16641,6 +17563,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -16767,6 +17690,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -16795,6 +17719,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -18114,6 +19039,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -18142,6 +19068,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -18429,6 +19356,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -18457,6 +19385,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -18824,6 +19753,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -18852,6 +19782,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -18971,6 +19902,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -18999,6 +19931,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -19447,6 +20380,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -19475,6 +20409,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -19773,6 +20708,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -19801,6 +20737,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -20947,6 +21884,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -20956,6 +21894,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -20964,6 +21903,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -21054,6 +21994,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -21082,6 +22023,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -21409,6 +22351,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -21418,6 +22361,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -21426,6 +22370,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -21516,6 +22461,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -21544,6 +22490,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -22226,6 +23173,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -22254,6 +23202,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -22517,6 +23466,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -22545,6 +23495,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -24338,6 +25289,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -24366,6 +25318,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -24603,6 +25556,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -24631,6 +25585,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -28395,6 +29350,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -28404,6 +29360,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -28412,6 +29369,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -36589,6 +37547,838 @@ } ] }, + "/v1/marketplaceDomains": { + "get": { + "tags": [ + "MarketplaceDomains" + ], + "operationId": "marketplaceDomains-get_collection", + "parameters": [ + { + "name": "fields[marketplaceDomains]", + "in": "query", + "description": "the fields to include for returned resources of type marketplaceDomains", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "domain", + "referenceName" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of MarketplaceDomains", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceDomainsResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "MarketplaceDomains" + ], + "operationId": "marketplaceDomains-create_instance", + "requestBody": { + "description": "MarketplaceDomain representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceDomainCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single MarketplaceDomain", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceDomainResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/marketplaceDomains/{id}": { + "get": { + "tags": [ + "MarketplaceDomains" + ], + "operationId": "marketplaceDomains-get_instance", + "parameters": [ + { + "name": "fields[marketplaceDomains]", + "in": "query", + "description": "the fields to include for returned resources of type marketplaceDomains", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "createdDate", + "domain", + "referenceName" + ] + } + }, + "style": "form", + "explode": false, + "required": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single MarketplaceDomain", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceDomainResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "MarketplaceDomains" + ], + "operationId": "marketplaceDomains-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/marketplaceSearchDetails": { + "post": { + "tags": [ + "MarketplaceSearchDetails" + ], + "operationId": "marketplaceSearchDetails-create_instance", + "requestBody": { + "description": "MarketplaceSearchDetail representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceSearchDetailCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single MarketplaceSearchDetail", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceSearchDetailResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/marketplaceSearchDetails/{id}": { + "patch": { + "tags": [ + "MarketplaceSearchDetails" + ], + "operationId": "marketplaceSearchDetails-update_instance", + "requestBody": { + "description": "MarketplaceSearchDetail representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceSearchDetailUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single MarketplaceSearchDetail", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceSearchDetailResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "MarketplaceSearchDetails" + ], + "operationId": "marketplaceSearchDetails-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/marketplaceWebhooks": { + "get": { + "tags": [ + "MarketplaceWebhooks" + ], + "operationId": "marketplaceWebhooks-get_collection", + "parameters": [ + { + "name": "fields[marketplaceWebhooks]", + "in": "query", + "description": "the fields to include for returned resources of type marketplaceWebhooks", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "endpointUrl", + "secret" + ] + } + }, + "style": "form", + "explode": false, + "required": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of MarketplaceWebhooks", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceWebhooksResponse" + } + } + } + } + } + }, + "post": { + "tags": [ + "MarketplaceWebhooks" + ], + "operationId": "marketplaceWebhooks-create_instance", + "requestBody": { + "description": "MarketplaceWebhook representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceWebhookCreateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "201": { + "description": "Single MarketplaceWebhook", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceWebhookResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + } + }, + "/v1/marketplaceWebhooks/{id}": { + "patch": { + "tags": [ + "MarketplaceWebhooks" + ], + "operationId": "marketplaceWebhooks-update_instance", + "requestBody": { + "description": "MarketplaceWebhook representation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceWebhookUpdateRequest" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single MarketplaceWebhook", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceWebhookResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "MarketplaceWebhooks" + ], + "operationId": "marketplaceWebhooks-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, "/v1/preReleaseVersions": { "get": { "tags": [ @@ -36781,6 +38571,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -36809,6 +38600,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -36982,6 +38774,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -37010,6 +38803,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -45291,6 +47085,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -45319,6 +47114,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -45524,6 +47320,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -45552,6 +47349,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -45857,6 +47655,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -45885,6 +47684,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -46020,6 +47820,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -46048,6 +47849,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -46194,32 +47996,495 @@ } }, "200": { - "description": "Single User", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserResponse" - } - } - } - }, - "409": { - "description": "Request entity error(s)", + "description": "Single User", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Users" + ], + "operationId": "users-delete_instance", + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "409": { + "description": "Request entity error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "204": { + "description": "Success (no content)" + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackageVersions/{id}/relationships/deltas": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackageVersions/{id}/deltas": { + "get": { + "tags": [ + "AlternativeDistributionPackageVersions" + ], + "operationId": "alternativeDistributionPackageVersions-deltas-get_to_many_related", + "parameters": [ + { + "name": "fields[alternativeDistributionPackageDeltas]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionKeyBlob", + "url", + "urlExpirationDate" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of AlternativeDistributionPackageDeltas", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageDeltasResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackageVersions/{id}/relationships/variants": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackageVersions/{id}/variants": { + "get": { + "tags": [ + "AlternativeDistributionPackageVersions" + ], + "operationId": "alternativeDistributionPackageVersions-variants-get_to_many_related", + "parameters": [ + { + "name": "fields[alternativeDistributionPackageVariants]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionKeyBlob", + "url", + "urlExpirationDate" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "List of AlternativeDistributionPackageVariants", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageVariantsResponse" } } } } } }, - "delete": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackages/{id}/relationships/versions": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/alternativeDistributionPackages/{id}/versions": { + "get": { "tags": [ - "Users" + "AlternativeDistributionPackages" + ], + "operationId": "alternativeDistributionPackages-versions-get_to_many_related", + "parameters": [ + { + "name": "filter[state]", + "in": "query", + "description": "filter by attribute 'state'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "COMPLETED", + "REPLACED" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackageVariants]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVariants", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionKeyBlob", + "url", + "urlExpirationDate" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackageVersions]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionPackage", + "deltas", + "state", + "url", + "urlExpirationDate", + "variants", + "version" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackageDeltas]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageDeltas", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionKeyBlob", + "url", + "urlExpirationDate" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit", + "in": "query", + "description": "maximum resources per page", + "schema": { + "type": "integer", + "maximum": 200 + }, + "style": "form" + }, + { + "name": "limit[variants]", + "in": "query", + "description": "maximum number of related variants returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "limit[deltas]", + "in": "query", + "description": "maximum number of related deltas returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionPackage", + "deltas", + "variants" + ] + } + }, + "style": "form", + "explode": false + } ], - "operationId": "users-delete_instance", "responses": { "400": { "description": "Parameter error(s)", @@ -46261,18 +48526,15 @@ } } }, - "409": { - "description": "Request entity error(s)", + "200": { + "description": "List of AlternativeDistributionPackageVersions", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ErrorResponse" + "$ref": "#/components/schemas/AlternativeDistributionPackageVersionsResponse" } } } - }, - "204": { - "description": "Success (no content)" } } }, @@ -47398,34 +49660,6 @@ ], "operationId": "appClipDefaultExperiences-releaseWithAppStoreVersion-get_to_one_related", "parameters": [ - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[ageRatingDeclarations]", "in": "query", @@ -47435,6 +49669,7 @@ "items": { "type": "string", "enum": [ + "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", "gambling", @@ -47458,6 +49693,84 @@ "style": "form", "explode": false }, + { + "name": "fields[appStoreReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreReviewAttachments", + "appStoreVersion", + "contactEmail", + "contactFirstName", + "contactLastName", + "contactPhone", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appPreviewSets", + "appScreenshotSets", + "appStoreVersion", + "description", + "keywords", + "locale", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "controlVersions", + "endDate", + "latestControlVersion", + "name", + "platform", + "reviewRequired", + "startDate", + "started", + "state", + "trafficProportion" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[appStoreVersionSubmissions]", "in": "query", @@ -47475,24 +49788,16 @@ "explode": false }, { - "name": "fields[appStoreReviewDetails]", + "name": "fields[alternativeDistributionPackages]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", "appStoreVersion", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" + "versions" ] } }, @@ -47509,6 +49814,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -47518,6 +49824,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -47526,6 +49833,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -47543,6 +49851,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -47571,6 +49880,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -47695,31 +50005,6 @@ "style": "form", "explode": false }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit[appStoreVersionLocalizations]", "in": "query", @@ -47761,6 +50046,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -48188,6 +50474,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -48197,6 +50484,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -48205,6 +50493,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -49429,6 +51718,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -49457,6 +51747,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -50320,6 +52611,7 @@ "items": { "type": "string", "enum": [ + "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", "gambling", @@ -50466,7 +52758,8 @@ "primarySubcategoryTwo", "secondaryCategory", "secondarySubcategoryOne", - "secondarySubcategoryTwo" + "secondarySubcategoryTwo", + "state" ] } }, @@ -51741,6 +54034,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -51769,6 +54063,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -55025,6 +57320,7 @@ "items": { "type": "string", "enum": [ + "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", "gambling", @@ -55115,6 +57411,159 @@ } ] }, + "/v1/appStoreVersions/{id}/relationships/alternativeDistributionPackage": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/appStoreVersions/{id}/alternativeDistributionPackage": { + "get": { + "tags": [ + "AppStoreVersions" + ], + "operationId": "appStoreVersions-alternativeDistributionPackage-get_to_one_related", + "parameters": [ + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackageVersions]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackageVersions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "alternativeDistributionPackage", + "deltas", + "state", + "url", + "urlExpirationDate", + "variants", + "version" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "limit[versions]", + "in": "query", + "description": "maximum number of related versions returned (when they are included)", + "schema": { + "type": "integer", + "maximum": 50 + }, + "style": "form" + }, + { + "name": "include", + "in": "query", + "description": "comma-separated list of relationships to include", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "versions" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AlternativeDistributionPackage", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionPackageResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, "/v1/appStoreVersions/{id}/relationships/appClipDefaultExperience": { "get": { "tags": [ @@ -55303,6 +57752,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -55312,6 +57762,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -55320,6 +57771,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -55520,6 +57972,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -55529,6 +57982,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -55537,6 +57991,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -55763,6 +58218,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -55772,6 +58228,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -55780,6 +58237,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -55996,6 +58454,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -56005,6 +58464,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -56013,6 +58473,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -56030,6 +58491,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -56058,6 +58520,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -56475,6 +58938,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -56484,6 +58948,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -56492,6 +58957,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -57385,6 +59851,111 @@ } ] }, + "/v1/apps/{id}/relationships/alternativeDistributionKey": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/alternativeDistributionKey": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps-alternativeDistributionKey-get_to_one_related", + "parameters": [ + { + "name": "fields[alternativeDistributionKeys]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionKeys", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "publicKey" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single AlternativeDistributionKey", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlternativeDistributionKeyResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, "/v1/apps/{id}/relationships/appAvailability": { "parameters": [ { @@ -57434,6 +60005,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -57462,6 +60034,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -57656,6 +60229,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -57684,6 +60258,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -57915,6 +60490,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -57943,6 +60519,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -58163,6 +60740,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -58191,6 +60769,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -58622,6 +61201,7 @@ "items": { "type": "string", "enum": [ + "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", "gambling", @@ -58667,7 +61247,8 @@ "primarySubcategoryTwo", "secondaryCategory", "secondarySubcategoryOne", - "secondarySubcategoryTwo" + "secondarySubcategoryTwo", + "state" ] } }, @@ -58723,6 +61304,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -58751,6 +61333,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -58947,6 +61530,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -58975,6 +61559,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -59181,6 +61766,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -59209,6 +61795,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -59457,6 +62044,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -59466,6 +62054,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -59474,6 +62063,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -59491,6 +62081,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -59519,6 +62110,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -59705,7 +62297,38 @@ "REMOVED_FROM_SALE", "WAITING_FOR_EXPORT_COMPLIANCE", "WAITING_FOR_REVIEW", - "REPLACED_WITH_NEW_VERSION" + "REPLACED_WITH_NEW_VERSION", + "NOT_APPLICABLE" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "filter[appVersionState]", + "in": "query", + "description": "filter by attribute 'appVersionState'", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ACCEPTED", + "DEVELOPER_REJECTED", + "IN_REVIEW", + "INVALID_BINARY", + "METADATA_REJECTED", + "PENDING_APPLE_RELEASE", + "PENDING_DEVELOPER_RELEASE", + "PREPARE_FOR_SUBMISSION", + "PROCESSING_FOR_DISTRIBUTION", + "READY_FOR_DISTRIBUTION", + "READY_FOR_REVIEW", + "REJECTED", + "REPLACED_WITH_NEW_VERSION", + "WAITING_FOR_EXPORT_COMPLIANCE", + "WAITING_FOR_REVIEW" ] } }, @@ -59757,34 +62380,6 @@ "style": "form", "explode": false }, - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[ageRatingDeclarations]", "in": "query", @@ -59794,6 +62389,7 @@ "items": { "type": "string", "enum": [ + "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", "gambling", @@ -59817,6 +62413,84 @@ "style": "form", "explode": false }, + { + "name": "fields[appStoreReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreReviewAttachments", + "appStoreVersion", + "contactEmail", + "contactFirstName", + "contactLastName", + "contactPhone", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appPreviewSets", + "appScreenshotSets", + "appStoreVersion", + "description", + "keywords", + "locale", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "controlVersions", + "endDate", + "latestControlVersion", + "name", + "platform", + "reviewRequired", + "startDate", + "started", + "state", + "trafficProportion" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[appStoreVersionSubmissions]", "in": "query", @@ -59834,24 +62508,16 @@ "explode": false }, { - "name": "fields[appStoreReviewDetails]", + "name": "fields[alternativeDistributionPackages]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", "appStoreVersion", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" + "versions" ] } }, @@ -59868,6 +62534,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -59877,6 +62544,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -59885,6 +62553,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -59902,6 +62571,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -59930,6 +62600,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -60054,31 +62725,6 @@ "style": "form", "explode": false }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit", "in": "query", @@ -60130,6 +62776,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -61062,6 +63709,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -61090,6 +63738,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -62016,6 +64665,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -62044,6 +64694,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -62360,6 +65011,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -62388,6 +65040,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -62620,6 +65273,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -62648,6 +65302,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -63145,6 +65800,111 @@ } ] }, + "/v1/apps/{id}/relationships/marketplaceSearchDetail": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, + "/v1/apps/{id}/marketplaceSearchDetail": { + "get": { + "tags": [ + "Apps" + ], + "operationId": "apps-marketplaceSearchDetail-get_to_one_related", + "parameters": [ + { + "name": "fields[marketplaceSearchDetails]", + "in": "query", + "description": "the fields to include for returned resources of type marketplaceSearchDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "catalogUrl" + ] + } + }, + "style": "form", + "explode": false + } + ], + "responses": { + "400": { + "description": "Parameter error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Unauthorized error(s)", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Single MarketplaceSearchDetail", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MarketplaceSearchDetailResponse" + } + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "description": "the id of the requested resource", + "schema": { + "type": "string" + }, + "style": "simple", + "required": true + } + ] + }, "/v1/apps/{id}/perfPowerMetrics": { "get": { "tags": [ @@ -63588,6 +66348,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -63616,6 +66377,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -63796,6 +66558,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -63824,6 +66587,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -64440,6 +67204,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -64449,6 +67214,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -64457,6 +67223,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -64474,6 +67241,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -64502,6 +67270,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -65054,6 +67823,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -65082,6 +67852,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -65201,6 +67972,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -65229,6 +68001,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -65602,6 +68375,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -65630,6 +68404,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -66394,6 +69169,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -66422,6 +69198,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -66676,6 +69453,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -66704,6 +69482,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -68099,6 +70878,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -68127,6 +70907,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -68478,34 +71259,6 @@ ], "operationId": "builds-appStoreVersion-get_to_one_related", "parameters": [ - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[ageRatingDeclarations]", "in": "query", @@ -68515,6 +71268,7 @@ "items": { "type": "string", "enum": [ + "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", "gambling", @@ -68538,22 +71292,6 @@ "style": "form", "explode": false }, - { - "name": "fields[appStoreVersionSubmissions]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionSubmissions", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appStoreVersion" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[appStoreReviewDetails]", "in": "query", @@ -68579,6 +71317,92 @@ "style": "form", "explode": false }, + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appPreviewSets", + "appScreenshotSets", + "appStoreVersion", + "description", + "keywords", + "locale", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "controlVersions", + "endDate", + "latestControlVersion", + "name", + "platform", + "reviewRequired", + "startDate", + "started", + "state", + "trafficProportion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionSubmissions]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionSubmissions", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[alternativeDistributionPackages]", + "in": "query", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreVersion", + "versions" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[appStoreVersions]", "in": "query", @@ -68589,6 +71413,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -68598,6 +71423,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -68606,6 +71432,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -68623,6 +71450,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -68651,6 +71479,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -68775,31 +71604,6 @@ "style": "form", "explode": false }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit[appStoreVersionLocalizations]", "in": "query", @@ -68841,6 +71645,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -70217,6 +73022,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -70245,6 +73051,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -71797,6 +74604,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -71806,6 +74614,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -71814,6 +74623,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -71863,6 +74673,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -71891,6 +74702,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -72667,6 +75479,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -72695,6 +75508,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -72863,7 +75677,8 @@ "primarySubcategoryTwo", "secondaryCategory", "secondarySubcategoryOne", - "secondarySubcategoryTwo" + "secondarySubcategoryTwo", + "state" ] } }, @@ -73069,6 +75884,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -73078,6 +75894,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -73086,6 +75903,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -76411,34 +79229,6 @@ ], "operationId": "gameCenterAppVersions-appStoreVersion-get_to_one_related", "parameters": [ - { - "name": "fields[appStoreVersionExperiments]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionExperiments", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "app", - "appStoreVersion", - "appStoreVersionExperimentTreatments", - "controlVersions", - "endDate", - "latestControlVersion", - "name", - "platform", - "reviewRequired", - "startDate", - "started", - "state", - "trafficProportion" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "fields[ageRatingDeclarations]", "in": "query", @@ -76448,6 +79238,7 @@ "items": { "type": "string", "enum": [ + "ageRatingOverride", "alcoholTobaccoOrDrugUseOrReferences", "contests", "gambling", @@ -76471,6 +79262,84 @@ "style": "form", "explode": false }, + { + "name": "fields[appStoreReviewDetails]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreReviewDetails", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appStoreReviewAttachments", + "appStoreVersion", + "contactEmail", + "contactFirstName", + "contactLastName", + "contactPhone", + "demoAccountName", + "demoAccountPassword", + "demoAccountRequired", + "notes" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionLocalizations]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionLocalizations", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "appPreviewSets", + "appScreenshotSets", + "appStoreVersion", + "description", + "keywords", + "locale", + "marketingUrl", + "promotionalText", + "supportUrl", + "whatsNew" + ] + } + }, + "style": "form", + "explode": false + }, + { + "name": "fields[appStoreVersionExperiments]", + "in": "query", + "description": "the fields to include for returned resources of type appStoreVersionExperiments", + "schema": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "app", + "appStoreVersion", + "appStoreVersionExperimentTreatments", + "controlVersions", + "endDate", + "latestControlVersion", + "name", + "platform", + "reviewRequired", + "startDate", + "started", + "state", + "trafficProportion" + ] + } + }, + "style": "form", + "explode": false + }, { "name": "fields[appStoreVersionSubmissions]", "in": "query", @@ -76488,24 +79357,16 @@ "explode": false }, { - "name": "fields[appStoreReviewDetails]", + "name": "fields[alternativeDistributionPackages]", "in": "query", - "description": "the fields to include for returned resources of type appStoreReviewDetails", + "description": "the fields to include for returned resources of type alternativeDistributionPackages", "schema": { "type": "array", "items": { "type": "string", "enum": [ - "appStoreReviewAttachments", "appStoreVersion", - "contactEmail", - "contactFirstName", - "contactLastName", - "contactPhone", - "demoAccountName", - "demoAccountPassword", - "demoAccountRequired", - "notes" + "versions" ] } }, @@ -76522,6 +79383,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -76531,6 +79393,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -76539,6 +79402,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -76556,6 +79420,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -76584,6 +79449,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -76708,31 +79574,6 @@ "style": "form", "explode": false }, - { - "name": "fields[appStoreVersionLocalizations]", - "in": "query", - "description": "the fields to include for returned resources of type appStoreVersionLocalizations", - "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "appPreviewSets", - "appScreenshotSets", - "appStoreVersion", - "description", - "keywords", - "locale", - "marketingUrl", - "promotionalText", - "supportUrl", - "whatsNew" - ] - } - }, - "style": "form", - "explode": false - }, { "name": "limit[appStoreVersionLocalizations]", "in": "query", @@ -76774,6 +79615,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -77095,6 +79937,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -77104,6 +79947,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -77112,6 +79956,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -77921,6 +80766,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -77930,6 +80776,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -77938,6 +80785,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -80069,6 +82917,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -80097,6 +82946,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -80872,6 +83722,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -80900,6 +83751,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -87320,6 +90172,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -87348,6 +90201,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -88169,6 +91023,7 @@ "type": "string", "enum": [ "ageRatingDeclaration", + "alternativeDistributionPackage", "app", "appClipDefaultExperience", "appStoreReviewDetail", @@ -88178,6 +91033,7 @@ "appStoreVersionLocalizations", "appStoreVersionPhasedRelease", "appStoreVersionSubmission", + "appVersionState", "build", "copyright", "createdDate", @@ -88186,6 +91042,7 @@ "earliestReleaseDate", "platform", "releaseType", + "reviewType", "routingAppCoverage", "versionString" ] @@ -92632,6 +95489,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -92660,6 +95518,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -93045,6 +95904,7 @@ "items": { "type": "string", "enum": [ + "alternativeDistributionKey", "appAvailability", "appClips", "appCustomProductPages", @@ -93073,6 +95933,7 @@ "inAppPurchases", "inAppPurchasesV2", "isOrEverWasMadeForKids", + "marketplaceSearchDetail", "name", "perfPowerMetrics", "preOrder", @@ -95491,7 +98352,16 @@ ] }, "seventeenPlus": { - "type": "boolean" + "type": "boolean", + "deprecated": true + }, + "ageRatingOverride": { + "type": "string", + "enum": [ + "NONE", + "SEVENTEEN_PLUS", + "UNRATED" + ] }, "horrorOrFearThemes": { "type": "string", @@ -95649,7 +98519,16 @@ ] }, "seventeenPlus": { - "type": "boolean" + "type": "boolean", + "deprecated": true + }, + "ageRatingOverride": { + "type": "string", + "enum": [ + "NONE", + "SEVENTEEN_PLUS", + "UNRATED" + ] }, "horrorOrFearThemes": { "type": "string", @@ -95707,6 +98586,663 @@ "data" ] }, + "AlternativeDistributionKey": { + "type": "object", + "title": "AlternativeDistributionKey", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionKeys" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "publicKey": { + "type": "string" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionKeyResponse": { + "type": "object", + "title": "AlternativeDistributionKeyResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionKey" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionKeyCreateRequest": { + "type": "object", + "title": "AlternativeDistributionKeyCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionKeys" + ] + }, + "attributes": { + "type": "object", + "properties": { + "publicKey": { + "type": "string" + } + }, + "required": [ + "publicKey" + ] + }, + "relationships": { + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "app" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "AlternativeDistributionPackageDelta": { + "type": "object", + "title": "AlternativeDistributionPackageDelta", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageDeltas" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "urlExpirationDate": { + "type": "string", + "format": "date-time" + }, + "alternativeDistributionKeyBlob": { + "type": "string" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionPackageDeltasResponse": { + "type": "object", + "title": "AlternativeDistributionPackageDeltasResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageDeltaResponse": { + "type": "object", + "title": "AlternativeDistributionPackageDeltaResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageVariant": { + "type": "object", + "title": "AlternativeDistributionPackageVariant", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageVariants" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "urlExpirationDate": { + "type": "string", + "format": "date-time" + }, + "alternativeDistributionKeyBlob": { + "type": "string" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionPackageVariantsResponse": { + "type": "object", + "title": "AlternativeDistributionPackageVariantsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageVariantResponse": { + "type": "object", + "title": "AlternativeDistributionPackageVariantResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageVersion": { + "type": "object", + "title": "AlternativeDistributionPackageVersion", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageVersions" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "url": { + "type": "string", + "format": "uri" + }, + "urlExpirationDate": { + "type": "string", + "format": "date-time" + }, + "version": { + "type": "string" + }, + "state": { + "type": "string", + "enum": [ + "COMPLETED", + "REPLACED" + ] + } + } + }, + "relationships": { + "type": "object", + "properties": { + "variants": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageVariants" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "deltas": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageDeltas" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + }, + "alternativeDistributionPackage": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackages" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionPackageVersionsResponse": { + "type": "object", + "title": "AlternativeDistributionPackageVersionsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVersion" + } + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + }, + { + "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + }, + { + "$ref": "#/components/schemas/AlternativeDistributionPackage" + } + ] + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageVersionResponse": { + "type": "object", + "title": "AlternativeDistributionPackageVersionResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVersion" + }, + "included": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/AlternativeDistributionPackageVariant" + }, + { + "$ref": "#/components/schemas/AlternativeDistributionPackageDelta" + }, + { + "$ref": "#/components/schemas/AlternativeDistributionPackage" + } + ] + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackage": { + "type": "object", + "title": "AlternativeDistributionPackage", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackages" + ] + }, + "id": { + "type": "string" + }, + "relationships": { + "type": "object", + "properties": { + "versions": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackageVersions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } + } + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "AlternativeDistributionPackageResponse": { + "type": "object", + "title": "AlternativeDistributionPackageResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/AlternativeDistributionPackage" + }, + "included": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternativeDistributionPackageVersion" + } + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "AlternativeDistributionPackageCreateRequest": { + "type": "object", + "title": "AlternativeDistributionPackageCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackages" + ] + }, + "relationships": { + "type": "object", + "properties": { + "appStoreVersion": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "appStoreVersions" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "appStoreVersion" + ] + } + }, + "required": [ + "relationships", + "type" + ] + } + }, + "required": [ + "data" + ] + }, "AppAvailabilityV2": { "type": "object", "title": "AppAvailabilityV2", @@ -102153,8 +105689,24 @@ "type": "object", "properties": { "appStoreState": { + "deprecated": true, "$ref": "#/components/schemas/AppStoreVersionState" }, + "state": { + "type": "string", + "enum": [ + "ACCEPTED", + "DEVELOPER_REJECTED", + "IN_REVIEW", + "PENDING_RELEASE", + "PREPARE_FOR_SUBMISSION", + "READY_FOR_DISTRIBUTION", + "READY_FOR_REVIEW", + "REJECTED", + "REPLACED_WITH_NEW_INFO", + "WAITING_FOR_REVIEW" + ] + }, "appStoreAgeRating": { "$ref": "#/components/schemas/AppStoreAgeRating" }, @@ -108478,11 +112030,22 @@ "type": "string" }, "appStoreState": { + "deprecated": true, "$ref": "#/components/schemas/AppStoreVersionState" }, + "appVersionState": { + "$ref": "#/components/schemas/AppVersionState" + }, "copyright": { "type": "string" }, + "reviewType": { + "type": "string", + "enum": [ + "APP_STORE", + "NOTARIZATION" + ] + }, "releaseType": { "type": "string", "enum": [ @@ -108921,6 +112484,42 @@ } } } + }, + "alternativeDistributionPackage": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "format": "uri-reference" + }, + "related": { + "type": "string", + "format": "uri-reference" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "alternativeDistributionPackages" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + } } } }, @@ -108979,6 +112578,9 @@ }, { "$ref": "#/components/schemas/AppStoreVersionExperimentV2" + }, + { + "$ref": "#/components/schemas/AlternativeDistributionPackage" } ] } @@ -109038,6 +112640,9 @@ }, { "$ref": "#/components/schemas/AppStoreVersionExperimentV2" + }, + { + "$ref": "#/components/schemas/AlternativeDistributionPackage" } ] } @@ -109076,6 +112681,13 @@ "copyright": { "type": "string" }, + "reviewType": { + "type": "string", + "enum": [ + "APP_STORE", + "NOTARIZATION" + ] + }, "releaseType": { "type": "string", "enum": [ @@ -109214,6 +112826,13 @@ "copyright": { "type": "string" }, + "reviewType": { + "type": "string", + "enum": [ + "APP_STORE", + "NOTARIZATION" + ] + }, "releaseType": { "type": "string", "enum": [ @@ -127986,6 +131605,422 @@ "data" ] }, + "MarketplaceDomain": { + "type": "object", + "title": "MarketplaceDomain", + "properties": { + "type": { + "type": "string", + "enum": [ + "marketplaceDomains" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "domain": { + "type": "string" + }, + "referenceName": { + "type": "string" + }, + "createdDate": { + "type": "string", + "format": "date-time" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "MarketplaceDomainsResponse": { + "type": "object", + "title": "MarketplaceDomainsResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MarketplaceDomain" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "MarketplaceDomainResponse": { + "type": "object", + "title": "MarketplaceDomainResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/MarketplaceDomain" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "MarketplaceDomainCreateRequest": { + "type": "object", + "title": "MarketplaceDomainCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "marketplaceDomains" + ] + }, + "attributes": { + "type": "object", + "properties": { + "domain": { + "type": "string" + }, + "referenceName": { + "type": "string" + } + }, + "required": [ + "domain", + "referenceName" + ] + } + }, + "required": [ + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "MarketplaceSearchDetail": { + "type": "object", + "title": "MarketplaceSearchDetail", + "properties": { + "type": { + "type": "string", + "enum": [ + "marketplaceSearchDetails" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "catalogUrl": { + "type": "string", + "format": "uri" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "MarketplaceSearchDetailResponse": { + "type": "object", + "title": "MarketplaceSearchDetailResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/MarketplaceSearchDetail" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "MarketplaceSearchDetailCreateRequest": { + "type": "object", + "title": "MarketplaceSearchDetailCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "marketplaceSearchDetails" + ] + }, + "attributes": { + "type": "object", + "properties": { + "catalogUrl": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "catalogUrl" + ] + }, + "relationships": { + "type": "object", + "properties": { + "app": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "apps" + ] + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + } + }, + "required": [ + "app" + ] + } + }, + "required": [ + "relationships", + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "MarketplaceSearchDetailUpdateRequest": { + "type": "object", + "title": "MarketplaceSearchDetailUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "marketplaceSearchDetails" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "catalogUrl": { + "type": "string", + "format": "uri" + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "MarketplaceWebhook": { + "type": "object", + "title": "MarketplaceWebhook", + "properties": { + "type": { + "type": "string", + "enum": [ + "marketplaceWebhooks" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "endpointUrl": { + "type": "string", + "format": "uri" + } + } + }, + "links": { + "$ref": "#/components/schemas/ResourceLinks" + } + }, + "required": [ + "id", + "type" + ] + }, + "MarketplaceWebhooksResponse": { + "type": "object", + "title": "MarketplaceWebhooksResponse", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MarketplaceWebhook" + } + }, + "links": { + "$ref": "#/components/schemas/PagedDocumentLinks" + }, + "meta": { + "$ref": "#/components/schemas/PagingInformation" + } + }, + "required": [ + "data", + "links" + ] + }, + "MarketplaceWebhookResponse": { + "type": "object", + "title": "MarketplaceWebhookResponse", + "properties": { + "data": { + "$ref": "#/components/schemas/MarketplaceWebhook" + }, + "links": { + "$ref": "#/components/schemas/DocumentLinks" + } + }, + "required": [ + "data", + "links" + ] + }, + "MarketplaceWebhookCreateRequest": { + "type": "object", + "title": "MarketplaceWebhookCreateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "marketplaceWebhooks" + ] + }, + "attributes": { + "type": "object", + "properties": { + "endpointUrl": { + "type": "string", + "format": "uri" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "endpointUrl", + "secret" + ] + } + }, + "required": [ + "attributes", + "type" + ] + } + }, + "required": [ + "data" + ] + }, + "MarketplaceWebhookUpdateRequest": { + "type": "object", + "title": "MarketplaceWebhookUpdateRequest", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "marketplaceWebhooks" + ] + }, + "id": { + "type": "string" + }, + "attributes": { + "type": "object", + "properties": { + "endpointUrl": { + "type": "string", + "format": "uri" + }, + "secret": { + "type": "string" + } + } + } + }, + "required": [ + "id", + "type" + ] + } + }, + "required": [ + "data" + ] + }, "PerfPowerMetric": { "type": "object", "title": "PerfPowerMetric", @@ -140721,7 +144756,8 @@ "FOUR_PLUS", "NINE_PLUS", "TWELVE_PLUS", - "SEVENTEEN_PLUS" + "SEVENTEEN_PLUS", + "UNRATED" ] }, "AppStoreVersionState": { @@ -140745,7 +144781,28 @@ "REMOVED_FROM_SALE", "WAITING_FOR_EXPORT_COMPLIANCE", "WAITING_FOR_REVIEW", - "REPLACED_WITH_NEW_VERSION" + "REPLACED_WITH_NEW_VERSION", + "NOT_APPLICABLE" + ] + }, + "AppVersionState": { + "type": "string", + "enum": [ + "ACCEPTED", + "DEVELOPER_REJECTED", + "IN_REVIEW", + "INVALID_BINARY", + "METADATA_REJECTED", + "PENDING_APPLE_RELEASE", + "PENDING_DEVELOPER_RELEASE", + "PREPARE_FOR_SUBMISSION", + "PROCESSING_FOR_DISTRIBUTION", + "READY_FOR_DISTRIBUTION", + "READY_FOR_REVIEW", + "REJECTED", + "REPLACED_WITH_NEW_VERSION", + "WAITING_FOR_EXPORT_COMPLIANCE", + "WAITING_FOR_REVIEW" ] }, "BetaInviteType": { From 6fbf31fc25a6ef4c2a49151e53cf10ce52bb2781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=CC=81s=CC=8C=20Valenta?= Date: Tue, 16 Jan 2024 23:48:39 +0100 Subject: [PATCH 3/5] Manual update for users and beta groups --- .../BetaGroupsWithoutIncludesResponse.swift | 6 +++--- .../BetaTestersWithoutIncludesResponse.swift | 6 +++--- Sources/OpenAPI/Generated/Entities/UserRole.swift | 1 + .../Generated/Paths/PathsV1UserInvitations.swift | 1 + Sources/OpenAPI/Generated/Paths/PathsV1Users.swift | 1 + Sources/OpenAPI/app_store_connect_api.json | 13 ++++++++----- 6 files changed, 17 insertions(+), 11 deletions(-) diff --git a/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift index ad38c455..6c5ff149 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaGroupsWithoutIncludesResponse.swift @@ -4,11 +4,11 @@ import Foundation public struct BetaGroupsWithoutIncludesResponse: Codable { - public var data: [BetaTester] + public var data: [BetaGroup] public var links: PagedDocumentLinks public var meta: PagingInformation? - public init(data: [BetaTester], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + public init(data: [BetaGroup], links: PagedDocumentLinks, meta: PagingInformation? = nil) { self.data = data self.links = links self.meta = meta @@ -16,7 +16,7 @@ public struct BetaGroupsWithoutIncludesResponse: Codable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode([BetaTester].self, forKey: "data") + self.data = try values.decode([BetaGroup].self, forKey: "data") self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") } diff --git a/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift b/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift index ab8f0480..155f52b8 100644 --- a/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift +++ b/Sources/OpenAPI/Generated/Entities/BetaTestersWithoutIncludesResponse.swift @@ -4,11 +4,11 @@ import Foundation public struct BetaTestersWithoutIncludesResponse: Codable { - public var data: [Build] + public var data: [BetaTester] public var links: PagedDocumentLinks public var meta: PagingInformation? - public init(data: [Build], links: PagedDocumentLinks, meta: PagingInformation? = nil) { + public init(data: [BetaTester], links: PagedDocumentLinks, meta: PagingInformation? = nil) { self.data = data self.links = links self.meta = meta @@ -16,7 +16,7 @@ public struct BetaTestersWithoutIncludesResponse: Codable { public init(from decoder: Decoder) throws { let values = try decoder.container(keyedBy: StringCodingKey.self) - self.data = try values.decode([Build].self, forKey: "data") + self.data = try values.decode([BetaTester].self, forKey: "data") self.links = try values.decode(PagedDocumentLinks.self, forKey: "links") self.meta = try values.decodeIfPresent(PagingInformation.self, forKey: "meta") } diff --git a/Sources/OpenAPI/Generated/Entities/UserRole.swift b/Sources/OpenAPI/Generated/Entities/UserRole.swift index 06157c6d..b8470d59 100644 --- a/Sources/OpenAPI/Generated/Entities/UserRole.swift +++ b/Sources/OpenAPI/Generated/Entities/UserRole.swift @@ -17,4 +17,5 @@ public enum UserRole: String, Codable, CaseIterable { case createApps = "CREATE_APPS" case cloudManagedDeveloperID = "CLOUD_MANAGED_DEVELOPER_ID" case cloudManagedAppDistribution = "CLOUD_MANAGED_APP_DISTRIBUTION" + case generateIndividualKeys = "GENERATE_INDIVIDUAL_KEYS" } diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift index e511593c..8d645c4e 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1UserInvitations.swift @@ -42,6 +42,7 @@ extension APIEndpoint.V1 { case createApps = "CREATE_APPS" case cloudManagedDeveloperID = "CLOUD_MANAGED_DEVELOPER_ID" case cloudManagedAppDistribution = "CLOUD_MANAGED_APP_DISTRIBUTION" + case generateIndividualKeys = "GENERATE_INDIVIDUAL_KEYS" } public enum Sort: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift index cc8338d6..e31bb7ce 100644 --- a/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift +++ b/Sources/OpenAPI/Generated/Paths/PathsV1Users.swift @@ -42,6 +42,7 @@ extension APIEndpoint.V1 { case createApps = "CREATE_APPS" case cloudManagedDeveloperID = "CLOUD_MANAGED_DEVELOPER_ID" case cloudManagedAppDistribution = "CLOUD_MANAGED_APP_DISTRIBUTION" + case generateIndividualKeys = "GENERATE_INDIVIDUAL_KEYS" } public enum Sort: String, Codable, CaseIterable { diff --git a/Sources/OpenAPI/app_store_connect_api.json b/Sources/OpenAPI/app_store_connect_api.json index 701da20f..aafc8ccc 100644 --- a/Sources/OpenAPI/app_store_connect_api.json +++ b/Sources/OpenAPI/app_store_connect_api.json @@ -46983,7 +46983,8 @@ "IMAGE_MANAGER", "CREATE_APPS", "CLOUD_MANAGED_DEVELOPER_ID", - "CLOUD_MANAGED_APP_DISTRIBUTION" + "CLOUD_MANAGED_APP_DISTRIBUTION", + "GENERATE_INDIVIDUAL_KEYS" ] } }, @@ -47540,7 +47541,8 @@ "IMAGE_MANAGER", "CREATE_APPS", "CLOUD_MANAGED_DEVELOPER_ID", - "CLOUD_MANAGED_APP_DISTRIBUTION" + "CLOUD_MANAGED_APP_DISTRIBUTION", + "GENERATE_INDIVIDUAL_KEYS" ] } }, @@ -141842,7 +141844,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/BetaTester" + "$ref": "#/components/schemas/BetaGroup" } }, "links": { @@ -142050,7 +142052,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Build" + "$ref": "#/components/schemas/BetaTester" } }, "links": { @@ -146034,7 +146036,8 @@ "IMAGE_MANAGER", "CREATE_APPS", "CLOUD_MANAGED_DEVELOPER_ID", - "CLOUD_MANAGED_APP_DISTRIBUTION" + "CLOUD_MANAGED_APP_DISTRIBUTION", + "GENERATE_INDIVIDUAL_KEYS" ] }, "csv": { From 9121eaf7a9c0294fbca6ca346b61a19de521bd17 Mon Sep 17 00:00:00 2001 From: mat1th <6486389+mat1th@users.noreply.github.com> Date: Tue, 23 Jan 2024 13:42:09 +0100 Subject: [PATCH 4/5] fix: update api spec and generate code for MetricInsight; --- Sources/OpenAPI/Generated/Entities/MetricsInsight.swift | 6 +++--- Sources/OpenAPI/app_store_connect_api.json | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift b/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift index 0f99265b..26390959 100644 --- a/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift +++ b/Sources/OpenAPI/Generated/Entities/MetricsInsight.swift @@ -8,7 +8,7 @@ public struct MetricsInsight: Codable { public var latestVersion: String? public var metric: String? public var summaryString: String? - public var referenceVersions: String? + public var referenceVersions: [String]? public var maxLatestVersionValue: Double? public var subSystemLabel: String? public var isHighImpact: Bool? @@ -52,7 +52,7 @@ public struct MetricsInsight: Codable { } } - public init(metricCategory: MetricCategory? = nil, latestVersion: String? = nil, metric: String? = nil, summaryString: String? = nil, referenceVersions: String? = nil, maxLatestVersionValue: Double? = nil, subSystemLabel: String? = nil, isHighImpact: Bool? = nil, populations: [Population]? = nil) { + public init(metricCategory: MetricCategory? = nil, latestVersion: String? = nil, metric: String? = nil, summaryString: String? = nil, referenceVersions: [String]? = nil, maxLatestVersionValue: Double? = nil, subSystemLabel: String? = nil, isHighImpact: Bool? = nil, populations: [Population]? = nil) { self.metricCategory = metricCategory self.latestVersion = latestVersion self.metric = metric @@ -70,7 +70,7 @@ public struct MetricsInsight: Codable { self.latestVersion = try values.decodeIfPresent(String.self, forKey: "latestVersion") self.metric = try values.decodeIfPresent(String.self, forKey: "metric") self.summaryString = try values.decodeIfPresent(String.self, forKey: "summaryString") - self.referenceVersions = try values.decodeIfPresent(String.self, forKey: "referenceVersions") + self.referenceVersions = try values.decodeIfPresent([String].self, forKey: "referenceVersions") self.maxLatestVersionValue = try values.decodeIfPresent(Double.self, forKey: "maxLatestVersionValue") self.subSystemLabel = try values.decodeIfPresent(String.self, forKey: "subSystemLabel") self.isHighImpact = try values.decodeIfPresent(Bool.self, forKey: "highImpact") diff --git a/Sources/OpenAPI/app_store_connect_api.json b/Sources/OpenAPI/app_store_connect_api.json index aafc8ccc..b2fb4ab5 100644 --- a/Sources/OpenAPI/app_store_connect_api.json +++ b/Sources/OpenAPI/app_store_connect_api.json @@ -145559,7 +145559,10 @@ "type": "string" }, "referenceVersions": { - "type": "string" + "type": "array", + "items": { + "type": "string" + } }, "maxLatestVersionValue": { "type": "number" From 97e0ba2ecbe2209954280b1ba8f4336d9e019b26 Mon Sep 17 00:00:00 2001 From: mat1th <6486389+mat1th@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:37:21 +0100 Subject: [PATCH 5/5] fix: make percentageBreakdown a array; --- .../Generated/Entities/XcodeMetrics.swift | 8 ++++---- Sources/OpenAPI/app_store_connect_api.json | 19 +++++++++++-------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift b/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift index 139d803c..f05f0c7b 100644 --- a/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift +++ b/Sources/OpenAPI/Generated/Entities/XcodeMetrics.swift @@ -126,10 +126,10 @@ public struct XcodeMetrics: Codable { public var version: String? public var value: Double? public var errorMargin: Double? - public var percentageBreakdown: PercentageBreakdown? + public var percentageBreakdown: [PercentageBreakdownItem]? public var goal: String? - public struct PercentageBreakdown: Codable { + public struct PercentageBreakdownItem: Codable { public var value: Double? public var subSystemLabel: String? @@ -151,7 +151,7 @@ public struct XcodeMetrics: Codable { } } - public init(version: String? = nil, value: Double? = nil, errorMargin: Double? = nil, percentageBreakdown: PercentageBreakdown? = nil, goal: String? = nil) { + public init(version: String? = nil, value: Double? = nil, errorMargin: Double? = nil, percentageBreakdown: [PercentageBreakdownItem]? = nil, goal: String? = nil) { self.version = version self.value = value self.errorMargin = errorMargin @@ -164,7 +164,7 @@ public struct XcodeMetrics: Codable { self.version = try values.decodeIfPresent(String.self, forKey: "version") self.value = try values.decodeIfPresent(Double.self, forKey: "value") self.errorMargin = try values.decodeIfPresent(Double.self, forKey: "errorMargin") - self.percentageBreakdown = try values.decodeIfPresent(PercentageBreakdown.self, forKey: "percentageBreakdown") + self.percentageBreakdown = try values.decodeIfPresent([PercentageBreakdownItem].self, forKey: "percentageBreakdown") self.goal = try values.decodeIfPresent(String.self, forKey: "goal") } diff --git a/Sources/OpenAPI/app_store_connect_api.json b/Sources/OpenAPI/app_store_connect_api.json index b2fb4ab5..79d137cd 100644 --- a/Sources/OpenAPI/app_store_connect_api.json +++ b/Sources/OpenAPI/app_store_connect_api.json @@ -146260,15 +146260,18 @@ "type": "number" }, "percentageBreakdown": { - "type": "object", - "properties": { - "value": { - "type": "number" - }, - "subSystemLabel": { - "type": "string" + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "number" + }, + "subSystemLabel": { + "type": "string" + } } - } + } }, "goal": { "type": "string"