diff --git a/Sources/Bagbutik-AppStore/Actor/GetActorV1.swift b/Sources/Bagbutik-AppStore/Actor/GetActorV1.swift index 1b3cde9a4..c62e7004f 100644 --- a/Sources/Bagbutik-AppStore/Actor/GetActorV1.swift +++ b/Sources/Bagbutik-AppStore/Actor/GetActorV1.swift @@ -28,7 +28,7 @@ public enum GetActorV1 { /// The fields to include for returned resources of type actors case actors([Actors]) - public enum Actors: String, ParameterValue, Codable, CaseIterable { + public enum Actors: String, Sendable, ParameterValue, Codable, CaseIterable { case actorType case apiKeyId case userEmail diff --git a/Sources/Bagbutik-AppStore/Actor/ListActorsV1.swift b/Sources/Bagbutik-AppStore/Actor/ListActorsV1.swift index f8bb1fe27..ce75c1d46 100644 --- a/Sources/Bagbutik-AppStore/Actor/ListActorsV1.swift +++ b/Sources/Bagbutik-AppStore/Actor/ListActorsV1.swift @@ -34,7 +34,7 @@ public enum ListActorsV1 { /// The fields to include for returned resources of type actors case actors([Actors]) - public enum Actors: String, ParameterValue, Codable, CaseIterable { + public enum Actors: String, Sendable, ParameterValue, Codable, CaseIterable { case actorType case apiKeyId case userEmail diff --git a/Sources/Bagbutik-AppStore/App/GetAppV1.swift b/Sources/Bagbutik-AppStore/App/GetAppV1.swift index f6466a97a..d5f8d4c43 100644 --- a/Sources/Bagbutik-AppStore/App/GetAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/GetAppV1.swift @@ -99,32 +99,32 @@ public enum GetAppV1 { /// The fields to include for returned resources of type subscriptionGroups case subscriptionGroups([SubscriptionGroups]) - public enum AlternativeDistributionKeys: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionKeys: String, Sendable, ParameterValue, Codable, CaseIterable { case app case publicKey } - public enum AnalyticsReportRequests: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReportRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case accessType case app case reports case stoppedDueToInactivity } - public enum AppAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum AppAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case app case availableInNewTerritories case availableTerritories } - public enum AppClips: String, ParameterValue, Codable, CaseIterable { + public enum AppClips: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appClipAdvancedExperiences case appClipDefaultExperiences case bundleId } - public enum AppCustomProductPages: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPages: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appCustomProductPageVersions case appStoreVersionTemplate @@ -134,7 +134,7 @@ public enum GetAppV1 { case visible } - public enum AppEncryptionDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appDescription case appEncryptionDeclarationDocument @@ -154,7 +154,7 @@ public enum GetAppV1 { case usesEncryption } - public enum AppEvents: String, ParameterValue, Codable, CaseIterable { + public enum AppEvents: String, Sendable, ParameterValue, Codable, CaseIterable { case app case archivedTerritorySchedules case badge @@ -169,7 +169,7 @@ public enum GetAppV1 { case territorySchedules } - public enum AppInfos: String, ParameterValue, Codable, CaseIterable { + public enum AppInfos: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case app case appInfoLocalizations @@ -187,13 +187,13 @@ public enum GetAppV1 { case state } - public enum AppPreOrders: String, ParameterValue, Codable, CaseIterable { + public enum AppPreOrders: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appReleaseDate case preOrderAvailableDate } - public enum AppPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum AppPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case app case customerPrice case equalizations @@ -201,14 +201,14 @@ public enum GetAppV1 { case territory } - public enum AppPriceSchedules: String, ParameterValue, Codable, CaseIterable { + public enum AppPriceSchedules: String, Sendable, ParameterValue, Codable, CaseIterable { case app case automaticPrices case baseTerritory case manualPrices } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionExperimentTreatments case controlVersions @@ -223,7 +223,7 @@ public enum GetAppV1 { case trafficProportion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -249,7 +249,7 @@ public enum GetAppV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -295,7 +295,7 @@ public enum GetAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaAppLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case description case feedbackEmail @@ -305,7 +305,7 @@ public enum GetAppV1 { case tvOsPrivacyPolicy } - public enum BetaAppReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case app case contactEmail case contactFirstName @@ -317,7 +317,7 @@ public enum GetAppV1 { case notes } - public enum BetaGroups: String, ParameterValue, Codable, CaseIterable { + public enum BetaGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case betaTesters case builds @@ -334,12 +334,12 @@ public enum GetAppV1 { case publicLinkLimitEnabled } - public enum BetaLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum BetaLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -366,7 +366,7 @@ public enum GetAppV1 { case version } - public enum CiProducts: String, ParameterValue, Codable, CaseIterable { + public enum CiProducts: String, Sendable, ParameterValue, Codable, CaseIterable { case additionalRepositories case app case buildRuns @@ -378,7 +378,7 @@ public enum GetAppV1 { case workflows } - public enum CustomerReviews: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviews: String, Sendable, ParameterValue, Codable, CaseIterable { case body case createdDate case rating @@ -388,13 +388,13 @@ public enum GetAppV1 { case title } - public enum EndUserLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum EndUserLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app case territories } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -410,7 +410,7 @@ public enum GetAppV1 { case leaderboardSetReleases } - public enum GameCenterEnabledVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterEnabledVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case compatibleVersions case iconAsset @@ -418,7 +418,7 @@ public enum GetAppV1 { case versionString } - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case apps @@ -438,25 +438,25 @@ public enum GetAppV1 { case state } - public enum MarketplaceSearchDetails: String, ParameterValue, Codable, CaseIterable { + public enum MarketplaceSearchDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case app case catalogUrl } - public enum PerfPowerMetrics: String, ParameterValue, Codable, CaseIterable { + public enum PerfPowerMetrics: String, Sendable, ParameterValue, Codable, CaseIterable { case deviceType case metricType case platform } - public enum PreReleaseVersions: String, ParameterValue, Codable, CaseIterable { + public enum PreReleaseVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case builds case platform case version } - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 @@ -466,7 +466,7 @@ public enum GetAppV1 { case visibleForAllUsers } - public enum ReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum ReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionForReview case canceled @@ -479,14 +479,14 @@ public enum GetAppV1 { case submittedDate } - public enum SubscriptionGracePeriods: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGracePeriods: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case optIn case renewalType case sandboxOptIn } - public enum SubscriptionGroups: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case referenceName case subscriptionGroupLocalizations diff --git a/Sources/Bagbutik-AppStore/App/ListAppsV1.swift b/Sources/Bagbutik-AppStore/App/ListAppsV1.swift index c15d9ad78..f73001608 100644 --- a/Sources/Bagbutik-AppStore/App/ListAppsV1.swift +++ b/Sources/Bagbutik-AppStore/App/ListAppsV1.swift @@ -106,32 +106,32 @@ public enum ListAppsV1 { /// The fields to include for returned resources of type subscriptionGroups case subscriptionGroups([SubscriptionGroups]) - public enum AlternativeDistributionKeys: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionKeys: String, Sendable, ParameterValue, Codable, CaseIterable { case app case publicKey } - public enum AnalyticsReportRequests: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReportRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case accessType case app case reports case stoppedDueToInactivity } - public enum AppAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum AppAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case app case availableInNewTerritories case availableTerritories } - public enum AppClips: String, ParameterValue, Codable, CaseIterable { + public enum AppClips: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appClipAdvancedExperiences case appClipDefaultExperiences case bundleId } - public enum AppCustomProductPages: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPages: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appCustomProductPageVersions case appStoreVersionTemplate @@ -141,7 +141,7 @@ public enum ListAppsV1 { case visible } - public enum AppEncryptionDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appDescription case appEncryptionDeclarationDocument @@ -161,7 +161,7 @@ public enum ListAppsV1 { case usesEncryption } - public enum AppEvents: String, ParameterValue, Codable, CaseIterable { + public enum AppEvents: String, Sendable, ParameterValue, Codable, CaseIterable { case app case archivedTerritorySchedules case badge @@ -176,7 +176,7 @@ public enum ListAppsV1 { case territorySchedules } - public enum AppInfos: String, ParameterValue, Codable, CaseIterable { + public enum AppInfos: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case app case appInfoLocalizations @@ -194,13 +194,13 @@ public enum ListAppsV1 { case state } - public enum AppPreOrders: String, ParameterValue, Codable, CaseIterable { + public enum AppPreOrders: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appReleaseDate case preOrderAvailableDate } - public enum AppPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum AppPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case app case customerPrice case equalizations @@ -208,14 +208,14 @@ public enum ListAppsV1 { case territory } - public enum AppPriceSchedules: String, ParameterValue, Codable, CaseIterable { + public enum AppPriceSchedules: String, Sendable, ParameterValue, Codable, CaseIterable { case app case automaticPrices case baseTerritory case manualPrices } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionExperimentTreatments case controlVersions @@ -230,7 +230,7 @@ public enum ListAppsV1 { case trafficProportion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -256,7 +256,7 @@ public enum ListAppsV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -302,7 +302,7 @@ public enum ListAppsV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaAppLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case description case feedbackEmail @@ -312,7 +312,7 @@ public enum ListAppsV1 { case tvOsPrivacyPolicy } - public enum BetaAppReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case app case contactEmail case contactFirstName @@ -324,7 +324,7 @@ public enum ListAppsV1 { case notes } - public enum BetaGroups: String, ParameterValue, Codable, CaseIterable { + public enum BetaGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case betaTesters case builds @@ -341,12 +341,12 @@ public enum ListAppsV1 { case publicLinkLimitEnabled } - public enum BetaLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum BetaLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -373,7 +373,7 @@ public enum ListAppsV1 { case version } - public enum CiProducts: String, ParameterValue, Codable, CaseIterable { + public enum CiProducts: String, Sendable, ParameterValue, Codable, CaseIterable { case additionalRepositories case app case buildRuns @@ -385,7 +385,7 @@ public enum ListAppsV1 { case workflows } - public enum CustomerReviews: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviews: String, Sendable, ParameterValue, Codable, CaseIterable { case body case createdDate case rating @@ -395,13 +395,13 @@ public enum ListAppsV1 { case title } - public enum EndUserLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum EndUserLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app case territories } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -417,7 +417,7 @@ public enum ListAppsV1 { case leaderboardSetReleases } - public enum GameCenterEnabledVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterEnabledVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case compatibleVersions case iconAsset @@ -425,7 +425,7 @@ public enum ListAppsV1 { case versionString } - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case apps @@ -445,25 +445,25 @@ public enum ListAppsV1 { case state } - public enum MarketplaceSearchDetails: String, ParameterValue, Codable, CaseIterable { + public enum MarketplaceSearchDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case app case catalogUrl } - public enum PerfPowerMetrics: String, ParameterValue, Codable, CaseIterable { + public enum PerfPowerMetrics: String, Sendable, ParameterValue, Codable, CaseIterable { case deviceType case metricType case platform } - public enum PreReleaseVersions: String, ParameterValue, Codable, CaseIterable { + public enum PreReleaseVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case builds case platform case version } - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 @@ -473,7 +473,7 @@ public enum ListAppsV1 { case visibleForAllUsers } - public enum ReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum ReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionForReview case canceled @@ -486,14 +486,14 @@ public enum ListAppsV1 { case submittedDate } - public enum SubscriptionGracePeriods: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGracePeriods: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case optIn case renewalType case sandboxOptIn } - public enum SubscriptionGroups: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case referenceName case subscriptionGroupLocalizations diff --git a/Sources/Bagbutik-AppStore/App/Relationships/GetAlternativeDistributionKeyForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/GetAlternativeDistributionKeyForAppV1.swift index 79c84612d..b0d87b4ad 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/GetAlternativeDistributionKeyForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/GetAlternativeDistributionKeyForAppV1.swift @@ -28,7 +28,7 @@ public enum GetAlternativeDistributionKeyForAppV1 { /// The fields to include for returned resources of type alternativeDistributionKeys case alternativeDistributionKeys([AlternativeDistributionKeys]) - public enum AlternativeDistributionKeys: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionKeys: String, Sendable, ParameterValue, Codable, CaseIterable { case app case publicKey } diff --git a/Sources/Bagbutik-AppStore/App/Relationships/GetAppAvailabilityForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/GetAppAvailabilityForAppV1.swift index b8a0fefbc..d36e8e223 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/GetAppAvailabilityForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/GetAppAvailabilityForAppV1.swift @@ -39,13 +39,13 @@ public enum GetAppAvailabilityForAppV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum AppAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum AppAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case app case availableInNewTerritories case availableTerritories } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -91,7 +91,7 @@ public enum GetAppAvailabilityForAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/App/Relationships/GetAppPriceScheduleForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/GetAppPriceScheduleForAppV1.swift index 3f34b136e..5ad51d613 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/GetAppPriceScheduleForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/GetAppPriceScheduleForAppV1.swift @@ -40,14 +40,14 @@ public enum GetAppPriceScheduleForAppV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum AppPriceSchedules: String, ParameterValue, Codable, CaseIterable { + public enum AppPriceSchedules: String, Sendable, ParameterValue, Codable, CaseIterable { case app case automaticPrices case baseTerritory case manualPrices } - public enum AppPrices: String, ParameterValue, Codable, CaseIterable { + public enum AppPrices: String, Sendable, ParameterValue, Codable, CaseIterable { case appPricePoint case endDate case manual @@ -55,7 +55,7 @@ public enum GetAppPriceScheduleForAppV1 { case territory } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -101,7 +101,7 @@ public enum GetAppPriceScheduleForAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/App/Relationships/GetBetaAppReviewDetailForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/GetBetaAppReviewDetailForAppV1.swift index 6d9c40f14..ef98ed9df 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/GetBetaAppReviewDetailForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/GetBetaAppReviewDetailForAppV1.swift @@ -28,7 +28,7 @@ public enum GetBetaAppReviewDetailForAppV1 { /// The fields to include for returned resources of type betaAppReviewDetails case betaAppReviewDetails([BetaAppReviewDetails]) - public enum BetaAppReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case app case contactEmail case contactFirstName diff --git a/Sources/Bagbutik-AppStore/App/Relationships/GetBetaLicenseAgreementForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/GetBetaLicenseAgreementForAppV1.swift index 9e108325b..10714f668 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/GetBetaLicenseAgreementForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/GetBetaLicenseAgreementForAppV1.swift @@ -28,7 +28,7 @@ public enum GetBetaLicenseAgreementForAppV1 { /// The fields to include for returned resources of type betaLicenseAgreements case betaLicenseAgreements([BetaLicenseAgreements]) - public enum BetaLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum BetaLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app } diff --git a/Sources/Bagbutik-AppStore/App/Relationships/GetEndUserLicenseAgreementForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/GetEndUserLicenseAgreementForAppV1.swift index b8546e191..78e960156 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/GetEndUserLicenseAgreementForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/GetEndUserLicenseAgreementForAppV1.swift @@ -28,7 +28,7 @@ public enum GetEndUserLicenseAgreementForAppV1 { /// The fields to include for returned resources of type endUserLicenseAgreements case endUserLicenseAgreements([EndUserLicenseAgreements]) - public enum EndUserLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum EndUserLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app case territories diff --git a/Sources/Bagbutik-AppStore/App/Relationships/GetPreOrderForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/GetPreOrderForAppV1.swift index 324328454..c804ed11b 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/GetPreOrderForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/GetPreOrderForAppV1.swift @@ -29,7 +29,7 @@ public enum GetPreOrderForAppV1 { /// The fields to include for returned resources of type appPreOrders case appPreOrders([AppPreOrders]) - public enum AppPreOrders: String, ParameterValue, Codable, CaseIterable { + public enum AppPreOrders: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appReleaseDate case preOrderAvailableDate diff --git a/Sources/Bagbutik-AppStore/App/Relationships/GetSubscriptionGracePeriodForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/GetSubscriptionGracePeriodForAppV1.swift index 8ad16ded3..6338d1d33 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/GetSubscriptionGracePeriodForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/GetSubscriptionGracePeriodForAppV1.swift @@ -28,7 +28,7 @@ public enum GetSubscriptionGracePeriodForAppV1 { /// The fields to include for returned resources of type subscriptionGracePeriods case subscriptionGracePeriods([SubscriptionGracePeriods]) - public enum SubscriptionGracePeriods: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGracePeriods: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case optIn case renewalType diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListAppClipsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListAppClipsForAppV1.swift index 48de77074..8674b4d05 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListAppClipsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListAppClipsForAppV1.swift @@ -41,7 +41,7 @@ public enum ListAppClipsForAppV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -50,14 +50,14 @@ public enum ListAppClipsForAppV1 { case releaseWithAppStoreVersion } - public enum AppClips: String, ParameterValue, Codable, CaseIterable { + public enum AppClips: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appClipAdvancedExperiences case appClipDefaultExperiences case bundleId } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListAppCustomProductPagesForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListAppCustomProductPagesForAppV1.swift index bc1c16c7c..1ab20d224 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListAppCustomProductPagesForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListAppCustomProductPagesForAppV1.swift @@ -41,7 +41,7 @@ public enum ListAppCustomProductPagesForAppV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum AppCustomProductPageVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPage case appCustomProductPageLocalizations case deepLink @@ -49,7 +49,7 @@ public enum ListAppCustomProductPagesForAppV1 { case version } - public enum AppCustomProductPages: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPages: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appCustomProductPageVersions case appStoreVersionTemplate @@ -59,7 +59,7 @@ public enum ListAppCustomProductPagesForAppV1 { case visible } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListAppEncryptionDeclarationsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListAppEncryptionDeclarationsForAppV1.swift index 4669132d7..68deebc24 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListAppEncryptionDeclarationsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListAppEncryptionDeclarationsForAppV1.swift @@ -43,7 +43,7 @@ public enum ListAppEncryptionDeclarationsForAppV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum AppEncryptionDeclarationDocuments: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarationDocuments: String, Sendable, ParameterValue, Codable, CaseIterable { case appEncryptionDeclaration case assetDeliveryState case assetToken @@ -55,7 +55,7 @@ public enum ListAppEncryptionDeclarationsForAppV1 { case uploaded } - public enum AppEncryptionDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appDescription case appEncryptionDeclarationDocument @@ -75,7 +75,7 @@ public enum ListAppEncryptionDeclarationsForAppV1 { case usesEncryption } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -121,7 +121,7 @@ public enum ListAppEncryptionDeclarationsForAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListAppEventsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListAppEventsForAppV1.swift index 508796b20..d27154e98 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListAppEventsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListAppEventsForAppV1.swift @@ -38,7 +38,7 @@ public enum ListAppEventsForAppV1 { /// The fields to include for returned resources of type appEvents case appEvents([AppEvents]) - public enum AppEventLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppEventLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appEvent case appEventScreenshots case appEventVideoClips @@ -48,7 +48,7 @@ public enum ListAppEventsForAppV1 { case shortDescription } - public enum AppEvents: String, ParameterValue, Codable, CaseIterable { + public enum AppEvents: String, Sendable, ParameterValue, Codable, CaseIterable { case app case archivedTerritorySchedules case badge @@ -73,7 +73,7 @@ public enum ListAppEventsForAppV1 { /// Filter by id(s) case id([String]) - public enum EventState: String, ParameterValue, Codable, CaseIterable { + public enum EventState: String, Sendable, ParameterValue, Codable, CaseIterable { case accepted = "ACCEPTED" case approved = "APPROVED" case archived = "ARCHIVED" diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListAppInfosForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListAppInfosForAppV1.swift index 8ea124364..07220dd0f 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListAppInfosForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListAppInfosForAppV1.swift @@ -44,7 +44,7 @@ public enum ListAppInfosForAppV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum AgeRatingDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AgeRatingDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests @@ -65,13 +65,13 @@ public enum ListAppInfosForAppV1 { case violenceRealisticProlongedGraphicOrSadistic } - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories } - public enum AppInfoLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppInfoLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appInfo case locale case name @@ -81,7 +81,7 @@ public enum ListAppInfosForAppV1 { case subtitle } - public enum AppInfos: String, ParameterValue, Codable, CaseIterable { + public enum AppInfos: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case app case appInfoLocalizations @@ -99,7 +99,7 @@ public enum ListAppInfosForAppV1 { case state } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListAppPricePointsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListAppPricePointsForAppV1.swift index 9116560fd..8f5769b9b 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListAppPricePointsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListAppPricePointsForAppV1.swift @@ -41,7 +41,7 @@ public enum ListAppPricePointsForAppV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum AppPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum AppPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case app case customerPrice case equalizations @@ -49,7 +49,7 @@ public enum ListAppPricePointsForAppV1 { case territory } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -95,7 +95,7 @@ public enum ListAppPricePointsForAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListAppStoreVersionExperimentsV2ForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListAppStoreVersionExperimentsV2ForAppV1.swift index c3be1262d..4c7de934e 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListAppStoreVersionExperimentsV2ForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListAppStoreVersionExperimentsV2ForAppV1.swift @@ -42,7 +42,7 @@ public enum ListAppStoreVersionExperimentsV2ForAppV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum AppStoreVersionExperimentTreatments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatments: String, Sendable, ParameterValue, Codable, CaseIterable { case appIcon case appIconName case appStoreVersionExperiment @@ -52,7 +52,7 @@ public enum ListAppStoreVersionExperimentsV2ForAppV1 { case promotedDate } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionExperimentTreatments case controlVersions @@ -67,7 +67,7 @@ public enum ListAppStoreVersionExperimentsV2ForAppV1 { case trafficProportion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -93,7 +93,7 @@ public enum ListAppStoreVersionExperimentsV2ForAppV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -147,7 +147,7 @@ public enum ListAppStoreVersionExperimentsV2ForAppV1 { /// Filter by attribute 'state' case state([State]) - public enum State: String, ParameterValue, Codable, CaseIterable { + public enum State: String, Sendable, ParameterValue, Codable, CaseIterable { case accepted = "ACCEPTED" case approved = "APPROVED" case completed = "COMPLETED" diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListAppStoreVersionsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListAppStoreVersionsForAppV1.swift index df3cd25d5..aa601de6b 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListAppStoreVersionsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListAppStoreVersionsForAppV1.swift @@ -59,7 +59,7 @@ public enum ListAppStoreVersionsForAppV1 { /// The fields to include for returned resources of type routingAppCoverages case routingAppCoverages([RoutingAppCoverages]) - public enum AgeRatingDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AgeRatingDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests @@ -80,12 +80,12 @@ public enum ListAppStoreVersionsForAppV1 { case violenceRealisticProlongedGraphicOrSadistic } - public enum AlternativeDistributionPackages: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case versions } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -94,7 +94,7 @@ public enum ListAppStoreVersionsForAppV1 { case releaseWithAppStoreVersion } - public enum AppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion case contactEmail @@ -107,7 +107,7 @@ public enum ListAppStoreVersionsForAppV1 { case notes } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersion case appStoreVersionExperimentTreatments @@ -123,7 +123,7 @@ public enum ListAppStoreVersionsForAppV1 { case trafficProportion } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion @@ -136,7 +136,7 @@ public enum ListAppStoreVersionsForAppV1 { case whatsNew } - public enum AppStoreVersionPhasedReleases: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionPhasedReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case currentDayNumber case phasedReleaseState @@ -144,11 +144,11 @@ public enum ListAppStoreVersionsForAppV1 { case totalPauseDuration } - public enum AppStoreVersionSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -174,7 +174,7 @@ public enum ListAppStoreVersionsForAppV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -220,7 +220,7 @@ public enum ListAppStoreVersionsForAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -247,7 +247,7 @@ public enum ListAppStoreVersionsForAppV1 { case version } - public enum RoutingAppCoverages: String, ParameterValue, Codable, CaseIterable { + public enum RoutingAppCoverages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListBetaAppLocalizationsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListBetaAppLocalizationsForAppV1.swift index 0992a52fd..9f97dcb2f 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListBetaAppLocalizationsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListBetaAppLocalizationsForAppV1.swift @@ -31,7 +31,7 @@ public enum ListBetaAppLocalizationsForAppV1 { /// The fields to include for returned resources of type betaAppLocalizations case betaAppLocalizations([BetaAppLocalizations]) - public enum BetaAppLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case description case feedbackEmail diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListBetaGroupsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListBetaGroupsForAppV1.swift index 253b72b99..908f21a5a 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListBetaGroupsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListBetaGroupsForAppV1.swift @@ -31,7 +31,7 @@ public enum ListBetaGroupsForAppV1 { /// The fields to include for returned resources of type betaGroups case betaGroups([BetaGroups]) - public enum BetaGroups: String, ParameterValue, Codable, CaseIterable { + public enum BetaGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case betaTesters case builds diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListBuildsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListBuildsForAppV1.swift index 2574b6010..658666b85 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListBuildsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListBuildsForAppV1.swift @@ -31,7 +31,7 @@ public enum ListBuildsForAppV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListCustomerReviewsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListCustomerReviewsForAppV1.swift index 2eb7ddbdb..05ad4857b 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListCustomerReviewsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListCustomerReviewsForAppV1.swift @@ -47,14 +47,14 @@ public enum ListCustomerReviewsForAppV1 { /// The fields to include for returned resources of type customerReviews case customerReviews([CustomerReviews]) - public enum CustomerReviewResponses: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviewResponses: String, Sendable, ParameterValue, Codable, CaseIterable { case lastModifiedDate case responseBody case review case state } - public enum CustomerReviews: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviews: String, Sendable, ParameterValue, Codable, CaseIterable { case body case createdDate case rating diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListGameCenterEnabledVersionsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListGameCenterEnabledVersionsForAppV1.swift index a9987b942..d0f815307 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListGameCenterEnabledVersionsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListGameCenterEnabledVersionsForAppV1.swift @@ -42,7 +42,7 @@ public enum ListGameCenterEnabledVersionsForAppV1 { /// The fields to include for returned resources of type gameCenterEnabledVersions case gameCenterEnabledVersions([GameCenterEnabledVersions]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -88,7 +88,7 @@ public enum ListGameCenterEnabledVersionsForAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum GameCenterEnabledVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterEnabledVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case compatibleVersions case iconAsset diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListInAppPurchasesForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListInAppPurchasesForAppV1.swift index 976a67344..f761fe5ac 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListInAppPurchasesForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListInAppPurchasesForAppV1.swift @@ -43,7 +43,7 @@ public enum ListInAppPurchasesForAppV1 { /// The fields to include for returned resources of type inAppPurchases case inAppPurchases([InAppPurchases]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -89,7 +89,7 @@ public enum ListInAppPurchasesForAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case inAppPurchaseType case productId @@ -107,7 +107,7 @@ public enum ListInAppPurchasesForAppV1 { /// Filter by attribute 'inAppPurchaseType' case inAppPurchaseType([InAppPurchaseType]) - public enum InAppPurchaseType: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseType: String, Sendable, ParameterValue, Codable, CaseIterable { case automaticallyRenewableSubscription = "AUTOMATICALLY_RENEWABLE_SUBSCRIPTION" case consumable = "CONSUMABLE" case freeSubscription = "FREE_SUBSCRIPTION" diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListInAppPurchasesV2ForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListInAppPurchasesV2ForAppV1.swift index 2ac558db5..8c9600b68 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListInAppPurchasesV2ForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListInAppPurchasesV2ForAppV1.swift @@ -52,7 +52,7 @@ public enum ListInAppPurchasesV2ForAppV1 { /// The fields to include for returned resources of type promotedPurchases case promotedPurchases([PromotedPurchases]) - public enum InAppPurchaseAppStoreReviewScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseAppStoreReviewScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case assetToken case assetType @@ -65,13 +65,13 @@ public enum ListInAppPurchasesV2ForAppV1 { case uploaded } - public enum InAppPurchaseAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case availableInNewTerritories case availableTerritories case inAppPurchase } - public enum InAppPurchaseContents: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseContents: String, Sendable, ParameterValue, Codable, CaseIterable { case fileName case fileSize case inAppPurchaseV2 @@ -79,7 +79,7 @@ public enum ListInAppPurchasesV2ForAppV1 { case url } - public enum InAppPurchaseLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case description case inAppPurchaseV2 case locale @@ -87,14 +87,14 @@ public enum ListInAppPurchasesV2ForAppV1 { case state } - public enum InAppPurchasePriceSchedules: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePriceSchedules: String, Sendable, ParameterValue, Codable, CaseIterable { case automaticPrices case baseTerritory case inAppPurchase case manualPrices } - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case content @@ -111,7 +111,7 @@ public enum ListInAppPurchasesV2ForAppV1 { case state } - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListPreReleaseVersionsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListPreReleaseVersionsForAppV1.swift index 89c05f90f..f9021b2d4 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListPreReleaseVersionsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListPreReleaseVersionsForAppV1.swift @@ -31,7 +31,7 @@ public enum ListPreReleaseVersionsForAppV1 { /// The fields to include for returned resources of type preReleaseVersions case preReleaseVersions([PreReleaseVersions]) - public enum PreReleaseVersions: String, ParameterValue, Codable, CaseIterable { + public enum PreReleaseVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case builds case platform diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListPromotedPurchasesForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListPromotedPurchasesForAppV1.swift index ff4853d9e..de9314687 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListPromotedPurchasesForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListPromotedPurchasesForAppV1.swift @@ -40,7 +40,7 @@ public enum ListPromotedPurchasesForAppV1 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case content @@ -58,7 +58,7 @@ public enum ListPromotedPurchasesForAppV1 { case state } - public enum PromotedPurchaseImages: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchaseImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetToken case assetType case fileName @@ -71,7 +71,7 @@ public enum ListPromotedPurchasesForAppV1 { case uploaded } - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 @@ -81,7 +81,7 @@ public enum ListPromotedPurchasesForAppV1 { case visibleForAllUsers } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListReviewSubmissionsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListReviewSubmissionsForAppV1.swift index 9424d84fb..3b66bf4b0 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListReviewSubmissionsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListReviewSubmissionsForAppV1.swift @@ -45,7 +45,7 @@ public enum ListReviewSubmissionsForAppV1 { /// The fields to include for returned resources of type reviewSubmissions case reviewSubmissions([ReviewSubmissions]) - public enum Actors: String, ParameterValue, Codable, CaseIterable { + public enum Actors: String, Sendable, ParameterValue, Codable, CaseIterable { case actorType case apiKeyId case userEmail @@ -53,7 +53,7 @@ public enum ListReviewSubmissionsForAppV1 { case userLastName } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -79,7 +79,7 @@ public enum ListReviewSubmissionsForAppV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -125,7 +125,7 @@ public enum ListReviewSubmissionsForAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum ReviewSubmissionItems: String, ParameterValue, Codable, CaseIterable { + public enum ReviewSubmissionItems: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appEvent case appStoreVersion @@ -137,7 +137,7 @@ public enum ListReviewSubmissionsForAppV1 { case state } - public enum ReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum ReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionForReview case canceled @@ -160,7 +160,7 @@ public enum ListReviewSubmissionsForAppV1 { /// Filter by attribute 'state' case state([State]) - public enum State: String, ParameterValue, Codable, CaseIterable { + public enum State: String, Sendable, ParameterValue, Codable, CaseIterable { case canceling = "CANCELING" case complete = "COMPLETE" case completing = "COMPLETING" diff --git a/Sources/Bagbutik-AppStore/App/Relationships/ListSubscriptionGroupsForAppV1.swift b/Sources/Bagbutik-AppStore/App/Relationships/ListSubscriptionGroupsForAppV1.swift index a326a9eef..39ad6db3e 100644 --- a/Sources/Bagbutik-AppStore/App/Relationships/ListSubscriptionGroupsForAppV1.swift +++ b/Sources/Bagbutik-AppStore/App/Relationships/ListSubscriptionGroupsForAppV1.swift @@ -44,7 +44,7 @@ public enum ListSubscriptionGroupsForAppV1 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum SubscriptionGroupLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroupLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case customAppName case locale case name @@ -52,14 +52,14 @@ public enum ListSubscriptionGroupsForAppV1 { case subscriptionGroup } - public enum SubscriptionGroups: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case referenceName case subscriptionGroupLocalizations case subscriptions } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group @@ -89,7 +89,7 @@ public enum ListSubscriptionGroupsForAppV1 { /// Filter by attribute 'subscriptions.state' case subscriptions_state([SubscriptionsState]) - public enum SubscriptionsState: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionsState: String, Sendable, ParameterValue, Codable, CaseIterable { case approved = "APPROVED" case developerActionNeeded = "DEVELOPER_ACTION_NEEDED" case developerRemovedFromSale = "DEVELOPER_REMOVED_FROM_SALE" diff --git a/Sources/Bagbutik-AppStore/AppAvailability/GetAppAvailabilitiesV2.swift b/Sources/Bagbutik-AppStore/AppAvailability/GetAppAvailabilitiesV2.swift index 01226038f..3e02c4648 100644 --- a/Sources/Bagbutik-AppStore/AppAvailability/GetAppAvailabilitiesV2.swift +++ b/Sources/Bagbutik-AppStore/AppAvailability/GetAppAvailabilitiesV2.swift @@ -36,13 +36,13 @@ public enum GetAppAvailabilitiesV2 { /// The fields to include for returned resources of type territoryAvailabilities case territoryAvailabilities([TerritoryAvailabilities]) - public enum AppAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum AppAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case app case availableInNewTerritories case territoryAvailabilities } - public enum TerritoryAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum TerritoryAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case available case contentStatuses case preOrderEnabled diff --git a/Sources/Bagbutik-AppStore/AppAvailability/GetAppAvailabilityV1.swift b/Sources/Bagbutik-AppStore/AppAvailability/GetAppAvailabilityV1.swift index ff1dffaf6..05ee4e401 100644 --- a/Sources/Bagbutik-AppStore/AppAvailability/GetAppAvailabilityV1.swift +++ b/Sources/Bagbutik-AppStore/AppAvailability/GetAppAvailabilityV1.swift @@ -37,13 +37,13 @@ public enum GetAppAvailabilityV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum AppAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum AppAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case app case availableInNewTerritories case availableTerritories } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/AppAvailability/Relationships/ListAvailableTerritoriesForAppAvailabilityV1.swift b/Sources/Bagbutik-AppStore/AppAvailability/Relationships/ListAvailableTerritoriesForAppAvailabilityV1.swift index 2da51292d..005b2a496 100644 --- a/Sources/Bagbutik-AppStore/AppAvailability/Relationships/ListAvailableTerritoriesForAppAvailabilityV1.swift +++ b/Sources/Bagbutik-AppStore/AppAvailability/Relationships/ListAvailableTerritoriesForAppAvailabilityV1.swift @@ -32,7 +32,7 @@ public enum ListAvailableTerritoriesForAppAvailabilityV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/AppAvailability/Relationships/ListTerritoryAvailabilitiesForAppAvailabilitiesV2.swift b/Sources/Bagbutik-AppStore/AppAvailability/Relationships/ListTerritoryAvailabilitiesForAppAvailabilitiesV2.swift index ffb448a77..5ca2da8ed 100644 --- a/Sources/Bagbutik-AppStore/AppAvailability/Relationships/ListTerritoryAvailabilitiesForAppAvailabilitiesV2.swift +++ b/Sources/Bagbutik-AppStore/AppAvailability/Relationships/ListTerritoryAvailabilitiesForAppAvailabilitiesV2.swift @@ -36,11 +36,11 @@ public enum ListTerritoryAvailabilitiesForAppAvailabilitiesV2 { /// The fields to include for returned resources of type territoryAvailabilities case territoryAvailabilities([TerritoryAvailabilities]) - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } - public enum TerritoryAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum TerritoryAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case available case contentStatuses case preOrderEnabled diff --git a/Sources/Bagbutik-AppStore/AppCategory/GetAppCategoryV1.swift b/Sources/Bagbutik-AppStore/AppCategory/GetAppCategoryV1.swift index 8efbd6830..3a6597c8c 100644 --- a/Sources/Bagbutik-AppStore/AppCategory/GetAppCategoryV1.swift +++ b/Sources/Bagbutik-AppStore/AppCategory/GetAppCategoryV1.swift @@ -34,7 +34,7 @@ public enum GetAppCategoryV1 { /// The fields to include for returned resources of type appCategories case appCategories([AppCategories]) - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Sources/Bagbutik-AppStore/AppCategory/ListAppCategoriesV1.swift b/Sources/Bagbutik-AppStore/AppCategory/ListAppCategoriesV1.swift index 7fd19531e..f52126b75 100644 --- a/Sources/Bagbutik-AppStore/AppCategory/ListAppCategoriesV1.swift +++ b/Sources/Bagbutik-AppStore/AppCategory/ListAppCategoriesV1.swift @@ -41,7 +41,7 @@ public enum ListAppCategoriesV1 { /// The fields to include for returned resources of type appCategories case appCategories([AppCategories]) - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Sources/Bagbutik-AppStore/AppCategory/Relationships/GetParentForAppCategoryV1.swift b/Sources/Bagbutik-AppStore/AppCategory/Relationships/GetParentForAppCategoryV1.swift index 488be346e..67837950e 100644 --- a/Sources/Bagbutik-AppStore/AppCategory/Relationships/GetParentForAppCategoryV1.swift +++ b/Sources/Bagbutik-AppStore/AppCategory/Relationships/GetParentForAppCategoryV1.swift @@ -28,7 +28,7 @@ public enum GetParentForAppCategoryV1 { /// The fields to include for returned resources of type appCategories case appCategories([AppCategories]) - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Sources/Bagbutik-AppStore/AppCategory/Relationships/ListSubcategoriesForAppCategoryV1.swift b/Sources/Bagbutik-AppStore/AppCategory/Relationships/ListSubcategoriesForAppCategoryV1.swift index ffe2a863f..62612b858 100644 --- a/Sources/Bagbutik-AppStore/AppCategory/Relationships/ListSubcategoriesForAppCategoryV1.swift +++ b/Sources/Bagbutik-AppStore/AppCategory/Relationships/ListSubcategoriesForAppCategoryV1.swift @@ -31,7 +31,7 @@ public enum ListSubcategoriesForAppCategoryV1 { /// The fields to include for returned resources of type appCategories case appCategories([AppCategories]) - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Sources/Bagbutik-AppStore/AppClip/GetAppClipV1.swift b/Sources/Bagbutik-AppStore/AppClip/GetAppClipV1.swift index 580f9568f..cf93adf88 100644 --- a/Sources/Bagbutik-AppStore/AppClip/GetAppClipV1.swift +++ b/Sources/Bagbutik-AppStore/AppClip/GetAppClipV1.swift @@ -38,7 +38,7 @@ public enum GetAppClipV1 { /// The fields to include for returned resources of type appClips case appClips([AppClips]) - public enum AppClipAdvancedExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAdvancedExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case businessCategory @@ -54,7 +54,7 @@ public enum GetAppClipV1 { case version } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -63,7 +63,7 @@ public enum GetAppClipV1 { case releaseWithAppStoreVersion } - public enum AppClips: String, ParameterValue, Codable, CaseIterable { + public enum AppClips: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appClipAdvancedExperiences case appClipDefaultExperiences diff --git a/Sources/Bagbutik-AppStore/AppClip/Relationships/ListAppClipAdvancedExperiencesForAppClipV1.swift b/Sources/Bagbutik-AppStore/AppClip/Relationships/ListAppClipAdvancedExperiencesForAppClipV1.swift index 21b465bdc..adeca04c6 100644 --- a/Sources/Bagbutik-AppStore/AppClip/Relationships/ListAppClipAdvancedExperiencesForAppClipV1.swift +++ b/Sources/Bagbutik-AppStore/AppClip/Relationships/ListAppClipAdvancedExperiencesForAppClipV1.swift @@ -43,7 +43,7 @@ public enum ListAppClipAdvancedExperiencesForAppClipV1 { /// The fields to include for returned resources of type appClips case appClips([AppClips]) - public enum AppClipAdvancedExperienceImages: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAdvancedExperienceImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize @@ -53,13 +53,13 @@ public enum ListAppClipAdvancedExperiencesForAppClipV1 { case uploaded } - public enum AppClipAdvancedExperienceLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAdvancedExperienceLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case language case subtitle case title } - public enum AppClipAdvancedExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAdvancedExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case businessCategory @@ -75,7 +75,7 @@ public enum ListAppClipAdvancedExperiencesForAppClipV1 { case version } - public enum AppClips: String, ParameterValue, Codable, CaseIterable { + public enum AppClips: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appClipAdvancedExperiences case appClipDefaultExperiences @@ -94,13 +94,13 @@ public enum ListAppClipAdvancedExperiencesForAppClipV1 { /// Filter by attribute 'status' case status([Status]) - public enum PlaceStatus: String, ParameterValue, Codable, CaseIterable { + public enum PlaceStatus: String, Sendable, ParameterValue, Codable, CaseIterable { case matched = "MATCHED" case noMatch = "NO_MATCH" case pending = "PENDING" } - public enum Status: String, ParameterValue, Codable, CaseIterable { + public enum Status: String, Sendable, ParameterValue, Codable, CaseIterable { case appTransferInProgress = "APP_TRANSFER_IN_PROGRESS" case deactivated = "DEACTIVATED" case received = "RECEIVED" diff --git a/Sources/Bagbutik-AppStore/AppClip/Relationships/ListAppClipDefaultExperiencesForAppClipV1.swift b/Sources/Bagbutik-AppStore/AppClip/Relationships/ListAppClipDefaultExperiencesForAppClipV1.swift index 9b0081836..1cf9921e7 100644 --- a/Sources/Bagbutik-AppStore/AppClip/Relationships/ListAppClipDefaultExperiencesForAppClipV1.swift +++ b/Sources/Bagbutik-AppStore/AppClip/Relationships/ListAppClipDefaultExperiencesForAppClipV1.swift @@ -45,19 +45,19 @@ public enum ListAppClipDefaultExperiencesForAppClipV1 { /// The fields to include for returned resources of type appStoreVersions case appStoreVersions([AppStoreVersions]) - public enum AppClipAppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case invocationUrls } - public enum AppClipDefaultExperienceLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperienceLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case appClipHeaderImage case locale case subtitle } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -66,14 +66,14 @@ public enum ListAppClipDefaultExperiencesForAppClipV1 { case releaseWithAppStoreVersion } - public enum AppClips: String, ParameterValue, Codable, CaseIterable { + public enum AppClips: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appClipAdvancedExperiences case appClipDefaultExperiences case bundleId } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app diff --git a/Sources/Bagbutik-AppStore/AppClipAdvancedExperience/GetAppClipAdvancedExperienceV1.swift b/Sources/Bagbutik-AppStore/AppClipAdvancedExperience/GetAppClipAdvancedExperienceV1.swift index fe8d7cb38..d1213d8da 100644 --- a/Sources/Bagbutik-AppStore/AppClipAdvancedExperience/GetAppClipAdvancedExperienceV1.swift +++ b/Sources/Bagbutik-AppStore/AppClipAdvancedExperience/GetAppClipAdvancedExperienceV1.swift @@ -34,7 +34,7 @@ public enum GetAppClipAdvancedExperienceV1 { /// The fields to include for returned resources of type appClipAdvancedExperiences case appClipAdvancedExperiences([AppClipAdvancedExperiences]) - public enum AppClipAdvancedExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAdvancedExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case businessCategory diff --git a/Sources/Bagbutik-AppStore/AppClipAdvancedExperienceImage/GetAppClipAdvancedExperienceImageV1.swift b/Sources/Bagbutik-AppStore/AppClipAdvancedExperienceImage/GetAppClipAdvancedExperienceImageV1.swift index 01839e7f7..98047b16e 100644 --- a/Sources/Bagbutik-AppStore/AppClipAdvancedExperienceImage/GetAppClipAdvancedExperienceImageV1.swift +++ b/Sources/Bagbutik-AppStore/AppClipAdvancedExperienceImage/GetAppClipAdvancedExperienceImageV1.swift @@ -28,7 +28,7 @@ public enum GetAppClipAdvancedExperienceImageV1 { /// The fields to include for returned resources of type appClipAdvancedExperienceImages case appClipAdvancedExperienceImages([AppClipAdvancedExperienceImages]) - public enum AppClipAdvancedExperienceImages: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAdvancedExperienceImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize diff --git a/Sources/Bagbutik-AppStore/AppClipAppStoreReviewDetail/GetAppClipAppStoreReviewDetailV1.swift b/Sources/Bagbutik-AppStore/AppClipAppStoreReviewDetail/GetAppClipAppStoreReviewDetailV1.swift index eb41e7f79..5214d0dae 100644 --- a/Sources/Bagbutik-AppStore/AppClipAppStoreReviewDetail/GetAppClipAppStoreReviewDetailV1.swift +++ b/Sources/Bagbutik-AppStore/AppClipAppStoreReviewDetail/GetAppClipAppStoreReviewDetailV1.swift @@ -31,7 +31,7 @@ public enum GetAppClipAppStoreReviewDetailV1 { /// The fields to include for returned resources of type appClipAppStoreReviewDetails case appClipAppStoreReviewDetails([AppClipAppStoreReviewDetails]) - public enum AppClipAppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case invocationUrls } diff --git a/Sources/Bagbutik-AppStore/AppClipDefaultExperience/GetAppClipDefaultExperienceV1.swift b/Sources/Bagbutik-AppStore/AppClipDefaultExperience/GetAppClipDefaultExperienceV1.swift index a356bc686..b8fe3241c 100644 --- a/Sources/Bagbutik-AppStore/AppClipDefaultExperience/GetAppClipDefaultExperienceV1.swift +++ b/Sources/Bagbutik-AppStore/AppClipDefaultExperience/GetAppClipDefaultExperienceV1.swift @@ -40,19 +40,19 @@ public enum GetAppClipDefaultExperienceV1 { /// The fields to include for returned resources of type appStoreVersions case appStoreVersions([AppStoreVersions]) - public enum AppClipAppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case invocationUrls } - public enum AppClipDefaultExperienceLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperienceLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case appClipHeaderImage case locale case subtitle } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -61,7 +61,7 @@ public enum GetAppClipDefaultExperienceV1 { case releaseWithAppStoreVersion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app diff --git a/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1.swift b/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1.swift index dfe45d87b..c43930964 100644 --- a/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1.swift +++ b/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1.swift @@ -33,12 +33,12 @@ public enum GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1 { /// The fields to include for returned resources of type appClipDefaultExperiences case appClipDefaultExperiences([AppClipDefaultExperiences]) - public enum AppClipAppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case invocationUrls } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail diff --git a/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift b/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift index 990b65bce..7d9157c16 100644 --- a/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift +++ b/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift @@ -56,7 +56,7 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 { /// The fields to include for returned resources of type routingAppCoverages case routingAppCoverages([RoutingAppCoverages]) - public enum AgeRatingDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AgeRatingDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests @@ -77,12 +77,12 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 { case violenceRealisticProlongedGraphicOrSadistic } - public enum AlternativeDistributionPackages: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case versions } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -91,7 +91,7 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 { case releaseWithAppStoreVersion } - public enum AppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion case contactEmail @@ -104,7 +104,7 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 { case notes } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersion case appStoreVersionExperimentTreatments @@ -120,7 +120,7 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 { case trafficProportion } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion @@ -133,7 +133,7 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 { case whatsNew } - public enum AppStoreVersionPhasedReleases: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionPhasedReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case currentDayNumber case phasedReleaseState @@ -141,11 +141,11 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 { case totalPauseDuration } - public enum AppStoreVersionSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -171,7 +171,7 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -217,7 +217,7 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -244,7 +244,7 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 { case version } - public enum RoutingAppCoverages: String, ParameterValue, Codable, CaseIterable { + public enum RoutingAppCoverages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1.swift b/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1.swift index b254755cd..9977c680d 100644 --- a/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1.swift +++ b/Sources/Bagbutik-AppStore/AppClipDefaultExperience/Relationships/ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1.swift @@ -41,14 +41,14 @@ public enum ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperience /// The fields to include for returned resources of type appClipHeaderImages case appClipHeaderImages([AppClipHeaderImages]) - public enum AppClipDefaultExperienceLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperienceLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case appClipHeaderImage case locale case subtitle } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -57,7 +57,7 @@ public enum ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperience case releaseWithAppStoreVersion } - public enum AppClipHeaderImages: String, ParameterValue, Codable, CaseIterable { + public enum AppClipHeaderImages: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperienceLocalization case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppClipDefaultExperienceLocalization/GetAppClipDefaultExperienceLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppClipDefaultExperienceLocalization/GetAppClipDefaultExperienceLocalizationV1.swift index ad3415876..a41fbcee2 100644 --- a/Sources/Bagbutik-AppStore/AppClipDefaultExperienceLocalization/GetAppClipDefaultExperienceLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppClipDefaultExperienceLocalization/GetAppClipDefaultExperienceLocalizationV1.swift @@ -33,14 +33,14 @@ public enum GetAppClipDefaultExperienceLocalizationV1 { /// The fields to include for returned resources of type appClipHeaderImages case appClipHeaderImages([AppClipHeaderImages]) - public enum AppClipDefaultExperienceLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperienceLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case appClipHeaderImage case locale case subtitle } - public enum AppClipHeaderImages: String, ParameterValue, Codable, CaseIterable { + public enum AppClipHeaderImages: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperienceLocalization case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppClipDefaultExperienceLocalization/Relationships/GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppClipDefaultExperienceLocalization/Relationships/GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1.swift index ff3c082b4..cfa8a66d8 100644 --- a/Sources/Bagbutik-AppStore/AppClipDefaultExperienceLocalization/Relationships/GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppClipDefaultExperienceLocalization/Relationships/GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1.swift @@ -33,14 +33,14 @@ public enum GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1 { /// The fields to include for returned resources of type appClipHeaderImages case appClipHeaderImages([AppClipHeaderImages]) - public enum AppClipDefaultExperienceLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperienceLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case appClipHeaderImage case locale case subtitle } - public enum AppClipHeaderImages: String, ParameterValue, Codable, CaseIterable { + public enum AppClipHeaderImages: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperienceLocalization case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppClipHeaderImage/GetAppClipHeaderImageV1.swift b/Sources/Bagbutik-AppStore/AppClipHeaderImage/GetAppClipHeaderImageV1.swift index 92d9bdb87..c6a687f94 100644 --- a/Sources/Bagbutik-AppStore/AppClipHeaderImage/GetAppClipHeaderImageV1.swift +++ b/Sources/Bagbutik-AppStore/AppClipHeaderImage/GetAppClipHeaderImageV1.swift @@ -31,7 +31,7 @@ public enum GetAppClipHeaderImageV1 { /// The fields to include for returned resources of type appClipHeaderImages case appClipHeaderImages([AppClipHeaderImages]) - public enum AppClipHeaderImages: String, ParameterValue, Codable, CaseIterable { + public enum AppClipHeaderImages: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperienceLocalization case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppCustomProductPage/GetAppCustomProductPageV1.swift b/Sources/Bagbutik-AppStore/AppCustomProductPage/GetAppCustomProductPageV1.swift index cae497c11..4d1cc5a45 100644 --- a/Sources/Bagbutik-AppStore/AppCustomProductPage/GetAppCustomProductPageV1.swift +++ b/Sources/Bagbutik-AppStore/AppCustomProductPage/GetAppCustomProductPageV1.swift @@ -36,7 +36,7 @@ public enum GetAppCustomProductPageV1 { /// The fields to include for returned resources of type appCustomProductPages case appCustomProductPages([AppCustomProductPages]) - public enum AppCustomProductPageVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPage case appCustomProductPageLocalizations case deepLink @@ -44,7 +44,7 @@ public enum GetAppCustomProductPageV1 { case version } - public enum AppCustomProductPages: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPages: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appCustomProductPageVersions case appStoreVersionTemplate diff --git a/Sources/Bagbutik-AppStore/AppCustomProductPage/Relationships/ListAppCustomProductPageVersionsForAppCustomProductPageV1.swift b/Sources/Bagbutik-AppStore/AppCustomProductPage/Relationships/ListAppCustomProductPageVersionsForAppCustomProductPageV1.swift index 42d232166..298244c42 100644 --- a/Sources/Bagbutik-AppStore/AppCustomProductPage/Relationships/ListAppCustomProductPageVersionsForAppCustomProductPageV1.swift +++ b/Sources/Bagbutik-AppStore/AppCustomProductPage/Relationships/ListAppCustomProductPageVersionsForAppCustomProductPageV1.swift @@ -41,7 +41,7 @@ public enum ListAppCustomProductPageVersionsForAppCustomProductPageV1 { /// The fields to include for returned resources of type appCustomProductPages case appCustomProductPages([AppCustomProductPages]) - public enum AppCustomProductPageLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appPreviewSets case appScreenshotSets @@ -49,7 +49,7 @@ public enum ListAppCustomProductPageVersionsForAppCustomProductPageV1 { case promotionalText } - public enum AppCustomProductPageVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPage case appCustomProductPageLocalizations case deepLink @@ -57,7 +57,7 @@ public enum ListAppCustomProductPageVersionsForAppCustomProductPageV1 { case version } - public enum AppCustomProductPages: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPages: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appCustomProductPageVersions case appStoreVersionTemplate @@ -75,7 +75,7 @@ public enum ListAppCustomProductPageVersionsForAppCustomProductPageV1 { /// Filter by attribute 'state' case state([State]) - public enum State: String, ParameterValue, Codable, CaseIterable { + public enum State: String, Sendable, ParameterValue, Codable, CaseIterable { case accepted = "ACCEPTED" case approved = "APPROVED" case inReview = "IN_REVIEW" diff --git a/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/GetAppCustomProductPageLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/GetAppCustomProductPageLocalizationV1.swift index 351703214..132ee3002 100644 --- a/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/GetAppCustomProductPageLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/GetAppCustomProductPageLocalizationV1.swift @@ -38,7 +38,7 @@ public enum GetAppCustomProductPageLocalizationV1 { /// The fields to include for returned resources of type appScreenshotSets case appScreenshotSets([AppScreenshotSets]) - public enum AppCustomProductPageLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appPreviewSets case appScreenshotSets @@ -46,7 +46,7 @@ public enum GetAppCustomProductPageLocalizationV1 { case promotionalText } - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -54,7 +54,7 @@ public enum GetAppCustomProductPageLocalizationV1 { case previewType } - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization diff --git a/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/Relationships/ListAppPreviewSetsForAppCustomProductPageLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/Relationships/ListAppPreviewSetsForAppCustomProductPageLocalizationV1.swift index 59fe6b310..7d1bfd3bc 100644 --- a/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/Relationships/ListAppPreviewSetsForAppCustomProductPageLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/Relationships/ListAppPreviewSetsForAppCustomProductPageLocalizationV1.swift @@ -45,7 +45,7 @@ public enum ListAppPreviewSetsForAppCustomProductPageLocalizationV1 { /// The fields to include for returned resources of type appStoreVersionLocalizations case appStoreVersionLocalizations([AppStoreVersionLocalizations]) - public enum AppCustomProductPageLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appPreviewSets case appScreenshotSets @@ -53,7 +53,7 @@ public enum ListAppPreviewSetsForAppCustomProductPageLocalizationV1 { case promotionalText } - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -61,7 +61,7 @@ public enum ListAppPreviewSetsForAppCustomProductPageLocalizationV1 { case previewType } - public enum AppPreviews: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviews: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSet case assetDeliveryState case fileName @@ -75,14 +75,14 @@ public enum ListAppPreviewSetsForAppCustomProductPageLocalizationV1 { case videoUrl } - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment case locale } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/Relationships/ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/Relationships/ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.swift index e0573caed..b980dee0a 100644 --- a/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/Relationships/ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppCustomProductPageLocalization/Relationships/ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.swift @@ -45,7 +45,7 @@ public enum ListAppScreenshotSetsForAppCustomProductPageLocalizationV1 { /// The fields to include for returned resources of type appStoreVersionLocalizations case appStoreVersionLocalizations([AppStoreVersionLocalizations]) - public enum AppCustomProductPageLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appPreviewSets case appScreenshotSets @@ -53,7 +53,7 @@ public enum ListAppScreenshotSetsForAppCustomProductPageLocalizationV1 { case promotionalText } - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization @@ -61,7 +61,7 @@ public enum ListAppScreenshotSetsForAppCustomProductPageLocalizationV1 { case screenshotDisplayType } - public enum AppScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case appScreenshotSet case assetDeliveryState case assetToken @@ -74,14 +74,14 @@ public enum ListAppScreenshotSetsForAppCustomProductPageLocalizationV1 { case uploaded } - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment case locale } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/AppCustomProductPageVersion/GetAppCustomProductPageVersionV1.swift b/Sources/Bagbutik-AppStore/AppCustomProductPageVersion/GetAppCustomProductPageVersionV1.swift index fdd7049c0..8abee8fcf 100644 --- a/Sources/Bagbutik-AppStore/AppCustomProductPageVersion/GetAppCustomProductPageVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppCustomProductPageVersion/GetAppCustomProductPageVersionV1.swift @@ -36,7 +36,7 @@ public enum GetAppCustomProductPageVersionV1 { /// The fields to include for returned resources of type appCustomProductPageVersions case appCustomProductPageVersions([AppCustomProductPageVersions]) - public enum AppCustomProductPageLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appPreviewSets case appScreenshotSets @@ -44,7 +44,7 @@ public enum GetAppCustomProductPageVersionV1 { case promotionalText } - public enum AppCustomProductPageVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPage case appCustomProductPageLocalizations case deepLink diff --git a/Sources/Bagbutik-AppStore/AppCustomProductPageVersion/Relationships/ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.swift b/Sources/Bagbutik-AppStore/AppCustomProductPageVersion/Relationships/ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.swift index a2f397ddc..5d770bbc4 100644 --- a/Sources/Bagbutik-AppStore/AppCustomProductPageVersion/Relationships/ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppCustomProductPageVersion/Relationships/ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.swift @@ -43,7 +43,7 @@ public enum ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV /// The fields to include for returned resources of type appScreenshotSets case appScreenshotSets([AppScreenshotSets]) - public enum AppCustomProductPageLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appPreviewSets case appScreenshotSets @@ -51,7 +51,7 @@ public enum ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV case promotionalText } - public enum AppCustomProductPageVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPage case appCustomProductPageLocalizations case deepLink @@ -59,7 +59,7 @@ public enum ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV case version } - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -67,7 +67,7 @@ public enum ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV case previewType } - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization diff --git a/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/GetAppEncryptionDeclarationV1.swift b/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/GetAppEncryptionDeclarationV1.swift index 85e0fa355..7e89b0f42 100644 --- a/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/GetAppEncryptionDeclarationV1.swift +++ b/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/GetAppEncryptionDeclarationV1.swift @@ -38,7 +38,7 @@ public enum GetAppEncryptionDeclarationV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum AppEncryptionDeclarationDocuments: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarationDocuments: String, Sendable, ParameterValue, Codable, CaseIterable { case appEncryptionDeclaration case assetDeliveryState case assetToken @@ -50,7 +50,7 @@ public enum GetAppEncryptionDeclarationV1 { case uploaded } - public enum AppEncryptionDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appDescription case appEncryptionDeclarationDocument @@ -70,7 +70,7 @@ public enum GetAppEncryptionDeclarationV1 { case usesEncryption } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/ListAppEncryptionDeclarationsV1.swift b/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/ListAppEncryptionDeclarationsV1.swift index 2634a6325..7f64ca46a 100644 --- a/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/ListAppEncryptionDeclarationsV1.swift +++ b/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/ListAppEncryptionDeclarationsV1.swift @@ -39,7 +39,7 @@ public enum ListAppEncryptionDeclarationsV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum AppEncryptionDeclarationDocuments: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarationDocuments: String, Sendable, ParameterValue, Codable, CaseIterable { case appEncryptionDeclaration case assetDeliveryState case assetToken @@ -51,7 +51,7 @@ public enum ListAppEncryptionDeclarationsV1 { case uploaded } - public enum AppEncryptionDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appDescription case appEncryptionDeclarationDocument @@ -71,7 +71,7 @@ public enum ListAppEncryptionDeclarationsV1 { case usesEncryption } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/Relationships/GetAppEncryptionDeclarationDocumentForAppEncryptionDeclarationV1.swift b/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/Relationships/GetAppEncryptionDeclarationDocumentForAppEncryptionDeclarationV1.swift index 14b4d4773..f0c13d818 100644 --- a/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/Relationships/GetAppEncryptionDeclarationDocumentForAppEncryptionDeclarationV1.swift +++ b/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/Relationships/GetAppEncryptionDeclarationDocumentForAppEncryptionDeclarationV1.swift @@ -28,7 +28,7 @@ public enum GetAppEncryptionDeclarationDocumentForAppEncryptionDeclarationV1 { /// The fields to include for returned resources of type appEncryptionDeclarationDocuments case appEncryptionDeclarationDocuments([AppEncryptionDeclarationDocuments]) - public enum AppEncryptionDeclarationDocuments: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarationDocuments: String, Sendable, ParameterValue, Codable, CaseIterable { case appEncryptionDeclaration case assetDeliveryState case assetToken diff --git a/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/Relationships/GetAppForAppEncryptionDeclarationV1.swift b/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/Relationships/GetAppForAppEncryptionDeclarationV1.swift index e2465e27a..5aff7a595 100644 --- a/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/Relationships/GetAppForAppEncryptionDeclarationV1.swift +++ b/Sources/Bagbutik-AppStore/AppEncryptionDeclaration/Relationships/GetAppForAppEncryptionDeclarationV1.swift @@ -28,7 +28,7 @@ public enum GetAppForAppEncryptionDeclarationV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-AppStore/AppEncryptionDeclarationDocument/GetAppEncryptionDeclarationDocumentV1.swift b/Sources/Bagbutik-AppStore/AppEncryptionDeclarationDocument/GetAppEncryptionDeclarationDocumentV1.swift index cab03f0a9..75b504073 100644 --- a/Sources/Bagbutik-AppStore/AppEncryptionDeclarationDocument/GetAppEncryptionDeclarationDocumentV1.swift +++ b/Sources/Bagbutik-AppStore/AppEncryptionDeclarationDocument/GetAppEncryptionDeclarationDocumentV1.swift @@ -28,7 +28,7 @@ public enum GetAppEncryptionDeclarationDocumentV1 { /// The fields to include for returned resources of type appEncryptionDeclarationDocuments case appEncryptionDeclarationDocuments([AppEncryptionDeclarationDocuments]) - public enum AppEncryptionDeclarationDocuments: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarationDocuments: String, Sendable, ParameterValue, Codable, CaseIterable { case appEncryptionDeclaration case assetDeliveryState case assetToken diff --git a/Sources/Bagbutik-AppStore/AppEvent/GetAppEventV1.swift b/Sources/Bagbutik-AppStore/AppEvent/GetAppEventV1.swift index f1bdb2215..3b81e51a4 100644 --- a/Sources/Bagbutik-AppStore/AppEvent/GetAppEventV1.swift +++ b/Sources/Bagbutik-AppStore/AppEvent/GetAppEventV1.swift @@ -35,7 +35,7 @@ public enum GetAppEventV1 { /// The fields to include for returned resources of type appEvents case appEvents([AppEvents]) - public enum AppEventLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppEventLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appEvent case appEventScreenshots case appEventVideoClips @@ -45,7 +45,7 @@ public enum GetAppEventV1 { case shortDescription } - public enum AppEvents: String, ParameterValue, Codable, CaseIterable { + public enum AppEvents: String, Sendable, ParameterValue, Codable, CaseIterable { case app case archivedTerritorySchedules case badge diff --git a/Sources/Bagbutik-AppStore/AppEvent/Relationships/ListLocalizationsForAppEventV1.swift b/Sources/Bagbutik-AppStore/AppEvent/Relationships/ListLocalizationsForAppEventV1.swift index 5d7f708f2..8cc008f5e 100644 --- a/Sources/Bagbutik-AppStore/AppEvent/Relationships/ListLocalizationsForAppEventV1.swift +++ b/Sources/Bagbutik-AppStore/AppEvent/Relationships/ListLocalizationsForAppEventV1.swift @@ -39,7 +39,7 @@ public enum ListLocalizationsForAppEventV1 { /// The fields to include for returned resources of type appEvents case appEvents([AppEvents]) - public enum AppEventLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppEventLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appEvent case appEventScreenshots case appEventVideoClips @@ -49,7 +49,7 @@ public enum ListLocalizationsForAppEventV1 { case shortDescription } - public enum AppEventScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum AppEventScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case appEventAssetType case appEventLocalization case assetDeliveryState @@ -61,7 +61,7 @@ public enum ListLocalizationsForAppEventV1 { case uploaded } - public enum AppEventVideoClips: String, ParameterValue, Codable, CaseIterable { + public enum AppEventVideoClips: String, Sendable, ParameterValue, Codable, CaseIterable { case appEventAssetType case appEventLocalization case assetDeliveryState @@ -74,7 +74,7 @@ public enum ListLocalizationsForAppEventV1 { case videoUrl } - public enum AppEvents: String, ParameterValue, Codable, CaseIterable { + public enum AppEvents: String, Sendable, ParameterValue, Codable, CaseIterable { case app case archivedTerritorySchedules case badge diff --git a/Sources/Bagbutik-AppStore/AppEventLocalization/GetAppEventLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppEventLocalization/GetAppEventLocalizationV1.swift index 8e443ffe1..5c79b6c35 100644 --- a/Sources/Bagbutik-AppStore/AppEventLocalization/GetAppEventLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppEventLocalization/GetAppEventLocalizationV1.swift @@ -37,7 +37,7 @@ public enum GetAppEventLocalizationV1 { /// The fields to include for returned resources of type appEventVideoClips case appEventVideoClips([AppEventVideoClips]) - public enum AppEventLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppEventLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appEvent case appEventScreenshots case appEventVideoClips @@ -47,7 +47,7 @@ public enum GetAppEventLocalizationV1 { case shortDescription } - public enum AppEventScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum AppEventScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case appEventAssetType case appEventLocalization case assetDeliveryState @@ -59,7 +59,7 @@ public enum GetAppEventLocalizationV1 { case uploaded } - public enum AppEventVideoClips: String, ParameterValue, Codable, CaseIterable { + public enum AppEventVideoClips: String, Sendable, ParameterValue, Codable, CaseIterable { case appEventAssetType case appEventLocalization case assetDeliveryState diff --git a/Sources/Bagbutik-AppStore/AppEventLocalization/Relationships/ListAppEventScreenshotsForAppEventLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppEventLocalization/Relationships/ListAppEventScreenshotsForAppEventLocalizationV1.swift index d0a55fd58..1257e287d 100644 --- a/Sources/Bagbutik-AppStore/AppEventLocalization/Relationships/ListAppEventScreenshotsForAppEventLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppEventLocalization/Relationships/ListAppEventScreenshotsForAppEventLocalizationV1.swift @@ -35,7 +35,7 @@ public enum ListAppEventScreenshotsForAppEventLocalizationV1 { /// The fields to include for returned resources of type appEventScreenshots case appEventScreenshots([AppEventScreenshots]) - public enum AppEventLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppEventLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appEvent case appEventScreenshots case appEventVideoClips @@ -45,7 +45,7 @@ public enum ListAppEventScreenshotsForAppEventLocalizationV1 { case shortDescription } - public enum AppEventScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum AppEventScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case appEventAssetType case appEventLocalization case assetDeliveryState diff --git a/Sources/Bagbutik-AppStore/AppEventLocalization/Relationships/ListAppEventVideoClipsForAppEventLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppEventLocalization/Relationships/ListAppEventVideoClipsForAppEventLocalizationV1.swift index aaaacb6ea..398733f7f 100644 --- a/Sources/Bagbutik-AppStore/AppEventLocalization/Relationships/ListAppEventVideoClipsForAppEventLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppEventLocalization/Relationships/ListAppEventVideoClipsForAppEventLocalizationV1.swift @@ -35,7 +35,7 @@ public enum ListAppEventVideoClipsForAppEventLocalizationV1 { /// The fields to include for returned resources of type appEventVideoClips case appEventVideoClips([AppEventVideoClips]) - public enum AppEventLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppEventLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appEvent case appEventScreenshots case appEventVideoClips @@ -45,7 +45,7 @@ public enum ListAppEventVideoClipsForAppEventLocalizationV1 { case shortDescription } - public enum AppEventVideoClips: String, ParameterValue, Codable, CaseIterable { + public enum AppEventVideoClips: String, Sendable, ParameterValue, Codable, CaseIterable { case appEventAssetType case appEventLocalization case assetDeliveryState diff --git a/Sources/Bagbutik-AppStore/AppEventScreenshot/GetAppEventScreenshotV1.swift b/Sources/Bagbutik-AppStore/AppEventScreenshot/GetAppEventScreenshotV1.swift index 1d2a2d7e7..c0bba93ca 100644 --- a/Sources/Bagbutik-AppStore/AppEventScreenshot/GetAppEventScreenshotV1.swift +++ b/Sources/Bagbutik-AppStore/AppEventScreenshot/GetAppEventScreenshotV1.swift @@ -30,7 +30,7 @@ public enum GetAppEventScreenshotV1 { /// The fields to include for returned resources of type appEventScreenshots case appEventScreenshots([AppEventScreenshots]) - public enum AppEventScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum AppEventScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case appEventAssetType case appEventLocalization case assetDeliveryState diff --git a/Sources/Bagbutik-AppStore/AppEventVideoClip/GetAppEventVideoClipV1.swift b/Sources/Bagbutik-AppStore/AppEventVideoClip/GetAppEventVideoClipV1.swift index 1f7061e23..cc5c1a361 100644 --- a/Sources/Bagbutik-AppStore/AppEventVideoClip/GetAppEventVideoClipV1.swift +++ b/Sources/Bagbutik-AppStore/AppEventVideoClip/GetAppEventVideoClipV1.swift @@ -30,7 +30,7 @@ public enum GetAppEventVideoClipV1 { /// The fields to include for returned resources of type appEventVideoClips case appEventVideoClips([AppEventVideoClips]) - public enum AppEventVideoClips: String, ParameterValue, Codable, CaseIterable { + public enum AppEventVideoClips: String, Sendable, ParameterValue, Codable, CaseIterable { case appEventAssetType case appEventLocalization case assetDeliveryState diff --git a/Sources/Bagbutik-AppStore/AppInfo/GetAppInfoV1.swift b/Sources/Bagbutik-AppStore/AppInfo/GetAppInfoV1.swift index 6ec36275e..2c158199f 100644 --- a/Sources/Bagbutik-AppStore/AppInfo/GetAppInfoV1.swift +++ b/Sources/Bagbutik-AppStore/AppInfo/GetAppInfoV1.swift @@ -42,7 +42,7 @@ public enum GetAppInfoV1 { /// The fields to include for returned resources of type appInfos case appInfos([AppInfos]) - public enum AgeRatingDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AgeRatingDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests @@ -63,13 +63,13 @@ public enum GetAppInfoV1 { case violenceRealisticProlongedGraphicOrSadistic } - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories } - public enum AppInfoLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppInfoLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appInfo case locale case name @@ -79,7 +79,7 @@ public enum GetAppInfoV1 { case subtitle } - public enum AppInfos: String, ParameterValue, Codable, CaseIterable { + public enum AppInfos: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case app case appInfoLocalizations diff --git a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetAgeRatingDeclarationForAppInfoV1.swift b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetAgeRatingDeclarationForAppInfoV1.swift index 170debdce..fba5f7fd3 100644 --- a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetAgeRatingDeclarationForAppInfoV1.swift +++ b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetAgeRatingDeclarationForAppInfoV1.swift @@ -30,7 +30,7 @@ public enum GetAgeRatingDeclarationForAppInfoV1 { /// The fields to include for returned resources of type ageRatingDeclarations case ageRatingDeclarations([AgeRatingDeclarations]) - public enum AgeRatingDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AgeRatingDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests diff --git a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimaryCategoryForAppInfoV1.swift b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimaryCategoryForAppInfoV1.swift index 4c30d367e..4a3aa15e5 100644 --- a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimaryCategoryForAppInfoV1.swift +++ b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimaryCategoryForAppInfoV1.swift @@ -34,7 +34,7 @@ public enum GetPrimaryCategoryForAppInfoV1 { /// The fields to include for returned resources of type appCategories case appCategories([AppCategories]) - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimarySubcategoryOneForAppInfoV1.swift b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimarySubcategoryOneForAppInfoV1.swift index 51432ef5e..14fd1bb73 100644 --- a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimarySubcategoryOneForAppInfoV1.swift +++ b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimarySubcategoryOneForAppInfoV1.swift @@ -34,7 +34,7 @@ public enum GetPrimarySubcategoryOneForAppInfoV1 { /// The fields to include for returned resources of type appCategories case appCategories([AppCategories]) - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimarySubcategoryTwoForAppInfoV1.swift b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimarySubcategoryTwoForAppInfoV1.swift index 96b0b022b..da5ef33dc 100644 --- a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimarySubcategoryTwoForAppInfoV1.swift +++ b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetPrimarySubcategoryTwoForAppInfoV1.swift @@ -34,7 +34,7 @@ public enum GetPrimarySubcategoryTwoForAppInfoV1 { /// The fields to include for returned resources of type appCategories case appCategories([AppCategories]) - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondaryCategoryForAppInfoV1.swift b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondaryCategoryForAppInfoV1.swift index b8880de9b..4b537e0ff 100644 --- a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondaryCategoryForAppInfoV1.swift +++ b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondaryCategoryForAppInfoV1.swift @@ -34,7 +34,7 @@ public enum GetSecondaryCategoryForAppInfoV1 { /// The fields to include for returned resources of type appCategories case appCategories([AppCategories]) - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondarySubcategoryOneForAppInfoV1.swift b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondarySubcategoryOneForAppInfoV1.swift index c8ba2296c..99d547fcb 100644 --- a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondarySubcategoryOneForAppInfoV1.swift +++ b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondarySubcategoryOneForAppInfoV1.swift @@ -34,7 +34,7 @@ public enum GetSecondarySubcategoryOneForAppInfoV1 { /// The fields to include for returned resources of type appCategories case appCategories([AppCategories]) - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondarySubcategoryTwoForAppInfoV1.swift b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondarySubcategoryTwoForAppInfoV1.swift index 7018fe6e6..4414528ae 100644 --- a/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondarySubcategoryTwoForAppInfoV1.swift +++ b/Sources/Bagbutik-AppStore/AppInfo/Relationships/GetSecondarySubcategoryTwoForAppInfoV1.swift @@ -34,7 +34,7 @@ public enum GetSecondarySubcategoryTwoForAppInfoV1 { /// The fields to include for returned resources of type appCategories case appCategories([AppCategories]) - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Sources/Bagbutik-AppStore/AppInfo/Relationships/ListAppInfoLocalizationsForAppInfoV1.swift b/Sources/Bagbutik-AppStore/AppInfo/Relationships/ListAppInfoLocalizationsForAppInfoV1.swift index fd0c4ab6d..d3aeceb7f 100644 --- a/Sources/Bagbutik-AppStore/AppInfo/Relationships/ListAppInfoLocalizationsForAppInfoV1.swift +++ b/Sources/Bagbutik-AppStore/AppInfo/Relationships/ListAppInfoLocalizationsForAppInfoV1.swift @@ -39,7 +39,7 @@ public enum ListAppInfoLocalizationsForAppInfoV1 { /// The fields to include for returned resources of type appInfos case appInfos([AppInfos]) - public enum AppInfoLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppInfoLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appInfo case locale case name @@ -49,7 +49,7 @@ public enum ListAppInfoLocalizationsForAppInfoV1 { case subtitle } - public enum AppInfos: String, ParameterValue, Codable, CaseIterable { + public enum AppInfos: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case app case appInfoLocalizations diff --git a/Sources/Bagbutik-AppStore/AppInfoLocalization/GetAppInfoLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppInfoLocalization/GetAppInfoLocalizationV1.swift index 3108e5544..5a30f079f 100644 --- a/Sources/Bagbutik-AppStore/AppInfoLocalization/GetAppInfoLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppInfoLocalization/GetAppInfoLocalizationV1.swift @@ -31,7 +31,7 @@ public enum GetAppInfoLocalizationV1 { /// The fields to include for returned resources of type appInfoLocalizations case appInfoLocalizations([AppInfoLocalizations]) - public enum AppInfoLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppInfoLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appInfo case locale case name diff --git a/Sources/Bagbutik-AppStore/AppPreOrder/GetAppPreOrderV1.swift b/Sources/Bagbutik-AppStore/AppPreOrder/GetAppPreOrderV1.swift index 8aecf0a87..708410722 100644 --- a/Sources/Bagbutik-AppStore/AppPreOrder/GetAppPreOrderV1.swift +++ b/Sources/Bagbutik-AppStore/AppPreOrder/GetAppPreOrderV1.swift @@ -32,7 +32,7 @@ public enum GetAppPreOrderV1 { /// The fields to include for returned resources of type appPreOrders case appPreOrders([AppPreOrders]) - public enum AppPreOrders: String, ParameterValue, Codable, CaseIterable { + public enum AppPreOrders: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appReleaseDate case preOrderAvailableDate diff --git a/Sources/Bagbutik-AppStore/AppPreview/GetAppPreviewV1.swift b/Sources/Bagbutik-AppStore/AppPreview/GetAppPreviewV1.swift index f50e80f52..45515e2dc 100644 --- a/Sources/Bagbutik-AppStore/AppPreview/GetAppPreviewV1.swift +++ b/Sources/Bagbutik-AppStore/AppPreview/GetAppPreviewV1.swift @@ -31,7 +31,7 @@ public enum GetAppPreviewV1 { /// The fields to include for returned resources of type appPreviews case appPreviews([AppPreviews]) - public enum AppPreviews: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviews: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSet case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppPreviewSet/GetAppPreviewSetV1.swift b/Sources/Bagbutik-AppStore/AppPreviewSet/GetAppPreviewSetV1.swift index 5d911d9b3..67a4259c4 100644 --- a/Sources/Bagbutik-AppStore/AppPreviewSet/GetAppPreviewSetV1.swift +++ b/Sources/Bagbutik-AppStore/AppPreviewSet/GetAppPreviewSetV1.swift @@ -36,7 +36,7 @@ public enum GetAppPreviewSetV1 { /// The fields to include for returned resources of type appPreviews case appPreviews([AppPreviews]) - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -44,7 +44,7 @@ public enum GetAppPreviewSetV1 { case previewType } - public enum AppPreviews: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviews: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSet case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppPreviewSet/Relationships/ListAppPreviewsForAppPreviewSetV1.swift b/Sources/Bagbutik-AppStore/AppPreviewSet/Relationships/ListAppPreviewsForAppPreviewSetV1.swift index 37eba8c77..fb29e3b6b 100644 --- a/Sources/Bagbutik-AppStore/AppPreviewSet/Relationships/ListAppPreviewsForAppPreviewSetV1.swift +++ b/Sources/Bagbutik-AppStore/AppPreviewSet/Relationships/ListAppPreviewsForAppPreviewSetV1.swift @@ -36,7 +36,7 @@ public enum ListAppPreviewsForAppPreviewSetV1 { /// The fields to include for returned resources of type appPreviews case appPreviews([AppPreviews]) - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -44,7 +44,7 @@ public enum ListAppPreviewsForAppPreviewSetV1 { case previewType } - public enum AppPreviews: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviews: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSet case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppPricePoint/GetAppPricePointsV3.swift b/Sources/Bagbutik-AppStore/AppPricePoint/GetAppPricePointsV3.swift index 81fc437e5..f31363539 100644 --- a/Sources/Bagbutik-AppStore/AppPricePoint/GetAppPricePointsV3.swift +++ b/Sources/Bagbutik-AppStore/AppPricePoint/GetAppPricePointsV3.swift @@ -31,7 +31,7 @@ public enum GetAppPricePointsV3 { /// The fields to include for returned resources of type appPricePoints case appPricePoints([AppPricePoints]) - public enum AppPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum AppPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case app case customerPrice case equalizations diff --git a/Sources/Bagbutik-AppStore/AppPricePoint/Relationships/ListEqualizationsForAppPricePointsV3.swift b/Sources/Bagbutik-AppStore/AppPricePoint/Relationships/ListEqualizationsForAppPricePointsV3.swift index 0efea604c..04871f057 100644 --- a/Sources/Bagbutik-AppStore/AppPricePoint/Relationships/ListEqualizationsForAppPricePointsV3.swift +++ b/Sources/Bagbutik-AppStore/AppPricePoint/Relationships/ListEqualizationsForAppPricePointsV3.swift @@ -41,7 +41,7 @@ public enum ListEqualizationsForAppPricePointsV3 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum AppPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum AppPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case app case customerPrice case equalizations @@ -49,7 +49,7 @@ public enum ListEqualizationsForAppPricePointsV3 { case territory } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -95,7 +95,7 @@ public enum ListEqualizationsForAppPricePointsV3 { case subscriptionStatusUrlVersionForSandbox } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/AppPriceSchedule/GetAppPriceScheduleV1.swift b/Sources/Bagbutik-AppStore/AppPriceSchedule/GetAppPriceScheduleV1.swift index cee51dc86..cec5d5914 100644 --- a/Sources/Bagbutik-AppStore/AppPriceSchedule/GetAppPriceScheduleV1.swift +++ b/Sources/Bagbutik-AppStore/AppPriceSchedule/GetAppPriceScheduleV1.swift @@ -38,14 +38,14 @@ public enum GetAppPriceScheduleV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum AppPriceSchedules: String, ParameterValue, Codable, CaseIterable { + public enum AppPriceSchedules: String, Sendable, ParameterValue, Codable, CaseIterable { case app case automaticPrices case baseTerritory case manualPrices } - public enum AppPrices: String, ParameterValue, Codable, CaseIterable { + public enum AppPrices: String, Sendable, ParameterValue, Codable, CaseIterable { case appPricePoint case endDate case manual @@ -53,7 +53,7 @@ public enum GetAppPriceScheduleV1 { case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/GetBaseTerritoryForAppPriceScheduleV1.swift b/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/GetBaseTerritoryForAppPriceScheduleV1.swift index 73da87b77..e71cc918f 100644 --- a/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/GetBaseTerritoryForAppPriceScheduleV1.swift +++ b/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/GetBaseTerritoryForAppPriceScheduleV1.swift @@ -28,7 +28,7 @@ public enum GetBaseTerritoryForAppPriceScheduleV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/ListAutomaticPricesForAppPriceScheduleV1.swift b/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/ListAutomaticPricesForAppPriceScheduleV1.swift index 06af58a9a..aa03af64b 100644 --- a/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/ListAutomaticPricesForAppPriceScheduleV1.swift +++ b/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/ListAutomaticPricesForAppPriceScheduleV1.swift @@ -41,7 +41,7 @@ public enum ListAutomaticPricesForAppPriceScheduleV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum AppPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum AppPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case app case customerPrice case equalizations @@ -49,7 +49,7 @@ public enum ListAutomaticPricesForAppPriceScheduleV1 { case territory } - public enum AppPrices: String, ParameterValue, Codable, CaseIterable { + public enum AppPrices: String, Sendable, ParameterValue, Codable, CaseIterable { case appPricePoint case endDate case manual @@ -57,7 +57,7 @@ public enum ListAutomaticPricesForAppPriceScheduleV1 { case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/ListManualPricesForAppPriceScheduleV1.swift b/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/ListManualPricesForAppPriceScheduleV1.swift index c72691021..c35f4eb61 100644 --- a/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/ListManualPricesForAppPriceScheduleV1.swift +++ b/Sources/Bagbutik-AppStore/AppPriceSchedule/Relationships/ListManualPricesForAppPriceScheduleV1.swift @@ -41,7 +41,7 @@ public enum ListManualPricesForAppPriceScheduleV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum AppPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum AppPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case app case customerPrice case equalizations @@ -49,7 +49,7 @@ public enum ListManualPricesForAppPriceScheduleV1 { case territory } - public enum AppPrices: String, ParameterValue, Codable, CaseIterable { + public enum AppPrices: String, Sendable, ParameterValue, Codable, CaseIterable { case appPricePoint case endDate case manual @@ -57,7 +57,7 @@ public enum ListManualPricesForAppPriceScheduleV1 { case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/AppScreenshot/GetAppScreenshotV1.swift b/Sources/Bagbutik-AppStore/AppScreenshot/GetAppScreenshotV1.swift index 5dd506436..c80413d2e 100644 --- a/Sources/Bagbutik-AppStore/AppScreenshot/GetAppScreenshotV1.swift +++ b/Sources/Bagbutik-AppStore/AppScreenshot/GetAppScreenshotV1.swift @@ -31,7 +31,7 @@ public enum GetAppScreenshotV1 { /// The fields to include for returned resources of type appScreenshots case appScreenshots([AppScreenshots]) - public enum AppScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case appScreenshotSet case assetDeliveryState case assetToken diff --git a/Sources/Bagbutik-AppStore/AppScreenshotSet/GetAppScreenshotSetV1.swift b/Sources/Bagbutik-AppStore/AppScreenshotSet/GetAppScreenshotSetV1.swift index 090deb657..007fd587c 100644 --- a/Sources/Bagbutik-AppStore/AppScreenshotSet/GetAppScreenshotSetV1.swift +++ b/Sources/Bagbutik-AppStore/AppScreenshotSet/GetAppScreenshotSetV1.swift @@ -36,7 +36,7 @@ public enum GetAppScreenshotSetV1 { /// The fields to include for returned resources of type appScreenshots case appScreenshots([AppScreenshots]) - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization @@ -44,7 +44,7 @@ public enum GetAppScreenshotSetV1 { case screenshotDisplayType } - public enum AppScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case appScreenshotSet case assetDeliveryState case assetToken diff --git a/Sources/Bagbutik-AppStore/AppScreenshotSet/Relationships/ListAppScreenshotsForAppScreenshotSetV1.swift b/Sources/Bagbutik-AppStore/AppScreenshotSet/Relationships/ListAppScreenshotsForAppScreenshotSetV1.swift index ed8cad1ae..9cdd8a6e2 100644 --- a/Sources/Bagbutik-AppStore/AppScreenshotSet/Relationships/ListAppScreenshotsForAppScreenshotSetV1.swift +++ b/Sources/Bagbutik-AppStore/AppScreenshotSet/Relationships/ListAppScreenshotsForAppScreenshotSetV1.swift @@ -36,7 +36,7 @@ public enum ListAppScreenshotsForAppScreenshotSetV1 { /// The fields to include for returned resources of type appScreenshots case appScreenshots([AppScreenshots]) - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization @@ -44,7 +44,7 @@ public enum ListAppScreenshotsForAppScreenshotSetV1 { case screenshotDisplayType } - public enum AppScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case appScreenshotSet case assetDeliveryState case assetToken diff --git a/Sources/Bagbutik-AppStore/AppStoreReviewAttachment/GetAppStoreReviewAttachmentV1.swift b/Sources/Bagbutik-AppStore/AppStoreReviewAttachment/GetAppStoreReviewAttachmentV1.swift index df3a0ed38..fd3e47703 100644 --- a/Sources/Bagbutik-AppStore/AppStoreReviewAttachment/GetAppStoreReviewAttachmentV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreReviewAttachment/GetAppStoreReviewAttachmentV1.swift @@ -31,7 +31,7 @@ public enum GetAppStoreReviewAttachmentV1 { /// The fields to include for returned resources of type appStoreReviewAttachments case appStoreReviewAttachments([AppStoreReviewAttachments]) - public enum AppStoreReviewAttachments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewAttachments: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewDetail case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppStoreReviewDetail/GetAppStoreReviewDetailV1.swift b/Sources/Bagbutik-AppStore/AppStoreReviewDetail/GetAppStoreReviewDetailV1.swift index 4c5e799c7..ef6df30a1 100644 --- a/Sources/Bagbutik-AppStore/AppStoreReviewDetail/GetAppStoreReviewDetailV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreReviewDetail/GetAppStoreReviewDetailV1.swift @@ -36,7 +36,7 @@ public enum GetAppStoreReviewDetailV1 { /// The fields to include for returned resources of type appStoreReviewDetails case appStoreReviewDetails([AppStoreReviewDetails]) - public enum AppStoreReviewAttachments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewAttachments: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewDetail case assetDeliveryState case fileName @@ -46,7 +46,7 @@ public enum GetAppStoreReviewDetailV1 { case uploaded } - public enum AppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion case contactEmail diff --git a/Sources/Bagbutik-AppStore/AppStoreReviewDetail/Relationships/ListAppStoreReviewAttachmentsForAppStoreReviewDetailV1.swift b/Sources/Bagbutik-AppStore/AppStoreReviewDetail/Relationships/ListAppStoreReviewAttachmentsForAppStoreReviewDetailV1.swift index a4ff98431..e4a9a48b5 100644 --- a/Sources/Bagbutik-AppStore/AppStoreReviewDetail/Relationships/ListAppStoreReviewAttachmentsForAppStoreReviewDetailV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreReviewDetail/Relationships/ListAppStoreReviewAttachmentsForAppStoreReviewDetailV1.swift @@ -36,7 +36,7 @@ public enum ListAppStoreReviewAttachmentsForAppStoreReviewDetailV1 { /// The fields to include for returned resources of type appStoreReviewDetails case appStoreReviewDetails([AppStoreReviewDetails]) - public enum AppStoreReviewAttachments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewAttachments: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewDetail case assetDeliveryState case fileName @@ -46,7 +46,7 @@ public enum ListAppStoreReviewAttachmentsForAppStoreReviewDetailV1 { case uploaded } - public enum AppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion case contactEmail diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/GetAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/GetAppStoreVersionV1.swift index 1bc1eed4a..8b0cf846f 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/GetAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/GetAppStoreVersionV1.swift @@ -58,7 +58,7 @@ public enum GetAppStoreVersionV1 { /// The fields to include for returned resources of type routingAppCoverages case routingAppCoverages([RoutingAppCoverages]) - public enum AgeRatingDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AgeRatingDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests @@ -79,12 +79,12 @@ public enum GetAppStoreVersionV1 { case violenceRealisticProlongedGraphicOrSadistic } - public enum AlternativeDistributionPackages: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case versions } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -93,7 +93,7 @@ public enum GetAppStoreVersionV1 { case releaseWithAppStoreVersion } - public enum AppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion case contactEmail @@ -106,7 +106,7 @@ public enum GetAppStoreVersionV1 { case notes } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersion case appStoreVersionExperimentTreatments @@ -122,7 +122,7 @@ public enum GetAppStoreVersionV1 { case trafficProportion } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion @@ -135,7 +135,7 @@ public enum GetAppStoreVersionV1 { case whatsNew } - public enum AppStoreVersionPhasedReleases: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionPhasedReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case currentDayNumber case phasedReleaseState @@ -143,11 +143,11 @@ public enum GetAppStoreVersionV1 { case totalPauseDuration } - public enum AppStoreVersionSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -173,7 +173,7 @@ public enum GetAppStoreVersionV1 { case versionString } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -200,7 +200,7 @@ public enum GetAppStoreVersionV1 { case version } - public enum CustomerReviews: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviews: String, Sendable, ParameterValue, Codable, CaseIterable { case body case createdDate case rating @@ -210,7 +210,7 @@ public enum GetAppStoreVersionV1 { case title } - public enum RoutingAppCoverages: String, ParameterValue, Codable, CaseIterable { + public enum RoutingAppCoverages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAgeRatingDeclarationForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAgeRatingDeclarationForAppStoreVersionV1.swift index ba42eca96..c16a1d2cd 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAgeRatingDeclarationForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAgeRatingDeclarationForAppStoreVersionV1.swift @@ -29,7 +29,7 @@ public enum GetAgeRatingDeclarationForAppStoreVersionV1 { /// The fields to include for returned resources of type ageRatingDeclarations case ageRatingDeclarations([AgeRatingDeclarations]) - public enum AgeRatingDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AgeRatingDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppClipDefaultExperienceForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppClipDefaultExperienceForAppStoreVersionV1.swift index 38743fb34..15f89808b 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppClipDefaultExperienceForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppClipDefaultExperienceForAppStoreVersionV1.swift @@ -42,19 +42,19 @@ public enum GetAppClipDefaultExperienceForAppStoreVersionV1 { /// The fields to include for returned resources of type appStoreVersions case appStoreVersions([AppStoreVersions]) - public enum AppClipAppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppClipAppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case invocationUrls } - public enum AppClipDefaultExperienceLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperienceLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDefaultExperience case appClipHeaderImage case locale case subtitle } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -63,14 +63,14 @@ public enum GetAppClipDefaultExperienceForAppStoreVersionV1 { case releaseWithAppStoreVersion } - public enum AppClips: String, ParameterValue, Codable, CaseIterable { + public enum AppClips: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appClipAdvancedExperiences case appClipDefaultExperiences case bundleId } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreReviewDetailForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreReviewDetailForAppStoreVersionV1.swift index e33d911c0..e79da639a 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreReviewDetailForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreReviewDetailForAppStoreVersionV1.swift @@ -38,7 +38,7 @@ public enum GetAppStoreReviewDetailForAppStoreVersionV1 { /// The fields to include for returned resources of type appStoreVersions case appStoreVersions([AppStoreVersions]) - public enum AppStoreReviewAttachments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewAttachments: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewDetail case assetDeliveryState case fileName @@ -48,7 +48,7 @@ public enum GetAppStoreReviewDetailForAppStoreVersionV1 { case uploaded } - public enum AppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion case contactEmail @@ -61,7 +61,7 @@ public enum GetAppStoreReviewDetailForAppStoreVersionV1 { case notes } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreVersionPhasedReleaseForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreVersionPhasedReleaseForAppStoreVersionV1.swift index 145bbb2cf..9e172b78f 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreVersionPhasedReleaseForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreVersionPhasedReleaseForAppStoreVersionV1.swift @@ -28,7 +28,7 @@ public enum GetAppStoreVersionPhasedReleaseForAppStoreVersionV1 { /// The fields to include for returned resources of type appStoreVersionPhasedReleases case appStoreVersionPhasedReleases([AppStoreVersionPhasedReleases]) - public enum AppStoreVersionPhasedReleases: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionPhasedReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case currentDayNumber case phasedReleaseState diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreVersionSubmissionForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreVersionSubmissionForAppStoreVersionV1.swift index 90d443779..f4e241d8b 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreVersionSubmissionForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetAppStoreVersionSubmissionForAppStoreVersionV1.swift @@ -33,11 +33,11 @@ public enum GetAppStoreVersionSubmissionForAppStoreVersionV1 { /// The fields to include for returned resources of type appStoreVersions case appStoreVersions([AppStoreVersions]) - public enum AppStoreVersionSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetBuildForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetBuildForAppStoreVersionV1.swift index c8437ae7d..726a8253a 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetBuildForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetBuildForAppStoreVersionV1.swift @@ -28,7 +28,7 @@ public enum GetBuildForAppStoreVersionV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetRoutingAppCoverageForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetRoutingAppCoverageForAppStoreVersionV1.swift index 43aa64fb0..0a9bb4ff1 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetRoutingAppCoverageForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/GetRoutingAppCoverageForAppStoreVersionV1.swift @@ -28,7 +28,7 @@ public enum GetRoutingAppCoverageForAppStoreVersionV1 { /// The fields to include for returned resources of type routingAppCoverages case routingAppCoverages([RoutingAppCoverages]) - public enum RoutingAppCoverages: String, ParameterValue, Codable, CaseIterable { + public enum RoutingAppCoverages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionExperimentsForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionExperimentsForAppStoreVersionV1.swift index 561d7ebe3..0b07feb37 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionExperimentsForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionExperimentsForAppStoreVersionV1.swift @@ -42,7 +42,7 @@ public enum ListAppStoreVersionExperimentsForAppStoreVersionV1 { /// The fields to include for returned resources of type appStoreVersions case appStoreVersions([AppStoreVersions]) - public enum AppStoreVersionExperimentTreatments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatments: String, Sendable, ParameterValue, Codable, CaseIterable { case appIcon case appIconName case appStoreVersionExperiment @@ -52,7 +52,7 @@ public enum ListAppStoreVersionExperimentsForAppStoreVersionV1 { case promotedDate } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case appStoreVersionExperimentTreatments case endDate @@ -64,7 +64,7 @@ public enum ListAppStoreVersionExperimentsForAppStoreVersionV1 { case trafficProportion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -98,7 +98,7 @@ public enum ListAppStoreVersionExperimentsForAppStoreVersionV1 { /// Filter by attribute 'state' case state([State]) - public enum State: String, ParameterValue, Codable, CaseIterable { + public enum State: String, Sendable, ParameterValue, Codable, CaseIterable { case accepted = "ACCEPTED" case approved = "APPROVED" case completed = "COMPLETED" diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionExperimentsV2ForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionExperimentsV2ForAppStoreVersionV1.swift index c146bae11..c626f5e47 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionExperimentsV2ForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionExperimentsV2ForAppStoreVersionV1.swift @@ -43,7 +43,7 @@ public enum ListAppStoreVersionExperimentsV2ForAppStoreVersionV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum AppStoreVersionExperimentTreatments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatments: String, Sendable, ParameterValue, Codable, CaseIterable { case appIcon case appIconName case appStoreVersionExperiment @@ -53,7 +53,7 @@ public enum ListAppStoreVersionExperimentsV2ForAppStoreVersionV1 { case promotedDate } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionExperimentTreatments case controlVersions @@ -68,7 +68,7 @@ public enum ListAppStoreVersionExperimentsV2ForAppStoreVersionV1 { case trafficProportion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -94,7 +94,7 @@ public enum ListAppStoreVersionExperimentsV2ForAppStoreVersionV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -148,7 +148,7 @@ public enum ListAppStoreVersionExperimentsV2ForAppStoreVersionV1 { /// Filter by attribute 'state' case state([State]) - public enum State: String, ParameterValue, Codable, CaseIterable { + public enum State: String, Sendable, ParameterValue, Codable, CaseIterable { case accepted = "ACCEPTED" case approved = "APPROVED" case completed = "COMPLETED" diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionLocalizationsForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionLocalizationsForAppStoreVersionV1.swift index 084b7a771..bc709ccee 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionLocalizationsForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListAppStoreVersionLocalizationsForAppStoreVersionV1.swift @@ -43,7 +43,7 @@ public enum ListAppStoreVersionLocalizationsForAppStoreVersionV1 { /// The fields to include for returned resources of type appStoreVersions case appStoreVersions([AppStoreVersions]) - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -51,7 +51,7 @@ public enum ListAppStoreVersionLocalizationsForAppStoreVersionV1 { case previewType } - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization @@ -59,7 +59,7 @@ public enum ListAppStoreVersionLocalizationsForAppStoreVersionV1 { case screenshotDisplayType } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion @@ -72,7 +72,7 @@ public enum ListAppStoreVersionLocalizationsForAppStoreVersionV1 { case whatsNew } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app diff --git a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListCustomerReviewsForAppStoreVersionV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListCustomerReviewsForAppStoreVersionV1.swift index 94d5c3c03..b611b778d 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListCustomerReviewsForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersion/Relationships/ListCustomerReviewsForAppStoreVersionV1.swift @@ -45,14 +45,14 @@ public enum ListCustomerReviewsForAppStoreVersionV1 { /// The fields to include for returned resources of type customerReviews case customerReviews([CustomerReviews]) - public enum CustomerReviewResponses: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviewResponses: String, Sendable, ParameterValue, Codable, CaseIterable { case lastModifiedDate case responseBody case review case state } - public enum CustomerReviews: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviews: String, Sendable, ParameterValue, Codable, CaseIterable { case body case createdDate case rating diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/GetAppStoreVersionExperimentV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/GetAppStoreVersionExperimentV1.swift index 226b8011e..2eaa7e727 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/GetAppStoreVersionExperimentV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/GetAppStoreVersionExperimentV1.swift @@ -37,7 +37,7 @@ public enum GetAppStoreVersionExperimentV1 { /// The fields to include for returned resources of type appStoreVersionExperiments case appStoreVersionExperiments([AppStoreVersionExperiments]) - public enum AppStoreVersionExperimentTreatments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatments: String, Sendable, ParameterValue, Codable, CaseIterable { case appIcon case appIconName case appStoreVersionExperiment @@ -47,7 +47,7 @@ public enum GetAppStoreVersionExperimentV1 { case promotedDate } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case appStoreVersionExperimentTreatments case endDate diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/GetAppStoreVersionExperimentsV2.swift b/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/GetAppStoreVersionExperimentsV2.swift index 1e432f503..92ddc012a 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/GetAppStoreVersionExperimentsV2.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/GetAppStoreVersionExperimentsV2.swift @@ -36,7 +36,7 @@ public enum GetAppStoreVersionExperimentsV2 { /// The fields to include for returned resources of type appStoreVersionExperiments case appStoreVersionExperiments([AppStoreVersionExperiments]) - public enum AppStoreVersionExperimentTreatments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatments: String, Sendable, ParameterValue, Codable, CaseIterable { case appIcon case appIconName case appStoreVersionExperiment @@ -46,7 +46,7 @@ public enum GetAppStoreVersionExperimentsV2 { case promotedDate } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionExperimentTreatments case controlVersions diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/Relationships/ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperimentV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/Relationships/ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperimentV1.swift index dafb801d3..d4acc7b94 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/Relationships/ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperimentV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/Relationships/ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperimentV1.swift @@ -39,14 +39,14 @@ public enum ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperimentV /// The fields to include for returned resources of type appStoreVersionExperiments case appStoreVersionExperiments([AppStoreVersionExperiments]) - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment case locale } - public enum AppStoreVersionExperimentTreatments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatments: String, Sendable, ParameterValue, Codable, CaseIterable { case appIcon case appIconName case appStoreVersionExperiment @@ -56,7 +56,7 @@ public enum ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperimentV case promotedDate } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersion case appStoreVersionExperimentTreatments diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/Relationships/ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperimentsV2.swift b/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/Relationships/ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperimentsV2.swift index 55c3e914c..912fa774d 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/Relationships/ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperimentsV2.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionExperiment/Relationships/ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperimentsV2.swift @@ -38,14 +38,14 @@ public enum ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperiments /// The fields to include for returned resources of type appStoreVersionExperiments case appStoreVersionExperiments([AppStoreVersionExperiments]) - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment case locale } - public enum AppStoreVersionExperimentTreatments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatments: String, Sendable, ParameterValue, Codable, CaseIterable { case appIcon case appIconName case appStoreVersionExperiment @@ -55,7 +55,7 @@ public enum ListAppStoreVersionExperimentTreatmentsForAppStoreVersionExperiments case promotedDate } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersion case appStoreVersionExperimentTreatments diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatment/GetAppStoreVersionExperimentTreatmentV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatment/GetAppStoreVersionExperimentTreatmentV1.swift index de8fb4f2b..35dbfcff8 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatment/GetAppStoreVersionExperimentTreatmentV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatment/GetAppStoreVersionExperimentTreatmentV1.swift @@ -35,14 +35,14 @@ public enum GetAppStoreVersionExperimentTreatmentV1 { /// The fields to include for returned resources of type appStoreVersionExperimentTreatments case appStoreVersionExperimentTreatments([AppStoreVersionExperimentTreatments]) - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment case locale } - public enum AppStoreVersionExperimentTreatments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatments: String, Sendable, ParameterValue, Codable, CaseIterable { case appIcon case appIconName case appStoreVersionExperiment diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatment/Relationships/ListAppStoreVersionExperimentTreatmentLocalizationsForAppStoreVersionExperimentTreatmentV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatment/Relationships/ListAppStoreVersionExperimentTreatmentLocalizationsForAppStoreVersionExperimentTreatmentV1.swift index 3fefb218b..ad7851153 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatment/Relationships/ListAppStoreVersionExperimentTreatmentLocalizationsForAppStoreVersionExperimentTreatmentV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatment/Relationships/ListAppStoreVersionExperimentTreatmentLocalizationsForAppStoreVersionExperimentTreatmentV1.swift @@ -42,7 +42,7 @@ public enum ListAppStoreVersionExperimentTreatmentLocalizationsForAppStoreVersio /// The fields to include for returned resources of type appStoreVersionExperimentTreatments case appStoreVersionExperimentTreatments([AppStoreVersionExperimentTreatments]) - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -50,7 +50,7 @@ public enum ListAppStoreVersionExperimentTreatmentLocalizationsForAppStoreVersio case previewType } - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization @@ -58,14 +58,14 @@ public enum ListAppStoreVersionExperimentTreatmentLocalizationsForAppStoreVersio case screenshotDisplayType } - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment case locale } - public enum AppStoreVersionExperimentTreatments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatments: String, Sendable, ParameterValue, Codable, CaseIterable { case appIcon case appIconName case appStoreVersionExperiment diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/GetAppStoreVersionExperimentTreatmentLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/GetAppStoreVersionExperimentTreatmentLocalizationV1.swift index 9d6d0acdd..7897cc136 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/GetAppStoreVersionExperimentTreatmentLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/GetAppStoreVersionExperimentTreatmentLocalizationV1.swift @@ -37,7 +37,7 @@ public enum GetAppStoreVersionExperimentTreatmentLocalizationV1 { /// The fields to include for returned resources of type appStoreVersionExperimentTreatmentLocalizations case appStoreVersionExperimentTreatmentLocalizations([AppStoreVersionExperimentTreatmentLocalizations]) - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -45,7 +45,7 @@ public enum GetAppStoreVersionExperimentTreatmentLocalizationV1 { case previewType } - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization @@ -53,7 +53,7 @@ public enum GetAppStoreVersionExperimentTreatmentLocalizationV1 { case screenshotDisplayType } - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/Relationships/ListAppPreviewSetsForAppStoreVersionExperimentTreatmentLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/Relationships/ListAppPreviewSetsForAppStoreVersionExperimentTreatmentLocalizationV1.swift index 153420b0f..9c4a6f641 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/Relationships/ListAppPreviewSetsForAppStoreVersionExperimentTreatmentLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/Relationships/ListAppPreviewSetsForAppStoreVersionExperimentTreatmentLocalizationV1.swift @@ -44,7 +44,7 @@ public enum ListAppPreviewSetsForAppStoreVersionExperimentTreatmentLocalizationV /// The fields to include for returned resources of type appStoreVersionLocalizations case appStoreVersionLocalizations([AppStoreVersionLocalizations]) - public enum AppCustomProductPageLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appPreviewSets case appScreenshotSets @@ -52,7 +52,7 @@ public enum ListAppPreviewSetsForAppStoreVersionExperimentTreatmentLocalizationV case promotionalText } - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -60,7 +60,7 @@ public enum ListAppPreviewSetsForAppStoreVersionExperimentTreatmentLocalizationV case previewType } - public enum AppPreviews: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviews: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSet case assetDeliveryState case fileName @@ -74,14 +74,14 @@ public enum ListAppPreviewSetsForAppStoreVersionExperimentTreatmentLocalizationV case videoUrl } - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment case locale } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/Relationships/ListAppScreenshotSetsForAppStoreVersionExperimentTreatmentLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/Relationships/ListAppScreenshotSetsForAppStoreVersionExperimentTreatmentLocalizationV1.swift index 1906ebacf..d9f985eff 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/Relationships/ListAppScreenshotSetsForAppStoreVersionExperimentTreatmentLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionExperimentTreatmentLocalization/Relationships/ListAppScreenshotSetsForAppStoreVersionExperimentTreatmentLocalizationV1.swift @@ -44,7 +44,7 @@ public enum ListAppScreenshotSetsForAppStoreVersionExperimentTreatmentLocalizati /// The fields to include for returned resources of type appStoreVersionLocalizations case appStoreVersionLocalizations([AppStoreVersionLocalizations]) - public enum AppCustomProductPageLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appPreviewSets case appScreenshotSets @@ -52,7 +52,7 @@ public enum ListAppScreenshotSetsForAppStoreVersionExperimentTreatmentLocalizati case promotionalText } - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization @@ -60,7 +60,7 @@ public enum ListAppScreenshotSetsForAppStoreVersionExperimentTreatmentLocalizati case screenshotDisplayType } - public enum AppScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case appScreenshotSet case assetDeliveryState case assetToken @@ -73,14 +73,14 @@ public enum ListAppScreenshotSetsForAppStoreVersionExperimentTreatmentLocalizati case uploaded } - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment case locale } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/GetAppStoreVersionLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/GetAppStoreVersionLocalizationV1.swift index 02e9d3451..802a9efbb 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/GetAppStoreVersionLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/GetAppStoreVersionLocalizationV1.swift @@ -38,7 +38,7 @@ public enum GetAppStoreVersionLocalizationV1 { /// The fields to include for returned resources of type appStoreVersionLocalizations case appStoreVersionLocalizations([AppStoreVersionLocalizations]) - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -46,7 +46,7 @@ public enum GetAppStoreVersionLocalizationV1 { case previewType } - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization @@ -54,7 +54,7 @@ public enum GetAppStoreVersionLocalizationV1 { case screenshotDisplayType } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/Relationships/ListAppPreviewSetsForAppStoreVersionLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/Relationships/ListAppPreviewSetsForAppStoreVersionLocalizationV1.swift index 860fc8d65..6d85051b5 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/Relationships/ListAppPreviewSetsForAppStoreVersionLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/Relationships/ListAppPreviewSetsForAppStoreVersionLocalizationV1.swift @@ -45,7 +45,7 @@ public enum ListAppPreviewSetsForAppStoreVersionLocalizationV1 { /// The fields to include for returned resources of type appStoreVersionLocalizations case appStoreVersionLocalizations([AppStoreVersionLocalizations]) - public enum AppCustomProductPageLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appPreviewSets case appScreenshotSets @@ -53,7 +53,7 @@ public enum ListAppPreviewSetsForAppStoreVersionLocalizationV1 { case promotionalText } - public enum AppPreviewSets: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviewSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appPreviews case appStoreVersionExperimentTreatmentLocalization @@ -61,7 +61,7 @@ public enum ListAppPreviewSetsForAppStoreVersionLocalizationV1 { case previewType } - public enum AppPreviews: String, ParameterValue, Codable, CaseIterable { + public enum AppPreviews: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSet case assetDeliveryState case fileName @@ -75,14 +75,14 @@ public enum ListAppPreviewSetsForAppStoreVersionLocalizationV1 { case videoUrl } - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment case locale } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/Relationships/ListAppScreenshotSetsForAppStoreVersionLocalizationV1.swift b/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/Relationships/ListAppScreenshotSetsForAppStoreVersionLocalizationV1.swift index 6e2f14b44..70253ee01 100644 --- a/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/Relationships/ListAppScreenshotSetsForAppStoreVersionLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/AppStoreVersionLocalization/Relationships/ListAppScreenshotSetsForAppStoreVersionLocalizationV1.swift @@ -45,7 +45,7 @@ public enum ListAppScreenshotSetsForAppStoreVersionLocalizationV1 { /// The fields to include for returned resources of type appStoreVersionLocalizations case appStoreVersionLocalizations([AppStoreVersionLocalizations]) - public enum AppCustomProductPageLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appPreviewSets case appScreenshotSets @@ -53,7 +53,7 @@ public enum ListAppScreenshotSetsForAppStoreVersionLocalizationV1 { case promotionalText } - public enum AppScreenshotSets: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshotSets: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageLocalization case appScreenshots case appStoreVersionExperimentTreatmentLocalization @@ -61,7 +61,7 @@ public enum ListAppScreenshotSetsForAppStoreVersionLocalizationV1 { case screenshotDisplayType } - public enum AppScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum AppScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case appScreenshotSet case assetDeliveryState case assetToken @@ -74,14 +74,14 @@ public enum ListAppScreenshotSetsForAppStoreVersionLocalizationV1 { case uploaded } - public enum AppStoreVersionExperimentTreatmentLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperimentTreatmentLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersionExperimentTreatment case locale } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/Build/Relationships/ListIconsForBuildV1.swift b/Sources/Bagbutik-AppStore/Build/Relationships/ListIconsForBuildV1.swift index 38aed143b..c47f5e345 100644 --- a/Sources/Bagbutik-AppStore/Build/Relationships/ListIconsForBuildV1.swift +++ b/Sources/Bagbutik-AppStore/Build/Relationships/ListIconsForBuildV1.swift @@ -31,7 +31,7 @@ public enum ListIconsForBuildV1 { /// The fields to include for returned resources of type buildIcons case buildIcons([BuildIcons]) - public enum BuildIcons: String, ParameterValue, Codable, CaseIterable { + public enum BuildIcons: String, Sendable, ParameterValue, Codable, CaseIterable { case iconAsset case iconType case name diff --git a/Sources/Bagbutik-AppStore/BuildBundle/Relationships/GetAppClipDomainCacheStatusForBuildBundleV1.swift b/Sources/Bagbutik-AppStore/BuildBundle/Relationships/GetAppClipDomainCacheStatusForBuildBundleV1.swift index 0b857e682..fa759e9f6 100644 --- a/Sources/Bagbutik-AppStore/BuildBundle/Relationships/GetAppClipDomainCacheStatusForBuildBundleV1.swift +++ b/Sources/Bagbutik-AppStore/BuildBundle/Relationships/GetAppClipDomainCacheStatusForBuildBundleV1.swift @@ -28,7 +28,7 @@ public enum GetAppClipDomainCacheStatusForBuildBundleV1 { /// The fields to include for returned resources of type appClipDomainStatuses case appClipDomainStatuses([AppClipDomainStatuses]) - public enum AppClipDomainStatuses: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDomainStatuses: String, Sendable, ParameterValue, Codable, CaseIterable { case domains case lastUpdatedDate } diff --git a/Sources/Bagbutik-AppStore/BuildBundle/Relationships/GetAppClipDomainDebugStatusForBuildBundleV1.swift b/Sources/Bagbutik-AppStore/BuildBundle/Relationships/GetAppClipDomainDebugStatusForBuildBundleV1.swift index 080f8a43d..86380b40e 100644 --- a/Sources/Bagbutik-AppStore/BuildBundle/Relationships/GetAppClipDomainDebugStatusForBuildBundleV1.swift +++ b/Sources/Bagbutik-AppStore/BuildBundle/Relationships/GetAppClipDomainDebugStatusForBuildBundleV1.swift @@ -28,7 +28,7 @@ public enum GetAppClipDomainDebugStatusForBuildBundleV1 { /// The fields to include for returned resources of type appClipDomainStatuses case appClipDomainStatuses([AppClipDomainStatuses]) - public enum AppClipDomainStatuses: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDomainStatuses: String, Sendable, ParameterValue, Codable, CaseIterable { case domains case lastUpdatedDate } diff --git a/Sources/Bagbutik-AppStore/BuildBundle/Relationships/ListBetaAppClipInvocationsForBuildBundleV1.swift b/Sources/Bagbutik-AppStore/BuildBundle/Relationships/ListBetaAppClipInvocationsForBuildBundleV1.swift index 75228c368..f80184cd3 100644 --- a/Sources/Bagbutik-AppStore/BuildBundle/Relationships/ListBetaAppClipInvocationsForBuildBundleV1.swift +++ b/Sources/Bagbutik-AppStore/BuildBundle/Relationships/ListBetaAppClipInvocationsForBuildBundleV1.swift @@ -36,13 +36,13 @@ public enum ListBetaAppClipInvocationsForBuildBundleV1 { /// The fields to include for returned resources of type betaAppClipInvocations case betaAppClipInvocations([BetaAppClipInvocations]) - public enum BetaAppClipInvocationLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppClipInvocationLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case betaAppClipInvocation case locale case title } - public enum BetaAppClipInvocations: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppClipInvocations: String, Sendable, ParameterValue, Codable, CaseIterable { case betaAppClipInvocationLocalizations case buildBundle case url diff --git a/Sources/Bagbutik-AppStore/BuildBundle/Relationships/ListBuildBundleFileSizesForBuildBundleV1.swift b/Sources/Bagbutik-AppStore/BuildBundle/Relationships/ListBuildBundleFileSizesForBuildBundleV1.swift index ba521b3ea..df8cddf06 100644 --- a/Sources/Bagbutik-AppStore/BuildBundle/Relationships/ListBuildBundleFileSizesForBuildBundleV1.swift +++ b/Sources/Bagbutik-AppStore/BuildBundle/Relationships/ListBuildBundleFileSizesForBuildBundleV1.swift @@ -31,7 +31,7 @@ public enum ListBuildBundleFileSizesForBuildBundleV1 { /// The fields to include for returned resources of type buildBundleFileSizes case buildBundleFileSizes([BuildBundleFileSizes]) - public enum BuildBundleFileSizes: String, ParameterValue, Codable, CaseIterable { + public enum BuildBundleFileSizes: String, Sendable, ParameterValue, Codable, CaseIterable { case deviceModel case downloadBytes case installBytes diff --git a/Sources/Bagbutik-AppStore/CustomerReview/GetCustomerReviewV1.swift b/Sources/Bagbutik-AppStore/CustomerReview/GetCustomerReviewV1.swift index b0010d906..51122f6d7 100644 --- a/Sources/Bagbutik-AppStore/CustomerReview/GetCustomerReviewV1.swift +++ b/Sources/Bagbutik-AppStore/CustomerReview/GetCustomerReviewV1.swift @@ -33,14 +33,14 @@ public enum GetCustomerReviewV1 { /// The fields to include for returned resources of type customerReviews case customerReviews([CustomerReviews]) - public enum CustomerReviewResponses: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviewResponses: String, Sendable, ParameterValue, Codable, CaseIterable { case lastModifiedDate case responseBody case review case state } - public enum CustomerReviews: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviews: String, Sendable, ParameterValue, Codable, CaseIterable { case body case createdDate case rating diff --git a/Sources/Bagbutik-AppStore/CustomerReview/Relationships/GetResponseForCustomerReviewV1.swift b/Sources/Bagbutik-AppStore/CustomerReview/Relationships/GetResponseForCustomerReviewV1.swift index ff6eb87b1..bbb7747ee 100644 --- a/Sources/Bagbutik-AppStore/CustomerReview/Relationships/GetResponseForCustomerReviewV1.swift +++ b/Sources/Bagbutik-AppStore/CustomerReview/Relationships/GetResponseForCustomerReviewV1.swift @@ -33,14 +33,14 @@ public enum GetResponseForCustomerReviewV1 { /// The fields to include for returned resources of type customerReviews case customerReviews([CustomerReviews]) - public enum CustomerReviewResponses: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviewResponses: String, Sendable, ParameterValue, Codable, CaseIterable { case lastModifiedDate case responseBody case review case state } - public enum CustomerReviews: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviews: String, Sendable, ParameterValue, Codable, CaseIterable { case body case createdDate case rating diff --git a/Sources/Bagbutik-AppStore/CustomerReviewResponse/GetCustomerReviewResponseV1.swift b/Sources/Bagbutik-AppStore/CustomerReviewResponse/GetCustomerReviewResponseV1.swift index d0b40811c..4c421949c 100644 --- a/Sources/Bagbutik-AppStore/CustomerReviewResponse/GetCustomerReviewResponseV1.swift +++ b/Sources/Bagbutik-AppStore/CustomerReviewResponse/GetCustomerReviewResponseV1.swift @@ -31,7 +31,7 @@ public enum GetCustomerReviewResponseV1 { /// The fields to include for returned resources of type customerReviewResponses case customerReviewResponses([CustomerReviewResponses]) - public enum CustomerReviewResponses: String, ParameterValue, Codable, CaseIterable { + public enum CustomerReviewResponses: String, Sendable, ParameterValue, Codable, CaseIterable { case lastModifiedDate case responseBody case review diff --git a/Sources/Bagbutik-AppStore/EndUserLicenseAgreement/GetEndUserLicenseAgreementV1.swift b/Sources/Bagbutik-AppStore/EndUserLicenseAgreement/GetEndUserLicenseAgreementV1.swift index f3ecd4127..cca388652 100644 --- a/Sources/Bagbutik-AppStore/EndUserLicenseAgreement/GetEndUserLicenseAgreementV1.swift +++ b/Sources/Bagbutik-AppStore/EndUserLicenseAgreement/GetEndUserLicenseAgreementV1.swift @@ -36,13 +36,13 @@ public enum GetEndUserLicenseAgreementV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum EndUserLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum EndUserLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app case territories } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/EndUserLicenseAgreement/Relationships/ListTerritoriesForEndUserLicenseAgreementV1.swift b/Sources/Bagbutik-AppStore/EndUserLicenseAgreement/Relationships/ListTerritoriesForEndUserLicenseAgreementV1.swift index d00daae77..83062620e 100644 --- a/Sources/Bagbutik-AppStore/EndUserLicenseAgreement/Relationships/ListTerritoriesForEndUserLicenseAgreementV1.swift +++ b/Sources/Bagbutik-AppStore/EndUserLicenseAgreement/Relationships/ListTerritoriesForEndUserLicenseAgreementV1.swift @@ -31,7 +31,7 @@ public enum ListTerritoriesForEndUserLicenseAgreementV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/GameCenterEnabledVersion/Relationships/ListCompatibleVersionsForGameCenterEnabledVersionV1.swift b/Sources/Bagbutik-AppStore/GameCenterEnabledVersion/Relationships/ListCompatibleVersionsForGameCenterEnabledVersionV1.swift index d0210c899..7a2707117 100644 --- a/Sources/Bagbutik-AppStore/GameCenterEnabledVersion/Relationships/ListCompatibleVersionsForGameCenterEnabledVersionV1.swift +++ b/Sources/Bagbutik-AppStore/GameCenterEnabledVersion/Relationships/ListCompatibleVersionsForGameCenterEnabledVersionV1.swift @@ -42,7 +42,7 @@ public enum ListCompatibleVersionsForGameCenterEnabledVersionV1 { /// The fields to include for returned resources of type gameCenterEnabledVersions case gameCenterEnabledVersions([GameCenterEnabledVersions]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -88,7 +88,7 @@ public enum ListCompatibleVersionsForGameCenterEnabledVersionV1 { case subscriptionStatusUrlVersionForSandbox } - public enum GameCenterEnabledVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterEnabledVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case compatibleVersions case iconAsset diff --git a/Sources/Bagbutik-AppStore/InAppPurchase/GetInAppPurchaseV1.swift b/Sources/Bagbutik-AppStore/InAppPurchase/GetInAppPurchaseV1.swift index e0418df1c..f835faa6f 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchase/GetInAppPurchaseV1.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchase/GetInAppPurchaseV1.swift @@ -35,7 +35,7 @@ public enum GetInAppPurchaseV1 { /// The fields to include for returned resources of type inAppPurchases case inAppPurchases([InAppPurchases]) - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case inAppPurchaseType case productId diff --git a/Sources/Bagbutik-AppStore/InAppPurchase/GetInAppPurchasesV2.swift b/Sources/Bagbutik-AppStore/InAppPurchase/GetInAppPurchasesV2.swift index f8c489163..a3868320b 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchase/GetInAppPurchasesV2.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchase/GetInAppPurchasesV2.swift @@ -48,7 +48,7 @@ public enum GetInAppPurchasesV2 { /// The fields to include for returned resources of type promotedPurchases case promotedPurchases([PromotedPurchases]) - public enum InAppPurchaseAppStoreReviewScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseAppStoreReviewScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case assetToken case assetType @@ -61,13 +61,13 @@ public enum GetInAppPurchasesV2 { case uploaded } - public enum InAppPurchaseAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case availableInNewTerritories case availableTerritories case inAppPurchase } - public enum InAppPurchaseContents: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseContents: String, Sendable, ParameterValue, Codable, CaseIterable { case fileName case fileSize case inAppPurchaseV2 @@ -75,7 +75,7 @@ public enum GetInAppPurchasesV2 { case url } - public enum InAppPurchaseLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case description case inAppPurchaseV2 case locale @@ -83,21 +83,21 @@ public enum GetInAppPurchasesV2 { case state } - public enum InAppPurchasePricePoints: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case inAppPurchaseV2 case proceeds case territory } - public enum InAppPurchasePriceSchedules: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePriceSchedules: String, Sendable, ParameterValue, Codable, CaseIterable { case automaticPrices case baseTerritory case inAppPurchase case manualPrices } - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case content @@ -115,7 +115,7 @@ public enum GetInAppPurchasesV2 { case state } - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 diff --git a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetAppStoreReviewScreenshotForInAppPurchasesV2.swift b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetAppStoreReviewScreenshotForInAppPurchasesV2.swift index 11f0338b6..cabf0f7a0 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetAppStoreReviewScreenshotForInAppPurchasesV2.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetAppStoreReviewScreenshotForInAppPurchasesV2.swift @@ -33,7 +33,7 @@ public enum GetAppStoreReviewScreenshotForInAppPurchasesV2 { /// The fields to include for returned resources of type inAppPurchases case inAppPurchases([InAppPurchases]) - public enum InAppPurchaseAppStoreReviewScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseAppStoreReviewScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case assetToken case assetType @@ -46,7 +46,7 @@ public enum GetAppStoreReviewScreenshotForInAppPurchasesV2 { case uploaded } - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case content diff --git a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetContentForInAppPurchasesV2.swift b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetContentForInAppPurchasesV2.swift index 7e94412af..5cda99399 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetContentForInAppPurchasesV2.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetContentForInAppPurchasesV2.swift @@ -33,7 +33,7 @@ public enum GetContentForInAppPurchasesV2 { /// The fields to include for returned resources of type inAppPurchases case inAppPurchases([InAppPurchases]) - public enum InAppPurchaseContents: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseContents: String, Sendable, ParameterValue, Codable, CaseIterable { case fileName case fileSize case inAppPurchaseV2 @@ -41,7 +41,7 @@ public enum GetContentForInAppPurchasesV2 { case url } - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case content diff --git a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetIapPriceScheduleForInAppPurchasesV2.swift b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetIapPriceScheduleForInAppPurchasesV2.swift index 9607d2378..f2285989f 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetIapPriceScheduleForInAppPurchasesV2.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetIapPriceScheduleForInAppPurchasesV2.swift @@ -40,14 +40,14 @@ public enum GetIapPriceScheduleForInAppPurchasesV2 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum InAppPurchasePriceSchedules: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePriceSchedules: String, Sendable, ParameterValue, Codable, CaseIterable { case automaticPrices case baseTerritory case inAppPurchase case manualPrices } - public enum InAppPurchasePrices: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePrices: String, Sendable, ParameterValue, Codable, CaseIterable { case endDate case inAppPurchasePricePoint case inAppPurchaseV2 @@ -56,7 +56,7 @@ public enum GetIapPriceScheduleForInAppPurchasesV2 { case territory } - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case content @@ -74,7 +74,7 @@ public enum GetIapPriceScheduleForInAppPurchasesV2 { case state } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetInAppPurchaseAvailabilityForInAppPurchasesV2.swift b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetInAppPurchaseAvailabilityForInAppPurchasesV2.swift index bb23f6c27..872ef45db 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetInAppPurchaseAvailabilityForInAppPurchasesV2.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetInAppPurchaseAvailabilityForInAppPurchasesV2.swift @@ -36,13 +36,13 @@ public enum GetInAppPurchaseAvailabilityForInAppPurchasesV2 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum InAppPurchaseAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case availableInNewTerritories case availableTerritories case inAppPurchase } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetPromotedPurchaseForInAppPurchasesV2.swift b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetPromotedPurchaseForInAppPurchasesV2.swift index bb468d73f..2f9629276 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetPromotedPurchaseForInAppPurchasesV2.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/GetPromotedPurchaseForInAppPurchasesV2.swift @@ -40,7 +40,7 @@ public enum GetPromotedPurchaseForInAppPurchasesV2 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case content @@ -58,7 +58,7 @@ public enum GetPromotedPurchaseForInAppPurchasesV2 { case state } - public enum PromotedPurchaseImages: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchaseImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetToken case assetType case fileName @@ -71,7 +71,7 @@ public enum GetPromotedPurchaseForInAppPurchasesV2 { case uploaded } - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 @@ -81,7 +81,7 @@ public enum GetPromotedPurchaseForInAppPurchasesV2 { case visibleForAllUsers } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group diff --git a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/ListInAppPurchaseLocalizationsForInAppPurchasesV2.swift b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/ListInAppPurchaseLocalizationsForInAppPurchasesV2.swift index 1f57fa1b5..fa4be683f 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/ListInAppPurchaseLocalizationsForInAppPurchasesV2.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/ListInAppPurchaseLocalizationsForInAppPurchasesV2.swift @@ -36,7 +36,7 @@ public enum ListInAppPurchaseLocalizationsForInAppPurchasesV2 { /// The fields to include for returned resources of type inAppPurchases case inAppPurchases([InAppPurchases]) - public enum InAppPurchaseLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case description case inAppPurchaseV2 case locale @@ -44,7 +44,7 @@ public enum ListInAppPurchaseLocalizationsForInAppPurchasesV2 { case state } - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case content diff --git a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/ListPricePointsForInAppPurchasesV2.swift b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/ListPricePointsForInAppPurchasesV2.swift index b00d471d8..6016c117b 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/ListPricePointsForInAppPurchasesV2.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchase/Relationships/ListPricePointsForInAppPurchasesV2.swift @@ -39,14 +39,14 @@ public enum ListPricePointsForInAppPurchasesV2 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum InAppPurchasePricePoints: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case inAppPurchaseV2 case proceeds case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/InAppPurchaseAppStoreReviewScreenshot/GetInAppPurchaseAppStoreReviewScreenshotV1.swift b/Sources/Bagbutik-AppStore/InAppPurchaseAppStoreReviewScreenshot/GetInAppPurchaseAppStoreReviewScreenshotV1.swift index 1000054ff..ecbf7c737 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchaseAppStoreReviewScreenshot/GetInAppPurchaseAppStoreReviewScreenshotV1.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchaseAppStoreReviewScreenshot/GetInAppPurchaseAppStoreReviewScreenshotV1.swift @@ -31,7 +31,7 @@ public enum GetInAppPurchaseAppStoreReviewScreenshotV1 { /// The fields to include for returned resources of type inAppPurchaseAppStoreReviewScreenshots case inAppPurchaseAppStoreReviewScreenshots([InAppPurchaseAppStoreReviewScreenshots]) - public enum InAppPurchaseAppStoreReviewScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseAppStoreReviewScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case assetToken case assetType diff --git a/Sources/Bagbutik-AppStore/InAppPurchaseAvailability/GetInAppPurchaseAvailabilityV1.swift b/Sources/Bagbutik-AppStore/InAppPurchaseAvailability/GetInAppPurchaseAvailabilityV1.swift index 96435feb2..0aee9102d 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchaseAvailability/GetInAppPurchaseAvailabilityV1.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchaseAvailability/GetInAppPurchaseAvailabilityV1.swift @@ -36,13 +36,13 @@ public enum GetInAppPurchaseAvailabilityV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum InAppPurchaseAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case availableInNewTerritories case availableTerritories case inAppPurchase } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/InAppPurchaseAvailability/Relationships/ListAvailableTerritoriesForInAppPurchaseAvailabilityV1.swift b/Sources/Bagbutik-AppStore/InAppPurchaseAvailability/Relationships/ListAvailableTerritoriesForInAppPurchaseAvailabilityV1.swift index 565435c10..cc247b502 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchaseAvailability/Relationships/ListAvailableTerritoriesForInAppPurchaseAvailabilityV1.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchaseAvailability/Relationships/ListAvailableTerritoriesForInAppPurchaseAvailabilityV1.swift @@ -31,7 +31,7 @@ public enum ListAvailableTerritoriesForInAppPurchaseAvailabilityV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/InAppPurchaseContent/GetInAppPurchaseContentV1.swift b/Sources/Bagbutik-AppStore/InAppPurchaseContent/GetInAppPurchaseContentV1.swift index 00dc0a0cc..b0438e036 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchaseContent/GetInAppPurchaseContentV1.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchaseContent/GetInAppPurchaseContentV1.swift @@ -31,7 +31,7 @@ public enum GetInAppPurchaseContentV1 { /// The fields to include for returned resources of type inAppPurchaseContents case inAppPurchaseContents([InAppPurchaseContents]) - public enum InAppPurchaseContents: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseContents: String, Sendable, ParameterValue, Codable, CaseIterable { case fileName case fileSize case inAppPurchaseV2 diff --git a/Sources/Bagbutik-AppStore/InAppPurchaseLocalization/GetInAppPurchaseLocalizationV1.swift b/Sources/Bagbutik-AppStore/InAppPurchaseLocalization/GetInAppPurchaseLocalizationV1.swift index 467a06539..9df164daf 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchaseLocalization/GetInAppPurchaseLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchaseLocalization/GetInAppPurchaseLocalizationV1.swift @@ -31,7 +31,7 @@ public enum GetInAppPurchaseLocalizationV1 { /// The fields to include for returned resources of type inAppPurchaseLocalizations case inAppPurchaseLocalizations([InAppPurchaseLocalizations]) - public enum InAppPurchaseLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchaseLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case description case inAppPurchaseV2 case locale diff --git a/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/GetInAppPurchasePriceScheduleV1.swift b/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/GetInAppPurchasePriceScheduleV1.swift index 41f76dae3..ef61c3bf2 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/GetInAppPurchasePriceScheduleV1.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/GetInAppPurchasePriceScheduleV1.swift @@ -38,14 +38,14 @@ public enum GetInAppPurchasePriceScheduleV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum InAppPurchasePriceSchedules: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePriceSchedules: String, Sendable, ParameterValue, Codable, CaseIterable { case automaticPrices case baseTerritory case inAppPurchase case manualPrices } - public enum InAppPurchasePrices: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePrices: String, Sendable, ParameterValue, Codable, CaseIterable { case endDate case inAppPurchasePricePoint case inAppPurchaseV2 @@ -54,7 +54,7 @@ public enum GetInAppPurchasePriceScheduleV1 { case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/GetBaseTerritoryForInAppPurchasePriceScheduleV1.swift b/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/GetBaseTerritoryForInAppPurchasePriceScheduleV1.swift index 7a4de0ce6..83ad91f62 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/GetBaseTerritoryForInAppPurchasePriceScheduleV1.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/GetBaseTerritoryForInAppPurchasePriceScheduleV1.swift @@ -28,7 +28,7 @@ public enum GetBaseTerritoryForInAppPurchasePriceScheduleV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/ListAutomaticPricesForInAppPurchasePriceScheduleV1.swift b/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/ListAutomaticPricesForInAppPurchasePriceScheduleV1.swift index 0900114ef..ec3437b66 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/ListAutomaticPricesForInAppPurchasePriceScheduleV1.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/ListAutomaticPricesForInAppPurchasePriceScheduleV1.swift @@ -41,14 +41,14 @@ public enum ListAutomaticPricesForInAppPurchasePriceScheduleV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum InAppPurchasePricePoints: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case inAppPurchaseV2 case proceeds case territory } - public enum InAppPurchasePrices: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePrices: String, Sendable, ParameterValue, Codable, CaseIterable { case endDate case inAppPurchasePricePoint case inAppPurchaseV2 @@ -57,7 +57,7 @@ public enum ListAutomaticPricesForInAppPurchasePriceScheduleV1 { case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/ListManualPricesForInAppPurchasePriceScheduleV1.swift b/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/ListManualPricesForInAppPurchasePriceScheduleV1.swift index c070d387f..ef04c515c 100644 --- a/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/ListManualPricesForInAppPurchasePriceScheduleV1.swift +++ b/Sources/Bagbutik-AppStore/InAppPurchasePriceSchedule/Relationships/ListManualPricesForInAppPurchasePriceScheduleV1.swift @@ -41,14 +41,14 @@ public enum ListManualPricesForInAppPurchasePriceScheduleV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum InAppPurchasePricePoints: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case inAppPurchaseV2 case proceeds case territory } - public enum InAppPurchasePrices: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchasePrices: String, Sendable, ParameterValue, Codable, CaseIterable { case endDate case inAppPurchasePricePoint case inAppPurchaseV2 @@ -57,7 +57,7 @@ public enum ListManualPricesForInAppPurchasePriceScheduleV1 { case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/PromotedPurchase/GetPromotedPurchaseV1.swift b/Sources/Bagbutik-AppStore/PromotedPurchase/GetPromotedPurchaseV1.swift index 7b0550516..ae764b07b 100644 --- a/Sources/Bagbutik-AppStore/PromotedPurchase/GetPromotedPurchaseV1.swift +++ b/Sources/Bagbutik-AppStore/PromotedPurchase/GetPromotedPurchaseV1.swift @@ -36,7 +36,7 @@ public enum GetPromotedPurchaseV1 { /// The fields to include for returned resources of type promotedPurchases case promotedPurchases([PromotedPurchases]) - public enum PromotedPurchaseImages: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchaseImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetToken case assetType case fileName @@ -49,7 +49,7 @@ public enum GetPromotedPurchaseV1 { case uploaded } - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 diff --git a/Sources/Bagbutik-AppStore/PromotedPurchase/Relationships/ListPromotionImagesForPromotedPurchaseV1.swift b/Sources/Bagbutik-AppStore/PromotedPurchase/Relationships/ListPromotionImagesForPromotedPurchaseV1.swift index aafa6f303..7f01d9f74 100644 --- a/Sources/Bagbutik-AppStore/PromotedPurchase/Relationships/ListPromotionImagesForPromotedPurchaseV1.swift +++ b/Sources/Bagbutik-AppStore/PromotedPurchase/Relationships/ListPromotionImagesForPromotedPurchaseV1.swift @@ -36,7 +36,7 @@ public enum ListPromotionImagesForPromotedPurchaseV1 { /// The fields to include for returned resources of type promotedPurchases case promotedPurchases([PromotedPurchases]) - public enum PromotedPurchaseImages: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchaseImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetToken case assetType case fileName @@ -49,7 +49,7 @@ public enum ListPromotionImagesForPromotedPurchaseV1 { case uploaded } - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 diff --git a/Sources/Bagbutik-AppStore/PromotedPurchaseImage/GetPromotedPurchaseImageV1.swift b/Sources/Bagbutik-AppStore/PromotedPurchaseImage/GetPromotedPurchaseImageV1.swift index 316af69dc..905ce97b4 100644 --- a/Sources/Bagbutik-AppStore/PromotedPurchaseImage/GetPromotedPurchaseImageV1.swift +++ b/Sources/Bagbutik-AppStore/PromotedPurchaseImage/GetPromotedPurchaseImageV1.swift @@ -31,7 +31,7 @@ public enum GetPromotedPurchaseImageV1 { /// The fields to include for returned resources of type promotedPurchaseImages case promotedPurchaseImages([PromotedPurchaseImages]) - public enum PromotedPurchaseImages: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchaseImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetToken case assetType case fileName diff --git a/Sources/Bagbutik-AppStore/ReviewSubmission/GetReviewSubmissionV1.swift b/Sources/Bagbutik-AppStore/ReviewSubmission/GetReviewSubmissionV1.swift index 9dc4f607c..3f5088421 100644 --- a/Sources/Bagbutik-AppStore/ReviewSubmission/GetReviewSubmissionV1.swift +++ b/Sources/Bagbutik-AppStore/ReviewSubmission/GetReviewSubmissionV1.swift @@ -36,7 +36,7 @@ public enum GetReviewSubmissionV1 { /// The fields to include for returned resources of type reviewSubmissions case reviewSubmissions([ReviewSubmissions]) - public enum ReviewSubmissionItems: String, ParameterValue, Codable, CaseIterable { + public enum ReviewSubmissionItems: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appEvent case appStoreVersion @@ -48,7 +48,7 @@ public enum GetReviewSubmissionV1 { case state } - public enum ReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum ReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionForReview case canceled diff --git a/Sources/Bagbutik-AppStore/ReviewSubmission/ListReviewSubmissionsV1.swift b/Sources/Bagbutik-AppStore/ReviewSubmission/ListReviewSubmissionsV1.swift index 321794600..525ca6250 100644 --- a/Sources/Bagbutik-AppStore/ReviewSubmission/ListReviewSubmissionsV1.swift +++ b/Sources/Bagbutik-AppStore/ReviewSubmission/ListReviewSubmissionsV1.swift @@ -37,7 +37,7 @@ public enum ListReviewSubmissionsV1 { /// The fields to include for returned resources of type reviewSubmissions case reviewSubmissions([ReviewSubmissions]) - public enum ReviewSubmissionItems: String, ParameterValue, Codable, CaseIterable { + public enum ReviewSubmissionItems: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appEvent case appStoreVersion @@ -49,7 +49,7 @@ public enum ListReviewSubmissionsV1 { case state } - public enum ReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum ReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionForReview case canceled diff --git a/Sources/Bagbutik-AppStore/ReviewSubmission/Relationships/ListItemsForReviewSubmissionV1.swift b/Sources/Bagbutik-AppStore/ReviewSubmission/Relationships/ListItemsForReviewSubmissionV1.swift index 38175f26a..87b5bb9e8 100644 --- a/Sources/Bagbutik-AppStore/ReviewSubmission/Relationships/ListItemsForReviewSubmissionV1.swift +++ b/Sources/Bagbutik-AppStore/ReviewSubmission/Relationships/ListItemsForReviewSubmissionV1.swift @@ -42,7 +42,7 @@ public enum ListItemsForReviewSubmissionV1 { /// The fields to include for returned resources of type reviewSubmissionItems case reviewSubmissionItems([ReviewSubmissionItems]) - public enum AppCustomProductPageVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPageVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPage case appCustomProductPageLocalizations case deepLink @@ -50,7 +50,7 @@ public enum ListItemsForReviewSubmissionV1 { case version } - public enum AppEvents: String, ParameterValue, Codable, CaseIterable { + public enum AppEvents: String, Sendable, ParameterValue, Codable, CaseIterable { case app case archivedTerritorySchedules case badge @@ -65,7 +65,7 @@ public enum ListItemsForReviewSubmissionV1 { case territorySchedules } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersion case appStoreVersionExperimentTreatments @@ -81,7 +81,7 @@ public enum ListItemsForReviewSubmissionV1 { case trafficProportion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -107,7 +107,7 @@ public enum ListItemsForReviewSubmissionV1 { case versionString } - public enum ReviewSubmissionItems: String, ParameterValue, Codable, CaseIterable { + public enum ReviewSubmissionItems: String, Sendable, ParameterValue, Codable, CaseIterable { case appCustomProductPageVersion case appEvent case appStoreVersion diff --git a/Sources/Bagbutik-AppStore/RoutingAppCoverage/GetRoutingAppCoverageV1.swift b/Sources/Bagbutik-AppStore/RoutingAppCoverage/GetRoutingAppCoverageV1.swift index fa7f38c0b..af351e173 100644 --- a/Sources/Bagbutik-AppStore/RoutingAppCoverage/GetRoutingAppCoverageV1.swift +++ b/Sources/Bagbutik-AppStore/RoutingAppCoverage/GetRoutingAppCoverageV1.swift @@ -31,7 +31,7 @@ public enum GetRoutingAppCoverageV1 { /// The fields to include for returned resources of type routingAppCoverages case routingAppCoverages([RoutingAppCoverages]) - public enum RoutingAppCoverages: String, ParameterValue, Codable, CaseIterable { + public enum RoutingAppCoverages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-AppStore/SandboxTester/ListSandboxTestersV2.swift b/Sources/Bagbutik-AppStore/SandboxTester/ListSandboxTestersV2.swift index b8fdc3c76..fc0344f27 100644 --- a/Sources/Bagbutik-AppStore/SandboxTester/ListSandboxTestersV2.swift +++ b/Sources/Bagbutik-AppStore/SandboxTester/ListSandboxTestersV2.swift @@ -29,7 +29,7 @@ public enum ListSandboxTestersV2 { /// The fields to include for returned resources of type sandboxTesters case sandboxTesters([SandboxTesters]) - public enum SandboxTesters: String, ParameterValue, Codable, CaseIterable { + public enum SandboxTesters: String, Sendable, ParameterValue, Codable, CaseIterable { case acAccountName case applePayCompatible case firstName diff --git a/Sources/Bagbutik-AppStore/Subscription/GetSubscriptionV1.swift b/Sources/Bagbutik-AppStore/Subscription/GetSubscriptionV1.swift index a3dad96ce..b46c22c9b 100644 --- a/Sources/Bagbutik-AppStore/Subscription/GetSubscriptionV1.swift +++ b/Sources/Bagbutik-AppStore/Subscription/GetSubscriptionV1.swift @@ -52,7 +52,7 @@ public enum GetSubscriptionV1 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 @@ -62,7 +62,7 @@ public enum GetSubscriptionV1 { case visibleForAllUsers } - public enum SubscriptionAppStoreReviewScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionAppStoreReviewScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case assetToken case assetType @@ -75,13 +75,13 @@ public enum GetSubscriptionV1 { case uploaded } - public enum SubscriptionAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case availableInNewTerritories case availableTerritories case subscription } - public enum SubscriptionIntroductoryOffers: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionIntroductoryOffers: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case endDate case numberOfPeriods @@ -92,7 +92,7 @@ public enum GetSubscriptionV1 { case territory } - public enum SubscriptionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case description case locale case name @@ -100,7 +100,7 @@ public enum GetSubscriptionV1 { case subscription } - public enum SubscriptionOfferCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case customCodes case customerEligibilities @@ -115,7 +115,7 @@ public enum GetSubscriptionV1 { case totalNumberOfCodes } - public enum SubscriptionPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case equalizations case proceeds @@ -124,7 +124,7 @@ public enum GetSubscriptionV1 { case territory } - public enum SubscriptionPrices: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPrices: String, Sendable, ParameterValue, Codable, CaseIterable { case preserveCurrentPrice case preserved case startDate @@ -133,7 +133,7 @@ public enum GetSubscriptionV1 { case territory } - public enum SubscriptionPromotionalOffers: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPromotionalOffers: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case name case numberOfPeriods @@ -143,7 +143,7 @@ public enum GetSubscriptionV1 { case subscription } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group diff --git a/Sources/Bagbutik-AppStore/Subscription/Relationships/GetAppStoreReviewScreenshotForSubscriptionV1.swift b/Sources/Bagbutik-AppStore/Subscription/Relationships/GetAppStoreReviewScreenshotForSubscriptionV1.swift index fe1802c5a..98a4e20d4 100644 --- a/Sources/Bagbutik-AppStore/Subscription/Relationships/GetAppStoreReviewScreenshotForSubscriptionV1.swift +++ b/Sources/Bagbutik-AppStore/Subscription/Relationships/GetAppStoreReviewScreenshotForSubscriptionV1.swift @@ -33,7 +33,7 @@ public enum GetAppStoreReviewScreenshotForSubscriptionV1 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum SubscriptionAppStoreReviewScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionAppStoreReviewScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case assetToken case assetType @@ -46,7 +46,7 @@ public enum GetAppStoreReviewScreenshotForSubscriptionV1 { case uploaded } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group diff --git a/Sources/Bagbutik-AppStore/Subscription/Relationships/GetPromotedPurchaseForSubscriptionV1.swift b/Sources/Bagbutik-AppStore/Subscription/Relationships/GetPromotedPurchaseForSubscriptionV1.swift index 1a815bfef..135c72593 100644 --- a/Sources/Bagbutik-AppStore/Subscription/Relationships/GetPromotedPurchaseForSubscriptionV1.swift +++ b/Sources/Bagbutik-AppStore/Subscription/Relationships/GetPromotedPurchaseForSubscriptionV1.swift @@ -40,7 +40,7 @@ public enum GetPromotedPurchaseForSubscriptionV1 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case content @@ -58,7 +58,7 @@ public enum GetPromotedPurchaseForSubscriptionV1 { case state } - public enum PromotedPurchaseImages: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchaseImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetToken case assetType case fileName @@ -71,7 +71,7 @@ public enum GetPromotedPurchaseForSubscriptionV1 { case uploaded } - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 @@ -81,7 +81,7 @@ public enum GetPromotedPurchaseForSubscriptionV1 { case visibleForAllUsers } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group diff --git a/Sources/Bagbutik-AppStore/Subscription/Relationships/GetSubscriptionAvailabilityForSubscriptionV1.swift b/Sources/Bagbutik-AppStore/Subscription/Relationships/GetSubscriptionAvailabilityForSubscriptionV1.swift index 26e31294d..404e4150b 100644 --- a/Sources/Bagbutik-AppStore/Subscription/Relationships/GetSubscriptionAvailabilityForSubscriptionV1.swift +++ b/Sources/Bagbutik-AppStore/Subscription/Relationships/GetSubscriptionAvailabilityForSubscriptionV1.swift @@ -38,13 +38,13 @@ public enum GetSubscriptionAvailabilityForSubscriptionV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum SubscriptionAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case availableInNewTerritories case availableTerritories case subscription } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group @@ -64,7 +64,7 @@ public enum GetSubscriptionAvailabilityForSubscriptionV1 { case subscriptionPeriod } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListIntroductoryOffersForSubscriptionV1.swift b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListIntroductoryOffersForSubscriptionV1.swift index 342ca893a..bba2f6215 100644 --- a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListIntroductoryOffersForSubscriptionV1.swift +++ b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListIntroductoryOffersForSubscriptionV1.swift @@ -43,7 +43,7 @@ public enum ListIntroductoryOffersForSubscriptionV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum SubscriptionIntroductoryOffers: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionIntroductoryOffers: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case endDate case numberOfPeriods @@ -54,7 +54,7 @@ public enum ListIntroductoryOffersForSubscriptionV1 { case territory } - public enum SubscriptionPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case equalizations case proceeds @@ -63,7 +63,7 @@ public enum ListIntroductoryOffersForSubscriptionV1 { case territory } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group @@ -83,7 +83,7 @@ public enum ListIntroductoryOffersForSubscriptionV1 { case subscriptionPeriod } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListOfferCodesForSubscriptionV1.swift b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListOfferCodesForSubscriptionV1.swift index 15d9b3840..903b23777 100644 --- a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListOfferCodesForSubscriptionV1.swift +++ b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListOfferCodesForSubscriptionV1.swift @@ -45,7 +45,7 @@ public enum ListOfferCodesForSubscriptionV1 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum SubscriptionOfferCodeCustomCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodeCustomCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case createdDate case customCode @@ -54,7 +54,7 @@ public enum ListOfferCodesForSubscriptionV1 { case offerCode } - public enum SubscriptionOfferCodeOneTimeUseCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodeOneTimeUseCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case createdDate case expirationDate @@ -63,12 +63,12 @@ public enum ListOfferCodesForSubscriptionV1 { case values } - public enum SubscriptionOfferCodePrices: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodePrices: String, Sendable, ParameterValue, Codable, CaseIterable { case subscriptionPricePoint case territory } - public enum SubscriptionOfferCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case customCodes case customerEligibilities @@ -83,7 +83,7 @@ public enum ListOfferCodesForSubscriptionV1 { case totalNumberOfCodes } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group diff --git a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPricePointsForSubscriptionV1.swift b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPricePointsForSubscriptionV1.swift index 85d5055f1..3a3cc95d6 100644 --- a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPricePointsForSubscriptionV1.swift +++ b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPricePointsForSubscriptionV1.swift @@ -39,7 +39,7 @@ public enum ListPricePointsForSubscriptionV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum SubscriptionPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case equalizations case proceeds @@ -48,7 +48,7 @@ public enum ListPricePointsForSubscriptionV1 { case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPricesForSubscriptionV1.swift b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPricesForSubscriptionV1.swift index a7805b404..b3cbff0d6 100644 --- a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPricesForSubscriptionV1.swift +++ b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPricesForSubscriptionV1.swift @@ -41,7 +41,7 @@ public enum ListPricesForSubscriptionV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum SubscriptionPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case equalizations case proceeds @@ -50,7 +50,7 @@ public enum ListPricesForSubscriptionV1 { case territory } - public enum SubscriptionPrices: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPrices: String, Sendable, ParameterValue, Codable, CaseIterable { case preserveCurrentPrice case preserved case startDate @@ -59,7 +59,7 @@ public enum ListPricesForSubscriptionV1 { case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPromotionalOffersForSubscriptionV1.swift b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPromotionalOffersForSubscriptionV1.swift index 13350276f..452229d2e 100644 --- a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPromotionalOffersForSubscriptionV1.swift +++ b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListPromotionalOffersForSubscriptionV1.swift @@ -41,12 +41,12 @@ public enum ListPromotionalOffersForSubscriptionV1 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum SubscriptionPromotionalOfferPrices: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPromotionalOfferPrices: String, Sendable, ParameterValue, Codable, CaseIterable { case subscriptionPricePoint case territory } - public enum SubscriptionPromotionalOffers: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPromotionalOffers: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case name case numberOfPeriods @@ -56,7 +56,7 @@ public enum ListPromotionalOffersForSubscriptionV1 { case subscription } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group diff --git a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListSubscriptionLocalizationsForSubscriptionV1.swift b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListSubscriptionLocalizationsForSubscriptionV1.swift index b68a1d997..4432d6fd0 100644 --- a/Sources/Bagbutik-AppStore/Subscription/Relationships/ListSubscriptionLocalizationsForSubscriptionV1.swift +++ b/Sources/Bagbutik-AppStore/Subscription/Relationships/ListSubscriptionLocalizationsForSubscriptionV1.swift @@ -36,7 +36,7 @@ public enum ListSubscriptionLocalizationsForSubscriptionV1 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum SubscriptionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case description case locale case name @@ -44,7 +44,7 @@ public enum ListSubscriptionLocalizationsForSubscriptionV1 { case subscription } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group diff --git a/Sources/Bagbutik-AppStore/SubscriptionAppStoreReviewScreenshot/GetSubscriptionAppStoreReviewScreenshotV1.swift b/Sources/Bagbutik-AppStore/SubscriptionAppStoreReviewScreenshot/GetSubscriptionAppStoreReviewScreenshotV1.swift index 30bea7d99..525e10b2b 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionAppStoreReviewScreenshot/GetSubscriptionAppStoreReviewScreenshotV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionAppStoreReviewScreenshot/GetSubscriptionAppStoreReviewScreenshotV1.swift @@ -31,7 +31,7 @@ public enum GetSubscriptionAppStoreReviewScreenshotV1 { /// The fields to include for returned resources of type subscriptionAppStoreReviewScreenshots case subscriptionAppStoreReviewScreenshots([SubscriptionAppStoreReviewScreenshots]) - public enum SubscriptionAppStoreReviewScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionAppStoreReviewScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case assetToken case assetType diff --git a/Sources/Bagbutik-AppStore/SubscriptionAvailability/GetSubscriptionAvailabilityV1.swift b/Sources/Bagbutik-AppStore/SubscriptionAvailability/GetSubscriptionAvailabilityV1.swift index 19b1901c1..9b562dc3f 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionAvailability/GetSubscriptionAvailabilityV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionAvailability/GetSubscriptionAvailabilityV1.swift @@ -36,13 +36,13 @@ public enum GetSubscriptionAvailabilityV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum SubscriptionAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case availableInNewTerritories case availableTerritories case subscription } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/SubscriptionAvailability/Relationships/ListAvailableTerritoriesForSubscriptionAvailabilityV1.swift b/Sources/Bagbutik-AppStore/SubscriptionAvailability/Relationships/ListAvailableTerritoriesForSubscriptionAvailabilityV1.swift index 9b1c563c6..b5d3deaa7 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionAvailability/Relationships/ListAvailableTerritoriesForSubscriptionAvailabilityV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionAvailability/Relationships/ListAvailableTerritoriesForSubscriptionAvailabilityV1.swift @@ -31,7 +31,7 @@ public enum ListAvailableTerritoriesForSubscriptionAvailabilityV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/SubscriptionGracePeriod/GetSubscriptionGracePeriodV1.swift b/Sources/Bagbutik-AppStore/SubscriptionGracePeriod/GetSubscriptionGracePeriodV1.swift index 0445b3b71..a939b054d 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionGracePeriod/GetSubscriptionGracePeriodV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionGracePeriod/GetSubscriptionGracePeriodV1.swift @@ -28,7 +28,7 @@ public enum GetSubscriptionGracePeriodV1 { /// The fields to include for returned resources of type subscriptionGracePeriods case subscriptionGracePeriods([SubscriptionGracePeriods]) - public enum SubscriptionGracePeriods: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGracePeriods: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case optIn case renewalType diff --git a/Sources/Bagbutik-AppStore/SubscriptionGroup/GetSubscriptionGroupV1.swift b/Sources/Bagbutik-AppStore/SubscriptionGroup/GetSubscriptionGroupV1.swift index 88a7d6bef..bce6a5434 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionGroup/GetSubscriptionGroupV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionGroup/GetSubscriptionGroupV1.swift @@ -38,7 +38,7 @@ public enum GetSubscriptionGroupV1 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum SubscriptionGroupLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroupLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case customAppName case locale case name @@ -46,14 +46,14 @@ public enum GetSubscriptionGroupV1 { case subscriptionGroup } - public enum SubscriptionGroups: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case referenceName case subscriptionGroupLocalizations case subscriptions } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group diff --git a/Sources/Bagbutik-AppStore/SubscriptionGroup/Relationships/ListSubscriptionGroupLocalizationsForSubscriptionGroupV1.swift b/Sources/Bagbutik-AppStore/SubscriptionGroup/Relationships/ListSubscriptionGroupLocalizationsForSubscriptionGroupV1.swift index 120c57296..5d611be09 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionGroup/Relationships/ListSubscriptionGroupLocalizationsForSubscriptionGroupV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionGroup/Relationships/ListSubscriptionGroupLocalizationsForSubscriptionGroupV1.swift @@ -36,7 +36,7 @@ public enum ListSubscriptionGroupLocalizationsForSubscriptionGroupV1 { /// The fields to include for returned resources of type subscriptionGroups case subscriptionGroups([SubscriptionGroups]) - public enum SubscriptionGroupLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroupLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case customAppName case locale case name @@ -44,7 +44,7 @@ public enum ListSubscriptionGroupLocalizationsForSubscriptionGroupV1 { case subscriptionGroup } - public enum SubscriptionGroups: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case referenceName case subscriptionGroupLocalizations diff --git a/Sources/Bagbutik-AppStore/SubscriptionGroup/Relationships/ListSubscriptionsForSubscriptionGroupV1.swift b/Sources/Bagbutik-AppStore/SubscriptionGroup/Relationships/ListSubscriptionsForSubscriptionGroupV1.swift index c2aa3ee13..33b36cc71 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionGroup/Relationships/ListSubscriptionsForSubscriptionGroupV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionGroup/Relationships/ListSubscriptionsForSubscriptionGroupV1.swift @@ -58,7 +58,7 @@ public enum ListSubscriptionsForSubscriptionGroupV1 { /// The fields to include for returned resources of type subscriptions case subscriptions([Subscriptions]) - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 @@ -68,7 +68,7 @@ public enum ListSubscriptionsForSubscriptionGroupV1 { case visibleForAllUsers } - public enum SubscriptionAppStoreReviewScreenshots: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionAppStoreReviewScreenshots: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case assetToken case assetType @@ -81,20 +81,20 @@ public enum ListSubscriptionsForSubscriptionGroupV1 { case uploaded } - public enum SubscriptionAvailabilities: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionAvailabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case availableInNewTerritories case availableTerritories case subscription } - public enum SubscriptionGroups: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case referenceName case subscriptionGroupLocalizations case subscriptions } - public enum SubscriptionIntroductoryOffers: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionIntroductoryOffers: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case endDate case numberOfPeriods @@ -105,7 +105,7 @@ public enum ListSubscriptionsForSubscriptionGroupV1 { case territory } - public enum SubscriptionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case description case locale case name @@ -113,7 +113,7 @@ public enum ListSubscriptionsForSubscriptionGroupV1 { case subscription } - public enum SubscriptionOfferCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case customCodes case customerEligibilities @@ -128,7 +128,7 @@ public enum ListSubscriptionsForSubscriptionGroupV1 { case totalNumberOfCodes } - public enum SubscriptionPrices: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPrices: String, Sendable, ParameterValue, Codable, CaseIterable { case preserveCurrentPrice case preserved case startDate @@ -137,7 +137,7 @@ public enum ListSubscriptionsForSubscriptionGroupV1 { case territory } - public enum SubscriptionPromotionalOffers: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPromotionalOffers: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case name case numberOfPeriods @@ -147,7 +147,7 @@ public enum ListSubscriptionsForSubscriptionGroupV1 { case subscription } - public enum Subscriptions: String, ParameterValue, Codable, CaseIterable { + public enum Subscriptions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewScreenshot case familySharable case group @@ -179,7 +179,7 @@ public enum ListSubscriptionsForSubscriptionGroupV1 { /// Filter by attribute 'state' case state([State]) - public enum State: String, ParameterValue, Codable, CaseIterable { + public enum State: String, Sendable, ParameterValue, Codable, CaseIterable { case approved = "APPROVED" case developerActionNeeded = "DEVELOPER_ACTION_NEEDED" case developerRemovedFromSale = "DEVELOPER_REMOVED_FROM_SALE" diff --git a/Sources/Bagbutik-AppStore/SubscriptionGroupLocalization/GetSubscriptionGroupLocalizationV1.swift b/Sources/Bagbutik-AppStore/SubscriptionGroupLocalization/GetSubscriptionGroupLocalizationV1.swift index 56458590a..fd526dafc 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionGroupLocalization/GetSubscriptionGroupLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionGroupLocalization/GetSubscriptionGroupLocalizationV1.swift @@ -31,7 +31,7 @@ public enum GetSubscriptionGroupLocalizationV1 { /// The fields to include for returned resources of type subscriptionGroupLocalizations case subscriptionGroupLocalizations([SubscriptionGroupLocalizations]) - public enum SubscriptionGroupLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroupLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case customAppName case locale case name diff --git a/Sources/Bagbutik-AppStore/SubscriptionLocalization/GetSubscriptionLocalizationV1.swift b/Sources/Bagbutik-AppStore/SubscriptionLocalization/GetSubscriptionLocalizationV1.swift index 7e86d3f10..dcf904838 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionLocalization/GetSubscriptionLocalizationV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionLocalization/GetSubscriptionLocalizationV1.swift @@ -31,7 +31,7 @@ public enum GetSubscriptionLocalizationV1 { /// The fields to include for returned resources of type subscriptionLocalizations case subscriptionLocalizations([SubscriptionLocalizations]) - public enum SubscriptionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case description case locale case name diff --git a/Sources/Bagbutik-AppStore/SubscriptionOfferCode/GetSubscriptionOfferCodeV1.swift b/Sources/Bagbutik-AppStore/SubscriptionOfferCode/GetSubscriptionOfferCodeV1.swift index 2c53f8d98..e23519cdf 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionOfferCode/GetSubscriptionOfferCodeV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionOfferCode/GetSubscriptionOfferCodeV1.swift @@ -40,7 +40,7 @@ public enum GetSubscriptionOfferCodeV1 { /// The fields to include for returned resources of type subscriptionOfferCodes case subscriptionOfferCodes([SubscriptionOfferCodes]) - public enum SubscriptionOfferCodeCustomCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodeCustomCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case createdDate case customCode @@ -49,7 +49,7 @@ public enum GetSubscriptionOfferCodeV1 { case offerCode } - public enum SubscriptionOfferCodeOneTimeUseCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodeOneTimeUseCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case createdDate case expirationDate @@ -58,12 +58,12 @@ public enum GetSubscriptionOfferCodeV1 { case values } - public enum SubscriptionOfferCodePrices: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodePrices: String, Sendable, ParameterValue, Codable, CaseIterable { case subscriptionPricePoint case territory } - public enum SubscriptionOfferCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case customCodes case customerEligibilities diff --git a/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListCustomCodesForSubscriptionOfferCodeV1.swift b/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListCustomCodesForSubscriptionOfferCodeV1.swift index edd7e7664..9dc44a9a2 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListCustomCodesForSubscriptionOfferCodeV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListCustomCodesForSubscriptionOfferCodeV1.swift @@ -36,7 +36,7 @@ public enum ListCustomCodesForSubscriptionOfferCodeV1 { /// The fields to include for returned resources of type subscriptionOfferCodes case subscriptionOfferCodes([SubscriptionOfferCodes]) - public enum SubscriptionOfferCodeCustomCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodeCustomCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case createdDate case customCode @@ -45,7 +45,7 @@ public enum ListCustomCodesForSubscriptionOfferCodeV1 { case offerCode } - public enum SubscriptionOfferCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case customCodes case customerEligibilities diff --git a/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListOneTimeUseCodesForSubscriptionOfferCodeV1.swift b/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListOneTimeUseCodesForSubscriptionOfferCodeV1.swift index f1443180b..298462c3f 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListOneTimeUseCodesForSubscriptionOfferCodeV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListOneTimeUseCodesForSubscriptionOfferCodeV1.swift @@ -36,7 +36,7 @@ public enum ListOneTimeUseCodesForSubscriptionOfferCodeV1 { /// The fields to include for returned resources of type subscriptionOfferCodes case subscriptionOfferCodes([SubscriptionOfferCodes]) - public enum SubscriptionOfferCodeOneTimeUseCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodeOneTimeUseCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case createdDate case expirationDate @@ -45,7 +45,7 @@ public enum ListOneTimeUseCodesForSubscriptionOfferCodeV1 { case values } - public enum SubscriptionOfferCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case customCodes case customerEligibilities diff --git a/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListPricesForSubscriptionOfferCodeV1.swift b/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListPricesForSubscriptionOfferCodeV1.swift index 5c044a62e..168598deb 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListPricesForSubscriptionOfferCodeV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionOfferCode/Relationships/ListPricesForSubscriptionOfferCodeV1.swift @@ -41,12 +41,12 @@ public enum ListPricesForSubscriptionOfferCodeV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum SubscriptionOfferCodePrices: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodePrices: String, Sendable, ParameterValue, Codable, CaseIterable { case subscriptionPricePoint case territory } - public enum SubscriptionPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case equalizations case proceeds @@ -55,7 +55,7 @@ public enum ListPricesForSubscriptionOfferCodeV1 { case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/SubscriptionOfferCodeCustomCode/GetSubscriptionOfferCodeCustomCodeV1.swift b/Sources/Bagbutik-AppStore/SubscriptionOfferCodeCustomCode/GetSubscriptionOfferCodeCustomCodeV1.swift index 20f447267..729ed8b86 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionOfferCodeCustomCode/GetSubscriptionOfferCodeCustomCodeV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionOfferCodeCustomCode/GetSubscriptionOfferCodeCustomCodeV1.swift @@ -31,7 +31,7 @@ public enum GetSubscriptionOfferCodeCustomCodeV1 { /// The fields to include for returned resources of type subscriptionOfferCodeCustomCodes case subscriptionOfferCodeCustomCodes([SubscriptionOfferCodeCustomCodes]) - public enum SubscriptionOfferCodeCustomCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodeCustomCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case createdDate case customCode diff --git a/Sources/Bagbutik-AppStore/SubscriptionOfferCodeOneTimeUseCode/GetSubscriptionOfferCodeOneTimeUseCodeV1.swift b/Sources/Bagbutik-AppStore/SubscriptionOfferCodeOneTimeUseCode/GetSubscriptionOfferCodeOneTimeUseCodeV1.swift index 0a8c0004d..13b173762 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionOfferCodeOneTimeUseCode/GetSubscriptionOfferCodeOneTimeUseCodeV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionOfferCodeOneTimeUseCode/GetSubscriptionOfferCodeOneTimeUseCodeV1.swift @@ -31,7 +31,7 @@ public enum GetSubscriptionOfferCodeOneTimeUseCodeV1 { /// The fields to include for returned resources of type subscriptionOfferCodeOneTimeUseCodes case subscriptionOfferCodeOneTimeUseCodes([SubscriptionOfferCodeOneTimeUseCodes]) - public enum SubscriptionOfferCodeOneTimeUseCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodeOneTimeUseCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case createdDate case expirationDate diff --git a/Sources/Bagbutik-AppStore/SubscriptionPricePoint/GetSubscriptionPricePointV1.swift b/Sources/Bagbutik-AppStore/SubscriptionPricePoint/GetSubscriptionPricePointV1.swift index f953d46b8..89bd7b0d4 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionPricePoint/GetSubscriptionPricePointV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionPricePoint/GetSubscriptionPricePointV1.swift @@ -31,7 +31,7 @@ public enum GetSubscriptionPricePointV1 { /// The fields to include for returned resources of type subscriptionPricePoints case subscriptionPricePoints([SubscriptionPricePoints]) - public enum SubscriptionPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case equalizations case proceeds diff --git a/Sources/Bagbutik-AppStore/SubscriptionPricePoint/Relationships/ListEqualizationsForSubscriptionPricePointV1.swift b/Sources/Bagbutik-AppStore/SubscriptionPricePoint/Relationships/ListEqualizationsForSubscriptionPricePointV1.swift index aa59792ee..0d7be317f 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionPricePoint/Relationships/ListEqualizationsForSubscriptionPricePointV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionPricePoint/Relationships/ListEqualizationsForSubscriptionPricePointV1.swift @@ -39,7 +39,7 @@ public enum ListEqualizationsForSubscriptionPricePointV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum SubscriptionPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case equalizations case proceeds @@ -48,7 +48,7 @@ public enum ListEqualizationsForSubscriptionPricePointV1 { case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/SubscriptionPromotionalOffer/GetSubscriptionPromotionalOfferV1.swift b/Sources/Bagbutik-AppStore/SubscriptionPromotionalOffer/GetSubscriptionPromotionalOfferV1.swift index bfb2f62b4..0d58b8df1 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionPromotionalOffer/GetSubscriptionPromotionalOfferV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionPromotionalOffer/GetSubscriptionPromotionalOfferV1.swift @@ -36,12 +36,12 @@ public enum GetSubscriptionPromotionalOfferV1 { /// The fields to include for returned resources of type subscriptionPromotionalOffers case subscriptionPromotionalOffers([SubscriptionPromotionalOffers]) - public enum SubscriptionPromotionalOfferPrices: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPromotionalOfferPrices: String, Sendable, ParameterValue, Codable, CaseIterable { case subscriptionPricePoint case territory } - public enum SubscriptionPromotionalOffers: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPromotionalOffers: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case name case numberOfPeriods diff --git a/Sources/Bagbutik-AppStore/SubscriptionPromotionalOffer/Relationships/ListPricesForSubscriptionPromotionalOfferV1.swift b/Sources/Bagbutik-AppStore/SubscriptionPromotionalOffer/Relationships/ListPricesForSubscriptionPromotionalOfferV1.swift index 60f18340e..829adb10e 100644 --- a/Sources/Bagbutik-AppStore/SubscriptionPromotionalOffer/Relationships/ListPricesForSubscriptionPromotionalOfferV1.swift +++ b/Sources/Bagbutik-AppStore/SubscriptionPromotionalOffer/Relationships/ListPricesForSubscriptionPromotionalOfferV1.swift @@ -41,7 +41,7 @@ public enum ListPricesForSubscriptionPromotionalOfferV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum SubscriptionPricePoints: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPricePoints: String, Sendable, ParameterValue, Codable, CaseIterable { case customerPrice case equalizations case proceeds @@ -50,12 +50,12 @@ public enum ListPricesForSubscriptionPromotionalOfferV1 { case territory } - public enum SubscriptionPromotionalOfferPrices: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionPromotionalOfferPrices: String, Sendable, ParameterValue, Codable, CaseIterable { case subscriptionPricePoint case territory } - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-AppStore/Territory/ListTerritoriesV1.swift b/Sources/Bagbutik-AppStore/Territory/ListTerritoriesV1.swift index fadfcf3b3..e5e9641af 100644 --- a/Sources/Bagbutik-AppStore/Territory/ListTerritoriesV1.swift +++ b/Sources/Bagbutik-AppStore/Territory/ListTerritoriesV1.swift @@ -29,7 +29,7 @@ public enum ListTerritoriesV1 { /// The fields to include for returned resources of type territories case territories([Territories]) - public enum Territories: String, ParameterValue, Codable, CaseIterable { + public enum Territories: String, Sendable, ParameterValue, Codable, CaseIterable { case currency } } diff --git a/Sources/Bagbutik-Core/Clearable.swift b/Sources/Bagbutik-Core/Clearable.swift index ed4d5a4a4..fcea58b39 100644 --- a/Sources/Bagbutik-Core/Clearable.swift +++ b/Sources/Bagbutik-Core/Clearable.swift @@ -1,7 +1,7 @@ import Foundation /// Wrapper for a property that can be cleared. Used in `UpdateRequest`s. -public enum Clearable: Codable, Equatable where Value: Codable & Equatable { +public enum Clearable: Codable, Equatable, Sendable where Value: Codable & Equatable & Sendable { /// The value to set case value(Value) /// Clear current value diff --git a/Sources/Bagbutik-Core/Models/DocumentLinks.swift b/Sources/Bagbutik-Core/Models/DocumentLinks.swift index f6b702172..4af7c184d 100644 --- a/Sources/Bagbutik-Core/Models/DocumentLinks.swift +++ b/Sources/Bagbutik-Core/Models/DocumentLinks.swift @@ -9,7 +9,7 @@ import Foundation Full documentation: */ -public struct DocumentLinks: Codable { +public struct DocumentLinks: Codable, Sendable { /// The link that produced the current document. public let itself: String diff --git a/Sources/Bagbutik-Core/Models/ErrorResponse.swift b/Sources/Bagbutik-Core/Models/ErrorResponse.swift index edae32ab1..f62548f49 100644 --- a/Sources/Bagbutik-Core/Models/ErrorResponse.swift +++ b/Sources/Bagbutik-Core/Models/ErrorResponse.swift @@ -7,7 +7,7 @@ import Foundation Full documentation: */ -public struct ErrorResponse: Codable, Error { +public struct ErrorResponse: Codable, Sendable, Error { /// An array of one or more errors. public var errors: [Errors]? @@ -34,7 +34,7 @@ public struct ErrorResponse: Codable, Error { Full documentation: */ - public struct Errors: Codable, Identifiable, Sendable { + public struct Errors: Codable, Sendable, Identifiable { /// A machine-readable code indicating the type of error. The code is a hierarchical value with levels of specificity separated by the '`.`' character. This value is parseable for programmatic error handling in code. public let code: String /// A detailed explanation of the error. Do not use this field for programmatic error handling. diff --git a/Sources/Bagbutik-Core/Models/PagedDocumentLinks.swift b/Sources/Bagbutik-Core/Models/PagedDocumentLinks.swift index 78c13c195..55b17d7a2 100644 --- a/Sources/Bagbutik-Core/Models/PagedDocumentLinks.swift +++ b/Sources/Bagbutik-Core/Models/PagedDocumentLinks.swift @@ -9,7 +9,7 @@ import Foundation Full documentation: */ -public struct PagedDocumentLinks: Codable { +public struct PagedDocumentLinks: Codable, Sendable { /// The link to the first page of documents. public var first: String? /// The link to the next page of documents. diff --git a/Sources/Bagbutik-Core/Models/PagingInformation.swift b/Sources/Bagbutik-Core/Models/PagingInformation.swift index cab7c465f..4fb95af8f 100644 --- a/Sources/Bagbutik-Core/Models/PagingInformation.swift +++ b/Sources/Bagbutik-Core/Models/PagingInformation.swift @@ -7,7 +7,7 @@ import Foundation Full documentation: */ -public struct PagingInformation: Codable { +public struct PagingInformation: Codable, Sendable { /// The paging information details. public let paging: Paging @@ -37,7 +37,7 @@ public struct PagingInformation: Codable { Full documentation: */ - public struct Paging: Codable { + public struct Paging: Codable, Sendable { /// The maximum number of resources to return per page, from 0 to 200. public let limit: Int /// The total number of resources matching your request. diff --git a/Sources/Bagbutik-Core/Models/ResourceLinks.swift b/Sources/Bagbutik-Core/Models/ResourceLinks.swift index 561d00450..3c8c716e5 100644 --- a/Sources/Bagbutik-Core/Models/ResourceLinks.swift +++ b/Sources/Bagbutik-Core/Models/ResourceLinks.swift @@ -7,7 +7,7 @@ import Foundation Full documentation: */ -public struct ResourceLinks: Codable { +public struct ResourceLinks: Codable, Sendable { /// The link to the resource. public var itself: String? diff --git a/Sources/Bagbutik-Core/PropertyWrappers/NullCodable.swift b/Sources/Bagbutik-Core/PropertyWrappers/NullCodable.swift index 84463f78a..e981f30b0 100644 --- a/Sources/Bagbutik-Core/PropertyWrappers/NullCodable.swift +++ b/Sources/Bagbutik-Core/PropertyWrappers/NullCodable.swift @@ -2,7 +2,7 @@ import Foundation /// A property wrapper to use on properties that should be encoded with a `null` value (instead of being omitted). @propertyWrapper -public struct NullCodable: Codable where Value: Codable { +public struct NullCodable: Codable, Sendable where Value: Codable & Sendable { /// The wrapped value. public var wrappedValue: Value? diff --git a/Sources/Bagbutik-GameCenter/App/Relationships/GetGameCenterDetailForAppV1.swift b/Sources/Bagbutik-GameCenter/App/Relationships/GetGameCenterDetailForAppV1.swift index 99b82c29d..aecaa8ba7 100644 --- a/Sources/Bagbutik-GameCenter/App/Relationships/GetGameCenterDetailForAppV1.swift +++ b/Sources/Bagbutik-GameCenter/App/Relationships/GetGameCenterDetailForAppV1.swift @@ -52,7 +52,7 @@ public enum GetGameCenterDetailForAppV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -98,13 +98,13 @@ public enum GetGameCenterDetailForAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -118,13 +118,13 @@ public enum GetGameCenterDetailForAppV1 { case vendorIdentifier } - public enum GameCenterAppVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAppVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case compatibilityVersions case enabled } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -140,7 +140,7 @@ public enum GetGameCenterDetailForAppV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -148,19 +148,19 @@ public enum GetGameCenterDetailForAppV1 { case referenceName } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -171,7 +171,7 @@ public enum GetGameCenterDetailForAppV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterAchievement/GetGameCenterAchievementV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAchievement/GetGameCenterAchievementV1.swift index 142ba9a55..8455d3616 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAchievement/GetGameCenterAchievementV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAchievement/GetGameCenterAchievementV1.swift @@ -38,7 +38,7 @@ public enum GetGameCenterAchievementV1 { /// The fields to include for returned resources of type gameCenterAchievements case gameCenterAchievements([GameCenterAchievements]) - public enum GameCenterAchievementLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case afterEarnedDescription case beforeEarnedDescription case gameCenterAchievement @@ -47,13 +47,13 @@ public enum GetGameCenterAchievementV1 { case name } - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup diff --git a/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/GetGroupAchievementForGameCenterAchievementV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/GetGroupAchievementForGameCenterAchievementV1.swift index daa2554d6..ecb2a78dc 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/GetGroupAchievementForGameCenterAchievementV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/GetGroupAchievementForGameCenterAchievementV1.swift @@ -42,7 +42,7 @@ public enum GetGroupAchievementForGameCenterAchievementV1 { /// The fields to include for returned resources of type gameCenterGroups case gameCenterGroups([GameCenterGroups]) - public enum GameCenterAchievementLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case afterEarnedDescription case beforeEarnedDescription case gameCenterAchievement @@ -51,13 +51,13 @@ public enum GetGroupAchievementForGameCenterAchievementV1 { case name } - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -71,7 +71,7 @@ public enum GetGroupAchievementForGameCenterAchievementV1 { case vendorIdentifier } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -87,7 +87,7 @@ public enum GetGroupAchievementForGameCenterAchievementV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets diff --git a/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/ListLocalizationsForGameCenterAchievementV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/ListLocalizationsForGameCenterAchievementV1.swift index 792e979cb..60ddd2f99 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/ListLocalizationsForGameCenterAchievementV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/ListLocalizationsForGameCenterAchievementV1.swift @@ -38,7 +38,7 @@ public enum ListLocalizationsForGameCenterAchievementV1 { /// The fields to include for returned resources of type gameCenterAchievements case gameCenterAchievements([GameCenterAchievements]) - public enum GameCenterAchievementImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize @@ -48,7 +48,7 @@ public enum ListLocalizationsForGameCenterAchievementV1 { case uploaded } - public enum GameCenterAchievementLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case afterEarnedDescription case beforeEarnedDescription case gameCenterAchievement @@ -57,7 +57,7 @@ public enum ListLocalizationsForGameCenterAchievementV1 { case name } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup diff --git a/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/ListReleasesForGameCenterAchievementV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/ListReleasesForGameCenterAchievementV1.swift index 2f3b5becf..0286ebb83 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/ListReleasesForGameCenterAchievementV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAchievement/Relationships/ListReleasesForGameCenterAchievementV1.swift @@ -41,13 +41,13 @@ public enum ListReleasesForGameCenterAchievementV1 { /// The fields to include for returned resources of type gameCenterDetails case gameCenterDetails([GameCenterDetails]) - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -61,7 +61,7 @@ public enum ListReleasesForGameCenterAchievementV1 { case vendorIdentifier } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled diff --git a/Sources/Bagbutik-GameCenter/GameCenterAchievementImage/GetGameCenterAchievementImageV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAchievementImage/GetGameCenterAchievementImageV1.swift index e0a32137d..63fbf7b8c 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAchievementImage/GetGameCenterAchievementImageV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAchievementImage/GetGameCenterAchievementImageV1.swift @@ -31,7 +31,7 @@ public enum GetGameCenterAchievementImageV1 { /// The fields to include for returned resources of type gameCenterAchievementImages case gameCenterAchievementImages([GameCenterAchievementImages]) - public enum GameCenterAchievementImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize diff --git a/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/GetGameCenterAchievementLocalizationV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/GetGameCenterAchievementLocalizationV1.swift index b904eaa06..f03d4554d 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/GetGameCenterAchievementLocalizationV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/GetGameCenterAchievementLocalizationV1.swift @@ -35,7 +35,7 @@ public enum GetGameCenterAchievementLocalizationV1 { /// The fields to include for returned resources of type gameCenterAchievements case gameCenterAchievements([GameCenterAchievements]) - public enum GameCenterAchievementImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize @@ -45,7 +45,7 @@ public enum GetGameCenterAchievementLocalizationV1 { case uploaded } - public enum GameCenterAchievementLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case afterEarnedDescription case beforeEarnedDescription case gameCenterAchievement @@ -54,7 +54,7 @@ public enum GetGameCenterAchievementLocalizationV1 { case name } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup diff --git a/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/Relationships/GetGameCenterAchievementForGameCenterAchievementLocalizationV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/Relationships/GetGameCenterAchievementForGameCenterAchievementLocalizationV1.swift index 3f3b6798e..e22ab1d1d 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/Relationships/GetGameCenterAchievementForGameCenterAchievementLocalizationV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/Relationships/GetGameCenterAchievementForGameCenterAchievementLocalizationV1.swift @@ -42,7 +42,7 @@ public enum GetGameCenterAchievementForGameCenterAchievementLocalizationV1 { /// The fields to include for returned resources of type gameCenterGroups case gameCenterGroups([GameCenterGroups]) - public enum GameCenterAchievementLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case afterEarnedDescription case beforeEarnedDescription case gameCenterAchievement @@ -51,13 +51,13 @@ public enum GetGameCenterAchievementForGameCenterAchievementLocalizationV1 { case name } - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -71,7 +71,7 @@ public enum GetGameCenterAchievementForGameCenterAchievementLocalizationV1 { case vendorIdentifier } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -87,7 +87,7 @@ public enum GetGameCenterAchievementForGameCenterAchievementLocalizationV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets diff --git a/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/Relationships/GetGameCenterAchievementImageForGameCenterAchievementLocalizationV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/Relationships/GetGameCenterAchievementImageForGameCenterAchievementLocalizationV1.swift index 912a486fc..d881bdf35 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/Relationships/GetGameCenterAchievementImageForGameCenterAchievementLocalizationV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAchievementLocalization/Relationships/GetGameCenterAchievementImageForGameCenterAchievementLocalizationV1.swift @@ -33,7 +33,7 @@ public enum GetGameCenterAchievementImageForGameCenterAchievementLocalizationV1 /// The fields to include for returned resources of type gameCenterAchievementLocalizations case gameCenterAchievementLocalizations([GameCenterAchievementLocalizations]) - public enum GameCenterAchievementImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize @@ -43,7 +43,7 @@ public enum GetGameCenterAchievementImageForGameCenterAchievementLocalizationV1 case uploaded } - public enum GameCenterAchievementLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case afterEarnedDescription case beforeEarnedDescription case gameCenterAchievement diff --git a/Sources/Bagbutik-GameCenter/GameCenterAchievementRelease/GetGameCenterAchievementReleaseV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAchievementRelease/GetGameCenterAchievementReleaseV1.swift index 54e1dcb95..1ebe3316a 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAchievementRelease/GetGameCenterAchievementReleaseV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAchievementRelease/GetGameCenterAchievementReleaseV1.swift @@ -31,7 +31,7 @@ public enum GetGameCenterAchievementReleaseV1 { /// The fields to include for returned resources of type gameCenterAchievementReleases case gameCenterAchievementReleases([GameCenterAchievementReleases]) - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live diff --git a/Sources/Bagbutik-GameCenter/GameCenterAppVersion/GetGameCenterAppVersionV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAppVersion/GetGameCenterAppVersionV1.swift index ad1e21c63..7dd87e7b9 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAppVersion/GetGameCenterAppVersionV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAppVersion/GetGameCenterAppVersionV1.swift @@ -36,7 +36,7 @@ public enum GetGameCenterAppVersionV1 { /// The fields to include for returned resources of type gameCenterAppVersions case gameCenterAppVersions([GameCenterAppVersions]) - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -62,7 +62,7 @@ public enum GetGameCenterAppVersionV1 { case versionString } - public enum GameCenterAppVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAppVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case compatibilityVersions case enabled diff --git a/Sources/Bagbutik-GameCenter/GameCenterAppVersion/Relationships/GetAppStoreVersionForGameCenterAppVersionV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAppVersion/Relationships/GetAppStoreVersionForGameCenterAppVersionV1.swift index 07db765ea..66be5d9d5 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAppVersion/Relationships/GetAppStoreVersionForGameCenterAppVersionV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAppVersion/Relationships/GetAppStoreVersionForGameCenterAppVersionV1.swift @@ -56,7 +56,7 @@ public enum GetAppStoreVersionForGameCenterAppVersionV1 { /// The fields to include for returned resources of type routingAppCoverages case routingAppCoverages([RoutingAppCoverages]) - public enum AgeRatingDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AgeRatingDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests @@ -77,12 +77,12 @@ public enum GetAppStoreVersionForGameCenterAppVersionV1 { case violenceRealisticProlongedGraphicOrSadistic } - public enum AlternativeDistributionPackages: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case versions } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -91,7 +91,7 @@ public enum GetAppStoreVersionForGameCenterAppVersionV1 { case releaseWithAppStoreVersion } - public enum AppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion case contactEmail @@ -104,7 +104,7 @@ public enum GetAppStoreVersionForGameCenterAppVersionV1 { case notes } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersion case appStoreVersionExperimentTreatments @@ -120,7 +120,7 @@ public enum GetAppStoreVersionForGameCenterAppVersionV1 { case trafficProportion } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion @@ -133,7 +133,7 @@ public enum GetAppStoreVersionForGameCenterAppVersionV1 { case whatsNew } - public enum AppStoreVersionPhasedReleases: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionPhasedReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case currentDayNumber case phasedReleaseState @@ -141,11 +141,11 @@ public enum GetAppStoreVersionForGameCenterAppVersionV1 { case totalPauseDuration } - public enum AppStoreVersionSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -171,7 +171,7 @@ public enum GetAppStoreVersionForGameCenterAppVersionV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -217,7 +217,7 @@ public enum GetAppStoreVersionForGameCenterAppVersionV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -244,7 +244,7 @@ public enum GetAppStoreVersionForGameCenterAppVersionV1 { case version } - public enum RoutingAppCoverages: String, ParameterValue, Codable, CaseIterable { + public enum RoutingAppCoverages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-GameCenter/GameCenterAppVersion/Relationships/ListCompatibilityVersionsForGameCenterAppVersionV1.swift b/Sources/Bagbutik-GameCenter/GameCenterAppVersion/Relationships/ListCompatibilityVersionsForGameCenterAppVersionV1.swift index 136a96232..52465ca53 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterAppVersion/Relationships/ListCompatibilityVersionsForGameCenterAppVersionV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterAppVersion/Relationships/ListCompatibilityVersionsForGameCenterAppVersionV1.swift @@ -39,7 +39,7 @@ public enum ListCompatibilityVersionsForGameCenterAppVersionV1 { /// The fields to include for returned resources of type gameCenterAppVersions case gameCenterAppVersions([GameCenterAppVersions]) - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -65,7 +65,7 @@ public enum ListCompatibilityVersionsForGameCenterAppVersionV1 { case versionString } - public enum GameCenterAppVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAppVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case compatibilityVersions case enabled diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/GetGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/GetGameCenterDetailV1.swift index d486981b5..cb6280afd 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/GetGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/GetGameCenterDetailV1.swift @@ -50,13 +50,13 @@ public enum GetGameCenterDetailV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -70,13 +70,13 @@ public enum GetGameCenterDetailV1 { case vendorIdentifier } - public enum GameCenterAppVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAppVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case compatibilityVersions case enabled } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -92,7 +92,7 @@ public enum GetGameCenterDetailV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -100,19 +100,19 @@ public enum GetGameCenterDetailV1 { case referenceName } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -123,7 +123,7 @@ public enum GetGameCenterDetailV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetGameCenterGroupForGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetGameCenterGroupForGameCenterDetailV1.swift index 225889609..af6d749cb 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetGameCenterGroupForGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetGameCenterGroupForGameCenterDetailV1.swift @@ -42,7 +42,7 @@ public enum GetGameCenterGroupForGameCenterDetailV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -56,7 +56,7 @@ public enum GetGameCenterGroupForGameCenterDetailV1 { case vendorIdentifier } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -72,7 +72,7 @@ public enum GetGameCenterGroupForGameCenterDetailV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -80,7 +80,7 @@ public enum GetGameCenterGroupForGameCenterDetailV1 { case referenceName } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -91,7 +91,7 @@ public enum GetGameCenterGroupForGameCenterDetailV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetMetricsForClassicMatchmakingRequestInGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetMetricsForClassicMatchmakingRequestInGameCenterDetailV1.swift index e97853aa9..c8f29515a 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetMetricsForClassicMatchmakingRequestInGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetMetricsForClassicMatchmakingRequestInGameCenterDetailV1.swift @@ -42,7 +42,7 @@ public enum GetMetricsForClassicMatchmakingRequestInGameCenterDetailV1 { /// Filter by 'result' attribute dimension case result([Result]) - public enum Result: String, ParameterValue, Codable, CaseIterable { + public enum Result: String, Sendable, ParameterValue, Codable, CaseIterable { case canceled = "CANCELED" case expired = "EXPIRED" case matched = "MATCHED" @@ -66,7 +66,7 @@ public enum GetMetricsForClassicMatchmakingRequestInGameCenterDetailV1 { /** The granularity of the per-group dataset */ - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case P1D case PT15M case PT1H @@ -75,7 +75,7 @@ public enum GetMetricsForClassicMatchmakingRequestInGameCenterDetailV1 { /** The dimension by which to group the results */ - public enum GroupBy: String, ParameterValue, Codable, CaseIterable { + public enum GroupBy: String, Sendable, ParameterValue, Codable, CaseIterable { case result } } diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetMetricsForRuleBasedMatchmakingRequestInGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetMetricsForRuleBasedMatchmakingRequestInGameCenterDetailV1.swift index 883263221..fb4df2df4 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetMetricsForRuleBasedMatchmakingRequestInGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/GetMetricsForRuleBasedMatchmakingRequestInGameCenterDetailV1.swift @@ -42,7 +42,7 @@ public enum GetMetricsForRuleBasedMatchmakingRequestInGameCenterDetailV1 { /// Filter by 'result' attribute dimension case result([Result]) - public enum Result: String, ParameterValue, Codable, CaseIterable { + public enum Result: String, Sendable, ParameterValue, Codable, CaseIterable { case canceled = "CANCELED" case expired = "EXPIRED" case matched = "MATCHED" @@ -66,7 +66,7 @@ public enum GetMetricsForRuleBasedMatchmakingRequestInGameCenterDetailV1 { /** The granularity of the per-group dataset */ - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case P1D case PT15M case PT1H @@ -75,7 +75,7 @@ public enum GetMetricsForRuleBasedMatchmakingRequestInGameCenterDetailV1 { /** The dimension by which to group the results */ - public enum GroupBy: String, ParameterValue, Codable, CaseIterable { + public enum GroupBy: String, Sendable, ParameterValue, Codable, CaseIterable { case result } } diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListAchievementReleasesForGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListAchievementReleasesForGameCenterDetailV1.swift index 044c09aa6..b824a3068 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListAchievementReleasesForGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListAchievementReleasesForGameCenterDetailV1.swift @@ -41,13 +41,13 @@ public enum ListAchievementReleasesForGameCenterDetailV1 { /// The fields to include for returned resources of type gameCenterDetails case gameCenterDetails([GameCenterDetails]) - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -61,7 +61,7 @@ public enum ListAchievementReleasesForGameCenterDetailV1 { case vendorIdentifier } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterAchievementsForGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterAchievementsForGameCenterDetailV1.swift index f1714bf65..294e59888 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterAchievementsForGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterAchievementsForGameCenterDetailV1.swift @@ -45,7 +45,7 @@ public enum ListGameCenterAchievementsForGameCenterDetailV1 { /// The fields to include for returned resources of type gameCenterGroups case gameCenterGroups([GameCenterGroups]) - public enum GameCenterAchievementLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case afterEarnedDescription case beforeEarnedDescription case gameCenterAchievement @@ -54,13 +54,13 @@ public enum ListGameCenterAchievementsForGameCenterDetailV1 { case name } - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -74,7 +74,7 @@ public enum ListGameCenterAchievementsForGameCenterDetailV1 { case vendorIdentifier } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -90,7 +90,7 @@ public enum ListGameCenterAchievementsForGameCenterDetailV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterAppVersionsForGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterAppVersionsForGameCenterDetailV1.swift index 59eed420a..02312e2df 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterAppVersionsForGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterAppVersionsForGameCenterDetailV1.swift @@ -39,7 +39,7 @@ public enum ListGameCenterAppVersionsForGameCenterDetailV1 { /// The fields to include for returned resources of type gameCenterAppVersions case gameCenterAppVersions([GameCenterAppVersions]) - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -65,7 +65,7 @@ public enum ListGameCenterAppVersionsForGameCenterDetailV1 { case versionString } - public enum GameCenterAppVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAppVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case compatibilityVersions case enabled diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterLeaderboardSetsForGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterLeaderboardSetsForGameCenterDetailV1.swift index 798736d38..cd7114bcd 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterLeaderboardSetsForGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterLeaderboardSetsForGameCenterDetailV1.swift @@ -47,7 +47,7 @@ public enum ListGameCenterLeaderboardSetsForGameCenterDetailV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -63,7 +63,7 @@ public enum ListGameCenterLeaderboardSetsForGameCenterDetailV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -71,20 +71,20 @@ public enum ListGameCenterLeaderboardSetsForGameCenterDetailV1 { case referenceName } - public enum GameCenterLeaderboardSetLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterLeaderboardSet case gameCenterLeaderboardSetImage case locale case name } - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -95,7 +95,7 @@ public enum ListGameCenterLeaderboardSetsForGameCenterDetailV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterLeaderboardsForGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterLeaderboardsForGameCenterDetailV1.swift index 4a9431986..cc6b3571d 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterLeaderboardsForGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListGameCenterLeaderboardsForGameCenterDetailV1.swift @@ -47,7 +47,7 @@ public enum ListGameCenterLeaderboardsForGameCenterDetailV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -63,7 +63,7 @@ public enum ListGameCenterLeaderboardsForGameCenterDetailV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -71,7 +71,7 @@ public enum ListGameCenterLeaderboardsForGameCenterDetailV1 { case referenceName } - public enum GameCenterLeaderboardLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case formatterOverride case formatterSuffix case formatterSuffixSingular @@ -81,13 +81,13 @@ public enum ListGameCenterLeaderboardsForGameCenterDetailV1 { case name } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -98,7 +98,7 @@ public enum ListGameCenterLeaderboardsForGameCenterDetailV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListLeaderboardReleasesForGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListLeaderboardReleasesForGameCenterDetailV1.swift index ddb5212f5..555a578ff 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListLeaderboardReleasesForGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListLeaderboardReleasesForGameCenterDetailV1.swift @@ -41,7 +41,7 @@ public enum ListLeaderboardReleasesForGameCenterDetailV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -57,13 +57,13 @@ public enum ListLeaderboardReleasesForGameCenterDetailV1 { case leaderboardSetReleases } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListLeaderboardSetReleasesForGameCenterDetailV1.swift b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListLeaderboardSetReleasesForGameCenterDetailV1.swift index 261119f7e..f1f372a76 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListLeaderboardSetReleasesForGameCenterDetailV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterDetail/Relationships/ListLeaderboardSetReleasesForGameCenterDetailV1.swift @@ -41,7 +41,7 @@ public enum ListLeaderboardSetReleasesForGameCenterDetailV1 { /// The fields to include for returned resources of type gameCenterLeaderboardSets case gameCenterLeaderboardSets([GameCenterLeaderboardSets]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -57,13 +57,13 @@ public enum ListLeaderboardSetReleasesForGameCenterDetailV1 { case leaderboardSetReleases } - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards diff --git a/Sources/Bagbutik-GameCenter/GameCenterGroup/GetGameCenterGroupV1.swift b/Sources/Bagbutik-GameCenter/GameCenterGroup/GetGameCenterGroupV1.swift index 57e891d30..3dddb17eb 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterGroup/GetGameCenterGroupV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterGroup/GetGameCenterGroupV1.swift @@ -42,7 +42,7 @@ public enum GetGameCenterGroupV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -56,7 +56,7 @@ public enum GetGameCenterGroupV1 { case vendorIdentifier } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -72,7 +72,7 @@ public enum GetGameCenterGroupV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -80,7 +80,7 @@ public enum GetGameCenterGroupV1 { case referenceName } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -91,7 +91,7 @@ public enum GetGameCenterGroupV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterGroup/ListGameCenterGroupsV1.swift b/Sources/Bagbutik-GameCenter/GameCenterGroup/ListGameCenterGroupsV1.swift index 2a6e2d603..23da3dbfa 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterGroup/ListGameCenterGroupsV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterGroup/ListGameCenterGroupsV1.swift @@ -43,7 +43,7 @@ public enum ListGameCenterGroupsV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -57,7 +57,7 @@ public enum ListGameCenterGroupsV1 { case vendorIdentifier } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -73,7 +73,7 @@ public enum ListGameCenterGroupsV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -81,7 +81,7 @@ public enum ListGameCenterGroupsV1 { case referenceName } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -92,7 +92,7 @@ public enum ListGameCenterGroupsV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterAchievementsForGameCenterGroupV1.swift b/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterAchievementsForGameCenterGroupV1.swift index 3867bc90d..07f9f9e20 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterAchievementsForGameCenterGroupV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterAchievementsForGameCenterGroupV1.swift @@ -45,7 +45,7 @@ public enum ListGameCenterAchievementsForGameCenterGroupV1 { /// The fields to include for returned resources of type gameCenterGroups case gameCenterGroups([GameCenterGroups]) - public enum GameCenterAchievementLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case afterEarnedDescription case beforeEarnedDescription case gameCenterAchievement @@ -54,13 +54,13 @@ public enum ListGameCenterAchievementsForGameCenterGroupV1 { case name } - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -74,7 +74,7 @@ public enum ListGameCenterAchievementsForGameCenterGroupV1 { case vendorIdentifier } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -90,7 +90,7 @@ public enum ListGameCenterAchievementsForGameCenterGroupV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets diff --git a/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterDetailsForGameCenterGroupV1.swift b/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterDetailsForGameCenterGroupV1.swift index 4c685c8eb..cc3781548 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterDetailsForGameCenterGroupV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterDetailsForGameCenterGroupV1.swift @@ -55,7 +55,7 @@ public enum ListGameCenterDetailsForGameCenterGroupV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -101,13 +101,13 @@ public enum ListGameCenterDetailsForGameCenterGroupV1 { case subscriptionStatusUrlVersionForSandbox } - public enum GameCenterAchievementReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievementReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievement case gameCenterDetail case live } - public enum GameCenterAchievements: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAchievements: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case gameCenterDetail case gameCenterGroup @@ -121,13 +121,13 @@ public enum ListGameCenterDetailsForGameCenterGroupV1 { case vendorIdentifier } - public enum GameCenterAppVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterAppVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case compatibilityVersions case enabled } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -143,7 +143,7 @@ public enum ListGameCenterDetailsForGameCenterGroupV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -151,19 +151,19 @@ public enum ListGameCenterDetailsForGameCenterGroupV1 { case referenceName } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -174,7 +174,7 @@ public enum ListGameCenterDetailsForGameCenterGroupV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterLeaderboardSetsForGameCenterGroupV1.swift b/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterLeaderboardSetsForGameCenterGroupV1.swift index f200eb61e..66f2cba11 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterLeaderboardSetsForGameCenterGroupV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterLeaderboardSetsForGameCenterGroupV1.swift @@ -47,7 +47,7 @@ public enum ListGameCenterLeaderboardSetsForGameCenterGroupV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -63,7 +63,7 @@ public enum ListGameCenterLeaderboardSetsForGameCenterGroupV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -71,20 +71,20 @@ public enum ListGameCenterLeaderboardSetsForGameCenterGroupV1 { case referenceName } - public enum GameCenterLeaderboardSetLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterLeaderboardSet case gameCenterLeaderboardSetImage case locale case name } - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -95,7 +95,7 @@ public enum ListGameCenterLeaderboardSetsForGameCenterGroupV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterLeaderboardsForGameCenterGroupV1.swift b/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterLeaderboardsForGameCenterGroupV1.swift index 3779e234a..58fe658dc 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterLeaderboardsForGameCenterGroupV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterGroup/Relationships/ListGameCenterLeaderboardsForGameCenterGroupV1.swift @@ -47,7 +47,7 @@ public enum ListGameCenterLeaderboardsForGameCenterGroupV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -63,7 +63,7 @@ public enum ListGameCenterLeaderboardsForGameCenterGroupV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -71,7 +71,7 @@ public enum ListGameCenterLeaderboardsForGameCenterGroupV1 { case referenceName } - public enum GameCenterLeaderboardLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case formatterOverride case formatterSuffix case formatterSuffixSingular @@ -81,13 +81,13 @@ public enum ListGameCenterLeaderboardsForGameCenterGroupV1 { case name } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -98,7 +98,7 @@ public enum ListGameCenterLeaderboardsForGameCenterGroupV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/GetGameCenterLeaderboardV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/GetGameCenterLeaderboardV1.swift index a803ce026..391d1f3ff 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/GetGameCenterLeaderboardV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/GetGameCenterLeaderboardV1.swift @@ -38,7 +38,7 @@ public enum GetGameCenterLeaderboardV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterLeaderboardLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case formatterOverride case formatterSuffix case formatterSuffixSingular @@ -48,13 +48,13 @@ public enum GetGameCenterLeaderboardV1 { case name } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/GetGroupLeaderboardForGameCenterLeaderboardV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/GetGroupLeaderboardForGameCenterLeaderboardV1.swift index 2c971caf2..153d131af 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/GetGroupLeaderboardForGameCenterLeaderboardV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/GetGroupLeaderboardForGameCenterLeaderboardV1.swift @@ -44,7 +44,7 @@ public enum GetGroupLeaderboardForGameCenterLeaderboardV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -60,7 +60,7 @@ public enum GetGroupLeaderboardForGameCenterLeaderboardV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -68,7 +68,7 @@ public enum GetGroupLeaderboardForGameCenterLeaderboardV1 { case referenceName } - public enum GameCenterLeaderboardLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case formatterOverride case formatterSuffix case formatterSuffixSingular @@ -78,13 +78,13 @@ public enum GetGroupLeaderboardForGameCenterLeaderboardV1 { case name } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -95,7 +95,7 @@ public enum GetGroupLeaderboardForGameCenterLeaderboardV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/ListLocalizationsForGameCenterLeaderboardV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/ListLocalizationsForGameCenterLeaderboardV1.swift index 218b1b643..de1914531 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/ListLocalizationsForGameCenterLeaderboardV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/ListLocalizationsForGameCenterLeaderboardV1.swift @@ -38,7 +38,7 @@ public enum ListLocalizationsForGameCenterLeaderboardV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterLeaderboardImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize @@ -48,7 +48,7 @@ public enum ListLocalizationsForGameCenterLeaderboardV1 { case uploaded } - public enum GameCenterLeaderboardLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case formatterOverride case formatterSuffix case formatterSuffixSingular @@ -58,7 +58,7 @@ public enum ListLocalizationsForGameCenterLeaderboardV1 { case name } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/ListReleasesForGameCenterLeaderboardV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/ListReleasesForGameCenterLeaderboardV1.swift index ad5c43bb3..0cc6cfe2b 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/ListReleasesForGameCenterLeaderboardV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboard/Relationships/ListReleasesForGameCenterLeaderboardV1.swift @@ -41,7 +41,7 @@ public enum ListReleasesForGameCenterLeaderboardV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -57,13 +57,13 @@ public enum ListReleasesForGameCenterLeaderboardV1 { case leaderboardSetReleases } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardImage/GetGameCenterLeaderboardImageV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardImage/GetGameCenterLeaderboardImageV1.swift index 40363ffb7..b312ecf34 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardImage/GetGameCenterLeaderboardImageV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardImage/GetGameCenterLeaderboardImageV1.swift @@ -31,7 +31,7 @@ public enum GetGameCenterLeaderboardImageV1 { /// The fields to include for returned resources of type gameCenterLeaderboardImages case gameCenterLeaderboardImages([GameCenterLeaderboardImages]) - public enum GameCenterLeaderboardImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardLocalization/GetGameCenterLeaderboardLocalizationV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardLocalization/GetGameCenterLeaderboardLocalizationV1.swift index 9c05c8e93..a670f5fcb 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardLocalization/GetGameCenterLeaderboardLocalizationV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardLocalization/GetGameCenterLeaderboardLocalizationV1.swift @@ -33,7 +33,7 @@ public enum GetGameCenterLeaderboardLocalizationV1 { /// The fields to include for returned resources of type gameCenterLeaderboardLocalizations case gameCenterLeaderboardLocalizations([GameCenterLeaderboardLocalizations]) - public enum GameCenterLeaderboardImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize @@ -43,7 +43,7 @@ public enum GetGameCenterLeaderboardLocalizationV1 { case uploaded } - public enum GameCenterLeaderboardLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case formatterOverride case formatterSuffix case formatterSuffixSingular diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardLocalization/Relationships/GetGameCenterLeaderboardImageForGameCenterLeaderboardLocalizationV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardLocalization/Relationships/GetGameCenterLeaderboardImageForGameCenterLeaderboardLocalizationV1.swift index 84e1112b6..dffa6bcaf 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardLocalization/Relationships/GetGameCenterLeaderboardImageForGameCenterLeaderboardLocalizationV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardLocalization/Relationships/GetGameCenterLeaderboardImageForGameCenterLeaderboardLocalizationV1.swift @@ -33,7 +33,7 @@ public enum GetGameCenterLeaderboardImageForGameCenterLeaderboardLocalizationV1 /// The fields to include for returned resources of type gameCenterLeaderboardLocalizations case gameCenterLeaderboardLocalizations([GameCenterLeaderboardLocalizations]) - public enum GameCenterLeaderboardImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize @@ -43,7 +43,7 @@ public enum GetGameCenterLeaderboardImageForGameCenterLeaderboardLocalizationV1 case uploaded } - public enum GameCenterLeaderboardLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case formatterOverride case formatterSuffix case formatterSuffixSingular diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardRelease/GetGameCenterLeaderboardReleaseV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardRelease/GetGameCenterLeaderboardReleaseV1.swift index f23e11dd7..e9bcc5a36 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardRelease/GetGameCenterLeaderboardReleaseV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardRelease/GetGameCenterLeaderboardReleaseV1.swift @@ -31,7 +31,7 @@ public enum GetGameCenterLeaderboardReleaseV1 { /// The fields to include for returned resources of type gameCenterLeaderboardReleases case gameCenterLeaderboardReleases([GameCenterLeaderboardReleases]) - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/GetGameCenterLeaderboardSetV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/GetGameCenterLeaderboardSetV1.swift index a56ff0a0a..715bd1acc 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/GetGameCenterLeaderboardSetV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/GetGameCenterLeaderboardSetV1.swift @@ -40,20 +40,20 @@ public enum GetGameCenterLeaderboardSetV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterLeaderboardSetLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterLeaderboardSet case gameCenterLeaderboardSetImage case locale case name } - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -64,7 +64,7 @@ public enum GetGameCenterLeaderboardSetV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/GetGroupLeaderboardSetForGameCenterLeaderboardSetV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/GetGroupLeaderboardSetForGameCenterLeaderboardSetV1.swift index f0db129e2..f6a769ddc 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/GetGroupLeaderboardSetForGameCenterLeaderboardSetV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/GetGroupLeaderboardSetForGameCenterLeaderboardSetV1.swift @@ -44,7 +44,7 @@ public enum GetGroupLeaderboardSetForGameCenterLeaderboardSetV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -60,7 +60,7 @@ public enum GetGroupLeaderboardSetForGameCenterLeaderboardSetV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -68,20 +68,20 @@ public enum GetGroupLeaderboardSetForGameCenterLeaderboardSetV1 { case referenceName } - public enum GameCenterLeaderboardSetLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterLeaderboardSet case gameCenterLeaderboardSetImage case locale case name } - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -92,7 +92,7 @@ public enum GetGroupLeaderboardSetForGameCenterLeaderboardSetV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListGameCenterLeaderboardsForGameCenterLeaderboardSetV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListGameCenterLeaderboardsForGameCenterLeaderboardSetV1.swift index 794b030a7..b5a93ea8e 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListGameCenterLeaderboardsForGameCenterLeaderboardSetV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListGameCenterLeaderboardsForGameCenterLeaderboardSetV1.swift @@ -47,7 +47,7 @@ public enum ListGameCenterLeaderboardsForGameCenterLeaderboardSetV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -63,7 +63,7 @@ public enum ListGameCenterLeaderboardsForGameCenterLeaderboardSetV1 { case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -71,7 +71,7 @@ public enum ListGameCenterLeaderboardsForGameCenterLeaderboardSetV1 { case referenceName } - public enum GameCenterLeaderboardLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case formatterOverride case formatterSuffix case formatterSuffixSingular @@ -81,13 +81,13 @@ public enum ListGameCenterLeaderboardsForGameCenterLeaderboardSetV1 { case name } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -98,7 +98,7 @@ public enum ListGameCenterLeaderboardsForGameCenterLeaderboardSetV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListLocalizationsForGameCenterLeaderboardSetV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListLocalizationsForGameCenterLeaderboardSetV1.swift index 10fc517f3..0d50120b9 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListLocalizationsForGameCenterLeaderboardSetV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListLocalizationsForGameCenterLeaderboardSetV1.swift @@ -38,7 +38,7 @@ public enum ListLocalizationsForGameCenterLeaderboardSetV1 { /// The fields to include for returned resources of type gameCenterLeaderboardSets case gameCenterLeaderboardSets([GameCenterLeaderboardSets]) - public enum GameCenterLeaderboardSetImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize @@ -48,14 +48,14 @@ public enum ListLocalizationsForGameCenterLeaderboardSetV1 { case uploaded } - public enum GameCenterLeaderboardSetLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterLeaderboardSet case gameCenterLeaderboardSetImage case locale case name } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListReleasesForGameCenterLeaderboardSetV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListReleasesForGameCenterLeaderboardSetV1.swift index 18ba56110..ab33e728f 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListReleasesForGameCenterLeaderboardSetV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSet/Relationships/ListReleasesForGameCenterLeaderboardSetV1.swift @@ -41,7 +41,7 @@ public enum ListReleasesForGameCenterLeaderboardSetV1 { /// The fields to include for returned resources of type gameCenterLeaderboardSets case gameCenterLeaderboardSets([GameCenterLeaderboardSets]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -57,13 +57,13 @@ public enum ListReleasesForGameCenterLeaderboardSetV1 { case leaderboardSetReleases } - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetImage/GetGameCenterLeaderboardSetImageV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetImage/GetGameCenterLeaderboardSetImageV1.swift index 593ed80d2..0cbacb4ba 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetImage/GetGameCenterLeaderboardSetImageV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetImage/GetGameCenterLeaderboardSetImageV1.swift @@ -31,7 +31,7 @@ public enum GetGameCenterLeaderboardSetImageV1 { /// The fields to include for returned resources of type gameCenterLeaderboardSetImages case gameCenterLeaderboardSetImages([GameCenterLeaderboardSetImages]) - public enum GameCenterLeaderboardSetImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetLocalization/GetGameCenterLeaderboardSetLocalizationV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetLocalization/GetGameCenterLeaderboardSetLocalizationV1.swift index 9f469ec49..871d255fe 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetLocalization/GetGameCenterLeaderboardSetLocalizationV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetLocalization/GetGameCenterLeaderboardSetLocalizationV1.swift @@ -33,7 +33,7 @@ public enum GetGameCenterLeaderboardSetLocalizationV1 { /// The fields to include for returned resources of type gameCenterLeaderboardSetLocalizations case gameCenterLeaderboardSetLocalizations([GameCenterLeaderboardSetLocalizations]) - public enum GameCenterLeaderboardSetImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize @@ -43,7 +43,7 @@ public enum GetGameCenterLeaderboardSetLocalizationV1 { case uploaded } - public enum GameCenterLeaderboardSetLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterLeaderboardSet case gameCenterLeaderboardSetImage case locale diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetLocalization/Relationships/GetGameCenterLeaderboardSetImageForGameCenterLeaderboardSetLocalizationV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetLocalization/Relationships/GetGameCenterLeaderboardSetImageForGameCenterLeaderboardSetLocalizationV1.swift index 9183368f2..f6476692b 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetLocalization/Relationships/GetGameCenterLeaderboardSetImageForGameCenterLeaderboardSetLocalizationV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetLocalization/Relationships/GetGameCenterLeaderboardSetImageForGameCenterLeaderboardSetLocalizationV1.swift @@ -33,7 +33,7 @@ public enum GetGameCenterLeaderboardSetImageForGameCenterLeaderboardSetLocalizat /// The fields to include for returned resources of type gameCenterLeaderboardSetLocalizations case gameCenterLeaderboardSetLocalizations([GameCenterLeaderboardSetLocalizations]) - public enum GameCenterLeaderboardSetImages: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetImages: String, Sendable, ParameterValue, Codable, CaseIterable { case assetDeliveryState case fileName case fileSize @@ -43,7 +43,7 @@ public enum GetGameCenterLeaderboardSetImageForGameCenterLeaderboardSetLocalizat case uploaded } - public enum GameCenterLeaderboardSetLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterLeaderboardSet case gameCenterLeaderboardSetImage case locale diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/ListGameCenterLeaderboardSetMemberLocalizationsV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/ListGameCenterLeaderboardSetMemberLocalizationsV1.swift index fc3d42a17..c656e3290 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/ListGameCenterLeaderboardSetMemberLocalizationsV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/ListGameCenterLeaderboardSetMemberLocalizationsV1.swift @@ -39,14 +39,14 @@ public enum ListGameCenterLeaderboardSetMemberLocalizationsV1 { /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterLeaderboardSetMemberLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetMemberLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterLeaderboard case gameCenterLeaderboardSet case locale case name } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -57,7 +57,7 @@ public enum ListGameCenterLeaderboardSetMemberLocalizationsV1 { case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/Relationships/GetGameCenterLeaderboardForGameCenterLeaderboardSetMemberLocalizationV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/Relationships/GetGameCenterLeaderboardForGameCenterLeaderboardSetMemberLocalizationV1.swift index fcb8b34ba..e8d069130 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/Relationships/GetGameCenterLeaderboardForGameCenterLeaderboardSetMemberLocalizationV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/Relationships/GetGameCenterLeaderboardForGameCenterLeaderboardSetMemberLocalizationV1.swift @@ -44,7 +44,7 @@ public enum GetGameCenterLeaderboardForGameCenterLeaderboardSetMemberLocalizatio /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -60,7 +60,7 @@ public enum GetGameCenterLeaderboardForGameCenterLeaderboardSetMemberLocalizatio case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -68,7 +68,7 @@ public enum GetGameCenterLeaderboardForGameCenterLeaderboardSetMemberLocalizatio case referenceName } - public enum GameCenterLeaderboardLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case formatterOverride case formatterSuffix case formatterSuffixSingular @@ -78,13 +78,13 @@ public enum GetGameCenterLeaderboardForGameCenterLeaderboardSetMemberLocalizatio case name } - public enum GameCenterLeaderboardReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboard case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -95,7 +95,7 @@ public enum GetGameCenterLeaderboardForGameCenterLeaderboardSetMemberLocalizatio case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/Relationships/GetGameCenterLeaderboardSetForGameCenterLeaderboardSetMemberLocalizationV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/Relationships/GetGameCenterLeaderboardSetForGameCenterLeaderboardSetMemberLocalizationV1.swift index 7775cea2e..0d91d7686 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/Relationships/GetGameCenterLeaderboardSetForGameCenterLeaderboardSetMemberLocalizationV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetMemberLocalization/Relationships/GetGameCenterLeaderboardSetForGameCenterLeaderboardSetMemberLocalizationV1.swift @@ -44,7 +44,7 @@ public enum GetGameCenterLeaderboardSetForGameCenterLeaderboardSetMemberLocaliza /// The fields to include for returned resources of type gameCenterLeaderboards case gameCenterLeaderboards([GameCenterLeaderboards]) - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -60,7 +60,7 @@ public enum GetGameCenterLeaderboardSetForGameCenterLeaderboardSetMemberLocaliza case leaderboardSetReleases } - public enum GameCenterGroups: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterAchievements case gameCenterDetails case gameCenterLeaderboardSets @@ -68,20 +68,20 @@ public enum GetGameCenterLeaderboardSetForGameCenterLeaderboardSetMemberLocaliza case referenceName } - public enum GameCenterLeaderboardSetLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterLeaderboardSet case gameCenterLeaderboardSetImage case locale case name } - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live } - public enum GameCenterLeaderboardSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSets: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterGroup case gameCenterLeaderboards @@ -92,7 +92,7 @@ public enum GetGameCenterLeaderboardSetForGameCenterLeaderboardSetMemberLocaliza case vendorIdentifier } - public enum GameCenterLeaderboards: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboards: String, Sendable, ParameterValue, Codable, CaseIterable { case archived case defaultFormatter case gameCenterDetail diff --git a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetRelease/GetGameCenterLeaderboardSetReleaseV1.swift b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetRelease/GetGameCenterLeaderboardSetReleaseV1.swift index 61a0a59b0..d3147a763 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetRelease/GetGameCenterLeaderboardSetReleaseV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterLeaderboardSetRelease/GetGameCenterLeaderboardSetReleaseV1.swift @@ -31,7 +31,7 @@ public enum GetGameCenterLeaderboardSetReleaseV1 { /// The fields to include for returned resources of type gameCenterLeaderboardSetReleases case gameCenterLeaderboardSetReleases([GameCenterLeaderboardSetReleases]) - public enum GameCenterLeaderboardSetReleases: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterLeaderboardSetReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case gameCenterLeaderboardSet case live diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/GetGameCenterMatchmakingQueueV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/GetGameCenterMatchmakingQueueV1.swift index bade0cdf3..0bd73d696 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/GetGameCenterMatchmakingQueueV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/GetGameCenterMatchmakingQueueV1.swift @@ -31,7 +31,7 @@ public enum GetGameCenterMatchmakingQueueV1 { /// The fields to include for returned resources of type gameCenterMatchmakingQueues case gameCenterMatchmakingQueues([GameCenterMatchmakingQueues]) - public enum GameCenterMatchmakingQueues: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingQueues: String, Sendable, ParameterValue, Codable, CaseIterable { case classicMatchmakingBundleIds case experimentRuleSet case referenceName diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/ListGameCenterMatchmakingQueuesV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/ListGameCenterMatchmakingQueuesV1.swift index 78f001964..6f2e51b98 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/ListGameCenterMatchmakingQueuesV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/ListGameCenterMatchmakingQueuesV1.swift @@ -32,7 +32,7 @@ public enum ListGameCenterMatchmakingQueuesV1 { /// The fields to include for returned resources of type gameCenterMatchmakingQueues case gameCenterMatchmakingQueues([GameCenterMatchmakingQueues]) - public enum GameCenterMatchmakingQueues: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingQueues: String, Sendable, ParameterValue, Codable, CaseIterable { case classicMatchmakingBundleIds case experimentRuleSet case referenceName diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForExperimentMatchmakingQueueSizeInGameCenterMatchmakingQueueV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForExperimentMatchmakingQueueSizeInGameCenterMatchmakingQueueV1.swift index 90003777d..cc673cb3a 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForExperimentMatchmakingQueueSizeInGameCenterMatchmakingQueueV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForExperimentMatchmakingQueueSizeInGameCenterMatchmakingQueueV1.swift @@ -46,7 +46,7 @@ public enum GetMetricsForExperimentMatchmakingQueueSizeInGameCenterMatchmakingQu /** The granularity of the per-group dataset */ - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case P1D case PT15M case PT1H diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForExperimentMatchmakingRequestInGameCenterMatchmakingQueueV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForExperimentMatchmakingRequestInGameCenterMatchmakingQueueV1.swift index 18a8cec5d..b2fc35458 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForExperimentMatchmakingRequestInGameCenterMatchmakingQueueV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForExperimentMatchmakingRequestInGameCenterMatchmakingQueueV1.swift @@ -44,7 +44,7 @@ public enum GetMetricsForExperimentMatchmakingRequestInGameCenterMatchmakingQueu /// Filter by 'result' attribute dimension case result([Result]) - public enum Result: String, ParameterValue, Codable, CaseIterable { + public enum Result: String, Sendable, ParameterValue, Codable, CaseIterable { case canceled = "CANCELED" case expired = "EXPIRED" case matched = "MATCHED" @@ -68,7 +68,7 @@ public enum GetMetricsForExperimentMatchmakingRequestInGameCenterMatchmakingQueu /** The granularity of the per-group dataset */ - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case P1D case PT15M case PT1H @@ -77,7 +77,7 @@ public enum GetMetricsForExperimentMatchmakingRequestInGameCenterMatchmakingQueu /** The dimension by which to group the results */ - public enum GroupBy: String, ParameterValue, Codable, CaseIterable { + public enum GroupBy: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case result } diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingQueueSizeInGameCenterMatchmakingQueueV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingQueueSizeInGameCenterMatchmakingQueueV1.swift index 0525cfaee..49f9497b2 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingQueueSizeInGameCenterMatchmakingQueueV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingQueueSizeInGameCenterMatchmakingQueueV1.swift @@ -46,7 +46,7 @@ public enum GetMetricsForMatchmakingQueueSizeInGameCenterMatchmakingQueueV1 { /** The granularity of the per-group dataset */ - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case P1D case PT15M case PT1H diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingRequestInGameCenterMatchmakingQueueV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingRequestInGameCenterMatchmakingQueueV1.swift index aec62b451..069ca379c 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingRequestInGameCenterMatchmakingQueueV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingRequestInGameCenterMatchmakingQueueV1.swift @@ -44,7 +44,7 @@ public enum GetMetricsForMatchmakingRequestInGameCenterMatchmakingQueueV1 { /// Filter by 'result' attribute dimension case result([Result]) - public enum Result: String, ParameterValue, Codable, CaseIterable { + public enum Result: String, Sendable, ParameterValue, Codable, CaseIterable { case canceled = "CANCELED" case expired = "EXPIRED" case matched = "MATCHED" @@ -68,7 +68,7 @@ public enum GetMetricsForMatchmakingRequestInGameCenterMatchmakingQueueV1 { /** The granularity of the per-group dataset */ - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case P1D case PT15M case PT1H @@ -77,7 +77,7 @@ public enum GetMetricsForMatchmakingRequestInGameCenterMatchmakingQueueV1 { /** The dimension by which to group the results */ - public enum GroupBy: String, ParameterValue, Codable, CaseIterable { + public enum GroupBy: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterDetail case result } diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingSessionInGameCenterMatchmakingQueueV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingSessionInGameCenterMatchmakingQueueV1.swift index 49825d05c..5d51eb506 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingSessionInGameCenterMatchmakingQueueV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingQueue/Relationships/GetMetricsForMatchmakingSessionInGameCenterMatchmakingQueueV1.swift @@ -46,7 +46,7 @@ public enum GetMetricsForMatchmakingSessionInGameCenterMatchmakingQueueV1 { /** The granularity of the per-group dataset */ - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case P1D case PT15M case PT1H diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingBooleanRuleResultInGameCenterMatchmakingRuleV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingBooleanRuleResultInGameCenterMatchmakingRuleV1.swift index 0f7638297..45065c6a6 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingBooleanRuleResultInGameCenterMatchmakingRuleV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingBooleanRuleResultInGameCenterMatchmakingRuleV1.swift @@ -56,7 +56,7 @@ public enum GetMetricsForMatchmakingBooleanRuleResultInGameCenterMatchmakingRule /** The granularity of the per-group dataset */ - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case P1D case PT15M case PT1H @@ -65,7 +65,7 @@ public enum GetMetricsForMatchmakingBooleanRuleResultInGameCenterMatchmakingRule /** The dimension by which to group the results */ - public enum GroupBy: String, ParameterValue, Codable, CaseIterable { + public enum GroupBy: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterMatchmakingQueue case result } diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingNumberRuleResultInGameCenterMatchmakingRuleV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingNumberRuleResultInGameCenterMatchmakingRuleV1.swift index b68eed9b4..b7d5e15dc 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingNumberRuleResultInGameCenterMatchmakingRuleV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingNumberRuleResultInGameCenterMatchmakingRuleV1.swift @@ -60,7 +60,7 @@ public enum GetMetricsForMatchmakingNumberRuleResultInGameCenterMatchmakingRuleV /** The granularity of the per-group dataset */ - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case P1D case PT15M case PT1H @@ -69,7 +69,7 @@ public enum GetMetricsForMatchmakingNumberRuleResultInGameCenterMatchmakingRuleV /** The dimension by which to group the results */ - public enum GroupBy: String, ParameterValue, Codable, CaseIterable { + public enum GroupBy: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterMatchmakingQueue } } diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingRuleErrorInGameCenterMatchmakingRuleV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingRuleErrorInGameCenterMatchmakingRuleV1.swift index 94ff22854..28c0f54d0 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingRuleErrorInGameCenterMatchmakingRuleV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRule/Relationships/GetMetricsForMatchmakingRuleErrorInGameCenterMatchmakingRuleV1.swift @@ -54,7 +54,7 @@ public enum GetMetricsForMatchmakingRuleErrorInGameCenterMatchmakingRuleV1 { /** The granularity of the per-group dataset */ - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case P1D case PT15M case PT1H @@ -63,7 +63,7 @@ public enum GetMetricsForMatchmakingRuleErrorInGameCenterMatchmakingRuleV1 { /** The dimension by which to group the results */ - public enum GroupBy: String, ParameterValue, Codable, CaseIterable { + public enum GroupBy: String, Sendable, ParameterValue, Codable, CaseIterable { case gameCenterMatchmakingQueue } } diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/GetGameCenterMatchmakingRuleSetV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/GetGameCenterMatchmakingRuleSetV1.swift index 2bc3769f3..38a4ac4d1 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/GetGameCenterMatchmakingRuleSetV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/GetGameCenterMatchmakingRuleSetV1.swift @@ -40,14 +40,14 @@ public enum GetGameCenterMatchmakingRuleSetV1 { /// The fields to include for returned resources of type gameCenterMatchmakingTeams case gameCenterMatchmakingTeams([GameCenterMatchmakingTeams]) - public enum GameCenterMatchmakingQueues: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingQueues: String, Sendable, ParameterValue, Codable, CaseIterable { case classicMatchmakingBundleIds case experimentRuleSet case referenceName case ruleSet } - public enum GameCenterMatchmakingRuleSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingRuleSets: String, Sendable, ParameterValue, Codable, CaseIterable { case matchmakingQueues case maxPlayers case minPlayers @@ -57,7 +57,7 @@ public enum GetGameCenterMatchmakingRuleSetV1 { case teams } - public enum GameCenterMatchmakingRules: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingRules: String, Sendable, ParameterValue, Codable, CaseIterable { case description case expression case referenceName @@ -66,7 +66,7 @@ public enum GetGameCenterMatchmakingRuleSetV1 { case weight } - public enum GameCenterMatchmakingTeams: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingTeams: String, Sendable, ParameterValue, Codable, CaseIterable { case maxPlayers case minPlayers case referenceName diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/ListGameCenterMatchmakingRuleSetsV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/ListGameCenterMatchmakingRuleSetsV1.swift index 39d7439f5..3991a1e02 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/ListGameCenterMatchmakingRuleSetsV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/ListGameCenterMatchmakingRuleSetsV1.swift @@ -38,14 +38,14 @@ public enum ListGameCenterMatchmakingRuleSetsV1 { /// The fields to include for returned resources of type gameCenterMatchmakingTeams case gameCenterMatchmakingTeams([GameCenterMatchmakingTeams]) - public enum GameCenterMatchmakingQueues: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingQueues: String, Sendable, ParameterValue, Codable, CaseIterable { case classicMatchmakingBundleIds case experimentRuleSet case referenceName case ruleSet } - public enum GameCenterMatchmakingRuleSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingRuleSets: String, Sendable, ParameterValue, Codable, CaseIterable { case matchmakingQueues case maxPlayers case minPlayers @@ -55,7 +55,7 @@ public enum ListGameCenterMatchmakingRuleSetsV1 { case teams } - public enum GameCenterMatchmakingRules: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingRules: String, Sendable, ParameterValue, Codable, CaseIterable { case description case expression case referenceName @@ -64,7 +64,7 @@ public enum ListGameCenterMatchmakingRuleSetsV1 { case weight } - public enum GameCenterMatchmakingTeams: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingTeams: String, Sendable, ParameterValue, Codable, CaseIterable { case maxPlayers case minPlayers case referenceName diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListMatchmakingQueuesForGameCenterMatchmakingRuleSetV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListMatchmakingQueuesForGameCenterMatchmakingRuleSetV1.swift index 2ff180628..9e80b64d3 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListMatchmakingQueuesForGameCenterMatchmakingRuleSetV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListMatchmakingQueuesForGameCenterMatchmakingRuleSetV1.swift @@ -36,14 +36,14 @@ public enum ListMatchmakingQueuesForGameCenterMatchmakingRuleSetV1 { /// The fields to include for returned resources of type gameCenterMatchmakingRuleSets case gameCenterMatchmakingRuleSets([GameCenterMatchmakingRuleSets]) - public enum GameCenterMatchmakingQueues: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingQueues: String, Sendable, ParameterValue, Codable, CaseIterable { case classicMatchmakingBundleIds case experimentRuleSet case referenceName case ruleSet } - public enum GameCenterMatchmakingRuleSets: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingRuleSets: String, Sendable, ParameterValue, Codable, CaseIterable { case matchmakingQueues case maxPlayers case minPlayers diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListRulesForGameCenterMatchmakingRuleSetV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListRulesForGameCenterMatchmakingRuleSetV1.swift index bc700e744..a8dd0a20f 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListRulesForGameCenterMatchmakingRuleSetV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListRulesForGameCenterMatchmakingRuleSetV1.swift @@ -31,7 +31,7 @@ public enum ListRulesForGameCenterMatchmakingRuleSetV1 { /// The fields to include for returned resources of type gameCenterMatchmakingRules case gameCenterMatchmakingRules([GameCenterMatchmakingRules]) - public enum GameCenterMatchmakingRules: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingRules: String, Sendable, ParameterValue, Codable, CaseIterable { case description case expression case referenceName diff --git a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListTeamsForGameCenterMatchmakingRuleSetV1.swift b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListTeamsForGameCenterMatchmakingRuleSetV1.swift index cff31a438..763ff43ec 100644 --- a/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListTeamsForGameCenterMatchmakingRuleSetV1.swift +++ b/Sources/Bagbutik-GameCenter/GameCenterMatchmakingRuleSet/Relationships/ListTeamsForGameCenterMatchmakingRuleSetV1.swift @@ -31,7 +31,7 @@ public enum ListTeamsForGameCenterMatchmakingRuleSetV1 { /// The fields to include for returned resources of type gameCenterMatchmakingTeams case gameCenterMatchmakingTeams([GameCenterMatchmakingTeams]) - public enum GameCenterMatchmakingTeams: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterMatchmakingTeams: String, Sendable, ParameterValue, Codable, CaseIterable { case maxPlayers case minPlayers case referenceName diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionDomain/GetAlternativeDistributionDomainV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionDomain/GetAlternativeDistributionDomainV1.swift index bbee4da17..c7c3ecd98 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionDomain/GetAlternativeDistributionDomainV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionDomain/GetAlternativeDistributionDomainV1.swift @@ -28,7 +28,7 @@ public enum GetAlternativeDistributionDomainV1 { /// The fields to include for returned resources of type alternativeDistributionDomains case alternativeDistributionDomains([AlternativeDistributionDomains]) - public enum AlternativeDistributionDomains: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionDomains: String, Sendable, ParameterValue, Codable, CaseIterable { case createdDate case domain case referenceName diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionDomain/ListAlternativeDistributionDomainsV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionDomain/ListAlternativeDistributionDomainsV1.swift index e8941cd65..67f30c07d 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionDomain/ListAlternativeDistributionDomainsV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionDomain/ListAlternativeDistributionDomainsV1.swift @@ -29,7 +29,7 @@ public enum ListAlternativeDistributionDomainsV1 { /// The fields to include for returned resources of type alternativeDistributionDomains case alternativeDistributionDomains([AlternativeDistributionDomains]) - public enum AlternativeDistributionDomains: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionDomains: String, Sendable, ParameterValue, Codable, CaseIterable { case createdDate case domain case referenceName diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionKey/GetAlternativeDistributionKeyV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionKey/GetAlternativeDistributionKeyV1.swift index cc52e9d25..949c14d81 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionKey/GetAlternativeDistributionKeyV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionKey/GetAlternativeDistributionKeyV1.swift @@ -28,7 +28,7 @@ public enum GetAlternativeDistributionKeyV1 { /// The fields to include for returned resources of type alternativeDistributionKeys case alternativeDistributionKeys([AlternativeDistributionKeys]) - public enum AlternativeDistributionKeys: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionKeys: String, Sendable, ParameterValue, Codable, CaseIterable { case app case publicKey } diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionKey/ListAlternativeDistributionKeysV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionKey/ListAlternativeDistributionKeysV1.swift index 834516bd1..f03f926f3 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionKey/ListAlternativeDistributionKeysV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionKey/ListAlternativeDistributionKeysV1.swift @@ -32,7 +32,7 @@ public enum ListAlternativeDistributionKeysV1 { /// The fields to include for returned resources of type alternativeDistributionKeys case alternativeDistributionKeys([AlternativeDistributionKeys]) - public enum AlternativeDistributionKeys: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionKeys: String, Sendable, ParameterValue, Codable, CaseIterable { case app case publicKey } diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackage/GetAlternativeDistributionPackageV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackage/GetAlternativeDistributionPackageV1.swift index 5b43c2d45..b6a7baef0 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackage/GetAlternativeDistributionPackageV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackage/GetAlternativeDistributionPackageV1.swift @@ -36,7 +36,7 @@ public enum GetAlternativeDistributionPackageV1 { /// The fields to include for returned resources of type alternativeDistributionPackages case alternativeDistributionPackages([AlternativeDistributionPackages]) - public enum AlternativeDistributionPackageVersions: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionPackage case deltas case fileChecksum @@ -47,7 +47,7 @@ public enum GetAlternativeDistributionPackageV1 { case version } - public enum AlternativeDistributionPackages: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case versions } diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackage/Relationships/ListVersionsForAlternativeDistributionPackageV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackage/Relationships/ListVersionsForAlternativeDistributionPackageV1.swift index ff69d6c37..6042547d7 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackage/Relationships/ListVersionsForAlternativeDistributionPackageV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackage/Relationships/ListVersionsForAlternativeDistributionPackageV1.swift @@ -43,21 +43,21 @@ public enum ListVersionsForAlternativeDistributionPackageV1 { /// The fields to include for returned resources of type alternativeDistributionPackages case alternativeDistributionPackages([AlternativeDistributionPackages]) - public enum AlternativeDistributionPackageDeltas: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageDeltas: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKeyBlob case fileChecksum case url case urlExpirationDate } - public enum AlternativeDistributionPackageVariants: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageVariants: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKeyBlob case fileChecksum case url case urlExpirationDate } - public enum AlternativeDistributionPackageVersions: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionPackage case deltas case fileChecksum @@ -68,7 +68,7 @@ public enum ListVersionsForAlternativeDistributionPackageV1 { case version } - public enum AlternativeDistributionPackages: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case versions } @@ -81,7 +81,7 @@ public enum ListVersionsForAlternativeDistributionPackageV1 { /// Filter by attribute 'state' case state([State]) - public enum State: String, ParameterValue, Codable, CaseIterable { + public enum State: String, Sendable, ParameterValue, Codable, CaseIterable { case completed = "COMPLETED" case replaced = "REPLACED" } diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageDelta/GetAlternativeDistributionPackageDeltaV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageDelta/GetAlternativeDistributionPackageDeltaV1.swift index 469333406..fc2eb4f04 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageDelta/GetAlternativeDistributionPackageDeltaV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageDelta/GetAlternativeDistributionPackageDeltaV1.swift @@ -28,7 +28,7 @@ public enum GetAlternativeDistributionPackageDeltaV1 { /// The fields to include for returned resources of type alternativeDistributionPackageDeltas case alternativeDistributionPackageDeltas([AlternativeDistributionPackageDeltas]) - public enum AlternativeDistributionPackageDeltas: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageDeltas: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKeyBlob case fileChecksum case url diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVariant/GetAlternativeDistributionPackageVariantV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVariant/GetAlternativeDistributionPackageVariantV1.swift index d0efbb2b6..d914e4e66 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVariant/GetAlternativeDistributionPackageVariantV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVariant/GetAlternativeDistributionPackageVariantV1.swift @@ -28,7 +28,7 @@ public enum GetAlternativeDistributionPackageVariantV1 { /// The fields to include for returned resources of type alternativeDistributionPackageVariants case alternativeDistributionPackageVariants([AlternativeDistributionPackageVariants]) - public enum AlternativeDistributionPackageVariants: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageVariants: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKeyBlob case fileChecksum case url diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/GetAlternativeDistributionPackageVersionV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/GetAlternativeDistributionPackageVersionV1.swift index 5439be0ee..3b527f62f 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/GetAlternativeDistributionPackageVersionV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/GetAlternativeDistributionPackageVersionV1.swift @@ -38,21 +38,21 @@ public enum GetAlternativeDistributionPackageVersionV1 { /// The fields to include for returned resources of type alternativeDistributionPackageVersions case alternativeDistributionPackageVersions([AlternativeDistributionPackageVersions]) - public enum AlternativeDistributionPackageDeltas: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageDeltas: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKeyBlob case fileChecksum case url case urlExpirationDate } - public enum AlternativeDistributionPackageVariants: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageVariants: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKeyBlob case fileChecksum case url case urlExpirationDate } - public enum AlternativeDistributionPackageVersions: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionPackage case deltas case fileChecksum diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/Relationships/ListDeltasForAlternativeDistributionPackageVersionV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/Relationships/ListDeltasForAlternativeDistributionPackageVersionV1.swift index 31c709366..936f6e9ee 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/Relationships/ListDeltasForAlternativeDistributionPackageVersionV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/Relationships/ListDeltasForAlternativeDistributionPackageVersionV1.swift @@ -31,7 +31,7 @@ public enum ListDeltasForAlternativeDistributionPackageVersionV1 { /// The fields to include for returned resources of type alternativeDistributionPackageDeltas case alternativeDistributionPackageDeltas([AlternativeDistributionPackageDeltas]) - public enum AlternativeDistributionPackageDeltas: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageDeltas: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKeyBlob case fileChecksum case url diff --git a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/Relationships/ListVariantsForAlternativeDistributionPackageVersionV1.swift b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/Relationships/ListVariantsForAlternativeDistributionPackageVersionV1.swift index fe4af0757..b713f47c9 100644 --- a/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/Relationships/ListVariantsForAlternativeDistributionPackageVersionV1.swift +++ b/Sources/Bagbutik-Marketplaces/AlternativeDistributionPackageVersion/Relationships/ListVariantsForAlternativeDistributionPackageVersionV1.swift @@ -31,7 +31,7 @@ public enum ListVariantsForAlternativeDistributionPackageVersionV1 { /// The fields to include for returned resources of type alternativeDistributionPackageVariants case alternativeDistributionPackageVariants([AlternativeDistributionPackageVariants]) - public enum AlternativeDistributionPackageVariants: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageVariants: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKeyBlob case fileChecksum case url diff --git a/Sources/Bagbutik-Marketplaces/App/Relationships/GetMarketplaceSearchDetailForAppV1.swift b/Sources/Bagbutik-Marketplaces/App/Relationships/GetMarketplaceSearchDetailForAppV1.swift index b1a54a05c..68a7ead7e 100644 --- a/Sources/Bagbutik-Marketplaces/App/Relationships/GetMarketplaceSearchDetailForAppV1.swift +++ b/Sources/Bagbutik-Marketplaces/App/Relationships/GetMarketplaceSearchDetailForAppV1.swift @@ -28,7 +28,7 @@ public enum GetMarketplaceSearchDetailForAppV1 { /// The fields to include for returned resources of type marketplaceSearchDetails case marketplaceSearchDetails([MarketplaceSearchDetails]) - public enum MarketplaceSearchDetails: String, ParameterValue, Codable, CaseIterable { + public enum MarketplaceSearchDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case app case catalogUrl } diff --git a/Sources/Bagbutik-Marketplaces/AppStoreVersion/Relationships/GetAlternativeDistributionPackageForAppStoreVersionV1.swift b/Sources/Bagbutik-Marketplaces/AppStoreVersion/Relationships/GetAlternativeDistributionPackageForAppStoreVersionV1.swift index e6982bac8..b5e5045f8 100644 --- a/Sources/Bagbutik-Marketplaces/AppStoreVersion/Relationships/GetAlternativeDistributionPackageForAppStoreVersionV1.swift +++ b/Sources/Bagbutik-Marketplaces/AppStoreVersion/Relationships/GetAlternativeDistributionPackageForAppStoreVersionV1.swift @@ -36,7 +36,7 @@ public enum GetAlternativeDistributionPackageForAppStoreVersionV1 { /// The fields to include for returned resources of type alternativeDistributionPackages case alternativeDistributionPackages([AlternativeDistributionPackages]) - public enum AlternativeDistributionPackageVersions: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackageVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionPackage case deltas case fileChecksum @@ -47,7 +47,7 @@ public enum GetAlternativeDistributionPackageForAppStoreVersionV1 { case version } - public enum AlternativeDistributionPackages: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case versions } diff --git a/Sources/Bagbutik-Marketplaces/MarketplaceDomain/GetMarketplaceDomainV1.swift b/Sources/Bagbutik-Marketplaces/MarketplaceDomain/GetMarketplaceDomainV1.swift index d2951a5f5..1f8d5e402 100644 --- a/Sources/Bagbutik-Marketplaces/MarketplaceDomain/GetMarketplaceDomainV1.swift +++ b/Sources/Bagbutik-Marketplaces/MarketplaceDomain/GetMarketplaceDomainV1.swift @@ -29,7 +29,7 @@ public enum GetMarketplaceDomainV1 { /// The fields to include for returned resources of type marketplaceDomains case marketplaceDomains([MarketplaceDomains]) - public enum MarketplaceDomains: String, ParameterValue, Codable, CaseIterable { + public enum MarketplaceDomains: String, Sendable, ParameterValue, Codable, CaseIterable { case createdDate case domain case referenceName diff --git a/Sources/Bagbutik-Marketplaces/MarketplaceDomain/ListMarketplaceDomainsV1.swift b/Sources/Bagbutik-Marketplaces/MarketplaceDomain/ListMarketplaceDomainsV1.swift index 798b619c5..fa1e2bc57 100644 --- a/Sources/Bagbutik-Marketplaces/MarketplaceDomain/ListMarketplaceDomainsV1.swift +++ b/Sources/Bagbutik-Marketplaces/MarketplaceDomain/ListMarketplaceDomainsV1.swift @@ -30,7 +30,7 @@ public enum ListMarketplaceDomainsV1 { /// The fields to include for returned resources of type marketplaceDomains case marketplaceDomains([MarketplaceDomains]) - public enum MarketplaceDomains: String, ParameterValue, Codable, CaseIterable { + public enum MarketplaceDomains: String, Sendable, ParameterValue, Codable, CaseIterable { case createdDate case domain case referenceName diff --git a/Sources/Bagbutik-Marketplaces/MarketplaceWebhook/ListMarketplaceWebhooksV1.swift b/Sources/Bagbutik-Marketplaces/MarketplaceWebhook/ListMarketplaceWebhooksV1.swift index 4014a8d80..c0b4da134 100644 --- a/Sources/Bagbutik-Marketplaces/MarketplaceWebhook/ListMarketplaceWebhooksV1.swift +++ b/Sources/Bagbutik-Marketplaces/MarketplaceWebhook/ListMarketplaceWebhooksV1.swift @@ -29,7 +29,7 @@ public enum ListMarketplaceWebhooksV1 { /// The fields to include for returned resources of type marketplaceWebhooks case marketplaceWebhooks([MarketplaceWebhooks]) - public enum MarketplaceWebhooks: String, ParameterValue, Codable, CaseIterable { + public enum MarketplaceWebhooks: String, Sendable, ParameterValue, Codable, CaseIterable { case endpointUrl case secret } diff --git a/Sources/Bagbutik-Models/AppStore/Actor.swift b/Sources/Bagbutik-Models/AppStore/Actor.swift index 86045a855..c4ca50b28 100644 --- a/Sources/Bagbutik-Models/AppStore/Actor.swift +++ b/Sources/Bagbutik-Models/AppStore/Actor.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct Actor: Codable, Identifiable { +public struct Actor: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "actors" } @@ -34,7 +34,7 @@ public struct Actor: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var actorType: ActorType? public var apiKeyId: String? public var userEmail: String? @@ -72,7 +72,7 @@ public struct Actor: Codable, Identifiable { try container.encodeIfPresent(userLastName, forKey: "userLastName") } - public enum ActorType: String, Codable, CaseIterable { + public enum ActorType: String, Sendable, Codable, CaseIterable { case apiKey = "API_KEY" case apple = "APPLE" case user = "USER" diff --git a/Sources/Bagbutik-Models/AppStore/ActorResponse.swift b/Sources/Bagbutik-Models/AppStore/ActorResponse.swift index 3973e6343..22ae3fdd8 100644 --- a/Sources/Bagbutik-Models/AppStore/ActorResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/ActorResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ActorResponse: Codable { +public struct ActorResponse: Codable, Sendable { public let data: Actor public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/ActorsResponse.swift b/Sources/Bagbutik-Models/AppStore/ActorsResponse.swift index d3a2a7f54..25e603a11 100644 --- a/Sources/Bagbutik-Models/AppStore/ActorsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/ActorsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ActorsResponse: Codable, PagedResponse { +public struct ActorsResponse: Codable, Sendable, PagedResponse { public typealias Data = Actor public let data: [Actor] diff --git a/Sources/Bagbutik-Models/AppStore/AgeRatingDeclaration.swift b/Sources/Bagbutik-Models/AppStore/AgeRatingDeclaration.swift index 1562807f4..87e41b50d 100644 --- a/Sources/Bagbutik-Models/AppStore/AgeRatingDeclaration.swift +++ b/Sources/Bagbutik-Models/AppStore/AgeRatingDeclaration.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AgeRatingDeclaration: Codable, Identifiable { +public struct AgeRatingDeclaration: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct AgeRatingDeclaration: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var ageRatingOverride: AgeRatingOverride? /// Declaration for alcohol, tobacco, or drug use. public var alcoholTobaccoOrDrugUseOrReferences: AlcoholTobaccoOrDrugUseOrReferences? @@ -210,79 +210,79 @@ public struct AgeRatingDeclaration: Codable, Identifiable { try container.encodeIfPresent(violenceRealisticProlongedGraphicOrSadistic, forKey: "violenceRealisticProlongedGraphicOrSadistic") } - public enum AgeRatingOverride: String, Codable, CaseIterable { + public enum AgeRatingOverride: String, Sendable, Codable, CaseIterable { case none = "NONE" case seventeenPlus = "SEVENTEEN_PLUS" case unrated = "UNRATED" } - public enum AlcoholTobaccoOrDrugUseOrReferences: String, Codable, CaseIterable { + public enum AlcoholTobaccoOrDrugUseOrReferences: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum Contests: String, Codable, CaseIterable { + public enum Contests: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum GamblingSimulated: String, Codable, CaseIterable { + public enum GamblingSimulated: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum HorrorOrFearThemes: String, Codable, CaseIterable { + public enum HorrorOrFearThemes: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum MatureOrSuggestiveThemes: String, Codable, CaseIterable { + public enum MatureOrSuggestiveThemes: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum MedicalOrTreatmentInformation: String, Codable, CaseIterable { + public enum MedicalOrTreatmentInformation: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum ProfanityOrCrudeHumor: String, Codable, CaseIterable { + public enum ProfanityOrCrudeHumor: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum SexualContentGraphicAndNudity: String, Codable, CaseIterable { + public enum SexualContentGraphicAndNudity: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum SexualContentOrNudity: String, Codable, CaseIterable { + public enum SexualContentOrNudity: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum ViolenceCartoonOrFantasy: String, Codable, CaseIterable { + public enum ViolenceCartoonOrFantasy: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum ViolenceRealistic: String, Codable, CaseIterable { + public enum ViolenceRealistic: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" } - public enum ViolenceRealisticProlongedGraphicOrSadistic: String, Codable, CaseIterable { + public enum ViolenceRealisticProlongedGraphicOrSadistic: String, Sendable, Codable, CaseIterable { case frequentOrIntense = "FREQUENT_OR_INTENSE" case infrequentOrMild = "INFREQUENT_OR_MILD" case none = "NONE" diff --git a/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationResponse.swift b/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationResponse.swift index eaadfdf2c..65cb3734c 100644 --- a/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AgeRatingDeclarationResponse: Codable { +public struct AgeRatingDeclarationResponse: Codable, Sendable { /// The data structure that represents the Age Rating Declarations resource. public let data: AgeRatingDeclaration /// Navigational links including the self-link and links to the related data. diff --git a/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationUpdateRequest.swift index e7cd9cd61..2c27ec72a 100644 --- a/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AgeRatingDeclarationUpdateRequest: Codable, RequestBody { +public struct AgeRatingDeclarationUpdateRequest: Codable, Sendable, RequestBody { /// The data element of the request body. public let data: Data @@ -33,7 +33,7 @@ public struct AgeRatingDeclarationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -73,7 +73,7 @@ public struct AgeRatingDeclarationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var ageRatingOverride: AgeRatingDeclaration.Attributes.AgeRatingOverride? /// Declaration for alcohol, tobacco, or drug use. public var alcoholTobaccoOrDrugUseOrReferences: AgeRatingDeclaration.Attributes.AlcoholTobaccoOrDrugUseOrReferences? diff --git a/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationWithoutIncludesResponse.swift index be8543b1c..9eec6ff3e 100644 --- a/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AgeRatingDeclarationWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AgeRatingDeclarationWithoutIncludesResponse: Codable { +public struct AgeRatingDeclarationWithoutIncludesResponse: Codable, Sendable { public let data: AgeRatingDeclaration public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/App.swift b/Sources/Bagbutik-Models/AppStore/App.swift index ed4f0dbdf..a9f05c5b1 100644 --- a/Sources/Bagbutik-Models/AppStore/App.swift +++ b/Sources/Bagbutik-Models/AppStore/App.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct App: Codable, Identifiable { +public struct App: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The bundle ID for your app. This ID must match the one you use in Xcode. The bundle ID cannot be changed after you upload your first build. public var bundleId: String? public var contentRightsDeclaration: ContentRightsDeclaration? @@ -125,7 +125,7 @@ public struct App: Codable, Identifiable { try container.encodeIfPresent(subscriptionStatusUrlVersionForSandbox, forKey: "subscriptionStatusUrlVersionForSandbox") } - public enum ContentRightsDeclaration: String, Codable, CaseIterable { + public enum ContentRightsDeclaration: String, Sendable, Codable, CaseIterable { case doesNotUseThirdPartyContent = "DOES_NOT_USE_THIRD_PARTY_CONTENT" case usesThirdPartyContent = "USES_THIRD_PARTY_CONTENT" } @@ -138,7 +138,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The data and links that describe the relationship between the Apps and the App Clips resources. public var appClips: AppClips? public var appCustomProductPages: AppCustomProductPages? @@ -343,7 +343,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct AppClips: Codable { + public struct AppClips: Codable, Sendable { /// The ID and type of the related App Clips resource. @NullCodable public var data: [Data]? /// Navigational links that include the self-link. @@ -381,7 +381,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an App Clips resource. public let id: String /// The resource type. @@ -413,7 +413,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -440,7 +440,7 @@ public struct App: Codable, Identifiable { } } - public struct AppCustomProductPages: Codable { + public struct AppCustomProductPages: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -468,7 +468,7 @@ public struct App: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPages" } @@ -491,7 +491,7 @@ public struct App: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -523,7 +523,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct AppEncryptionDeclarations: Codable { + public struct AppEncryptionDeclarations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -558,7 +558,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEncryptionDeclarations" } @@ -581,7 +581,7 @@ public struct App: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -606,7 +606,7 @@ public struct App: Codable, Identifiable { } } - public struct AppEvents: Codable { + public struct AppEvents: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -634,7 +634,7 @@ public struct App: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEvents" } @@ -657,7 +657,7 @@ public struct App: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -689,7 +689,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct AppInfos: Codable { + public struct AppInfos: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -724,7 +724,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appInfos" } @@ -754,7 +754,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -779,7 +779,7 @@ public struct App: Codable, Identifiable { } } - public struct AppStoreVersionExperimentsV2: Codable { + public struct AppStoreVersionExperimentsV2: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -807,7 +807,7 @@ public struct App: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } @@ -830,7 +830,7 @@ public struct App: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -862,7 +862,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersions: Codable { + public struct AppStoreVersions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -897,7 +897,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -927,7 +927,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -959,7 +959,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct BetaAppLocalizations: Codable { + public struct BetaAppLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -994,7 +994,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -1026,7 +1026,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1058,7 +1058,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct BetaAppReviewDetail: Codable { + public struct BetaAppReviewDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -1088,7 +1088,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -1120,7 +1120,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1152,7 +1152,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct BetaGroups: Codable { + public struct BetaGroups: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -1187,7 +1187,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -1219,7 +1219,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1251,7 +1251,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct BetaLicenseAgreement: Codable { + public struct BetaLicenseAgreement: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -1281,7 +1281,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -1313,7 +1313,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1345,7 +1345,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Builds: Codable { + public struct Builds: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -1380,7 +1380,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -1412,7 +1412,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1444,7 +1444,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct CiProduct: Codable { + public struct CiProduct: Codable, Sendable { /// The ID and type of the related Products resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -1476,7 +1476,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Products resource. public let id: String /// The resource type. @@ -1508,7 +1508,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -1542,7 +1542,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct EndUserLicenseAgreement: Codable { + public struct EndUserLicenseAgreement: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -1572,7 +1572,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "endUserLicenseAgreements" } @@ -1602,7 +1602,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1627,7 +1627,7 @@ public struct App: Codable, Identifiable { } } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -1650,7 +1650,7 @@ public struct App: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -1673,7 +1673,7 @@ public struct App: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1705,7 +1705,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct GameCenterEnabledVersions: Codable { + public struct GameCenterEnabledVersions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -1740,7 +1740,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterEnabledVersions" } @@ -1770,7 +1770,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1802,7 +1802,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct InAppPurchases: Codable { + public struct InAppPurchases: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -1837,7 +1837,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } @@ -1867,7 +1867,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1892,7 +1892,7 @@ public struct App: Codable, Identifiable { } } - public struct InAppPurchasesV2: Codable { + public struct InAppPurchasesV2: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -1920,7 +1920,7 @@ public struct App: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } @@ -1943,7 +1943,7 @@ public struct App: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1975,7 +1975,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct PreOrder: Codable { + public struct PreOrder: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -2005,7 +2005,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreOrders" } @@ -2035,7 +2035,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -2067,7 +2067,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct PreReleaseVersions: Codable { + public struct PreReleaseVersions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -2102,7 +2102,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -2134,7 +2134,7 @@ public struct App: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -2159,7 +2159,7 @@ public struct App: Codable, Identifiable { } } - public struct PromotedPurchases: Codable { + public struct PromotedPurchases: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -2187,7 +2187,7 @@ public struct App: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "promotedPurchases" } @@ -2210,7 +2210,7 @@ public struct App: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -2235,7 +2235,7 @@ public struct App: Codable, Identifiable { } } - public struct ReviewSubmissions: Codable { + public struct ReviewSubmissions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -2263,7 +2263,7 @@ public struct App: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "reviewSubmissions" } @@ -2286,7 +2286,7 @@ public struct App: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -2311,7 +2311,7 @@ public struct App: Codable, Identifiable { } } - public struct SubscriptionGracePeriod: Codable { + public struct SubscriptionGracePeriod: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -2334,7 +2334,7 @@ public struct App: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGracePeriods" } @@ -2357,7 +2357,7 @@ public struct App: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -2382,7 +2382,7 @@ public struct App: Codable, Identifiable { } } - public struct SubscriptionGroups: Codable { + public struct SubscriptionGroups: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -2410,7 +2410,7 @@ public struct App: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGroups" } @@ -2433,7 +2433,7 @@ public struct App: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppAvailability.swift b/Sources/Bagbutik-Models/AppStore/AppAvailability.swift index ececf45c7..999daddee 100644 --- a/Sources/Bagbutik-Models/AppStore/AppAvailability.swift +++ b/Sources/Bagbutik-Models/AppStore/AppAvailability.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppAvailability: Codable, Identifiable { +public struct AppAvailability: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appAvailabilities" } @@ -39,7 +39,7 @@ public struct AppAvailability: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var availableInNewTerritories: Bool? public init(availableInNewTerritories: Bool? = nil) { @@ -57,7 +57,7 @@ public struct AppAvailability: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var availableTerritories: AvailableTerritories? @@ -80,7 +80,7 @@ public struct AppAvailability: Codable, Identifiable { try container.encodeIfPresent(availableTerritories, forKey: "availableTerritories") } - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -103,7 +103,7 @@ public struct AppAvailability: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -126,7 +126,7 @@ public struct AppAvailability: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -151,7 +151,7 @@ public struct AppAvailability: Codable, Identifiable { } } - public struct AvailableTerritories: Codable { + public struct AvailableTerritories: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -179,7 +179,7 @@ public struct AppAvailability: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -202,7 +202,7 @@ public struct AppAvailability: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppAvailabilityCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppAvailabilityCreateRequest.swift index 97cdf5617..89edb2737 100644 --- a/Sources/Bagbutik-Models/AppStore/AppAvailabilityCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppAvailabilityCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppAvailabilityCreateRequest: Codable, RequestBody { +public struct AppAvailabilityCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppAvailabilityCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appAvailabilities" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppAvailabilityCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let availableInNewTerritories: Bool public init(availableInNewTerritories: Bool) { @@ -64,7 +64,7 @@ public struct AppAvailabilityCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public let availableTerritories: AvailableTerritories @@ -87,7 +87,7 @@ public struct AppAvailabilityCreateRequest: Codable, RequestBody { try container.encode(availableTerritories, forKey: "availableTerritories") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -104,7 +104,7 @@ public struct AppAvailabilityCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -128,7 +128,7 @@ public struct AppAvailabilityCreateRequest: Codable, RequestBody { } } - public struct AvailableTerritories: Codable { + public struct AvailableTerritories: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -145,7 +145,7 @@ public struct AppAvailabilityCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } diff --git a/Sources/Bagbutik-Models/AppStore/AppAvailabilityResponse.swift b/Sources/Bagbutik-Models/AppStore/AppAvailabilityResponse.swift index 26709726b..06d3b71b2 100644 --- a/Sources/Bagbutik-Models/AppStore/AppAvailabilityResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppAvailabilityResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppAvailabilityResponse: Codable { +public struct AppAvailabilityResponse: Codable, Sendable { public let data: AppAvailability public var included: [Included]? public let links: DocumentLinks @@ -48,7 +48,7 @@ public struct AppAvailabilityResponse: Codable { return availableTerritories } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2.swift b/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2.swift index 6ab1026f1..271f2d8d5 100644 --- a/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2.swift +++ b/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppAvailabilityV2: Codable, Identifiable { +public struct AppAvailabilityV2: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appAvailabilities" } @@ -46,7 +46,7 @@ public struct AppAvailabilityV2: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var availableInNewTerritories: Bool? public init(availableInNewTerritories: Bool? = nil) { @@ -64,7 +64,7 @@ public struct AppAvailabilityV2: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var territoryAvailabilities: TerritoryAvailabilities? public init(territoryAvailabilities: TerritoryAvailabilities? = nil) { @@ -81,7 +81,7 @@ public struct AppAvailabilityV2: Codable, Identifiable { try container.encodeIfPresent(territoryAvailabilities, forKey: "territoryAvailabilities") } - public struct TerritoryAvailabilities: Codable { + public struct TerritoryAvailabilities: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -109,7 +109,7 @@ public struct AppAvailabilityV2: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territoryAvailabilities" } @@ -132,7 +132,7 @@ public struct AppAvailabilityV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2CreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2CreateRequest.swift index 0de70cf23..81ae9e69a 100644 --- a/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2CreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2CreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppAvailabilityV2CreateRequest: Codable, RequestBody { +public struct AppAvailabilityV2CreateRequest: Codable, Sendable, RequestBody { public let data: Data public var included: [TerritoryAvailabilityInlineCreate]? @@ -31,7 +31,7 @@ public struct AppAvailabilityV2CreateRequest: Codable, RequestBody { try container.encodeIfPresent(included, forKey: "included") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appAvailabilities" } public let attributes: Attributes public let relationships: Relationships @@ -59,7 +59,7 @@ public struct AppAvailabilityV2CreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let availableInNewTerritories: Bool public init(availableInNewTerritories: Bool) { @@ -77,7 +77,7 @@ public struct AppAvailabilityV2CreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public let territoryAvailabilities: TerritoryAvailabilities @@ -100,7 +100,7 @@ public struct AppAvailabilityV2CreateRequest: Codable, RequestBody { try container.encode(territoryAvailabilities, forKey: "territoryAvailabilities") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -117,7 +117,7 @@ public struct AppAvailabilityV2CreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -141,7 +141,7 @@ public struct AppAvailabilityV2CreateRequest: Codable, RequestBody { } } - public struct TerritoryAvailabilities: Codable { + public struct TerritoryAvailabilities: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -158,7 +158,7 @@ public struct AppAvailabilityV2CreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territoryAvailabilities" } diff --git a/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2Response.swift b/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2Response.swift index 057224c8b..4f06d0c4b 100644 --- a/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2Response.swift +++ b/Sources/Bagbutik-Models/AppStore/AppAvailabilityV2Response.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppAvailabilityV2Response: Codable { +public struct AppAvailabilityV2Response: Codable, Sendable { public let data: AppAvailabilityV2 public var included: [TerritoryAvailability]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppCategoriesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppCategoriesResponse.swift index ad487ec62..f98effafd 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCategoriesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCategoriesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCategoriesResponse: Codable, PagedResponse { +public struct AppCategoriesResponse: Codable, Sendable, PagedResponse { public typealias Data = AppCategory public let data: [AppCategory] diff --git a/Sources/Bagbutik-Models/AppStore/AppCategoriesWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppCategoriesWithoutIncludesResponse.swift index b685ea302..783e8530b 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCategoriesWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCategoriesWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppCategoriesWithoutIncludesResponse: Codable, PagedResponse { +public struct AppCategoriesWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = AppCategory public let data: [AppCategory] diff --git a/Sources/Bagbutik-Models/AppStore/AppCategory.swift b/Sources/Bagbutik-Models/AppStore/AppCategory.swift index 2001cca1e..f8ab37460 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCategory.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCategory.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCategory: Codable, Identifiable { +public struct AppCategory: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appCategories" } @@ -53,7 +53,7 @@ public struct AppCategory: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var platforms: [Platform]? public init(platforms: [Platform]? = nil) { @@ -78,7 +78,7 @@ public struct AppCategory: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var parent: Parent? public var subcategories: Subcategories? @@ -108,7 +108,7 @@ public struct AppCategory: Codable, Identifiable { Full documentation: */ - public struct Parent: Codable { + public struct Parent: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -138,7 +138,7 @@ public struct AppCategory: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCategories" } @@ -168,7 +168,7 @@ public struct AppCategory: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -200,7 +200,7 @@ public struct AppCategory: Codable, Identifiable { Full documentation: */ - public struct Subcategories: Codable { + public struct Subcategories: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -235,7 +235,7 @@ public struct AppCategory: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCategories" } @@ -265,7 +265,7 @@ public struct AppCategory: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppCategoryResponse.swift b/Sources/Bagbutik-Models/AppStore/AppCategoryResponse.swift index 9d2561247..478126d67 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCategoryResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCategoryResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCategoryResponse: Codable { +public struct AppCategoryResponse: Codable, Sendable { public let data: AppCategory public var included: [AppCategory]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppCategoryWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppCategoryWithoutIncludesResponse.swift index 74376c0b3..cb0e2d6b6 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCategoryWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCategoryWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppCategoryWithoutIncludesResponse: Codable { +public struct AppCategoryWithoutIncludesResponse: Codable, Sendable { public let data: AppCategory public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppClip.swift b/Sources/Bagbutik-Models/AppStore/AppClip.swift index 91eaa0a4c..7f5999752 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClip.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClip.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClip: Codable, Identifiable { +public struct AppClip: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an App Clips resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct AppClip: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The related Bundle IDs resource. public var bundleId: String? @@ -84,7 +84,7 @@ public struct AppClip: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Apps resource. public var app: App? /// The related Default App Clip Experiences resource. @@ -116,7 +116,7 @@ public struct AppClip: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { /// The resource data. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -148,7 +148,7 @@ public struct AppClip: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Apps resource. public let id: String /// The resource type. @@ -180,7 +180,7 @@ public struct AppClip: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -214,7 +214,7 @@ public struct AppClip: Codable, Identifiable { Full documentation: */ - public struct AppClipDefaultExperiences: Codable { + public struct AppClipDefaultExperiences: Codable, Sendable { /// The ID and type of the related Default App Clip Experiences resource. @NullCodable public var data: [Data]? /// Navigational links that include the self-link. @@ -252,7 +252,7 @@ public struct AppClip: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Default App Clip Experiences resource. public let id: String /// The resource type. @@ -284,7 +284,7 @@ public struct AppClip: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAction.swift b/Sources/Bagbutik-Models/AppStore/AppClipAction.swift index 421459df1..875d75d77 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAction.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAction.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum AppClipAction: String, ParameterValue, Codable, CaseIterable { +public enum AppClipAction: String, Sendable, ParameterValue, Codable, CaseIterable { case open = "OPEN" case play = "PLAY" case view = "VIEW" diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperience.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperience.swift index 87ced6899..3ee6ca5d1 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperience.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperience.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperience: Codable, Identifiable { +public struct AppClipAdvancedExperience: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an Advanced App Clip Experiences resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The call-to-action verb that appears on the App Clip card. public var action: AppClipAction? /// The business category of an advanced App Clip experience; for example, `PARKING` @@ -125,7 +125,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { try container.encodeIfPresent(version, forKey: "version") } - public enum BusinessCategory: String, Codable, CaseIterable { + public enum BusinessCategory: String, Sendable, Codable, CaseIterable { case automotive = "AUTOMOTIVE" case beauty = "BEAUTY" case bikes = "BIKES" @@ -162,7 +162,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Place: Codable { + public struct Place: Codable, Sendable { /// A list of categories for a place in Apple Maps you associate with the Advanced App Clip experience. public var categories: [String]? /// Coordinates of a place in Apple Maps you associate with an advanced App Clip experience. @@ -236,7 +236,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct DisplayPoint: Codable { + public struct DisplayPoint: Codable, Sendable { /// The GPS coordinates of a place in Apple Maps you associate with the Advanced App Clip experience. public var coordinates: Coordinates? /// A string that describes the means by which you captured the data for a display point. @@ -268,7 +268,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Coordinates: Codable { + public struct Coordinates: Codable, Sendable { /// A number that represents the latitude of GPS coordinates of a place in Apple Maps. public var latitude: Double? /// A number that represents the longitude of GPS coordinates of a place in Apple Maps. @@ -294,7 +294,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { } } - public enum Source: String, Codable, CaseIterable { + public enum Source: String, Sendable, Codable, CaseIterable { case calculated = "CALCULATED" case manuallyPlaced = "MANUALLY_PLACED" } @@ -307,7 +307,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct MainAddress: Codable { + public struct MainAddress: Codable, Sendable { /// The address of a place in Apple Maps as a string. public var fullAddress: String? /// The structured address of a place in Apple Maps. @@ -339,7 +339,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct StructuredAddress: Codable { + public struct StructuredAddress: Codable, Sendable { /// The country code of a place in Apple Maps you associate with the Advanced App Clip experience. public var countryCode: String? /// The identifier of a floor in a building. @@ -396,7 +396,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { } } - public enum MapAction: String, Codable, CaseIterable { + public enum MapAction: String, Sendable, Codable, CaseIterable { case buyTickets = "BUY_TICKETS" case hotelBookRoom = "HOTEL_BOOK_ROOM" case parkingReserveParking = "PARKING_RESERVE_PARKING" @@ -419,7 +419,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct PhoneNumber: Codable { + public struct PhoneNumber: Codable, Sendable { /// A string that describes the operational purpose of the phone number; for example `Customer Service` or `Help Desk` public var intent: String? /// The phone number as a string. @@ -450,7 +450,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { try container.encode(type, forKey: "type") } - public enum PhoneNumberType: String, Codable, CaseIterable { + public enum PhoneNumberType: String, Sendable, Codable, CaseIterable { case fax = "FAX" case landline = "LANDLINE" case mobile = "MOBILE" @@ -458,20 +458,20 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { } } - public enum Relationship: String, Codable, CaseIterable { + public enum Relationship: String, Sendable, Codable, CaseIterable { case authorized = "AUTHORIZED" case other = "OTHER" case owner = "OWNER" } } - public enum PlaceStatus: String, Codable, CaseIterable { + public enum PlaceStatus: String, Sendable, Codable, CaseIterable { case matched = "MATCHED" case noMatch = "NO_MATCH" case pending = "PENDING" } - public enum Status: String, Codable, CaseIterable { + public enum Status: String, Sendable, Codable, CaseIterable { case appTransferInProgress = "APP_TRANSFER_IN_PROGRESS" case deactivated = "DEACTIVATED" case received = "RECEIVED" @@ -485,7 +485,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related App Clips resource. public var appClip: AppClip? /// The related Advanced App Clip Experience Images resource. @@ -523,7 +523,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct AppClip: Codable { + public struct AppClip: Codable, Sendable { /// The ID and type of the related App Clips resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -555,7 +555,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related App Clips resource. public let id: String /// The resource type. @@ -587,7 +587,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -621,7 +621,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct HeaderImage: Codable { + public struct HeaderImage: Codable, Sendable { /// The ID and type of the related App Clip Header Images resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -653,7 +653,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Advanced App Clip Experience Images resource. public let id: String /// The resource type. @@ -685,7 +685,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -719,7 +719,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Localizations: Codable { + public struct Localizations: Codable, Sendable { /// The ID and type of the related Advanced App Clip Experience Localizations resource. @NullCodable public var data: [Data]? /// Navigational links that include the self-link. @@ -757,7 +757,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Advanced App Clip Experience Localizations resource. public let id: String /// The resource type. @@ -789,7 +789,7 @@ public struct AppClipAdvancedExperience: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceCreateRequest.swift index 8457cd15d..f46999510 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { +public struct AppClipAdvancedExperienceCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data /// The relationship data to include in the response. @@ -40,7 +40,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "appClipAdvancedExperiences" } /// The attributes that describe the request that creates an Advanced App Clip Experiences resource. @@ -78,7 +78,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The call-to-action verb that appears on the App Clip card. public var action: AppClipAction? /// The business category of an advanced App Clip experience; for example, `PARKING` @@ -136,7 +136,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Place: Codable { + public struct Place: Codable, Sendable { /// A list of categories for a place in Apple Maps you associate with the Advanced App Clip experience. public var categories: [String]? /// Coordinates of a place in Apple Maps you associate with an advanced App Clip experience. @@ -210,7 +210,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct DisplayPoint: Codable { + public struct DisplayPoint: Codable, Sendable { /// The GPS coordinates of a place in Apple Maps you associate with the Advanced App Clip experience. public var coordinates: Coordinates? /// A string that describes the means by which you captured the data for a display point. @@ -242,7 +242,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Coordinates: Codable { + public struct Coordinates: Codable, Sendable { /// A number that represents the latitude of GPS coordinates of a place in Apple Maps. public var latitude: Double? /// A number that represents the longitude of GPS coordinates of a place in Apple Maps. @@ -268,7 +268,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { } } - public enum Source: String, Codable, CaseIterable { + public enum Source: String, Sendable, Codable, CaseIterable { case calculated = "CALCULATED" case manuallyPlaced = "MANUALLY_PLACED" } @@ -281,7 +281,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct MainAddress: Codable { + public struct MainAddress: Codable, Sendable { /// The address of a place in Apple Maps as a string. public var fullAddress: String? /// The structured address of a place in Apple Maps. @@ -313,7 +313,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct StructuredAddress: Codable { + public struct StructuredAddress: Codable, Sendable { /// The country code of a place in Apple Maps you associate with the Advanced App Clip experience. public var countryCode: String? /// The identifier of a floor in a building. @@ -370,7 +370,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { } } - public enum MapAction: String, Codable, CaseIterable { + public enum MapAction: String, Sendable, Codable, CaseIterable { case buyTickets = "BUY_TICKETS" case hotelBookRoom = "HOTEL_BOOK_ROOM" case parkingReserveParking = "PARKING_RESERVE_PARKING" @@ -393,7 +393,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct PhoneNumber: Codable { + public struct PhoneNumber: Codable, Sendable { /// A string that describes the operational purpose of the phone number; for example `Customer Service` or `Help Desk` public var intent: String? /// The phone number as a string. @@ -424,7 +424,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { try container.encode(type, forKey: "type") } - public enum PhoneNumberType: String, Codable, CaseIterable { + public enum PhoneNumberType: String, Sendable, Codable, CaseIterable { case fax = "FAX" case landline = "LANDLINE" case mobile = "MOBILE" @@ -432,7 +432,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { } } - public enum Relationship: String, Codable, CaseIterable { + public enum Relationship: String, Sendable, Codable, CaseIterable { case authorized = "AUTHORIZED" case other = "OTHER" case owner = "OWNER" @@ -447,7 +447,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related App Clips resource. public let appClip: AppClip /// The related Advanced App Clip Experience Images resource. @@ -485,7 +485,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppClip: Codable { + public struct AppClip: Codable, Sendable { /// The ID and type of the related App Clips resource. public let data: Data @@ -510,7 +510,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related App Clips resource. public let id: String /// The resource type. @@ -543,7 +543,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct HeaderImage: Codable { + public struct HeaderImage: Codable, Sendable { /// The ID and type of the related App Clip Header Images resource. public let data: Data @@ -568,7 +568,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related App Clip Header Images resource. public let id: String /// The resource type. @@ -601,7 +601,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Localizations: Codable { + public struct Localizations: Codable, Sendable { /// The ID and type of the related Advanced App Clip Experience Localizations resource. public let data: [Data] @@ -626,7 +626,7 @@ public struct AppClipAdvancedExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Advanced App Clip Experience Localizations resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImage.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImage.swift index d6f453956..eed05b364 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImage.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImage.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperienceImage: Codable, Identifiable { +public struct AppClipAdvancedExperienceImage: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an Advanced App Clip Experience Images resource. public let id: String /// Navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct AppClipAdvancedExperienceImage: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The state of the App Clip card image asset you uploaded. public var assetDeliveryState: AppMediaAssetState? /// The filename of the image asset that appears on the App Clip card for the advanced App Clip experience. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageCreateRequest.swift index 383cf8a1b..78da7a6a9 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperienceImageCreateRequest: Codable, RequestBody { +public struct AppClipAdvancedExperienceImageCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppClipAdvancedExperienceImageCreateRequest: Codable, RequestBody Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "appClipAdvancedExperienceImages" } /// The attributes that describe the request that creates an Advanced App Clip Experience Images resource. @@ -64,7 +64,7 @@ public struct AppClipAdvancedExperienceImageCreateRequest: Codable, RequestBody Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The filename of the image asset that appears on the App Clip card for the advanced App Clip experience. public let fileName: String /// The size of the image asset that appears on the App Clip card for the advanced App Clip experience. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageResponse.swift index 096bb9e2a..bd87e75fb 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperienceImageResponse: Codable { +public struct AppClipAdvancedExperienceImageResponse: Codable, Sendable { /// The resource data. public let data: AppClipAdvancedExperienceImage /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageUpdateRequest.swift index b546e39cb..63c2d537c 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceImageUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperienceImageUpdateRequest: Codable, RequestBody { +public struct AppClipAdvancedExperienceImageUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppClipAdvancedExperienceImageUpdateRequest: Codable, RequestBody Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct AppClipAdvancedExperienceImageUpdateRequest: Codable, RequestBody Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A string that represents the MD5 checksum of the image asset you use for the App Clip card. public var sourceFileChecksum: String? /// A Boolean value that indicates whether you uploaded the image asset for an advanced App Clip experience. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLanguage.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLanguage.swift index a3b719f71..a41cb30c3 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLanguage.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLanguage.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum AppClipAdvancedExperienceLanguage: String, Codable, CaseIterable { +public enum AppClipAdvancedExperienceLanguage: String, Sendable, Codable, CaseIterable { case ar = "AR" case ca = "CA" case cs = "CS" diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLocalization.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLocalization.swift index 56d56e3b3..f3d51f71b 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLocalization.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperienceLocalization: Codable, Identifiable { +public struct AppClipAdvancedExperienceLocalization: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an Advanced App Clip Experience Localizations resource. public let id: String /// Navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct AppClipAdvancedExperienceLocalization: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A string that identifies the language of the advanced App Clip experience. public var language: AppClipAdvancedExperienceLanguage? /// The subtitle that appears on the App Clip card for the advanced App Clip experience. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLocalizationInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLocalizationInlineCreate.swift index 139def6b9..3d11d3c3a 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLocalizationInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceLocalizationInlineCreate.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperienceLocalizationInlineCreate: Codable, Identifiable { +public struct AppClipAdvancedExperienceLocalizationInlineCreate: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an Advanced App Clip Experience Localization Inline Creates resource. public var id: String? /// The resource type. @@ -46,7 +46,7 @@ public struct AppClipAdvancedExperienceLocalizationInlineCreate: Codable, Identi Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A string that identifies the language of the advanced App Clip experience. public var language: AppClipAdvancedExperienceLanguage? /// The subtitle that appears on the App Clip card for the advanced App Clip experience. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceResponse.swift index c0db251b8..04d2b5e8e 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperienceResponse: Codable { +public struct AppClipAdvancedExperienceResponse: Codable, Sendable { /// The resource data. public let data: AppClipAdvancedExperience /// The requested relationship data. @@ -65,7 +65,7 @@ public struct AppClipAdvancedExperienceResponse: Codable { return localizations } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appClip(AppClip) case appClipAdvancedExperienceImage(AppClipAdvancedExperienceImage) case appClipAdvancedExperienceLocalization(AppClipAdvancedExperienceLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceUpdateRequest.swift index 3d6408edd..e9eb59a70 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperienceUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { +public struct AppClipAdvancedExperienceUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data /// The relationship data to include in the response. @@ -40,7 +40,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. @@ -84,7 +84,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The call-to-action verb that appears on the App Clip card. public var action: AppClipAction? /// The business category of an advanced App Clip experience; for example, `PARKING` @@ -140,7 +140,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Place: Codable { + public struct Place: Codable, Sendable { /// A list of categories for a place in Apple Maps you associate with the Advanced App Clip experience. public var categories: [String]? /// Coordinates of a place in Apple Maps you associate with an advanced App Clip experience. @@ -214,7 +214,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct DisplayPoint: Codable { + public struct DisplayPoint: Codable, Sendable { /// The GPS coordinates of a place in Apple Maps you associate with the Advanced App Clip experience. public var coordinates: Coordinates? /// A string that describes the means by which you captured the data for a display point. @@ -246,7 +246,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Coordinates: Codable { + public struct Coordinates: Codable, Sendable { /// A number that represents the latitude of GPS coordinates of a place in Apple Maps. public var latitude: Double? /// A number that represents the longitude of GPS coordinates of a place in Apple Maps. @@ -272,7 +272,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { } } - public enum Source: String, Codable, CaseIterable { + public enum Source: String, Sendable, Codable, CaseIterable { case calculated = "CALCULATED" case manuallyPlaced = "MANUALLY_PLACED" } @@ -285,7 +285,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct MainAddress: Codable { + public struct MainAddress: Codable, Sendable { /// The address of a place in Apple Maps as a string. public var fullAddress: String? /// The structured address of a place in Apple Maps. @@ -317,7 +317,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct StructuredAddress: Codable { + public struct StructuredAddress: Codable, Sendable { /// The country code of a place in Apple Maps you associate with the Advanced App Clip experience. public var countryCode: String? /// The identifier of a floor in a building. @@ -374,7 +374,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { } } - public enum MapAction: String, Codable, CaseIterable { + public enum MapAction: String, Sendable, Codable, CaseIterable { case buyTickets = "BUY_TICKETS" case hotelBookRoom = "HOTEL_BOOK_ROOM" case parkingReserveParking = "PARKING_RESERVE_PARKING" @@ -397,7 +397,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct PhoneNumber: Codable { + public struct PhoneNumber: Codable, Sendable { /// A string that describes the operational purpose of the phone number; for example `Customer Service` or `Help Desk` public var intent: String? /// The phone number as a string. @@ -428,7 +428,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { try container.encode(type, forKey: "type") } - public enum PhoneNumberType: String, Codable, CaseIterable { + public enum PhoneNumberType: String, Sendable, Codable, CaseIterable { case fax = "FAX" case landline = "LANDLINE" case mobile = "MOBILE" @@ -436,7 +436,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { } } - public enum Relationship: String, Codable, CaseIterable { + public enum Relationship: String, Sendable, Codable, CaseIterable { case authorized = "AUTHORIZED" case other = "OTHER" case owner = "OWNER" @@ -451,7 +451,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related App Clips resource. public var appClip: AppClip? /// The related Advanced App Clip Experience Images resource. @@ -489,7 +489,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct AppClip: Codable { + public struct AppClip: Codable, Sendable { /// The ID and type of the related App Clips resource. @NullCodable public var data: Data? @@ -514,7 +514,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an App Clips resource. public let id: String /// The resource type. @@ -547,7 +547,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct HeaderImage: Codable { + public struct HeaderImage: Codable, Sendable { /// The ID and type of the related App Clip Header Images resource. @NullCodable public var data: Data? @@ -572,7 +572,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Advanced App Clip Experience Images resource. public let id: String /// The resource type. @@ -605,7 +605,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Localizations: Codable { + public struct Localizations: Codable, Sendable { /// The ID and type of the related Advanced App Clip Experience Localizations resource. @NullCodable public var data: [Data]? @@ -630,7 +630,7 @@ public struct AppClipAdvancedExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Advanced App Clip Experience Localizations resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperiencesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperiencesResponse.swift index 3d7827494..1bdd27708 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperiencesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAdvancedExperiencesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAdvancedExperiencesResponse: Codable, PagedResponse { +public struct AppClipAdvancedExperiencesResponse: Codable, Sendable, PagedResponse { public typealias Data = AppClipAdvancedExperience /// The resource data. @@ -73,7 +73,7 @@ public struct AppClipAdvancedExperiencesResponse: Codable, PagedResponse { return localizations } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appClip(AppClip) case appClipAdvancedExperienceImage(AppClipAdvancedExperienceImage) case appClipAdvancedExperienceLocalization(AppClipAdvancedExperienceLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetail.swift b/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetail.swift index 5ae6584af..f362eb7e8 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetail.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetail.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAppStoreReviewDetail: Codable, Identifiable { +public struct AppClipAppStoreReviewDetail: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an App Clip App Store Review Details resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct AppClipAppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// An array of invocation URLs for your App Clip. public var invocationUrls: [String]? @@ -84,7 +84,7 @@ public struct AppClipAppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Default App Clip Experiences resource. public var appClipDefaultExperience: AppClipDefaultExperience? @@ -109,7 +109,7 @@ public struct AppClipAppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct AppClipDefaultExperience: Codable { + public struct AppClipDefaultExperience: Codable, Sendable { /// The ID and type of the related Default App Clip Experiences resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -141,7 +141,7 @@ public struct AppClipAppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Default App Clip Experiences resource. public let id: String /// The resource type. @@ -173,7 +173,7 @@ public struct AppClipAppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailCreateRequest.swift index beaf8a99e..1d3ab8375 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAppStoreReviewDetailCreateRequest: Codable, RequestBody { +public struct AppClipAppStoreReviewDetailCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppClipAppStoreReviewDetailCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "appClipAppStoreReviewDetails" } /// The attributes that describe the request that creates an App Clip App Store Review Details resource. @@ -71,7 +71,7 @@ public struct AppClipAppStoreReviewDetailCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// An array of invocation URLs for your App Clip. public var invocationUrls: [String]? @@ -97,7 +97,7 @@ public struct AppClipAppStoreReviewDetailCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Default App Clip Experiences resource. public let appClipDefaultExperience: AppClipDefaultExperience @@ -122,7 +122,7 @@ public struct AppClipAppStoreReviewDetailCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppClipDefaultExperience: Codable { + public struct AppClipDefaultExperience: Codable, Sendable { /// The ID and type of the related Default App Clip Experiences resource. public let data: Data @@ -147,7 +147,7 @@ public struct AppClipAppStoreReviewDetailCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Default App Clip Experiences resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailResponse.swift index 226d7501d..955173b75 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAppStoreReviewDetailResponse: Codable { +public struct AppClipAppStoreReviewDetailResponse: Codable, Sendable { /// The resource data. public let data: AppClipAppStoreReviewDetail /// The requested relationship data. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailUpdateRequest.swift index ed8148cee..777fd1ef7 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipAppStoreReviewDetailUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipAppStoreReviewDetailUpdateRequest: Codable, RequestBody { +public struct AppClipAppStoreReviewDetailUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppClipAppStoreReviewDetailUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct AppClipAppStoreReviewDetailUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// An array of invocation URLs for your App Clip. public var invocationUrls: [String]? diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperience.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperience.swift index dae985b2d..fe45c7caf 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperience.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperience.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperience: Codable, Identifiable { +public struct AppClipDefaultExperience: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Default App Clip Experiences resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The call-to-action verb that appears on the App Clip card. public var action: AppClipAction? @@ -84,7 +84,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related App Clips resource. public var appClip: AppClip? /// The related App Clip App Store Review Details resource. @@ -128,7 +128,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct AppClip: Codable { + public struct AppClip: Codable, Sendable { /// The ID and type of the related App Clips resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -160,7 +160,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an App Clips resource. public let id: String /// The resource type. @@ -192,7 +192,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -226,7 +226,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct AppClipAppStoreReviewDetail: Codable { + public struct AppClipAppStoreReviewDetail: Codable, Sendable { /// The ID and type of the related App Clip App Store Review Details resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -258,7 +258,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related App Clip App Store Review Details resource. public let id: String /// The resource type. @@ -290,7 +290,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -324,7 +324,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct AppClipDefaultExperienceLocalizations: Codable { + public struct AppClipDefaultExperienceLocalizations: Codable, Sendable { /// The ID and type of the related Default App Clip Experience Localizations resource. @NullCodable public var data: [Data]? /// Navigational links that include the self-link. @@ -362,7 +362,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Default App Clip Experience Localizations resource. public let id: String /// The resource type. @@ -394,7 +394,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -428,7 +428,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct ReleaseWithAppStoreVersion: Codable { + public struct ReleaseWithAppStoreVersion: Codable, Sendable { /// The ID and type of the related App Store Versions resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -460,7 +460,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related App Store Versions resource. public let id: String /// The resource type. @@ -492,7 +492,7 @@ public struct AppClipDefaultExperience: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceCreateRequest.swift index d3db17e95..2ddd74d6a 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperienceCreateRequest: Codable, RequestBody { +public struct AppClipDefaultExperienceCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppClipDefaultExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "appClipDefaultExperiences" } /// The attributes that describe the request that creates a Default App Clip Experiences resource. @@ -71,7 +71,7 @@ public struct AppClipDefaultExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The call-to-action verb that appears on the App Clip card. public var action: AppClipAction? @@ -97,7 +97,7 @@ public struct AppClipDefaultExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related App Clips resource. public let appClip: AppClip /// The related Default App Clip Experience Templates resource. @@ -135,7 +135,7 @@ public struct AppClipDefaultExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppClip: Codable { + public struct AppClip: Codable, Sendable { /// The ID and type of the related App Clips resource. public let data: Data @@ -160,7 +160,7 @@ public struct AppClipDefaultExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an App Clips resource. public let id: String /// The resource type. @@ -193,7 +193,7 @@ public struct AppClipDefaultExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppClipDefaultExperienceTemplate: Codable { + public struct AppClipDefaultExperienceTemplate: Codable, Sendable { /// The ID and type of the related App Clip Default Experience Templates resource. @NullCodable public var data: Data? @@ -218,7 +218,7 @@ public struct AppClipDefaultExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Default App Clip Experience Templates resource. public let id: String /// The resource type. @@ -251,7 +251,7 @@ public struct AppClipDefaultExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct ReleaseWithAppStoreVersion: Codable { + public struct ReleaseWithAppStoreVersion: Codable, Sendable { /// The ID and type of the related App Store Versions resource. @NullCodable public var data: Data? @@ -276,7 +276,7 @@ public struct AppClipDefaultExperienceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related App Store Versions resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalization.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalization.swift index 5a3d88232..83f1a1cf5 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalization.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { +public struct AppClipDefaultExperienceLocalization: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Default App Clip Experience Localizations resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The specified locale. public var locale: String? /// The subtitle that appears on the App Clip card for the default App Clip experience. @@ -91,7 +91,7 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Default App Clip Experiences resource. public var appClipDefaultExperience: AppClipDefaultExperience? /// The related App Clip Header Images resource. @@ -123,7 +123,7 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { Full documentation: */ - public struct AppClipDefaultExperience: Codable { + public struct AppClipDefaultExperience: Codable, Sendable { /// The ID and type of the related Default App Clip Experiences resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -155,7 +155,7 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Default App Clip Experiences resource. public let id: String /// The resource type. @@ -187,7 +187,7 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -221,7 +221,7 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { Full documentation: */ - public struct AppClipHeaderImage: Codable { + public struct AppClipHeaderImage: Codable, Sendable { /// The ID and type of the related App Clip Header Images resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -253,7 +253,7 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related App Clip Header Images resource. public let id: String /// The resource type. @@ -285,7 +285,7 @@ public struct AppClipDefaultExperienceLocalization: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationCreateRequest.swift index 62bca6e06..0426b70ee 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperienceLocalizationCreateRequest: Codable, RequestBody { +public struct AppClipDefaultExperienceLocalizationCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppClipDefaultExperienceLocalizationCreateRequest: Codable, Reques Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "appClipDefaultExperienceLocalizations" } /// The attributes that describes the request that creates a Default App Clip Experience Localizations resource. @@ -71,7 +71,7 @@ public struct AppClipDefaultExperienceLocalizationCreateRequest: Codable, Reques Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The specified locale. public let locale: String /// The subtitle that appears on the App Clip card for the default App Clip experience. @@ -104,7 +104,7 @@ public struct AppClipDefaultExperienceLocalizationCreateRequest: Codable, Reques Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Default App Clip Experiences resource. public let appClipDefaultExperience: AppClipDefaultExperience @@ -129,7 +129,7 @@ public struct AppClipDefaultExperienceLocalizationCreateRequest: Codable, Reques Full documentation: */ - public struct AppClipDefaultExperience: Codable { + public struct AppClipDefaultExperience: Codable, Sendable { /// The ID and type of the related Default App Clip Experiences resource. public let data: Data @@ -154,7 +154,7 @@ public struct AppClipDefaultExperienceLocalizationCreateRequest: Codable, Reques Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Default App Clip Experiences resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationResponse.swift index df6273619..d56fc8d44 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperienceLocalizationResponse: Codable { +public struct AppClipDefaultExperienceLocalizationResponse: Codable, Sendable { /// The resource data. public let data: AppClipDefaultExperienceLocalization /// The requested relationship data. @@ -53,7 +53,7 @@ public struct AppClipDefaultExperienceLocalizationResponse: Codable { }.first { $0.id == data.relationships?.appClipHeaderImage?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appClipDefaultExperience(AppClipDefaultExperience) case appClipHeaderImage(AppClipHeaderImage) diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationUpdateRequest.swift index 585bb1b52..59bdbdf8b 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperienceLocalizationUpdateRequest: Codable, RequestBody { +public struct AppClipDefaultExperienceLocalizationUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppClipDefaultExperienceLocalizationUpdateRequest: Codable, Reques Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct AppClipDefaultExperienceLocalizationUpdateRequest: Codable, Reques Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The subtitle that appears on the App Clip card for the default App Clip experience. public var subtitle: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationsResponse.swift index 86a8bd741..708f990f3 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceLocalizationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperienceLocalizationsResponse: Codable, PagedResponse { +public struct AppClipDefaultExperienceLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppClipDefaultExperienceLocalization /// The resource data. @@ -61,7 +61,7 @@ public struct AppClipDefaultExperienceLocalizationsResponse: Codable, PagedRespo }.first { $0.id == appClipDefaultExperienceLocalization.relationships?.appClipHeaderImage?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appClipDefaultExperience(AppClipDefaultExperience) case appClipHeaderImage(AppClipHeaderImage) diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest.swift index 0386f8a59..9f87e0fad 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest: Codable, RequestBody { +public struct AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. @NullCodable public var data: Data? @@ -33,7 +33,7 @@ public struct AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest: Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse.swift index 8f94744ca..9090940fd 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse: Codable { +public struct AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse: Codable, Sendable { /// The object types and IDs of the related resources. public let data: Data /// Navigational links that include the self-link. @@ -40,7 +40,7 @@ public struct AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse: Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the response. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceResponse.swift index c709b4d90..a1303691b 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperienceResponse: Codable { +public struct AppClipDefaultExperienceResponse: Codable, Sendable { /// The resource data. public let data: AppClipDefaultExperience /// The requested relationship data. @@ -72,7 +72,7 @@ public struct AppClipDefaultExperienceResponse: Codable { }.first { $0.id == data.relationships?.releaseWithAppStoreVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appClip(AppClip) case appClipAppStoreReviewDetail(AppClipAppStoreReviewDetail) case appClipDefaultExperienceLocalization(AppClipDefaultExperienceLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceUpdateRequest.swift index e9ff7ef8b..8712692c2 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperienceUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperienceUpdateRequest: Codable, RequestBody { +public struct AppClipDefaultExperienceUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppClipDefaultExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. @@ -77,7 +77,7 @@ public struct AppClipDefaultExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The call-to-action verb that appears on the App Clip card. public var action: AppClipAction? @@ -103,7 +103,7 @@ public struct AppClipDefaultExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related App Store Versions resource. public var releaseWithAppStoreVersion: ReleaseWithAppStoreVersion? @@ -128,7 +128,7 @@ public struct AppClipDefaultExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct ReleaseWithAppStoreVersion: Codable { + public struct ReleaseWithAppStoreVersion: Codable, Sendable { /// The ID and type of the related App Store Versions resource. @NullCodable public var data: Data? @@ -153,7 +153,7 @@ public struct AppClipDefaultExperienceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related App Store Versions resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperiencesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperiencesResponse.swift index 33cf45722..813eb758c 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperiencesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDefaultExperiencesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDefaultExperiencesResponse: Codable, PagedResponse { +public struct AppClipDefaultExperiencesResponse: Codable, Sendable, PagedResponse { public typealias Data = AppClipDefaultExperience /// The resource data. @@ -80,7 +80,7 @@ public struct AppClipDefaultExperiencesResponse: Codable, PagedResponse { }.first { $0.id == appClipDefaultExperience.relationships?.releaseWithAppStoreVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appClip(AppClip) case appClipAppStoreReviewDetail(AppClipAppStoreReviewDetail) case appClipDefaultExperienceLocalization(AppClipDefaultExperienceLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDomainStatus.swift b/Sources/Bagbutik-Models/AppStore/AppClipDomainStatus.swift index c175f65aa..93067cbc6 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDomainStatus.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDomainStatus.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDomainStatus: Codable, Identifiable { +public struct AppClipDomainStatus: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an App Clip Domain Statuses resource. public let id: String /// Navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct AppClipDomainStatus: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// An array of domains you associated with your app or App Clip. public var domains: [Domains]? /// The date when App Store Connect last verified the status of an associated domain. @@ -84,7 +84,7 @@ public struct AppClipDomainStatus: Codable, Identifiable { Full documentation: */ - public struct Domains: Codable { + public struct Domains: Codable, Sendable { /// A domain you associated with your app or App Clip. public var domain: String? /// A string that describes an issue that occurred when App Store Connect tried to validate the status of an associated domain. @@ -121,7 +121,7 @@ public struct AppClipDomainStatus: Codable, Identifiable { try container.encodeIfPresent(lastUpdatedDate, forKey: "lastUpdatedDate") } - public enum ErrorCode: String, Codable, CaseIterable { + public enum ErrorCode: String, Sendable, Codable, CaseIterable { case badHttpResponse = "BAD_HTTP_RESPONSE" case badJsonContent = "BAD_JSON_CONTENT" case badPkcs7Signature = "BAD_PKCS7_SIGNATURE" diff --git a/Sources/Bagbutik-Models/AppStore/AppClipDomainStatusResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipDomainStatusResponse.swift index 46bd81b27..03c891bdc 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipDomainStatusResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipDomainStatusResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipDomainStatusResponse: Codable { +public struct AppClipDomainStatusResponse: Codable, Sendable { /// The resource data. public let data: AppClipDomainStatus /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipHeaderImage.swift b/Sources/Bagbutik-Models/AppStore/AppClipHeaderImage.swift index e57f287c2..fdae049f2 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipHeaderImage.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipHeaderImage.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipHeaderImage: Codable, Identifiable { +public struct AppClipHeaderImage: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an App Clip Header Images resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct AppClipHeaderImage: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The state of the App Clip card image asset you uploaded. public var assetDeliveryState: AppMediaAssetState? /// The filename of the image asset that appears on the App Clip card for the default App Clip experience. @@ -115,7 +115,7 @@ public struct AppClipHeaderImage: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Default App Clip Experience Localizations resource. public var appClipDefaultExperienceLocalization: AppClipDefaultExperienceLocalization? @@ -140,7 +140,7 @@ public struct AppClipHeaderImage: Codable, Identifiable { Full documentation: */ - public struct AppClipDefaultExperienceLocalization: Codable { + public struct AppClipDefaultExperienceLocalization: Codable, Sendable { /// The ID and type of the related Default App Clip Experience Localizations resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -172,7 +172,7 @@ public struct AppClipHeaderImage: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Default App Clip Experience Localizations resource. public let id: String /// The resource type. @@ -204,7 +204,7 @@ public struct AppClipHeaderImage: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageCreateRequest.swift index a7f53c6d2..2710a33bd 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipHeaderImageCreateRequest: Codable, RequestBody { +public struct AppClipHeaderImageCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppClipHeaderImageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "appClipHeaderImages" } /// The attributes that describes the request that creates an App Clip Header Images resource. @@ -71,7 +71,7 @@ public struct AppClipHeaderImageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The filename of the image asset that appears on the App Clip card for the default App Clip experience. public let fileName: String /// The size of the image asset that appears on the App Clip card for the default App Clip experience. @@ -104,7 +104,7 @@ public struct AppClipHeaderImageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Default App Clip Experience Localizations resource. public let appClipDefaultExperienceLocalization: AppClipDefaultExperienceLocalization @@ -129,7 +129,7 @@ public struct AppClipHeaderImageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppClipDefaultExperienceLocalization: Codable { + public struct AppClipDefaultExperienceLocalization: Codable, Sendable { /// The ID and type of the related Default App Clip Experience Localizations resource. public let data: Data @@ -154,7 +154,7 @@ public struct AppClipHeaderImageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Default App Clip Experience Localizations resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageResponse.swift index 0d6c368cf..b48639f9e 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipHeaderImageResponse: Codable { +public struct AppClipHeaderImageResponse: Codable, Sendable { /// The resource data. public let data: AppClipHeaderImage /// The requested relationship data. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageUpdateRequest.swift index e4ec869ea..3b392ca5f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipHeaderImageUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipHeaderImageUpdateRequest: Codable, RequestBody { +public struct AppClipHeaderImageUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppClipHeaderImageUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct AppClipHeaderImageUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A string that represents the MD5 checksum of the image asset you use for the App Clip card. public var sourceFileChecksum: String? /// A Boolean value that indicates whether you uploaded the image asset for an advanced App Clip experience. diff --git a/Sources/Bagbutik-Models/AppStore/AppClipResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipResponse.swift index c0ef2c36f..ad72e336f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipResponse: Codable { +public struct AppClipResponse: Codable, Sendable { /// The resource data. public let data: AppClip /// The requested relationship data. @@ -58,7 +58,7 @@ public struct AppClipResponse: Codable { return appClipDefaultExperiences } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appClipDefaultExperience(AppClipDefaultExperience) diff --git a/Sources/Bagbutik-Models/AppStore/AppClipsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppClipsResponse.swift index 80a636842..2c18d5a1e 100644 --- a/Sources/Bagbutik-Models/AppStore/AppClipsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppClipsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppClipsResponse: Codable, PagedResponse { +public struct AppClipsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppClip /// The resource data. @@ -66,7 +66,7 @@ public struct AppClipsResponse: Codable, PagedResponse { return appClipDefaultExperiences } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appClipDefaultExperience(AppClipDefaultExperience) diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPage.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPage.swift index f12ca8cca..e22bddac6 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPage.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPage.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPage: Codable, Identifiable { +public struct AppCustomProductPage: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appCustomProductPages" } @@ -46,7 +46,7 @@ public struct AppCustomProductPage: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var name: String? public var url: String? public var visible: Bool? @@ -75,7 +75,7 @@ public struct AppCustomProductPage: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var appCustomProductPageVersions: AppCustomProductPageVersions? @@ -98,7 +98,7 @@ public struct AppCustomProductPage: Codable, Identifiable { try container.encodeIfPresent(appCustomProductPageVersions, forKey: "appCustomProductPageVersions") } - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -121,7 +121,7 @@ public struct AppCustomProductPage: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -144,7 +144,7 @@ public struct AppCustomProductPage: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -169,7 +169,7 @@ public struct AppCustomProductPage: Codable, Identifiable { } } - public struct AppCustomProductPageVersions: Codable { + public struct AppCustomProductPageVersions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -197,7 +197,7 @@ public struct AppCustomProductPage: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageVersions" } @@ -220,7 +220,7 @@ public struct AppCustomProductPage: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageCreateRequest.swift index 067a582e7..dd52b7596 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageCreateRequest: Codable, RequestBody { +public struct AppCustomProductPageCreateRequest: Codable, Sendable, RequestBody { public let data: Data public var included: [Included]? @@ -31,7 +31,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { try container.encodeIfPresent(included, forKey: "included") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appCustomProductPages" } public let attributes: Attributes public let relationships: Relationships @@ -66,7 +66,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let name: String public init(name: String) { @@ -84,7 +84,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public var appCustomProductPageVersions: AppCustomProductPageVersions? public var appStoreVersionTemplate: AppStoreVersionTemplate? @@ -117,7 +117,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { try container.encodeIfPresent(customProductPageTemplate, forKey: "customProductPageTemplate") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -134,7 +134,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -158,7 +158,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { } } - public struct AppCustomProductPageVersions: Codable { + public struct AppCustomProductPageVersions: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -175,7 +175,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageVersions" } @@ -199,7 +199,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { } } - public struct AppStoreVersionTemplate: Codable { + public struct AppStoreVersionTemplate: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -216,7 +216,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -240,7 +240,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { } } - public struct CustomProductPageTemplate: Codable { + public struct CustomProductPageTemplate: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -257,7 +257,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPages" } @@ -283,7 +283,7 @@ public struct AppCustomProductPageCreateRequest: Codable, RequestBody { } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPageLocalizationInlineCreate(AppCustomProductPageLocalizationInlineCreate) case appCustomProductPageVersionInlineCreate(AppCustomProductPageVersionInlineCreate) diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalization.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalization.swift index c33d01ac5..a79060b94 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalization.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageLocalization: Codable, Identifiable { +public struct AppCustomProductPageLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appCustomProductPageLocalizations" } @@ -46,7 +46,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var locale: String? public var promotionalText: String? @@ -70,7 +70,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appCustomProductPageVersion: AppCustomProductPageVersion? public var appPreviewSets: AppPreviewSets? public var appScreenshotSets: AppScreenshotSets? @@ -98,7 +98,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { try container.encodeIfPresent(appScreenshotSets, forKey: "appScreenshotSets") } - public struct AppCustomProductPageVersion: Codable { + public struct AppCustomProductPageVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -121,7 +121,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageVersions" } @@ -144,7 +144,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -169,7 +169,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { } } - public struct AppPreviewSets: Codable { + public struct AppPreviewSets: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -197,7 +197,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreviewSets" } @@ -220,7 +220,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -245,7 +245,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { } } - public struct AppScreenshotSets: Codable { + public struct AppScreenshotSets: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -273,7 +273,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appScreenshotSets" } @@ -296,7 +296,7 @@ public struct AppCustomProductPageLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationCreateRequest.swift index b819e2e9f..5488e3f64 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageLocalizationCreateRequest: Codable, RequestBody { +public struct AppCustomProductPageLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct AppCustomProductPageLocalizationCreateRequest: Codable, RequestBod try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appCustomProductPageLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -53,7 +53,7 @@ public struct AppCustomProductPageLocalizationCreateRequest: Codable, RequestBod try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let locale: String public var promotionalText: String? @@ -77,7 +77,7 @@ public struct AppCustomProductPageLocalizationCreateRequest: Codable, RequestBod } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appCustomProductPageVersion: AppCustomProductPageVersion public init(appCustomProductPageVersion: AppCustomProductPageVersion) { @@ -94,7 +94,7 @@ public struct AppCustomProductPageLocalizationCreateRequest: Codable, RequestBod try container.encode(appCustomProductPageVersion, forKey: "appCustomProductPageVersion") } - public struct AppCustomProductPageVersion: Codable { + public struct AppCustomProductPageVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -111,7 +111,7 @@ public struct AppCustomProductPageLocalizationCreateRequest: Codable, RequestBod try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationInlineCreate.swift index 182ec2ca3..742b28aa1 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationInlineCreate.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageLocalizationInlineCreate: Codable, Identifiable { +public struct AppCustomProductPageLocalizationInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "appCustomProductPageLocalizations" } public let attributes: Attributes @@ -41,7 +41,7 @@ public struct AppCustomProductPageLocalizationInlineCreate: Codable, Identifiabl try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let locale: String public var promotionalText: String? @@ -65,7 +65,7 @@ public struct AppCustomProductPageLocalizationInlineCreate: Codable, Identifiabl } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appCustomProductPageVersion: AppCustomProductPageVersion? public init(appCustomProductPageVersion: AppCustomProductPageVersion? = nil) { @@ -82,7 +82,7 @@ public struct AppCustomProductPageLocalizationInlineCreate: Codable, Identifiabl try container.encodeIfPresent(appCustomProductPageVersion, forKey: "appCustomProductPageVersion") } - public struct AppCustomProductPageVersion: Codable { + public struct AppCustomProductPageVersion: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -99,7 +99,7 @@ public struct AppCustomProductPageLocalizationInlineCreate: Codable, Identifiabl try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationResponse.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationResponse.swift index 12c335706..2650ff05e 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageLocalizationResponse: Codable { +public struct AppCustomProductPageLocalizationResponse: Codable, Sendable { public let data: AppCustomProductPageLocalization public var included: [Included]? public let links: DocumentLinks @@ -67,7 +67,7 @@ public struct AppCustomProductPageLocalizationResponse: Codable { return appScreenshotSets } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPageVersion(AppCustomProductPageVersion) case appPreviewSet(AppPreviewSet) case appScreenshotSet(AppScreenshotSet) diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationUpdateRequest.swift index c77f63153..58f8b63d5 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageLocalizationUpdateRequest: Codable, RequestBody { +public struct AppCustomProductPageLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct AppCustomProductPageLocalizationUpdateRequest: Codable, RequestBod try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageLocalizations" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct AppCustomProductPageLocalizationUpdateRequest: Codable, RequestBod try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var promotionalText: String? public init(promotionalText: String? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationsResponse.swift index 74f996fb8..d611570d8 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageLocalizationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageLocalizationsResponse: Codable, PagedResponse { +public struct AppCustomProductPageLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppCustomProductPageLocalization public let data: [AppCustomProductPageLocalization] @@ -74,7 +74,7 @@ public struct AppCustomProductPageLocalizationsResponse: Codable, PagedResponse return appScreenshotSets } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPageVersion(AppCustomProductPageVersion) case appPreviewSet(AppPreviewSet) case appScreenshotSet(AppScreenshotSet) diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageResponse.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageResponse.swift index 7e2d1899d..ede29ad61 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageResponse: Codable { +public struct AppCustomProductPageResponse: Codable, Sendable { public let data: AppCustomProductPage public var included: [Included]? public let links: DocumentLinks @@ -55,7 +55,7 @@ public struct AppCustomProductPageResponse: Codable { return appCustomProductPageVersions } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appCustomProductPageVersion(AppCustomProductPageVersion) diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageUpdateRequest.swift index 0d29b46ff..5c9ca2b00 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageUpdateRequest: Codable, RequestBody { +public struct AppCustomProductPageUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct AppCustomProductPageUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPages" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct AppCustomProductPageUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var name: String? public var visible: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersion.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersion.swift index 1af7ee1a9..61117f911 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersion.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersion.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageVersion: Codable, Identifiable { +public struct AppCustomProductPageVersion: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appCustomProductPageVersions" } @@ -46,7 +46,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var deepLink: String? public var state: State? public var version: String? @@ -74,7 +74,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { try container.encodeIfPresent(version, forKey: "version") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case accepted = "ACCEPTED" case approved = "APPROVED" case inReview = "IN_REVIEW" @@ -86,7 +86,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appCustomProductPage: AppCustomProductPage? public var appCustomProductPageLocalizations: AppCustomProductPageLocalizations? @@ -109,7 +109,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { try container.encodeIfPresent(appCustomProductPageLocalizations, forKey: "appCustomProductPageLocalizations") } - public struct AppCustomProductPage: Codable { + public struct AppCustomProductPage: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -132,7 +132,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPages" } @@ -155,7 +155,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -180,7 +180,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { } } - public struct AppCustomProductPageLocalizations: Codable { + public struct AppCustomProductPageLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -208,7 +208,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageLocalizations" } @@ -231,7 +231,7 @@ public struct AppCustomProductPageVersion: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionCreateRequest.swift index cdcf02cbe..676d932d8 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageVersionCreateRequest: Codable, RequestBody { +public struct AppCustomProductPageVersionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct AppCustomProductPageVersionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appCustomProductPageVersions" } public var attributes: Attributes? public let relationships: Relationships @@ -60,7 +60,7 @@ public struct AppCustomProductPageVersionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var deepLink: String? public init(deepLink: String? = nil) { @@ -78,7 +78,7 @@ public struct AppCustomProductPageVersionCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appCustomProductPage: AppCustomProductPage public var appCustomProductPageLocalizations: AppCustomProductPageLocalizations? @@ -101,7 +101,7 @@ public struct AppCustomProductPageVersionCreateRequest: Codable, RequestBody { try container.encodeIfPresent(appCustomProductPageLocalizations, forKey: "appCustomProductPageLocalizations") } - public struct AppCustomProductPage: Codable { + public struct AppCustomProductPage: Codable, Sendable { public let data: Data public init(data: Data) { @@ -118,7 +118,7 @@ public struct AppCustomProductPageVersionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPages" } @@ -142,7 +142,7 @@ public struct AppCustomProductPageVersionCreateRequest: Codable, RequestBody { } } - public struct AppCustomProductPageLocalizations: Codable { + public struct AppCustomProductPageLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -159,7 +159,7 @@ public struct AppCustomProductPageVersionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageLocalizations" } diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionInlineCreate.swift index 00a9a7703..dc0db0e6c 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionInlineCreate.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageVersionInlineCreate: Codable, Identifiable { +public struct AppCustomProductPageVersionInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "appCustomProductPageVersions" } public var attributes: Attributes? @@ -41,7 +41,7 @@ public struct AppCustomProductPageVersionInlineCreate: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var deepLink: String? public init(deepLink: String? = nil) { @@ -59,7 +59,7 @@ public struct AppCustomProductPageVersionInlineCreate: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appCustomProductPage: AppCustomProductPage? public var appCustomProductPageLocalizations: AppCustomProductPageLocalizations? @@ -82,7 +82,7 @@ public struct AppCustomProductPageVersionInlineCreate: Codable, Identifiable { try container.encodeIfPresent(appCustomProductPageLocalizations, forKey: "appCustomProductPageLocalizations") } - public struct AppCustomProductPage: Codable { + public struct AppCustomProductPage: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -99,7 +99,7 @@ public struct AppCustomProductPageVersionInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPages" } @@ -123,7 +123,7 @@ public struct AppCustomProductPageVersionInlineCreate: Codable, Identifiable { } } - public struct AppCustomProductPageLocalizations: Codable { + public struct AppCustomProductPageLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -140,7 +140,7 @@ public struct AppCustomProductPageVersionInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageLocalizations" } diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionResponse.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionResponse.swift index 21a96c3b1..a5e0f6cfc 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageVersionResponse: Codable { +public struct AppCustomProductPageVersionResponse: Codable, Sendable { public let data: AppCustomProductPageVersion public var included: [Included]? public let links: DocumentLinks @@ -55,7 +55,7 @@ public struct AppCustomProductPageVersionResponse: Codable { return appCustomProductPageLocalizations } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPage(AppCustomProductPage) case appCustomProductPageLocalization(AppCustomProductPageLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionUpdateRequest.swift index 457d009f0..480876d91 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageVersionUpdateRequest: Codable, RequestBody { +public struct AppCustomProductPageVersionUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct AppCustomProductPageVersionUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageVersions" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct AppCustomProductPageVersionUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var deepLink: String? public init(deepLink: String? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionsResponse.swift index fc57438f8..74c069cd7 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPageVersionsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPageVersionsResponse: Codable, PagedResponse { +public struct AppCustomProductPageVersionsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppCustomProductPageVersion public let data: [AppCustomProductPageVersion] @@ -62,7 +62,7 @@ public struct AppCustomProductPageVersionsResponse: Codable, PagedResponse { return appCustomProductPageLocalizations } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPage(AppCustomProductPage) case appCustomProductPageLocalization(AppCustomProductPageLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/AppCustomProductPagesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppCustomProductPagesResponse.swift index 60891aaaf..56520d76d 100644 --- a/Sources/Bagbutik-Models/AppStore/AppCustomProductPagesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppCustomProductPagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppCustomProductPagesResponse: Codable, PagedResponse { +public struct AppCustomProductPagesResponse: Codable, Sendable, PagedResponse { public typealias Data = AppCustomProductPage public let data: [AppCustomProductPage] @@ -62,7 +62,7 @@ public struct AppCustomProductPagesResponse: Codable, PagedResponse { return appCustomProductPageVersions } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appCustomProductPageVersion(AppCustomProductPageVersion) diff --git a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclaration.swift b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclaration.swift index d29a33546..619951fc1 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclaration.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclaration.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppEncryptionDeclaration: Codable, Identifiable { +public struct AppEncryptionDeclaration: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var appDescription: String? /// The approval state of your export compliance documentation. public var appEncryptionDeclarationState: AppEncryptionDeclarationState? @@ -187,7 +187,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var appEncryptionDeclarationDocument: AppEncryptionDeclarationDocument? @available(*, deprecated, message: "Apple has marked this property deprecated and it will be removed sometime in the future.") @@ -231,7 +231,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -261,7 +261,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -293,7 +293,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -318,7 +318,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { } } - public struct AppEncryptionDeclarationDocument: Codable { + public struct AppEncryptionDeclarationDocument: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -341,7 +341,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEncryptionDeclarationDocuments" } @@ -364,7 +364,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -389,7 +389,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { } } - public struct Builds: Codable { + public struct Builds: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -417,7 +417,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "builds" } @@ -440,7 +440,7 @@ public struct AppEncryptionDeclaration: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationBuildsLinkagesRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationBuildsLinkagesRequest.swift index 4e0f4be16..c32cfffe3 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationBuildsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationBuildsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppEncryptionDeclarationBuildsLinkagesRequest: Codable, RequestBody { +public struct AppEncryptionDeclarationBuildsLinkagesRequest: Codable, Sendable, RequestBody { /// The object types and IDs of the related resources. public let data: [Data] @@ -33,7 +33,7 @@ public struct AppEncryptionDeclarationBuildsLinkagesRequest: Codable, RequestBod Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocument.swift b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocument.swift index d08e4e9de..7338e6e6e 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocument.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocument.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEncryptionDeclarationDocument: Codable, Identifiable { +public struct AppEncryptionDeclarationDocument: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appEncryptionDeclarationDocuments" } @@ -34,7 +34,7 @@ public struct AppEncryptionDeclarationDocument: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetDeliveryState: AppMediaAssetState? public var assetToken: String? public var downloadUrl: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentCreateRequest.swift index 84927dbe6..873918bea 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEncryptionDeclarationDocumentCreateRequest: Codable, RequestBody { +public struct AppEncryptionDeclarationDocumentCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppEncryptionDeclarationDocumentCreateRequest: Codable, RequestBod try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appEncryptionDeclarationDocuments" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppEncryptionDeclarationDocumentCreateRequest: Codable, RequestBod try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int @@ -70,7 +70,7 @@ public struct AppEncryptionDeclarationDocumentCreateRequest: Codable, RequestBod } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appEncryptionDeclaration: AppEncryptionDeclaration public init(appEncryptionDeclaration: AppEncryptionDeclaration) { @@ -87,7 +87,7 @@ public struct AppEncryptionDeclarationDocumentCreateRequest: Codable, RequestBod try container.encode(appEncryptionDeclaration, forKey: "appEncryptionDeclaration") } - public struct AppEncryptionDeclaration: Codable { + public struct AppEncryptionDeclaration: Codable, Sendable { public let data: Data public init(data: Data) { @@ -104,7 +104,7 @@ public struct AppEncryptionDeclarationDocumentCreateRequest: Codable, RequestBod try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEncryptionDeclarations" } diff --git a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentResponse.swift index 15bfbac89..93888b71d 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEncryptionDeclarationDocumentResponse: Codable { +public struct AppEncryptionDeclarationDocumentResponse: Codable, Sendable { public let data: AppEncryptionDeclarationDocument public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentUpdateRequest.swift index 28a54c28e..b37ca7023 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationDocumentUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEncryptionDeclarationDocumentUpdateRequest: Codable, RequestBody { +public struct AppEncryptionDeclarationDocumentUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppEncryptionDeclarationDocumentUpdateRequest: Codable, RequestBod try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEncryptionDeclarationDocuments" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct AppEncryptionDeclarationDocumentUpdateRequest: Codable, RequestBod try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var sourceFileChecksum: String? public var uploaded: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationResponse.swift index 857cb69d3..7a8d5de5d 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppEncryptionDeclarationResponse: Codable { +public struct AppEncryptionDeclarationResponse: Codable, Sendable { /// The resource data. public let data: AppEncryptionDeclaration public var included: [Included]? @@ -52,7 +52,7 @@ public struct AppEncryptionDeclarationResponse: Codable { }.first { $0.id == data.relationships?.appEncryptionDeclarationDocument?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appEncryptionDeclarationDocument(AppEncryptionDeclarationDocument) case build(Build) diff --git a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationState.swift b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationState.swift index 4c7f9573f..b23b0dae0 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationState.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationState.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum AppEncryptionDeclarationState: String, Codable, CaseIterable { +public enum AppEncryptionDeclarationState: String, Sendable, Codable, CaseIterable { case approved = "APPROVED" case created = "CREATED" case expired = "EXPIRED" diff --git a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationWithoutIncludesResponse.swift index 22ec31a32..28af24969 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEncryptionDeclarationWithoutIncludesResponse: Codable { +public struct AppEncryptionDeclarationWithoutIncludesResponse: Codable, Sendable { public let data: AppEncryptionDeclaration public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationsResponse.swift index 95aeadccf..3baeba27b 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEncryptionDeclarationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppEncryptionDeclarationsResponse: Codable, PagedResponse { +public struct AppEncryptionDeclarationsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppEncryptionDeclaration /// The resource data. @@ -60,7 +60,7 @@ public struct AppEncryptionDeclarationsResponse: Codable, PagedResponse { }.first { $0.id == appEncryptionDeclaration.relationships?.appEncryptionDeclarationDocument?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appEncryptionDeclarationDocument(AppEncryptionDeclarationDocument) case build(Build) diff --git a/Sources/Bagbutik-Models/AppStore/AppEvent.swift b/Sources/Bagbutik-Models/AppStore/AppEvent.swift index 70a898993..0034d1685 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEvent.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEvent.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEvent: Codable, Identifiable { +public struct AppEvent: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appEvents" } @@ -39,7 +39,7 @@ public struct AppEvent: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var archivedTerritorySchedules: [ArchivedTerritorySchedules]? public var badge: Badge? public var deepLink: String? @@ -102,7 +102,7 @@ public struct AppEvent: Codable, Identifiable { try container.encodeIfPresent(territorySchedules, forKey: "territorySchedules") } - public struct ArchivedTerritorySchedules: Codable { + public struct ArchivedTerritorySchedules: Codable, Sendable { public var eventEnd: Date? public var eventStart: Date? public var publishStart: Date? @@ -136,7 +136,7 @@ public struct AppEvent: Codable, Identifiable { } } - public enum Badge: String, Codable, CaseIterable { + public enum Badge: String, Sendable, Codable, CaseIterable { case challenge = "CHALLENGE" case competition = "COMPETITION" case liveEvent = "LIVE_EVENT" @@ -146,7 +146,7 @@ public struct AppEvent: Codable, Identifiable { case specialEvent = "SPECIAL_EVENT" } - public enum EventState: String, Codable, CaseIterable { + public enum EventState: String, Sendable, Codable, CaseIterable { case accepted = "ACCEPTED" case approved = "APPROVED" case archived = "ARCHIVED" @@ -159,12 +159,12 @@ public struct AppEvent: Codable, Identifiable { case waitingForReview = "WAITING_FOR_REVIEW" } - public enum Priority: String, Codable, CaseIterable { + public enum Priority: String, Sendable, Codable, CaseIterable { case high = "HIGH" case normal = "NORMAL" } - public enum PurchaseRequirement: String, Codable, CaseIterable { + public enum PurchaseRequirement: String, Sendable, Codable, CaseIterable { case inAppPurchase = "IN_APP_PURCHASE" case inAppPurchaseAndSubscription = "IN_APP_PURCHASE_AND_SUBSCRIPTION" case inAppPurchaseOrSubscription = "IN_APP_PURCHASE_OR_SUBSCRIPTION" @@ -172,14 +172,14 @@ public struct AppEvent: Codable, Identifiable { case subscription = "SUBSCRIPTION" } - public enum Purpose: String, Codable, CaseIterable { + public enum Purpose: String, Sendable, Codable, CaseIterable { case appropriateForAllUsers = "APPROPRIATE_FOR_ALL_USERS" case attractNewUsers = "ATTRACT_NEW_USERS" case bringBackLapsedUsers = "BRING_BACK_LAPSED_USERS" case keepActiveUsersInformed = "KEEP_ACTIVE_USERS_INFORMED" } - public struct TerritorySchedules: Codable { + public struct TerritorySchedules: Codable, Sendable { public var eventEnd: Date? public var eventStart: Date? public var publishStart: Date? @@ -214,7 +214,7 @@ public struct AppEvent: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var localizations: Localizations? public init(localizations: Localizations? = nil) { @@ -231,7 +231,7 @@ public struct AppEvent: Codable, Identifiable { try container.encodeIfPresent(localizations, forKey: "localizations") } - public struct Localizations: Codable { + public struct Localizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -259,7 +259,7 @@ public struct AppEvent: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEventLocalizations" } @@ -282,7 +282,7 @@ public struct AppEvent: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppEventAssetType.swift b/Sources/Bagbutik-Models/AppStore/AppEventAssetType.swift index 629a971c7..41aeaab15 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventAssetType.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventAssetType.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public enum AppEventAssetType: String, Codable, CaseIterable { +public enum AppEventAssetType: String, Sendable, Codable, CaseIterable { case eventCard = "EVENT_CARD" case eventDetailsPage = "EVENT_DETAILS_PAGE" } diff --git a/Sources/Bagbutik-Models/AppStore/AppEventCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEventCreateRequest.swift index 7d2b909ba..831ac7df4 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventCreateRequest: Codable, RequestBody { +public struct AppEventCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppEventCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appEvents" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppEventCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var badge: AppEvent.Attributes.Badge? public var deepLink: String? public var primaryLocale: String? @@ -99,7 +99,7 @@ public struct AppEventCreateRequest: Codable, RequestBody { try container.encodeIfPresent(territorySchedules, forKey: "territorySchedules") } - public struct TerritorySchedules: Codable { + public struct TerritorySchedules: Codable, Sendable { public var eventEnd: Date? public var eventStart: Date? public var publishStart: Date? @@ -134,7 +134,7 @@ public struct AppEventCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public init(app: App) { @@ -151,7 +151,7 @@ public struct AppEventCreateRequest: Codable, RequestBody { try container.encode(app, forKey: "app") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -168,7 +168,7 @@ public struct AppEventCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } diff --git a/Sources/Bagbutik-Models/AppStore/AppEventLocalization.swift b/Sources/Bagbutik-Models/AppStore/AppEventLocalization.swift index 3c2709e33..e2b45bd5d 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventLocalization.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventLocalization.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventLocalization: Codable, Identifiable { +public struct AppEventLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appEventLocalizations" } @@ -39,7 +39,7 @@ public struct AppEventLocalization: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var locale: String? public var longDescription: String? public var name: String? @@ -73,7 +73,7 @@ public struct AppEventLocalization: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appEvent: AppEvent? public var appEventScreenshots: AppEventScreenshots? public var appEventVideoClips: AppEventVideoClips? @@ -101,7 +101,7 @@ public struct AppEventLocalization: Codable, Identifiable { try container.encodeIfPresent(appEventVideoClips, forKey: "appEventVideoClips") } - public struct AppEvent: Codable { + public struct AppEvent: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -124,7 +124,7 @@ public struct AppEventLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEvents" } @@ -147,7 +147,7 @@ public struct AppEventLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -172,7 +172,7 @@ public struct AppEventLocalization: Codable, Identifiable { } } - public struct AppEventScreenshots: Codable { + public struct AppEventScreenshots: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -200,7 +200,7 @@ public struct AppEventLocalization: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEventScreenshots" } @@ -223,7 +223,7 @@ public struct AppEventLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -248,7 +248,7 @@ public struct AppEventLocalization: Codable, Identifiable { } } - public struct AppEventVideoClips: Codable { + public struct AppEventVideoClips: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -276,7 +276,7 @@ public struct AppEventLocalization: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEventVideoClips" } @@ -299,7 +299,7 @@ public struct AppEventLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppEventLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEventLocalizationCreateRequest.swift index 5e735e791..39145c90f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventLocalizationCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventLocalizationCreateRequest: Codable, RequestBody { +public struct AppEventLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppEventLocalizationCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appEventLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppEventLocalizationCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let locale: String public var longDescription: String? public var name: String? @@ -80,7 +80,7 @@ public struct AppEventLocalizationCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appEvent: AppEvent public init(appEvent: AppEvent) { @@ -97,7 +97,7 @@ public struct AppEventLocalizationCreateRequest: Codable, RequestBody { try container.encode(appEvent, forKey: "appEvent") } - public struct AppEvent: Codable { + public struct AppEvent: Codable, Sendable { public let data: Data public init(data: Data) { @@ -114,7 +114,7 @@ public struct AppEventLocalizationCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEvents" } diff --git a/Sources/Bagbutik-Models/AppStore/AppEventLocalizationResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEventLocalizationResponse.swift index 2c4ab331a..66a4f98c1 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventLocalizationResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventLocalizationResponse: Codable { +public struct AppEventLocalizationResponse: Codable, Sendable { public let data: AppEventLocalization public var included: [Included]? public let links: DocumentLinks @@ -60,7 +60,7 @@ public struct AppEventLocalizationResponse: Codable { return appEventVideoClips } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appEvent(AppEvent) case appEventScreenshot(AppEventScreenshot) case appEventVideoClip(AppEventVideoClip) diff --git a/Sources/Bagbutik-Models/AppStore/AppEventLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEventLocalizationUpdateRequest.swift index 9c9901323..29f6d69d9 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventLocalizationUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventLocalizationUpdateRequest: Codable, RequestBody { +public struct AppEventLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppEventLocalizationUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEventLocalizations" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct AppEventLocalizationUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var longDescription: String? public var name: String? public var shortDescription: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppEventLocalizationsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEventLocalizationsResponse.swift index 569df23da..559fe3188 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventLocalizationsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventLocalizationsResponse: Codable, PagedResponse { +public struct AppEventLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppEventLocalization public let data: [AppEventLocalization] @@ -67,7 +67,7 @@ public struct AppEventLocalizationsResponse: Codable, PagedResponse { return appEventVideoClips } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appEvent(AppEvent) case appEventScreenshot(AppEventScreenshot) case appEventVideoClip(AppEventVideoClip) diff --git a/Sources/Bagbutik-Models/AppStore/AppEventResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEventResponse.swift index a9e973938..cb4a947bf 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventResponse: Codable { +public struct AppEventResponse: Codable, Sendable { public let data: AppEvent public var included: [AppEventLocalization]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppEventScreenshot.swift b/Sources/Bagbutik-Models/AppStore/AppEventScreenshot.swift index 9dd2fb289..6e47274c1 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventScreenshot.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventScreenshot.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventScreenshot: Codable, Identifiable { +public struct AppEventScreenshot: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appEventScreenshots" } @@ -39,7 +39,7 @@ public struct AppEventScreenshot: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var appEventAssetType: AppEventAssetType? public var assetDeliveryState: AppMediaAssetState? public var assetToken: String? @@ -88,7 +88,7 @@ public struct AppEventScreenshot: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appEventLocalization: AppEventLocalization? public init(appEventLocalization: AppEventLocalization? = nil) { @@ -105,7 +105,7 @@ public struct AppEventScreenshot: Codable, Identifiable { try container.encodeIfPresent(appEventLocalization, forKey: "appEventLocalization") } - public struct AppEventLocalization: Codable { + public struct AppEventLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -128,7 +128,7 @@ public struct AppEventScreenshot: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEventLocalizations" } @@ -151,7 +151,7 @@ public struct AppEventScreenshot: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppEventScreenshotCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEventScreenshotCreateRequest.swift index df80db04d..653bc9fdd 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventScreenshotCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventScreenshotCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventScreenshotCreateRequest: Codable, RequestBody { +public struct AppEventScreenshotCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppEventScreenshotCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appEventScreenshots" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppEventScreenshotCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let appEventAssetType: AppEventAssetType public let fileName: String public let fileSize: Int @@ -75,7 +75,7 @@ public struct AppEventScreenshotCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appEventLocalization: AppEventLocalization public init(appEventLocalization: AppEventLocalization) { @@ -92,7 +92,7 @@ public struct AppEventScreenshotCreateRequest: Codable, RequestBody { try container.encode(appEventLocalization, forKey: "appEventLocalization") } - public struct AppEventLocalization: Codable { + public struct AppEventLocalization: Codable, Sendable { public let data: Data public init(data: Data) { @@ -109,7 +109,7 @@ public struct AppEventScreenshotCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEventLocalizations" } diff --git a/Sources/Bagbutik-Models/AppStore/AppEventScreenshotResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEventScreenshotResponse.swift index 5d2a683a2..5c688b731 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventScreenshotResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventScreenshotResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventScreenshotResponse: Codable { +public struct AppEventScreenshotResponse: Codable, Sendable { public let data: AppEventScreenshot public var included: [AppEventLocalization]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppEventScreenshotUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEventScreenshotUpdateRequest.swift index 5955d2a8c..931a4c81a 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventScreenshotUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventScreenshotUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventScreenshotUpdateRequest: Codable, RequestBody { +public struct AppEventScreenshotUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppEventScreenshotUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEventScreenshots" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct AppEventScreenshotUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var uploaded: Bool? public init(uploaded: Bool? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/AppEventScreenshotsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEventScreenshotsResponse.swift index 969fbcdea..0d6470fb0 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventScreenshotsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventScreenshotsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventScreenshotsResponse: Codable, PagedResponse { +public struct AppEventScreenshotsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppEventScreenshot public let data: [AppEventScreenshot] diff --git a/Sources/Bagbutik-Models/AppStore/AppEventUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEventUpdateRequest.swift index ebee4bc37..4370b5972 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventUpdateRequest: Codable, RequestBody { +public struct AppEventUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppEventUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEvents" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct AppEventUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var badge: AppEvent.Attributes.Badge? public var deepLink: String? public var primaryLocale: String? @@ -99,7 +99,7 @@ public struct AppEventUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(territorySchedules, forKey: "territorySchedules") } - public struct TerritorySchedules: Codable { + public struct TerritorySchedules: Codable, Sendable { public var eventEnd: Date? public var eventStart: Date? public var publishStart: Date? diff --git a/Sources/Bagbutik-Models/AppStore/AppEventVideoClip.swift b/Sources/Bagbutik-Models/AppStore/AppEventVideoClip.swift index b51e41cff..ccfc73660 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventVideoClip.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventVideoClip.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventVideoClip: Codable, Identifiable { +public struct AppEventVideoClip: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appEventVideoClips" } @@ -39,7 +39,7 @@ public struct AppEventVideoClip: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var appEventAssetType: AppEventAssetType? public var assetDeliveryState: AppMediaAssetState? public var fileName: String? @@ -93,7 +93,7 @@ public struct AppEventVideoClip: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appEventLocalization: AppEventLocalization? public init(appEventLocalization: AppEventLocalization? = nil) { @@ -110,7 +110,7 @@ public struct AppEventVideoClip: Codable, Identifiable { try container.encodeIfPresent(appEventLocalization, forKey: "appEventLocalization") } - public struct AppEventLocalization: Codable { + public struct AppEventLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -133,7 +133,7 @@ public struct AppEventVideoClip: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEventLocalizations" } @@ -156,7 +156,7 @@ public struct AppEventVideoClip: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppEventVideoClipCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEventVideoClipCreateRequest.swift index a6c11fd74..571d15f7e 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventVideoClipCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventVideoClipCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventVideoClipCreateRequest: Codable, RequestBody { +public struct AppEventVideoClipCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppEventVideoClipCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appEventVideoClips" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppEventVideoClipCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let appEventAssetType: AppEventAssetType public let fileName: String public let fileSize: Int @@ -80,7 +80,7 @@ public struct AppEventVideoClipCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appEventLocalization: AppEventLocalization public init(appEventLocalization: AppEventLocalization) { @@ -97,7 +97,7 @@ public struct AppEventVideoClipCreateRequest: Codable, RequestBody { try container.encode(appEventLocalization, forKey: "appEventLocalization") } - public struct AppEventLocalization: Codable { + public struct AppEventLocalization: Codable, Sendable { public let data: Data public init(data: Data) { @@ -114,7 +114,7 @@ public struct AppEventVideoClipCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEventLocalizations" } diff --git a/Sources/Bagbutik-Models/AppStore/AppEventVideoClipResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEventVideoClipResponse.swift index 76a92265e..260b76f75 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventVideoClipResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventVideoClipResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventVideoClipResponse: Codable { +public struct AppEventVideoClipResponse: Codable, Sendable { public let data: AppEventVideoClip public var included: [AppEventLocalization]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppEventVideoClipUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppEventVideoClipUpdateRequest.swift index b2171d72a..9e917ca02 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventVideoClipUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventVideoClipUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventVideoClipUpdateRequest: Codable, RequestBody { +public struct AppEventVideoClipUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppEventVideoClipUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEventVideoClips" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct AppEventVideoClipUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var previewFrameTimeCode: String? public var uploaded: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/AppEventVideoClipsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEventVideoClipsResponse.swift index f9ebcab53..42be13b22 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventVideoClipsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventVideoClipsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventVideoClipsResponse: Codable, PagedResponse { +public struct AppEventVideoClipsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppEventVideoClip public let data: [AppEventVideoClip] diff --git a/Sources/Bagbutik-Models/AppStore/AppEventsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppEventsResponse.swift index a6ee37e9a..d330b9870 100644 --- a/Sources/Bagbutik-Models/AppStore/AppEventsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppEventsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppEventsResponse: Codable, PagedResponse { +public struct AppEventsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppEvent public let data: [AppEvent] diff --git a/Sources/Bagbutik-Models/AppStore/AppInfo.swift b/Sources/Bagbutik-Models/AppStore/AppInfo.swift index 7a310a4e7..baf6f6d77 100644 --- a/Sources/Bagbutik-Models/AppStore/AppInfo.swift +++ b/Sources/Bagbutik-Models/AppStore/AppInfo.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppInfo: Codable, Identifiable { +public struct AppInfo: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The app’s age rating as it appears on the App Store for all platforms. public var appStoreAgeRating: AppStoreAgeRating? /// The state of an app version in the App Store. @@ -119,7 +119,7 @@ public struct AppInfo: Codable, Identifiable { try container.encodeIfPresent(state, forKey: "state") } - public enum BrazilAgeRatingV2: String, Codable, CaseIterable { + public enum BrazilAgeRatingV2: String, Sendable, Codable, CaseIterable { case officialEighteen = "OFFICIAL_EIGHTEEN" case officialFourteen = "OFFICIAL_FOURTEEN" case officialL = "OFFICIAL_L" @@ -134,7 +134,7 @@ public struct AppInfo: Codable, Identifiable { case selfRatedTwelve = "SELF_RATED_TWELVE" } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case accepted = "ACCEPTED" case developerRejected = "DEVELOPER_REJECTED" case inReview = "IN_REVIEW" @@ -155,7 +155,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var ageRatingDeclaration: AgeRatingDeclaration? public var app: App? public var appInfoLocalizations: AppInfoLocalizations? @@ -220,7 +220,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct AgeRatingDeclaration: Codable { + public struct AgeRatingDeclaration: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -250,7 +250,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "ageRatingDeclarations" } @@ -280,7 +280,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -312,7 +312,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -342,7 +342,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -374,7 +374,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -408,7 +408,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct AppInfoLocalizations: Codable { + public struct AppInfoLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -443,7 +443,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -475,7 +475,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -509,7 +509,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct PrimaryCategory: Codable { + public struct PrimaryCategory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -539,7 +539,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -571,7 +571,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -605,7 +605,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct PrimarySubcategoryOne: Codable { + public struct PrimarySubcategoryOne: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -635,7 +635,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -667,7 +667,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -701,7 +701,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct PrimarySubcategoryTwo: Codable { + public struct PrimarySubcategoryTwo: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -731,7 +731,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -763,7 +763,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -797,7 +797,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct SecondaryCategory: Codable { + public struct SecondaryCategory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -827,7 +827,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -859,7 +859,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -893,7 +893,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct SecondarySubcategoryOne: Codable { + public struct SecondarySubcategoryOne: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -923,7 +923,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -955,7 +955,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -989,7 +989,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct SecondarySubcategoryTwo: Codable { + public struct SecondarySubcategoryTwo: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -1019,7 +1019,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -1051,7 +1051,7 @@ public struct AppInfo: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/AppStore/AppInfoLocalization.swift b/Sources/Bagbutik-Models/AppStore/AppInfoLocalization.swift index ded0b4509..8f0dc227a 100644 --- a/Sources/Bagbutik-Models/AppStore/AppInfoLocalization.swift +++ b/Sources/Bagbutik-Models/AppStore/AppInfoLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppInfoLocalization: Codable, Identifiable { +public struct AppInfoLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appInfoLocalizations" } @@ -53,7 +53,7 @@ public struct AppInfoLocalization: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var locale: String? public var name: String? public var privacyChoicesUrl: String? @@ -104,7 +104,7 @@ public struct AppInfoLocalization: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appInfo: AppInfo? public init(appInfo: AppInfo? = nil) { @@ -128,7 +128,7 @@ public struct AppInfoLocalization: Codable, Identifiable { Full documentation: */ - public struct AppInfo: Codable { + public struct AppInfo: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -158,7 +158,7 @@ public struct AppInfoLocalization: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appInfos" } @@ -188,7 +188,7 @@ public struct AppInfoLocalization: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationCreateRequest.swift index ccffc6676..45d613e86 100644 --- a/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppInfoLocalizationCreateRequest: Codable, RequestBody { +public struct AppInfoLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppInfoLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appInfoLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -67,7 +67,7 @@ public struct AppInfoLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let locale: String public var name: String? public var privacyChoicesUrl: String? @@ -118,7 +118,7 @@ public struct AppInfoLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appInfo: AppInfo public init(appInfo: AppInfo) { @@ -142,7 +142,7 @@ public struct AppInfoLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppInfo: Codable { + public struct AppInfo: Codable, Sendable { public let data: Data public init(data: Data) { @@ -166,7 +166,7 @@ public struct AppInfoLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appInfos" } diff --git a/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationResponse.swift b/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationResponse.swift index 6137efa87..50a8aa444 100644 --- a/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppInfoLocalizationResponse: Codable { +public struct AppInfoLocalizationResponse: Codable, Sendable { public let data: AppInfoLocalization public var included: [AppInfo]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationUpdateRequest.swift index f00013ed0..ae5221f36 100644 --- a/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppInfoLocalizationUpdateRequest: Codable, RequestBody { +public struct AppInfoLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppInfoLocalizationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appInfoLocalizations" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct AppInfoLocalizationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var name: String? public var privacyChoicesUrl: String? public var privacyPolicyText: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationsResponse.swift index 0edfaddd0..847995a42 100644 --- a/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppInfoLocalizationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppInfoLocalizationsResponse: Codable, PagedResponse { +public struct AppInfoLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppInfoLocalization public let data: [AppInfoLocalization] diff --git a/Sources/Bagbutik-Models/AppStore/AppInfoResponse.swift b/Sources/Bagbutik-Models/AppStore/AppInfoResponse.swift index c3a06a34c..d9ba22044 100644 --- a/Sources/Bagbutik-Models/AppStore/AppInfoResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppInfoResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppInfoResponse: Codable { +public struct AppInfoResponse: Codable, Sendable { /// The resource data. public let data: AppInfo public var included: [Included]? @@ -106,7 +106,7 @@ public struct AppInfoResponse: Codable { }.first { $0.id == data.relationships?.secondarySubcategoryTwo?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case ageRatingDeclaration(AgeRatingDeclaration) case app(App) case appCategory(AppCategory) diff --git a/Sources/Bagbutik-Models/AppStore/AppInfoUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppInfoUpdateRequest.swift index ff9a41aa8..14185f286 100644 --- a/Sources/Bagbutik-Models/AppStore/AppInfoUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppInfoUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppInfoUpdateRequest: Codable, RequestBody { +public struct AppInfoUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var primaryCategory: PrimaryCategory? public var primarySubcategoryOne: PrimarySubcategoryOne? public var primarySubcategoryTwo: PrimarySubcategoryTwo? @@ -121,7 +121,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct PrimaryCategory: Codable { + public struct PrimaryCategory: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -145,7 +145,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -178,7 +178,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct PrimarySubcategoryOne: Codable { + public struct PrimarySubcategoryOne: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -202,7 +202,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -235,7 +235,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct PrimarySubcategoryTwo: Codable { + public struct PrimarySubcategoryTwo: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -259,7 +259,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -292,7 +292,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct SecondaryCategory: Codable { + public struct SecondaryCategory: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -316,7 +316,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -349,7 +349,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct SecondarySubcategoryOne: Codable { + public struct SecondarySubcategoryOne: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -373,7 +373,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -406,7 +406,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct SecondarySubcategoryTwo: Codable { + public struct SecondarySubcategoryTwo: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -430,7 +430,7 @@ public struct AppInfoUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppInfosResponse.swift b/Sources/Bagbutik-Models/AppStore/AppInfosResponse.swift index 1b7636118..ff2985b0b 100644 --- a/Sources/Bagbutik-Models/AppStore/AppInfosResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppInfosResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppInfosResponse: Codable, PagedResponse { +public struct AppInfosResponse: Codable, Sendable, PagedResponse { public typealias Data = AppInfo /// The resource data. @@ -114,7 +114,7 @@ public struct AppInfosResponse: Codable, PagedResponse { }.first { $0.id == appInfo.relationships?.secondarySubcategoryTwo?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case ageRatingDeclaration(AgeRatingDeclaration) case app(App) case appCategory(AppCategory) diff --git a/Sources/Bagbutik-Models/AppStore/AppMediaAssetState.swift b/Sources/Bagbutik-Models/AppStore/AppMediaAssetState.swift index e4bacab5c..ba777fc65 100644 --- a/Sources/Bagbutik-Models/AppStore/AppMediaAssetState.swift +++ b/Sources/Bagbutik-Models/AppStore/AppMediaAssetState.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppMediaAssetState: Codable { +public struct AppMediaAssetState: Codable, Sendable { public var errors: [AppMediaStateError]? public var state: State? public var warnings: [AppMediaStateError]? @@ -36,7 +36,7 @@ public struct AppMediaAssetState: Codable { try container.encodeIfPresent(warnings, forKey: "warnings") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case awaitingUpload = "AWAITING_UPLOAD" case complete = "COMPLETE" case failed = "FAILED" diff --git a/Sources/Bagbutik-Models/AppStore/AppMediaStateError.swift b/Sources/Bagbutik-Models/AppStore/AppMediaStateError.swift index 932cd199d..47ba7cda7 100644 --- a/Sources/Bagbutik-Models/AppStore/AppMediaStateError.swift +++ b/Sources/Bagbutik-Models/AppStore/AppMediaStateError.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppMediaStateError: Codable { +public struct AppMediaStateError: Codable, Sendable { public var code: String? public var description: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppPreOrder.swift b/Sources/Bagbutik-Models/AppStore/AppPreOrder.swift index de8d133de..ef3447d50 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreOrder.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreOrder.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreOrder: Codable, Identifiable { +public struct AppPreOrder: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appPreOrders" } @@ -53,7 +53,7 @@ public struct AppPreOrder: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var appReleaseDate: String? public var preOrderAvailableDate: String? @@ -84,7 +84,7 @@ public struct AppPreOrder: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public init(app: App? = nil) { @@ -108,7 +108,7 @@ public struct AppPreOrder: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -138,7 +138,7 @@ public struct AppPreOrder: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -168,7 +168,7 @@ public struct AppPreOrder: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppPreOrderCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppPreOrderCreateRequest.swift index 6d2b3acfc..79fd53257 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreOrderCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreOrderCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreOrderCreateRequest: Codable, RequestBody { +public struct AppPreOrderCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppPreOrderCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appPreOrders" } public var attributes: Attributes? public let relationships: Relationships @@ -67,7 +67,7 @@ public struct AppPreOrderCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var appReleaseDate: String? public init(appReleaseDate: String? = nil) { @@ -92,7 +92,7 @@ public struct AppPreOrderCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public init(app: App) { @@ -116,7 +116,7 @@ public struct AppPreOrderCreateRequest: Codable, RequestBody { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -140,7 +140,7 @@ public struct AppPreOrderCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } diff --git a/Sources/Bagbutik-Models/AppStore/AppPreOrderResponse.swift b/Sources/Bagbutik-Models/AppStore/AppPreOrderResponse.swift index cee074b8a..5828b3ffd 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreOrderResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreOrderResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreOrderResponse: Codable { +public struct AppPreOrderResponse: Codable, Sendable { public let data: AppPreOrder public var included: [App]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppPreOrderUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppPreOrderUpdateRequest.swift index 75b6d6882..e231bbaa9 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreOrderUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreOrderUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreOrderUpdateRequest: Codable, RequestBody { +public struct AppPreOrderUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppPreOrderUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreOrders" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct AppPreOrderUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var appReleaseDate: String? public init(appReleaseDate: String? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/AppPreOrderWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppPreOrderWithoutIncludesResponse.swift index 47a010f4d..19a1254bf 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreOrderWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreOrderWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppPreOrderWithoutIncludesResponse: Codable { +public struct AppPreOrderWithoutIncludesResponse: Codable, Sendable { public let data: AppPreOrder public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppPreview.swift b/Sources/Bagbutik-Models/AppStore/AppPreview.swift index 77fb62ab8..83117edde 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreview.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreview.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreview: Codable, Identifiable { +public struct AppPreview: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appPreviews" } @@ -53,7 +53,7 @@ public struct AppPreview: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetDeliveryState: AppMediaAssetState? public var fileName: String? public var fileSize: Int? @@ -119,7 +119,7 @@ public struct AppPreview: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appPreviewSet: AppPreviewSet? public init(appPreviewSet: AppPreviewSet? = nil) { @@ -143,7 +143,7 @@ public struct AppPreview: Codable, Identifiable { Full documentation: */ - public struct AppPreviewSet: Codable { + public struct AppPreviewSet: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -173,7 +173,7 @@ public struct AppPreview: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreviewSets" } @@ -203,7 +203,7 @@ public struct AppPreview: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppPreviewCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppPreviewCreateRequest.swift index 1f5ac8b16..a570ac203 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreviewCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreviewCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreviewCreateRequest: Codable, RequestBody { +public struct AppPreviewCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppPreviewCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appPreviews" } public let attributes: Attributes public let relationships: Relationships @@ -67,7 +67,7 @@ public struct AppPreviewCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int public var mimeType: String? @@ -108,7 +108,7 @@ public struct AppPreviewCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appPreviewSet: AppPreviewSet public init(appPreviewSet: AppPreviewSet) { @@ -132,7 +132,7 @@ public struct AppPreviewCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppPreviewSet: Codable { + public struct AppPreviewSet: Codable, Sendable { public let data: Data public init(data: Data) { @@ -156,7 +156,7 @@ public struct AppPreviewCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreviewSets" } diff --git a/Sources/Bagbutik-Models/AppStore/AppPreviewResponse.swift b/Sources/Bagbutik-Models/AppStore/AppPreviewResponse.swift index f89d88115..692d48470 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreviewResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreviewResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreviewResponse: Codable { +public struct AppPreviewResponse: Codable, Sendable { public let data: AppPreview public var included: [AppPreviewSet]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppPreviewSet.swift b/Sources/Bagbutik-Models/AppStore/AppPreviewSet.swift index 7cdcbda93..e09ba749c 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreviewSet.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreviewSet.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreviewSet: Codable, Identifiable { +public struct AppPreviewSet: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appPreviewSets" } @@ -53,7 +53,7 @@ public struct AppPreviewSet: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var previewType: PreviewType? public init(previewType: PreviewType? = nil) { @@ -78,7 +78,7 @@ public struct AppPreviewSet: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appCustomProductPageLocalization: AppCustomProductPageLocalization? public var appPreviews: AppPreviews? public var appStoreVersionExperimentTreatmentLocalization: AppStoreVersionExperimentTreatmentLocalization? @@ -111,7 +111,7 @@ public struct AppPreviewSet: Codable, Identifiable { try container.encodeIfPresent(appStoreVersionLocalization, forKey: "appStoreVersionLocalization") } - public struct AppCustomProductPageLocalization: Codable { + public struct AppCustomProductPageLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -134,7 +134,7 @@ public struct AppPreviewSet: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageLocalizations" } @@ -157,7 +157,7 @@ public struct AppPreviewSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -189,7 +189,7 @@ public struct AppPreviewSet: Codable, Identifiable { Full documentation: */ - public struct AppPreviews: Codable { + public struct AppPreviews: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -224,7 +224,7 @@ public struct AppPreviewSet: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreviews" } @@ -254,7 +254,7 @@ public struct AppPreviewSet: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -279,7 +279,7 @@ public struct AppPreviewSet: Codable, Identifiable { } } - public struct AppStoreVersionExperimentTreatmentLocalization: Codable { + public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -302,7 +302,7 @@ public struct AppPreviewSet: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatmentLocalizations" } @@ -325,7 +325,7 @@ public struct AppPreviewSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -357,7 +357,7 @@ public struct AppPreviewSet: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersionLocalization: Codable { + public struct AppStoreVersionLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -387,7 +387,7 @@ public struct AppPreviewSet: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionLocalizations" } @@ -417,7 +417,7 @@ public struct AppPreviewSet: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppPreviewSetAppPreviewsLinkagesRequest.swift b/Sources/Bagbutik-Models/AppStore/AppPreviewSetAppPreviewsLinkagesRequest.swift index 142ca2673..bb93ed430 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreviewSetAppPreviewsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreviewSetAppPreviewsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreviewSetAppPreviewsLinkagesRequest: Codable, RequestBody { +public struct AppPreviewSetAppPreviewsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -32,7 +32,7 @@ public struct AppPreviewSetAppPreviewsLinkagesRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreviews" } diff --git a/Sources/Bagbutik-Models/AppStore/AppPreviewSetAppPreviewsLinkagesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppPreviewSetAppPreviewsLinkagesResponse.swift index ca99a29e6..60b45b725 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreviewSetAppPreviewsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreviewSetAppPreviewsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreviewSetAppPreviewsLinkagesResponse: Codable, PagedResponse { +public struct AppPreviewSetAppPreviewsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -43,7 +43,7 @@ public struct AppPreviewSetAppPreviewsLinkagesResponse: Codable, PagedResponse { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreviews" } diff --git a/Sources/Bagbutik-Models/AppStore/AppPreviewSetCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppPreviewSetCreateRequest.swift index 5b0e6edf1..2fc9c3d8b 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreviewSetCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreviewSetCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreviewSetCreateRequest: Codable, RequestBody { +public struct AppPreviewSetCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppPreviewSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appPreviewSets" } public let attributes: Attributes public var relationships: Relationships? @@ -67,7 +67,7 @@ public struct AppPreviewSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let previewType: PreviewType public init(previewType: PreviewType) { @@ -92,7 +92,7 @@ public struct AppPreviewSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appCustomProductPageLocalization: AppCustomProductPageLocalization? public var appStoreVersionExperimentTreatmentLocalization: AppStoreVersionExperimentTreatmentLocalization? public var appStoreVersionLocalization: AppStoreVersionLocalization? @@ -120,7 +120,7 @@ public struct AppPreviewSetCreateRequest: Codable, RequestBody { try container.encodeIfPresent(appStoreVersionLocalization, forKey: "appStoreVersionLocalization") } - public struct AppCustomProductPageLocalization: Codable { + public struct AppCustomProductPageLocalization: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -137,7 +137,7 @@ public struct AppPreviewSetCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageLocalizations" } @@ -161,7 +161,7 @@ public struct AppPreviewSetCreateRequest: Codable, RequestBody { } } - public struct AppStoreVersionExperimentTreatmentLocalization: Codable { + public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -178,7 +178,7 @@ public struct AppPreviewSetCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatmentLocalizations" } @@ -209,7 +209,7 @@ public struct AppPreviewSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppStoreVersionLocalization: Codable { + public struct AppStoreVersionLocalization: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -233,7 +233,7 @@ public struct AppPreviewSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionLocalizations" } diff --git a/Sources/Bagbutik-Models/AppStore/AppPreviewSetResponse.swift b/Sources/Bagbutik-Models/AppStore/AppPreviewSetResponse.swift index c7b22e043..da19935c5 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreviewSetResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreviewSetResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreviewSetResponse: Codable { +public struct AppPreviewSetResponse: Codable, Sendable { public let data: AppPreviewSet public var included: [Included]? public let links: DocumentLinks @@ -69,7 +69,7 @@ public struct AppPreviewSetResponse: Codable { }.first { $0.id == data.relationships?.appStoreVersionLocalization?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPageLocalization(AppCustomProductPageLocalization) case appPreview(AppPreview) case appStoreVersionExperimentTreatmentLocalization(AppStoreVersionExperimentTreatmentLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/AppPreviewSetsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppPreviewSetsResponse.swift index 885a17171..d011975ff 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreviewSetsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreviewSetsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreviewSetsResponse: Codable, PagedResponse { +public struct AppPreviewSetsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppPreviewSet public let data: [AppPreviewSet] @@ -76,7 +76,7 @@ public struct AppPreviewSetsResponse: Codable, PagedResponse { }.first { $0.id == appPreviewSet.relationships?.appStoreVersionLocalization?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPageLocalization(AppCustomProductPageLocalization) case appPreview(AppPreview) case appStoreVersionExperimentTreatmentLocalization(AppStoreVersionExperimentTreatmentLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/AppPreviewUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppPreviewUpdateRequest.swift index a10aa61dc..a2158f4dc 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreviewUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreviewUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreviewUpdateRequest: Codable, RequestBody { +public struct AppPreviewUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppPreviewUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreviews" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct AppPreviewUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var previewFrameTimeCode: String? public var sourceFileChecksum: String? public var uploaded: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/AppPreviewsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppPreviewsResponse.swift index b7b4747ec..45f038223 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPreviewsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPreviewsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPreviewsResponse: Codable, PagedResponse { +public struct AppPreviewsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppPreview public let data: [AppPreview] diff --git a/Sources/Bagbutik-Models/AppStore/AppPricePointV3.swift b/Sources/Bagbutik-Models/AppStore/AppPricePointV3.swift index e2576ef85..5af2ed63e 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPricePointV3.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPricePointV3.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPricePointV3: Codable, Identifiable { +public struct AppPricePointV3: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appPricePoints" } @@ -46,7 +46,7 @@ public struct AppPricePointV3: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var customerPrice: String? public var proceeds: String? @@ -70,7 +70,7 @@ public struct AppPricePointV3: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var territory: Territory? @@ -93,7 +93,7 @@ public struct AppPricePointV3: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -116,7 +116,7 @@ public struct AppPricePointV3: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -139,7 +139,7 @@ public struct AppPricePointV3: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -164,7 +164,7 @@ public struct AppPricePointV3: Codable, Identifiable { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -187,7 +187,7 @@ public struct AppPricePointV3: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -210,7 +210,7 @@ public struct AppPricePointV3: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppPricePointV3Response.swift b/Sources/Bagbutik-Models/AppStore/AppPricePointV3Response.swift index ae28b6839..c2409e50f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPricePointV3Response.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPricePointV3Response.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppPricePointV3Response: Codable { +public struct AppPricePointV3Response: Codable, Sendable { public let data: AppPricePointV3 public var included: [Included]? public let links: DocumentLinks @@ -43,7 +43,7 @@ public struct AppPricePointV3Response: Codable { }.first { $0.id == data.relationships?.territory?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/AppPricePointsV3Response.swift b/Sources/Bagbutik-Models/AppStore/AppPricePointsV3Response.swift index e1b72477c..c5bd8112d 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPricePointsV3Response.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPricePointsV3Response.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppPricePointsV3Response: Codable, PagedResponse { +public struct AppPricePointsV3Response: Codable, Sendable, PagedResponse { public typealias Data = AppPricePointV3 public let data: [AppPricePointV3] @@ -50,7 +50,7 @@ public struct AppPricePointsV3Response: Codable, PagedResponse { }.first { $0.id == appPricePointV3.relationships?.territory?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/AppPriceSchedule.swift b/Sources/Bagbutik-Models/AppStore/AppPriceSchedule.swift index 6f6ad4e53..6b0b58e6e 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPriceSchedule.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPriceSchedule.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppPriceSchedule: Codable, Identifiable { +public struct AppPriceSchedule: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appPriceSchedules" } @@ -34,7 +34,7 @@ public struct AppPriceSchedule: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var automaticPrices: AutomaticPrices? public var baseTerritory: BaseTerritory? @@ -67,7 +67,7 @@ public struct AppPriceSchedule: Codable, Identifiable { try container.encodeIfPresent(manualPrices, forKey: "manualPrices") } - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -90,7 +90,7 @@ public struct AppPriceSchedule: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -113,7 +113,7 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -138,7 +138,7 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public struct AutomaticPrices: Codable { + public struct AutomaticPrices: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -166,7 +166,7 @@ public struct AppPriceSchedule: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPrices" } @@ -189,7 +189,7 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -214,7 +214,7 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public struct BaseTerritory: Codable { + public struct BaseTerritory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -237,7 +237,7 @@ public struct AppPriceSchedule: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -260,7 +260,7 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -285,7 +285,7 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public struct ManualPrices: Codable { + public struct ManualPrices: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -313,7 +313,7 @@ public struct AppPriceSchedule: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPrices" } @@ -336,7 +336,7 @@ public struct AppPriceSchedule: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppPriceScheduleCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppPriceScheduleCreateRequest.swift index b221433ec..c474df81e 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPriceScheduleCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPriceScheduleCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppPriceScheduleCreateRequest: Codable, RequestBody { +public struct AppPriceScheduleCreateRequest: Codable, Sendable, RequestBody { public let data: Data public var included: [Included]? @@ -24,7 +24,7 @@ public struct AppPriceScheduleCreateRequest: Codable, RequestBody { try container.encodeIfPresent(included, forKey: "included") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appPriceSchedules" } public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppPriceScheduleCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public let baseTerritory: BaseTerritory public let manualPrices: ManualPrices @@ -74,7 +74,7 @@ public struct AppPriceScheduleCreateRequest: Codable, RequestBody { try container.encode(manualPrices, forKey: "manualPrices") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -91,7 +91,7 @@ public struct AppPriceScheduleCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -115,7 +115,7 @@ public struct AppPriceScheduleCreateRequest: Codable, RequestBody { } } - public struct BaseTerritory: Codable { + public struct BaseTerritory: Codable, Sendable { public let data: Data public init(data: Data) { @@ -132,7 +132,7 @@ public struct AppPriceScheduleCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -156,7 +156,7 @@ public struct AppPriceScheduleCreateRequest: Codable, RequestBody { } } - public struct ManualPrices: Codable { + public struct ManualPrices: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -173,7 +173,7 @@ public struct AppPriceScheduleCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPrices" } @@ -199,7 +199,7 @@ public struct AppPriceScheduleCreateRequest: Codable, RequestBody { } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appPriceV2InlineCreate(AppPriceV2InlineCreate) case territoryInlineCreate(TerritoryInlineCreate) diff --git a/Sources/Bagbutik-Models/AppStore/AppPriceScheduleResponse.swift b/Sources/Bagbutik-Models/AppStore/AppPriceScheduleResponse.swift index fd714dd6a..0ae0cd706 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPriceScheduleResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPriceScheduleResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppPriceScheduleResponse: Codable { +public struct AppPriceScheduleResponse: Codable, Sendable { public let data: AppPriceSchedule public var included: [Included]? public let links: DocumentLinks @@ -67,7 +67,7 @@ public struct AppPriceScheduleResponse: Codable { return manualPrices } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appPriceV2(AppPriceV2) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/AppPriceV2.swift b/Sources/Bagbutik-Models/AppStore/AppPriceV2.swift index 13a9f551d..98ba03536 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPriceV2.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPriceV2.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppPriceV2: Codable, Identifiable { +public struct AppPriceV2: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appPrices" } @@ -39,7 +39,7 @@ public struct AppPriceV2: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var endDate: String? public var manual: Bool? public var startDate: String? @@ -68,7 +68,7 @@ public struct AppPriceV2: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appPricePoint: AppPricePoint? public var territory: Territory? @@ -91,7 +91,7 @@ public struct AppPriceV2: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct AppPricePoint: Codable { + public struct AppPricePoint: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -114,7 +114,7 @@ public struct AppPriceV2: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPricePoints" } @@ -137,7 +137,7 @@ public struct AppPriceV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -162,7 +162,7 @@ public struct AppPriceV2: Codable, Identifiable { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -185,7 +185,7 @@ public struct AppPriceV2: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -208,7 +208,7 @@ public struct AppPriceV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppPriceV2InlineCreate.swift b/Sources/Bagbutik-Models/AppStore/AppPriceV2InlineCreate.swift index be0487b8d..c1bdca094 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPriceV2InlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPriceV2InlineCreate.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppPriceV2InlineCreate: Codable, Identifiable { +public struct AppPriceV2InlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "appPrices" } diff --git a/Sources/Bagbutik-Models/AppStore/AppPricesV2Response.swift b/Sources/Bagbutik-Models/AppStore/AppPricesV2Response.swift index e57b7b8ef..be98ab45d 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPricesV2Response.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPricesV2Response.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppPricesV2Response: Codable, PagedResponse { +public struct AppPricesV2Response: Codable, Sendable, PagedResponse { public typealias Data = AppPriceV2 public let data: [AppPriceV2] @@ -50,7 +50,7 @@ public struct AppPricesV2Response: Codable, PagedResponse { }.first { $0.id == appPriceV2.relationships?.territory?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appPricePointV3(AppPricePointV3) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/AppPromotedPurchasesLinkagesRequest.swift b/Sources/Bagbutik-Models/AppStore/AppPromotedPurchasesLinkagesRequest.swift index 538d3136a..60c3aba01 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPromotedPurchasesLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPromotedPurchasesLinkagesRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppPromotedPurchasesLinkagesRequest: Codable, RequestBody { +public struct AppPromotedPurchasesLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -18,7 +18,7 @@ public struct AppPromotedPurchasesLinkagesRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "promotedPurchases" } diff --git a/Sources/Bagbutik-Models/AppStore/AppPromotedPurchasesLinkagesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppPromotedPurchasesLinkagesResponse.swift index 6b26f3181..97e8a7949 100644 --- a/Sources/Bagbutik-Models/AppStore/AppPromotedPurchasesLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppPromotedPurchasesLinkagesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppPromotedPurchasesLinkagesResponse: Codable, PagedResponse { +public struct AppPromotedPurchasesLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -29,7 +29,7 @@ public struct AppPromotedPurchasesLinkagesResponse: Codable, PagedResponse { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "promotedPurchases" } diff --git a/Sources/Bagbutik-Models/AppStore/AppResponse.swift b/Sources/Bagbutik-Models/AppStore/AppResponse.swift index 267abb869..d6d8ec517 100644 --- a/Sources/Bagbutik-Models/AppStore/AppResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppResponse: Codable { +public struct AppResponse: Codable, Sendable { /// The resource data. public let data: App public var included: [Included]? @@ -279,7 +279,7 @@ public struct AppResponse: Codable { return subscriptionGroups } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appClip(AppClip) case appCustomProductPage(AppCustomProductPage) case appEncryptionDeclaration(AppEncryptionDeclaration) diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshot.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshot.swift index cd5c32fdc..a3530541a 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshot.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshot.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshot: Codable, Identifiable { +public struct AppScreenshot: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appScreenshots" } @@ -53,7 +53,7 @@ public struct AppScreenshot: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetDeliveryState: AppMediaAssetState? public var assetToken: String? public var assetType: String? @@ -114,7 +114,7 @@ public struct AppScreenshot: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appScreenshotSet: AppScreenshotSet? public init(appScreenshotSet: AppScreenshotSet? = nil) { @@ -138,7 +138,7 @@ public struct AppScreenshot: Codable, Identifiable { Full documentation: */ - public struct AppScreenshotSet: Codable { + public struct AppScreenshotSet: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -168,7 +168,7 @@ public struct AppScreenshot: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appScreenshotSets" } @@ -198,7 +198,7 @@ public struct AppScreenshot: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshotCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshotCreateRequest.swift index 1dff5df08..09a13b37e 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshotCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshotCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshotCreateRequest: Codable, RequestBody { +public struct AppScreenshotCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppScreenshotCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appScreenshots" } public let attributes: Attributes public let relationships: Relationships @@ -67,7 +67,7 @@ public struct AppScreenshotCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int @@ -98,7 +98,7 @@ public struct AppScreenshotCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appScreenshotSet: AppScreenshotSet public init(appScreenshotSet: AppScreenshotSet) { @@ -122,7 +122,7 @@ public struct AppScreenshotCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppScreenshotSet: Codable { + public struct AppScreenshotSet: Codable, Sendable { public let data: Data public init(data: Data) { @@ -146,7 +146,7 @@ public struct AppScreenshotCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appScreenshotSets" } diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshotResponse.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshotResponse.swift index 3ab62b384..703673ba2 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshotResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshotResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshotResponse: Codable { +public struct AppScreenshotResponse: Codable, Sendable { public let data: AppScreenshot public var included: [AppScreenshotSet]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshotSet.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshotSet.swift index 104ae882c..09de59f18 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshotSet.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshotSet.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshotSet: Codable, Identifiable { +public struct AppScreenshotSet: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appScreenshotSets" } @@ -53,7 +53,7 @@ public struct AppScreenshotSet: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var screenshotDisplayType: ScreenshotDisplayType? public init(screenshotDisplayType: ScreenshotDisplayType? = nil) { @@ -78,7 +78,7 @@ public struct AppScreenshotSet: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appCustomProductPageLocalization: AppCustomProductPageLocalization? public var appScreenshots: AppScreenshots? public var appStoreVersionExperimentTreatmentLocalization: AppStoreVersionExperimentTreatmentLocalization? @@ -111,7 +111,7 @@ public struct AppScreenshotSet: Codable, Identifiable { try container.encodeIfPresent(appStoreVersionLocalization, forKey: "appStoreVersionLocalization") } - public struct AppCustomProductPageLocalization: Codable { + public struct AppCustomProductPageLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -134,7 +134,7 @@ public struct AppScreenshotSet: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageLocalizations" } @@ -157,7 +157,7 @@ public struct AppScreenshotSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -189,7 +189,7 @@ public struct AppScreenshotSet: Codable, Identifiable { Full documentation: */ - public struct AppScreenshots: Codable { + public struct AppScreenshots: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -224,7 +224,7 @@ public struct AppScreenshotSet: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appScreenshots" } @@ -254,7 +254,7 @@ public struct AppScreenshotSet: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -279,7 +279,7 @@ public struct AppScreenshotSet: Codable, Identifiable { } } - public struct AppStoreVersionExperimentTreatmentLocalization: Codable { + public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -302,7 +302,7 @@ public struct AppScreenshotSet: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatmentLocalizations" } @@ -325,7 +325,7 @@ public struct AppScreenshotSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -357,7 +357,7 @@ public struct AppScreenshotSet: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersionLocalization: Codable { + public struct AppStoreVersionLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -387,7 +387,7 @@ public struct AppScreenshotSet: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionLocalizations" } @@ -417,7 +417,7 @@ public struct AppScreenshotSet: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshotSetAppScreenshotsLinkagesRequest.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshotSetAppScreenshotsLinkagesRequest.swift index ac42c7f74..d3e546a88 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshotSetAppScreenshotsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshotSetAppScreenshotsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshotSetAppScreenshotsLinkagesRequest: Codable, RequestBody { +public struct AppScreenshotSetAppScreenshotsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -32,7 +32,7 @@ public struct AppScreenshotSetAppScreenshotsLinkagesRequest: Codable, RequestBod Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appScreenshots" } diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshotSetAppScreenshotsLinkagesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshotSetAppScreenshotsLinkagesResponse.swift index 642c1b40b..087ee7a31 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshotSetAppScreenshotsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshotSetAppScreenshotsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshotSetAppScreenshotsLinkagesResponse: Codable, PagedResponse { +public struct AppScreenshotSetAppScreenshotsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -43,7 +43,7 @@ public struct AppScreenshotSetAppScreenshotsLinkagesResponse: Codable, PagedResp Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appScreenshots" } diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshotSetCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshotSetCreateRequest.swift index 0cc7f1e18..5beefbc23 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshotSetCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshotSetCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshotSetCreateRequest: Codable, RequestBody { +public struct AppScreenshotSetCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppScreenshotSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appScreenshotSets" } public let attributes: Attributes public var relationships: Relationships? @@ -67,7 +67,7 @@ public struct AppScreenshotSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let screenshotDisplayType: ScreenshotDisplayType public init(screenshotDisplayType: ScreenshotDisplayType) { @@ -92,7 +92,7 @@ public struct AppScreenshotSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appCustomProductPageLocalization: AppCustomProductPageLocalization? public var appStoreVersionExperimentTreatmentLocalization: AppStoreVersionExperimentTreatmentLocalization? public var appStoreVersionLocalization: AppStoreVersionLocalization? @@ -120,7 +120,7 @@ public struct AppScreenshotSetCreateRequest: Codable, RequestBody { try container.encodeIfPresent(appStoreVersionLocalization, forKey: "appStoreVersionLocalization") } - public struct AppCustomProductPageLocalization: Codable { + public struct AppCustomProductPageLocalization: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -137,7 +137,7 @@ public struct AppScreenshotSetCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageLocalizations" } @@ -161,7 +161,7 @@ public struct AppScreenshotSetCreateRequest: Codable, RequestBody { } } - public struct AppStoreVersionExperimentTreatmentLocalization: Codable { + public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -178,7 +178,7 @@ public struct AppScreenshotSetCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatmentLocalizations" } @@ -209,7 +209,7 @@ public struct AppScreenshotSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppStoreVersionLocalization: Codable { + public struct AppStoreVersionLocalization: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -233,7 +233,7 @@ public struct AppScreenshotSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionLocalizations" } diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshotSetResponse.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshotSetResponse.swift index 963abb321..7ca2a05eb 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshotSetResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshotSetResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshotSetResponse: Codable { +public struct AppScreenshotSetResponse: Codable, Sendable { public let data: AppScreenshotSet public var included: [Included]? public let links: DocumentLinks @@ -69,7 +69,7 @@ public struct AppScreenshotSetResponse: Codable { }.first { $0.id == data.relationships?.appStoreVersionLocalization?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPageLocalization(AppCustomProductPageLocalization) case appScreenshot(AppScreenshot) case appStoreVersionExperimentTreatmentLocalization(AppStoreVersionExperimentTreatmentLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshotSetsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshotSetsResponse.swift index 2893278f3..80f3d844f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshotSetsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshotSetsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshotSetsResponse: Codable, PagedResponse { +public struct AppScreenshotSetsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppScreenshotSet public let data: [AppScreenshotSet] @@ -76,7 +76,7 @@ public struct AppScreenshotSetsResponse: Codable, PagedResponse { }.first { $0.id == appScreenshotSet.relationships?.appStoreVersionLocalization?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPageLocalization(AppCustomProductPageLocalization) case appScreenshot(AppScreenshot) case appStoreVersionExperimentTreatmentLocalization(AppStoreVersionExperimentTreatmentLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshotUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshotUpdateRequest.swift index 5efedff61..68c571a1c 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshotUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshotUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshotUpdateRequest: Codable, RequestBody { +public struct AppScreenshotUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppScreenshotUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appScreenshots" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct AppScreenshotUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var sourceFileChecksum: String? public var uploaded: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/AppScreenshotsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppScreenshotsResponse.swift index a284fe378..54e67355a 100644 --- a/Sources/Bagbutik-Models/AppStore/AppScreenshotsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppScreenshotsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppScreenshotsResponse: Codable, PagedResponse { +public struct AppScreenshotsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppScreenshot public let data: [AppScreenshot] diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreAgeRating.swift b/Sources/Bagbutik-Models/AppStore/AppStoreAgeRating.swift index 5b561a4b8..c98b371c1 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreAgeRating.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreAgeRating.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public enum AppStoreAgeRating: String, Codable, CaseIterable { +public enum AppStoreAgeRating: String, Sendable, Codable, CaseIterable { /// A literal that represents the app rating 4+. case fourPlus = "FOUR_PLUS" /// A literal that represents the app rating 9+. diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachment.swift b/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachment.swift index 8821d5184..2ccc2f272 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachment.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachment.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreReviewAttachment: Codable, Identifiable { +public struct AppStoreReviewAttachment: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreReviewAttachments" } @@ -53,7 +53,7 @@ public struct AppStoreReviewAttachment: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetDeliveryState: AppMediaAssetState? public var fileName: String? public var fileSize: Int? @@ -99,7 +99,7 @@ public struct AppStoreReviewAttachment: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appStoreReviewDetail: AppStoreReviewDetail? public init(appStoreReviewDetail: AppStoreReviewDetail? = nil) { @@ -123,7 +123,7 @@ public struct AppStoreReviewAttachment: Codable, Identifiable { Full documentation: */ - public struct AppStoreReviewDetail: Codable { + public struct AppStoreReviewDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -153,7 +153,7 @@ public struct AppStoreReviewAttachment: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreReviewDetails" } @@ -183,7 +183,7 @@ public struct AppStoreReviewAttachment: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentCreateRequest.swift index 734c7d35d..8ce6334a9 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreReviewAttachmentCreateRequest: Codable, RequestBody { +public struct AppStoreReviewAttachmentCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppStoreReviewAttachmentCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreReviewAttachments" } public let attributes: Attributes public let relationships: Relationships @@ -67,7 +67,7 @@ public struct AppStoreReviewAttachmentCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int @@ -98,7 +98,7 @@ public struct AppStoreReviewAttachmentCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreReviewDetail: AppStoreReviewDetail public init(appStoreReviewDetail: AppStoreReviewDetail) { @@ -122,7 +122,7 @@ public struct AppStoreReviewAttachmentCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppStoreReviewDetail: Codable { + public struct AppStoreReviewDetail: Codable, Sendable { public let data: Data public init(data: Data) { @@ -146,7 +146,7 @@ public struct AppStoreReviewAttachmentCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreReviewDetails" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentResponse.swift index ef5beeded..7afaab69d 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreReviewAttachmentResponse: Codable { +public struct AppStoreReviewAttachmentResponse: Codable, Sendable { public let data: AppStoreReviewAttachment public var included: [AppStoreReviewDetail]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentUpdateRequest.swift index bf5fcf384..6730a4eda 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreReviewAttachmentUpdateRequest: Codable, RequestBody { +public struct AppStoreReviewAttachmentUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppStoreReviewAttachmentUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreReviewAttachments" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct AppStoreReviewAttachmentUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var sourceFileChecksum: String? public var uploaded: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentsResponse.swift index 32986dc4b..40fb04822 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreReviewAttachmentsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreReviewAttachmentsResponse: Codable, PagedResponse { +public struct AppStoreReviewAttachmentsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppStoreReviewAttachment public let data: [AppStoreReviewAttachment] diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetail.swift b/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetail.swift index 2e5dbc25f..63a7af90b 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetail.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetail.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreReviewDetail: Codable, Identifiable { +public struct AppStoreReviewDetail: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreReviewDetails" } @@ -53,7 +53,7 @@ public struct AppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var contactEmail: String? public var contactFirstName: String? public var contactLastName: String? @@ -114,7 +114,7 @@ public struct AppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appStoreReviewAttachments: AppStoreReviewAttachments? public var appStoreVersion: AppStoreVersion? @@ -144,7 +144,7 @@ public struct AppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct AppStoreReviewAttachments: Codable { + public struct AppStoreReviewAttachments: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -179,7 +179,7 @@ public struct AppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreReviewAttachments" } @@ -209,7 +209,7 @@ public struct AppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -241,7 +241,7 @@ public struct AppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -271,7 +271,7 @@ public struct AppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -301,7 +301,7 @@ public struct AppStoreReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailCreateRequest.swift index 9d4d9383e..82c9d8c88 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreReviewDetailCreateRequest: Codable, RequestBody { +public struct AppStoreReviewDetailCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppStoreReviewDetailCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreReviewDetails" } public var attributes: Attributes? public let relationships: Relationships @@ -67,7 +67,7 @@ public struct AppStoreReviewDetailCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var contactEmail: String? public var contactFirstName: String? public var contactLastName: String? @@ -128,7 +128,7 @@ public struct AppStoreReviewDetailCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersion: AppStoreVersion public init(appStoreVersion: AppStoreVersion) { @@ -152,7 +152,7 @@ public struct AppStoreReviewDetailCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -176,7 +176,7 @@ public struct AppStoreReviewDetailCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailResponse.swift index 099d291e5..30a5a363f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreReviewDetailResponse: Codable { +public struct AppStoreReviewDetailResponse: Codable, Sendable { public let data: AppStoreReviewDetail public var included: [Included]? public let links: DocumentLinks @@ -55,7 +55,7 @@ public struct AppStoreReviewDetailResponse: Codable { }.first { $0.id == data.relationships?.appStoreVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appStoreReviewAttachment(AppStoreReviewAttachment) case appStoreVersion(AppStoreVersion) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailUpdateRequest.swift index 8df3973c0..8f7ac1a61 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreReviewDetailUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreReviewDetailUpdateRequest: Codable, RequestBody { +public struct AppStoreReviewDetailUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppStoreReviewDetailUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreReviewDetails" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct AppStoreReviewDetailUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var contactEmail: String? public var contactFirstName: String? public var contactLastName: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersion.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersion.swift index fd3652800..c1b2638b6 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersion.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersion.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersion: Codable, Identifiable { +public struct AppStoreVersion: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreVersions" } @@ -53,7 +53,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { @available(*, deprecated, message: "Apple has marked this property deprecated and it will be removed sometime in the future.") public var appStoreState: AppStoreVersionState? = nil public var appVersionState: AppVersionState? @@ -139,13 +139,13 @@ public struct AppStoreVersion: Codable, Identifiable { try container.encodeIfPresent(versionString, forKey: "versionString") } - public enum ReleaseType: String, Codable, CaseIterable { + public enum ReleaseType: String, Sendable, Codable, CaseIterable { case afterApproval = "AFTER_APPROVAL" case manual = "MANUAL" case scheduled = "SCHEDULED" } - public enum ReviewType: String, Codable, CaseIterable { + public enum ReviewType: String, Sendable, Codable, CaseIterable { case appStore = "APP_STORE" case notarization = "NOTARIZATION" } @@ -158,7 +158,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { @available(*, deprecated, message: "Apple has marked this property deprecated and it will be removed sometime in the future.") public var ageRatingDeclaration: AgeRatingDeclaration? = nil public var alternativeDistributionPackage: AlternativeDistributionPackage? @@ -266,7 +266,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct AgeRatingDeclaration: Codable { + public struct AgeRatingDeclaration: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -296,7 +296,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "ageRatingDeclarations" } @@ -326,7 +326,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -351,7 +351,7 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public struct AlternativeDistributionPackage: Codable { + public struct AlternativeDistributionPackage: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -374,7 +374,7 @@ public struct AppStoreVersion: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "alternativeDistributionPackages" } @@ -397,7 +397,7 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -429,7 +429,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -459,7 +459,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -489,7 +489,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -521,7 +521,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct AppClipDefaultExperience: Codable { + public struct AppClipDefaultExperience: Codable, Sendable { /// The ID and type of the related Default App Clip Experiences resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -553,7 +553,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Default App Clip Experiences resource. public let id: String /// The resource type. @@ -585,7 +585,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -619,7 +619,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct AppStoreReviewDetail: Codable { + public struct AppStoreReviewDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -649,7 +649,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreReviewDetails" } @@ -679,7 +679,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -704,7 +704,7 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public struct AppStoreVersionExperiments: Codable { + public struct AppStoreVersionExperiments: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -732,7 +732,7 @@ public struct AppStoreVersion: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } @@ -755,7 +755,7 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -780,7 +780,7 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public struct AppStoreVersionExperimentsV2: Codable { + public struct AppStoreVersionExperimentsV2: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -808,7 +808,7 @@ public struct AppStoreVersion: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } @@ -831,7 +831,7 @@ public struct AppStoreVersion: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -863,7 +863,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersionLocalizations: Codable { + public struct AppStoreVersionLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -898,7 +898,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionLocalizations" } @@ -928,7 +928,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -960,7 +960,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersionPhasedRelease: Codable { + public struct AppStoreVersionPhasedRelease: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -990,7 +990,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionPhasedReleases" } @@ -1020,7 +1020,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1052,7 +1052,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersionSubmission: Codable { + public struct AppStoreVersionSubmission: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -1082,7 +1082,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionSubmissions" } @@ -1112,7 +1112,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1144,7 +1144,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Build: Codable { + public struct Build: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -1174,7 +1174,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "builds" } @@ -1204,7 +1204,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1236,7 +1236,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct RoutingAppCoverage: Codable { + public struct RoutingAppCoverage: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -1266,7 +1266,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "routingAppCoverages" } @@ -1296,7 +1296,7 @@ public struct AppStoreVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionAppClipDefaultExperienceLinkageRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionAppClipDefaultExperienceLinkageRequest.swift index 3bf046fc4..8043e4dc0 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionAppClipDefaultExperienceLinkageRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionAppClipDefaultExperienceLinkageRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionAppClipDefaultExperienceLinkageRequest: Codable, RequestBody { +public struct AppStoreVersionAppClipDefaultExperienceLinkageRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. @NullCodable public var data: Data? @@ -33,7 +33,7 @@ public struct AppStoreVersionAppClipDefaultExperienceLinkageRequest: Codable, Re Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionAppClipDefaultExperienceLinkageResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionAppClipDefaultExperienceLinkageResponse.swift index fdd9146df..1141cb258 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionAppClipDefaultExperienceLinkageResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionAppClipDefaultExperienceLinkageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionAppClipDefaultExperienceLinkageResponse: Codable { +public struct AppStoreVersionAppClipDefaultExperienceLinkageResponse: Codable, Sendable { /// The object types and IDs of the related resources. public let data: Data /// Navigational links that include the self-link. @@ -40,7 +40,7 @@ public struct AppStoreVersionAppClipDefaultExperienceLinkageResponse: Codable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the response. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionBuildLinkageRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionBuildLinkageRequest.swift index 805d35297..f76668d4f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionBuildLinkageRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionBuildLinkageRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionBuildLinkageRequest: Codable, RequestBody { +public struct AppStoreVersionBuildLinkageRequest: Codable, Sendable, RequestBody { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -32,7 +32,7 @@ public struct AppStoreVersionBuildLinkageRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "builds" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionBuildLinkageResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionBuildLinkageResponse.swift index b9a8b9f78..754161c3c 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionBuildLinkageResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionBuildLinkageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionBuildLinkageResponse: Codable { +public struct AppStoreVersionBuildLinkageResponse: Codable, Sendable { public let data: Data public let links: DocumentLinks @@ -38,7 +38,7 @@ public struct AppStoreVersionBuildLinkageResponse: Codable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "builds" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionCreateRequest.swift index 337ad9b43..067f493a0 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionCreateRequest: Codable, RequestBody { +public struct AppStoreVersionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppStoreVersionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreVersions" } public let attributes: Attributes public let relationships: Relationships @@ -67,7 +67,7 @@ public struct AppStoreVersionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var copyright: String? public var earliestReleaseDate: Date? public let platform: Platform @@ -118,7 +118,7 @@ public struct AppStoreVersionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public var appStoreVersionLocalizations: AppStoreVersionLocalizations? public var build: Build? @@ -153,7 +153,7 @@ public struct AppStoreVersionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -177,7 +177,7 @@ public struct AppStoreVersionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -201,7 +201,7 @@ public struct AppStoreVersionCreateRequest: Codable, RequestBody { } } - public struct AppStoreVersionLocalizations: Codable { + public struct AppStoreVersionLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -218,7 +218,7 @@ public struct AppStoreVersionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionLocalizations" } @@ -249,7 +249,7 @@ public struct AppStoreVersionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Build: Codable { + public struct Build: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -273,7 +273,7 @@ public struct AppStoreVersionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "builds" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperiment.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperiment.swift index ec0f7a915..dad57b6f9 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperiment.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperiment.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperiment: Codable, Identifiable { +public struct AppStoreVersionExperiment: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreVersionExperiments" } @@ -39,7 +39,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var endDate: Date? public var name: String? public var reviewRequired: Bool? @@ -82,7 +82,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { try container.encodeIfPresent(trafficProportion, forKey: "trafficProportion") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case accepted = "ACCEPTED" case approved = "APPROVED" case completed = "COMPLETED" @@ -95,7 +95,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appStoreVersion: AppStoreVersion? public var appStoreVersionExperimentTreatments: AppStoreVersionExperimentTreatments? @@ -118,7 +118,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { try container.encodeIfPresent(appStoreVersionExperimentTreatments, forKey: "appStoreVersionExperimentTreatments") } - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -141,7 +141,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -164,7 +164,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -189,7 +189,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { } } - public struct AppStoreVersionExperimentTreatments: Codable { + public struct AppStoreVersionExperimentTreatments: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -217,7 +217,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatments" } @@ -240,7 +240,7 @@ public struct AppStoreVersionExperiment: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentCreateRequest.swift index 64b719527..53f6834f7 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentCreateRequest: Codable, RequestBody { +public struct AppStoreVersionExperimentCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppStoreVersionExperimentCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreVersionExperiments" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppStoreVersionExperimentCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let name: String public let trafficProportion: Int @@ -70,7 +70,7 @@ public struct AppStoreVersionExperimentCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersion: AppStoreVersion public init(appStoreVersion: AppStoreVersion) { @@ -87,7 +87,7 @@ public struct AppStoreVersionExperimentCreateRequest: Codable, RequestBody { try container.encode(appStoreVersion, forKey: "appStoreVersion") } - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -104,7 +104,7 @@ public struct AppStoreVersionExperimentCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentResponse.swift index a86439ac5..d525b32d0 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentResponse: Codable { +public struct AppStoreVersionExperimentResponse: Codable, Sendable { public let data: AppStoreVersionExperiment public var included: [Included]? public let links: DocumentLinks @@ -48,7 +48,7 @@ public struct AppStoreVersionExperimentResponse: Codable { return appStoreVersionExperimentTreatments } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appStoreVersion(AppStoreVersion) case appStoreVersionExperimentTreatment(AppStoreVersionExperimentTreatment) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatment.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatment.swift index 19661a397..f84b202dd 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatment.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatment.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { +public struct AppStoreVersionExperimentTreatment: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreVersionExperimentTreatments" } @@ -39,7 +39,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var appIcon: ImageAsset? public var appIconName: String? public var name: String? @@ -73,7 +73,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appStoreVersionExperiment: AppStoreVersionExperiment? public var appStoreVersionExperimentTreatmentLocalizations: AppStoreVersionExperimentTreatmentLocalizations? public var appStoreVersionExperimentV2: AppStoreVersionExperimentV2? @@ -101,7 +101,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { try container.encodeIfPresent(appStoreVersionExperimentV2, forKey: "appStoreVersionExperimentV2") } - public struct AppStoreVersionExperiment: Codable { + public struct AppStoreVersionExperiment: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -124,7 +124,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } @@ -147,7 +147,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -172,7 +172,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { } } - public struct AppStoreVersionExperimentTreatmentLocalizations: Codable { + public struct AppStoreVersionExperimentTreatmentLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -200,7 +200,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatmentLocalizations" } @@ -223,7 +223,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -248,7 +248,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { } } - public struct AppStoreVersionExperimentV2: Codable { + public struct AppStoreVersionExperimentV2: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -271,7 +271,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } @@ -294,7 +294,7 @@ public struct AppStoreVersionExperimentTreatment: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentCreateRequest.swift index 05a15989a..1b4b1c731 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable, RequestBody { +public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable, RequestB try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreVersionExperimentTreatments" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable, RequestB try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var appIconName: String? public let name: String @@ -70,7 +70,7 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable, RequestB } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersionExperiment: AppStoreVersionExperiment public var appStoreVersionExperimentV2: AppStoreVersionExperimentV2? @@ -93,7 +93,7 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable, RequestB try container.encodeIfPresent(appStoreVersionExperimentV2, forKey: "appStoreVersionExperimentV2") } - public struct AppStoreVersionExperiment: Codable { + public struct AppStoreVersionExperiment: Codable, Sendable { public let data: Data public init(data: Data) { @@ -110,7 +110,7 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable, RequestB try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } @@ -134,7 +134,7 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable, RequestB } } - public struct AppStoreVersionExperimentV2: Codable { + public struct AppStoreVersionExperimentV2: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -151,7 +151,7 @@ public struct AppStoreVersionExperimentTreatmentCreateRequest: Codable, RequestB try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalization.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalization.swift index 9b357ca4a..df2494284 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalization.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalization.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifiable { +public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreVersionExperimentTreatmentLocalizations" } @@ -39,7 +39,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var locale: String? public init(locale: String? = nil) { @@ -57,7 +57,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appPreviewSets: AppPreviewSets? public var appScreenshotSets: AppScreenshotSets? public var appStoreVersionExperimentTreatment: AppStoreVersionExperimentTreatment? @@ -85,7 +85,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia try container.encodeIfPresent(appStoreVersionExperimentTreatment, forKey: "appStoreVersionExperimentTreatment") } - public struct AppPreviewSets: Codable { + public struct AppPreviewSets: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -113,7 +113,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreviewSets" } @@ -136,7 +136,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -161,7 +161,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia } } - public struct AppScreenshotSets: Codable { + public struct AppScreenshotSets: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -189,7 +189,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appScreenshotSets" } @@ -212,7 +212,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -237,7 +237,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia } } - public struct AppStoreVersionExperimentTreatment: Codable { + public struct AppStoreVersionExperimentTreatment: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -260,7 +260,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatments" } @@ -283,7 +283,7 @@ public struct AppStoreVersionExperimentTreatmentLocalization: Codable, Identifia } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationCreateRequest.swift index 2fe7fc23d..bdcc28aa8 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentTreatmentLocalizationCreateRequest: Codable, RequestBody { +public struct AppStoreVersionExperimentTreatmentLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppStoreVersionExperimentTreatmentLocalizationCreateRequest: Codab try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreVersionExperimentTreatmentLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppStoreVersionExperimentTreatmentLocalizationCreateRequest: Codab try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let locale: String public init(locale: String) { @@ -64,7 +64,7 @@ public struct AppStoreVersionExperimentTreatmentLocalizationCreateRequest: Codab } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersionExperimentTreatment: AppStoreVersionExperimentTreatment public init(appStoreVersionExperimentTreatment: AppStoreVersionExperimentTreatment) { @@ -81,7 +81,7 @@ public struct AppStoreVersionExperimentTreatmentLocalizationCreateRequest: Codab try container.encode(appStoreVersionExperimentTreatment, forKey: "appStoreVersionExperimentTreatment") } - public struct AppStoreVersionExperimentTreatment: Codable { + public struct AppStoreVersionExperimentTreatment: Codable, Sendable { public let data: Data public init(data: Data) { @@ -98,7 +98,7 @@ public struct AppStoreVersionExperimentTreatmentLocalizationCreateRequest: Codab try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatments" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationResponse.swift index 2438f5c9e..e1df0517d 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentTreatmentLocalizationResponse: Codable { +public struct AppStoreVersionExperimentTreatmentLocalizationResponse: Codable, Sendable { public let data: AppStoreVersionExperimentTreatmentLocalization public var included: [Included]? public let links: DocumentLinks @@ -60,7 +60,7 @@ public struct AppStoreVersionExperimentTreatmentLocalizationResponse: Codable { }.first { $0.id == data.relationships?.appStoreVersionExperimentTreatment?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appPreviewSet(AppPreviewSet) case appScreenshotSet(AppScreenshotSet) case appStoreVersionExperimentTreatment(AppStoreVersionExperimentTreatment) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationsResponse.swift index 9dfd6fb2f..e2553135f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentLocalizationsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentTreatmentLocalizationsResponse: Codable, PagedResponse { +public struct AppStoreVersionExperimentTreatmentLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppStoreVersionExperimentTreatmentLocalization public let data: [AppStoreVersionExperimentTreatmentLocalization] @@ -67,7 +67,7 @@ public struct AppStoreVersionExperimentTreatmentLocalizationsResponse: Codable, }.first { $0.id == appStoreVersionExperimentTreatmentLocalization.relationships?.appStoreVersionExperimentTreatment?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appPreviewSet(AppPreviewSet) case appScreenshotSet(AppScreenshotSet) case appStoreVersionExperimentTreatment(AppStoreVersionExperimentTreatment) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentResponse.swift index 93e1788d6..81c2edd98 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentTreatmentResponse: Codable { +public struct AppStoreVersionExperimentTreatmentResponse: Codable, Sendable { public let data: AppStoreVersionExperimentTreatment public var included: [Included]? public let links: DocumentLinks @@ -55,7 +55,7 @@ public struct AppStoreVersionExperimentTreatmentResponse: Codable { }.first { $0.id == data.relationships?.appStoreVersionExperimentV2?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appStoreVersionExperiment(AppStoreVersionExperiment) case appStoreVersionExperimentTreatmentLocalization(AppStoreVersionExperimentTreatmentLocalization) case appStoreVersionExperimentV2(AppStoreVersionExperimentV2) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentUpdateRequest.swift index 279b8b7c5..7479ccb5f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentTreatmentUpdateRequest: Codable, RequestBody { +public struct AppStoreVersionExperimentTreatmentUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppStoreVersionExperimentTreatmentUpdateRequest: Codable, RequestB try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatments" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct AppStoreVersionExperimentTreatmentUpdateRequest: Codable, RequestB try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var appIconName: String? public var name: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentsResponse.swift index 7c23d59b7..d8a0e7a4c 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentTreatmentsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentTreatmentsResponse: Codable, PagedResponse { +public struct AppStoreVersionExperimentTreatmentsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppStoreVersionExperimentTreatment public let data: [AppStoreVersionExperimentTreatment] @@ -62,7 +62,7 @@ public struct AppStoreVersionExperimentTreatmentsResponse: Codable, PagedRespons }.first { $0.id == appStoreVersionExperimentTreatment.relationships?.appStoreVersionExperimentV2?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appStoreVersionExperiment(AppStoreVersionExperiment) case appStoreVersionExperimentTreatmentLocalization(AppStoreVersionExperimentTreatmentLocalization) case appStoreVersionExperimentV2(AppStoreVersionExperimentV2) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentUpdateRequest.swift index ecf67da8e..362eba881 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentUpdateRequest: Codable, RequestBody { +public struct AppStoreVersionExperimentUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppStoreVersionExperimentUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct AppStoreVersionExperimentUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var name: String? public var started: Bool? public var trafficProportion: Int? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2.swift index 94f3834ea..3bcbe26af 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentV2: Codable, Identifiable { +public struct AppStoreVersionExperimentV2: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreVersionExperiments" } @@ -39,7 +39,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var endDate: Date? public var name: String? public var platform: Platform? @@ -87,7 +87,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { try container.encodeIfPresent(trafficProportion, forKey: "trafficProportion") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case accepted = "ACCEPTED" case approved = "APPROVED" case completed = "COMPLETED" @@ -100,7 +100,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var appStoreVersionExperimentTreatments: AppStoreVersionExperimentTreatments? public var controlVersions: ControlVersions? @@ -133,7 +133,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { try container.encodeIfPresent(latestControlVersion, forKey: "latestControlVersion") } - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -156,7 +156,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -179,7 +179,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -204,7 +204,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public struct AppStoreVersionExperimentTreatments: Codable { + public struct AppStoreVersionExperimentTreatments: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -232,7 +232,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatments" } @@ -255,7 +255,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -280,7 +280,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public struct ControlVersions: Codable { + public struct ControlVersions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -308,7 +308,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -331,7 +331,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -356,7 +356,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public struct LatestControlVersion: Codable { + public struct LatestControlVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -379,7 +379,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -402,7 +402,7 @@ public struct AppStoreVersionExperimentV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2CreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2CreateRequest.swift index abd618737..b2bd5afb7 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2CreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2CreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentV2CreateRequest: Codable, RequestBody { +public struct AppStoreVersionExperimentV2CreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppStoreVersionExperimentV2CreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreVersionExperiments" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct AppStoreVersionExperimentV2CreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let name: String public let platform: Platform public let trafficProportion: Int @@ -75,7 +75,7 @@ public struct AppStoreVersionExperimentV2CreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public init(app: App) { @@ -92,7 +92,7 @@ public struct AppStoreVersionExperimentV2CreateRequest: Codable, RequestBody { try container.encode(app, forKey: "app") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -109,7 +109,7 @@ public struct AppStoreVersionExperimentV2CreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2Response.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2Response.swift index 3bd361ee3..9cc8d2b6d 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2Response.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2Response.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentV2Response: Codable { +public struct AppStoreVersionExperimentV2Response: Codable, Sendable { public let data: AppStoreVersionExperimentV2 public var included: [Included]? public let links: DocumentLinks @@ -67,7 +67,7 @@ public struct AppStoreVersionExperimentV2Response: Codable { }.first { $0.id == data.relationships?.latestControlVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appStoreVersion(AppStoreVersion) case appStoreVersionExperimentTreatment(AppStoreVersionExperimentTreatment) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2UpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2UpdateRequest.swift index 54f6238d9..031d6012f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2UpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentV2UpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentV2UpdateRequest: Codable, RequestBody { +public struct AppStoreVersionExperimentV2UpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppStoreVersionExperimentV2UpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct AppStoreVersionExperimentV2UpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var name: String? public var started: Bool? public var trafficProportion: Int? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentsResponse.swift index fb4d26dcf..7e47fd9ea 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentsResponse: Codable, PagedResponse { +public struct AppStoreVersionExperimentsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppStoreVersionExperiment public let data: [AppStoreVersionExperiment] @@ -55,7 +55,7 @@ public struct AppStoreVersionExperimentsResponse: Codable, PagedResponse { return appStoreVersionExperimentTreatments } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appStoreVersion(AppStoreVersion) case appStoreVersionExperimentTreatment(AppStoreVersionExperimentTreatment) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentsV2Response.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentsV2Response.swift index d58339c37..a9d6f72a5 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentsV2Response.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionExperimentsV2Response.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionExperimentsV2Response: Codable, PagedResponse { +public struct AppStoreVersionExperimentsV2Response: Codable, Sendable, PagedResponse { public typealias Data = AppStoreVersionExperimentV2 public let data: [AppStoreVersionExperimentV2] @@ -74,7 +74,7 @@ public struct AppStoreVersionExperimentsV2Response: Codable, PagedResponse { }.first { $0.id == appStoreVersionExperimentV2.relationships?.latestControlVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appStoreVersion(AppStoreVersion) case appStoreVersionExperimentTreatment(AppStoreVersionExperimentTreatment) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalization.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalization.swift index 597f49ebb..2b3bce723 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalization.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionLocalization: Codable, Identifiable { +public struct AppStoreVersionLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreVersionLocalizations" } @@ -53,7 +53,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var description: String? public var keywords: String? public var locale: String? @@ -109,7 +109,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appPreviewSets: AppPreviewSets? public var appScreenshotSets: AppScreenshotSets? public var appStoreVersion: AppStoreVersion? @@ -144,7 +144,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct AppPreviewSets: Codable { + public struct AppPreviewSets: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -179,7 +179,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appPreviewSets" } @@ -209,7 +209,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -241,7 +241,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct AppScreenshotSets: Codable { + public struct AppScreenshotSets: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -276,7 +276,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appScreenshotSets" } @@ -306,7 +306,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -338,7 +338,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -368,7 +368,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -398,7 +398,7 @@ public struct AppStoreVersionLocalization: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationCreateRequest.swift index 260765e24..0408db150 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionLocalizationCreateRequest: Codable, RequestBody { +public struct AppStoreVersionLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppStoreVersionLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreVersionLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -67,7 +67,7 @@ public struct AppStoreVersionLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var description: String? public var keywords: String? public let locale: String @@ -123,7 +123,7 @@ public struct AppStoreVersionLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersion: AppStoreVersion public init(appStoreVersion: AppStoreVersion) { @@ -147,7 +147,7 @@ public struct AppStoreVersionLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -171,7 +171,7 @@ public struct AppStoreVersionLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationResponse.swift index 11a5499df..db478e977 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionLocalizationResponse: Codable { +public struct AppStoreVersionLocalizationResponse: Codable, Sendable { public let data: AppStoreVersionLocalization public var included: [Included]? public let links: DocumentLinks @@ -67,7 +67,7 @@ public struct AppStoreVersionLocalizationResponse: Codable { }.first { $0.id == data.relationships?.appStoreVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appPreviewSet(AppPreviewSet) case appScreenshotSet(AppScreenshotSet) case appStoreVersion(AppStoreVersion) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationUpdateRequest.swift index dbec3005a..81169d503 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionLocalizationUpdateRequest: Codable, RequestBody { +public struct AppStoreVersionLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppStoreVersionLocalizationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionLocalizations" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct AppStoreVersionLocalizationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var description: String? public var keywords: String? public var marketingUrl: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationsResponse.swift index 06ca0ccb5..4aa35b738 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionLocalizationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionLocalizationsResponse: Codable, PagedResponse { +public struct AppStoreVersionLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppStoreVersionLocalization public let data: [AppStoreVersionLocalization] @@ -74,7 +74,7 @@ public struct AppStoreVersionLocalizationsResponse: Codable, PagedResponse { }.first { $0.id == appStoreVersionLocalization.relationships?.appStoreVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appPreviewSet(AppPreviewSet) case appScreenshotSet(AppScreenshotSet) case appStoreVersion(AppStoreVersion) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedRelease.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedRelease.swift index ff071379e..7fc0310a4 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedRelease.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedRelease.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionPhasedRelease: Codable, Identifiable { +public struct AppStoreVersionPhasedRelease: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreVersionPhasedReleases" } @@ -48,7 +48,7 @@ public struct AppStoreVersionPhasedRelease: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var currentDayNumber: Int? public var phasedReleaseState: PhasedReleaseState? public var startDate: Date? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseCreateRequest.swift index eb7ac2d5f..596576ab6 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionPhasedReleaseCreateRequest: Codable, RequestBody { +public struct AppStoreVersionPhasedReleaseCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppStoreVersionPhasedReleaseCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreVersionPhasedReleases" } public var attributes: Attributes? public let relationships: Relationships @@ -67,7 +67,7 @@ public struct AppStoreVersionPhasedReleaseCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var phasedReleaseState: PhasedReleaseState? public init(phasedReleaseState: PhasedReleaseState? = nil) { @@ -92,7 +92,7 @@ public struct AppStoreVersionPhasedReleaseCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersion: AppStoreVersion public init(appStoreVersion: AppStoreVersion) { @@ -116,7 +116,7 @@ public struct AppStoreVersionPhasedReleaseCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -140,7 +140,7 @@ public struct AppStoreVersionPhasedReleaseCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseResponse.swift index 8f554c3c8..e5ba51ce2 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionPhasedReleaseResponse: Codable { +public struct AppStoreVersionPhasedReleaseResponse: Codable, Sendable { public let data: AppStoreVersionPhasedRelease public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseUpdateRequest.swift index c10cb9c33..f7359b577 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionPhasedReleaseUpdateRequest: Codable, RequestBody { +public struct AppStoreVersionPhasedReleaseUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppStoreVersionPhasedReleaseUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionPhasedReleases" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct AppStoreVersionPhasedReleaseUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var phasedReleaseState: PhasedReleaseState? public init(phasedReleaseState: PhasedReleaseState? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseWithoutIncludesResponse.swift index 06ee4367d..dd8728faa 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPhasedReleaseWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionPhasedReleaseWithoutIncludesResponse: Codable { +public struct AppStoreVersionPhasedReleaseWithoutIncludesResponse: Codable, Sendable { public let data: AppStoreVersionPhasedRelease public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotion.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotion.swift index fad32a422..ebb7b80cf 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotion.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotion.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionPromotion: Codable, Identifiable { +public struct AppStoreVersionPromotion: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreVersionPromotions" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotionCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotionCreateRequest.swift index 028382100..aeaa849b5 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotionCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotionCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionPromotionCreateRequest: Codable, RequestBody { +public struct AppStoreVersionPromotionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct AppStoreVersionPromotionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreVersionPromotions" } public let relationships: Relationships @@ -40,7 +40,7 @@ public struct AppStoreVersionPromotionCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersion: AppStoreVersion public let appStoreVersionExperimentTreatment: AppStoreVersionExperimentTreatment @@ -63,7 +63,7 @@ public struct AppStoreVersionPromotionCreateRequest: Codable, RequestBody { try container.encode(appStoreVersionExperimentTreatment, forKey: "appStoreVersionExperimentTreatment") } - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -80,7 +80,7 @@ public struct AppStoreVersionPromotionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -104,7 +104,7 @@ public struct AppStoreVersionPromotionCreateRequest: Codable, RequestBody { } } - public struct AppStoreVersionExperimentTreatment: Codable { + public struct AppStoreVersionExperimentTreatment: Codable, Sendable { public let data: Data public init(data: Data) { @@ -121,7 +121,7 @@ public struct AppStoreVersionPromotionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperimentTreatments" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotionResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotionResponse.swift index 8f678c627..552a89a63 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotionResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionPromotionResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppStoreVersionPromotionResponse: Codable { +public struct AppStoreVersionPromotionResponse: Codable, Sendable { public let data: AppStoreVersionPromotion public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequest.swift index 58087d918..b2ff362aa 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionReleaseRequest: Codable, Identifiable, RequestBody { +public struct AppStoreVersionReleaseRequest: Codable, Sendable, Identifiable, RequestBody { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequestCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequestCreateRequest.swift index fb3d49ec8..764ac1106 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequestCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequestCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionReleaseRequestCreateRequest: Codable, RequestBody { +public struct AppStoreVersionReleaseRequestCreateRequest: Codable, Sendable, RequestBody { /// The data element of the request body. public let data: Data @@ -33,7 +33,7 @@ public struct AppStoreVersionReleaseRequestCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "appStoreVersionReleaseRequests" } public let relationships: Relationships @@ -62,7 +62,7 @@ public struct AppStoreVersionReleaseRequestCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersion: AppStoreVersion public init(appStoreVersion: AppStoreVersion) { @@ -86,7 +86,7 @@ public struct AppStoreVersionReleaseRequestCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -110,7 +110,7 @@ public struct AppStoreVersionReleaseRequestCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequestResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequestResponse.swift index e9957ccd2..062b748c3 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequestResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionReleaseRequestResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionReleaseRequestResponse: Codable { +public struct AppStoreVersionReleaseRequestResponse: Codable, Sendable { /// The resource data. public let data: AppStoreVersionReleaseRequest /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionResponse.swift index 724f07c3e..da378a231 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionResponse: Codable { +public struct AppStoreVersionResponse: Codable, Sendable { public let data: AppStoreVersion public var included: [Included]? public let links: DocumentLinks @@ -128,7 +128,7 @@ public struct AppStoreVersionResponse: Codable { }.first { $0.id == data.relationships?.routingAppCoverage?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case ageRatingDeclaration(AgeRatingDeclaration) case alternativeDistributionPackage(AlternativeDistributionPackage) case app(App) diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionState.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionState.swift index 5980a64da..c9d964f08 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionState.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionState.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum AppStoreVersionState: String, ParameterValue, Codable, CaseIterable { +public enum AppStoreVersionState: String, Sendable, ParameterValue, Codable, CaseIterable { case accepted = "ACCEPTED" case developerRejected = "DEVELOPER_REJECTED" case developerRemovedFromSale = "DEVELOPER_REMOVED_FROM_SALE" diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmission.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmission.swift index 2523318a6..586640212 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmission.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmission.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionSubmission: Codable, Identifiable { +public struct AppStoreVersionSubmission: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "appStoreVersionSubmissions" } @@ -48,7 +48,7 @@ public struct AppStoreVersionSubmission: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appStoreVersion: AppStoreVersion? public init(appStoreVersion: AppStoreVersion? = nil) { @@ -72,7 +72,7 @@ public struct AppStoreVersionSubmission: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -102,7 +102,7 @@ public struct AppStoreVersionSubmission: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -132,7 +132,7 @@ public struct AppStoreVersionSubmission: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmissionCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmissionCreateRequest.swift index 93f93add0..3167f59ce 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmissionCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmissionCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionSubmissionCreateRequest: Codable, RequestBody { +public struct AppStoreVersionSubmissionCreateRequest: Codable, Sendable, RequestBody { /// The data element of the request body. public let data: Data @@ -33,7 +33,7 @@ public struct AppStoreVersionSubmissionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "appStoreVersionSubmissions" } /// The relationships to other resources that you can set with this request. @@ -64,7 +64,7 @@ public struct AppStoreVersionSubmissionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersion: AppStoreVersion public init(appStoreVersion: AppStoreVersion) { @@ -88,7 +88,7 @@ public struct AppStoreVersionSubmissionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -112,7 +112,7 @@ public struct AppStoreVersionSubmissionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmissionResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmissionResponse.swift index 2a9a89d10..ef27671af 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmissionResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionSubmissionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionSubmissionResponse: Codable { +public struct AppStoreVersionSubmissionResponse: Codable, Sendable { public let data: AppStoreVersionSubmission public var included: [AppStoreVersion]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionUpdateRequest.swift index df92b96ff..5204dfb86 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionUpdateRequest: Codable, RequestBody { +public struct AppStoreVersionUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppStoreVersionUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } public var attributes: Attributes? @@ -72,7 +72,7 @@ public struct AppStoreVersionUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var copyright: String? public var downloadable: Bool? public var earliestReleaseDate: Date? @@ -124,7 +124,7 @@ public struct AppStoreVersionUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Default App Clip Experiences resource. public var appClipDefaultExperience: AppClipDefaultExperience? public var build: Build? @@ -155,7 +155,7 @@ public struct AppStoreVersionUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct AppClipDefaultExperience: Codable { + public struct AppClipDefaultExperience: Codable, Sendable { /// The ID and type of the related Default App Clip Experiences resource. @NullCodable public var data: Data? @@ -180,7 +180,7 @@ public struct AppStoreVersionUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Default App Clip Experiences resource. public let id: String /// The resource type. @@ -213,7 +213,7 @@ public struct AppStoreVersionUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Build: Codable { + public struct Build: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -237,7 +237,7 @@ public struct AppStoreVersionUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "builds" } diff --git a/Sources/Bagbutik-Models/AppStore/AppStoreVersionsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppStoreVersionsResponse.swift index e6c0d8b87..608d3c969 100644 --- a/Sources/Bagbutik-Models/AppStore/AppStoreVersionsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppStoreVersionsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppStoreVersionsResponse: Codable, PagedResponse { +public struct AppStoreVersionsResponse: Codable, Sendable, PagedResponse { public typealias Data = AppStoreVersion public let data: [AppStoreVersion] @@ -135,7 +135,7 @@ public struct AppStoreVersionsResponse: Codable, PagedResponse { }.first { $0.id == appStoreVersion.relationships?.routingAppCoverage?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case ageRatingDeclaration(AgeRatingDeclaration) case alternativeDistributionPackage(AlternativeDistributionPackage) case app(App) diff --git a/Sources/Bagbutik-Models/AppStore/AppUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/AppUpdateRequest.swift index 48900a3e2..ead16eca1 100644 --- a/Sources/Bagbutik-Models/AppStore/AppUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/AppUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppUpdateRequest: Codable, RequestBody { +public struct AppUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct AppUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct AppUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var bundleId: String? public var contentRightsDeclaration: App.Attributes.ContentRightsDeclaration? public var primaryLocale: String? diff --git a/Sources/Bagbutik-Models/AppStore/AppVersionState.swift b/Sources/Bagbutik-Models/AppStore/AppVersionState.swift index 0c4cd5a0a..00c948513 100644 --- a/Sources/Bagbutik-Models/AppStore/AppVersionState.swift +++ b/Sources/Bagbutik-Models/AppStore/AppVersionState.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum AppVersionState: String, ParameterValue, Codable, CaseIterable { +public enum AppVersionState: String, Sendable, ParameterValue, Codable, CaseIterable { case accepted = "ACCEPTED" case developerRejected = "DEVELOPER_REJECTED" case inReview = "IN_REVIEW" diff --git a/Sources/Bagbutik-Models/AppStore/AppWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppWithoutIncludesResponse.swift index 0282ddaca..33d70af9f 100644 --- a/Sources/Bagbutik-Models/AppStore/AppWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppWithoutIncludesResponse: Codable { +public struct AppWithoutIncludesResponse: Codable, Sendable { public let data: App public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/AppsResponse.swift b/Sources/Bagbutik-Models/AppStore/AppsResponse.swift index 43968c535..f5bf1e469 100644 --- a/Sources/Bagbutik-Models/AppStore/AppsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppsResponse: Codable, PagedResponse { +public struct AppsResponse: Codable, Sendable, PagedResponse { public typealias Data = App /// The resource data. @@ -287,7 +287,7 @@ public struct AppsResponse: Codable, PagedResponse { return subscriptionGroups } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appClip(AppClip) case appCustomProductPage(AppCustomProductPage) case appEncryptionDeclaration(AppEncryptionDeclaration) diff --git a/Sources/Bagbutik-Models/AppStore/AppsWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/AppsWithoutIncludesResponse.swift index 1dbb2bb4a..7d9782fd6 100644 --- a/Sources/Bagbutik-Models/AppStore/AppsWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/AppsWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct AppsWithoutIncludesResponse: Codable, PagedResponse { +public struct AppsWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = App public let data: [App] diff --git a/Sources/Bagbutik-Models/AppStore/BetaAppClipInvocationsResponse.swift b/Sources/Bagbutik-Models/AppStore/BetaAppClipInvocationsResponse.swift index 0ab3ea068..02cb278c4 100644 --- a/Sources/Bagbutik-Models/AppStore/BetaAppClipInvocationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/BetaAppClipInvocationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppClipInvocationsResponse: Codable, PagedResponse { +public struct BetaAppClipInvocationsResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaAppClipInvocation /// The resource data. diff --git a/Sources/Bagbutik-Models/AppStore/BrazilAgeRating.swift b/Sources/Bagbutik-Models/AppStore/BrazilAgeRating.swift index 8a3500166..1b4e24ac0 100644 --- a/Sources/Bagbutik-Models/AppStore/BrazilAgeRating.swift +++ b/Sources/Bagbutik-Models/AppStore/BrazilAgeRating.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum BrazilAgeRating: String, Codable, CaseIterable { +public enum BrazilAgeRating: String, Sendable, Codable, CaseIterable { /// A literal that represents the rating 18. case eighteen = "EIGHTEEN" /// A literal that represents the rating 14. diff --git a/Sources/Bagbutik-Models/AppStore/BuildBundle.swift b/Sources/Bagbutik-Models/AppStore/BuildBundle.swift index 277b8845a..5b98e5d37 100644 --- a/Sources/Bagbutik-Models/AppStore/BuildBundle.swift +++ b/Sources/Bagbutik-Models/AppStore/BuildBundle.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBundle: Codable, Identifiable { +public struct BuildBundle: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Build Bundles resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The bundle ID of the build bundle. public var bundleId: String? /// The type of the build bundle. @@ -173,7 +173,7 @@ public struct BuildBundle: Codable, Identifiable { try container.encodeIfPresent(usesLocationServices, forKey: "usesLocationServices") } - public enum BundleType: String, Codable, CaseIterable { + public enum BundleType: String, Sendable, Codable, CaseIterable { case app = "APP" case appClip = "APP_CLIP" } @@ -186,7 +186,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related App Clip Domain Cache Statuses resource. public var appClipDomainCacheStatus: AppClipDomainCacheStatus? /// The related App Clip Domain Debug Statuses resource. @@ -230,7 +230,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct AppClipDomainCacheStatus: Codable { + public struct AppClipDomainCacheStatus: Codable, Sendable { /// The ID and type of the related App Clip Domain Cache Status resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -262,7 +262,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related App Clip Domain Cache Statuses resource. public let id: String /// The resource type. @@ -294,7 +294,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -328,7 +328,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct AppClipDomainDebugStatus: Codable { + public struct AppClipDomainDebugStatus: Codable, Sendable { /// The ID and type of the related App Clip Domain Debug Status resource. @NullCodable public var data: Data? /// Navigational links that include the self-link. @@ -360,7 +360,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related App Clip Domain Debug Statuses resource. public let id: String /// The resource type. @@ -392,7 +392,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -426,7 +426,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct BetaAppClipInvocations: Codable { + public struct BetaAppClipInvocations: Codable, Sendable { /// The ID and type of the related Beta App Clip Invocations resource. @NullCodable public var data: [Data]? /// Navigational links that include the self-link. @@ -464,7 +464,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Beta App Clip Invocations resource. public let id: String /// The resource type. @@ -496,7 +496,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -530,7 +530,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct BuildBundleFileSizes: Codable { + public struct BuildBundleFileSizes: Codable, Sendable { /// The ID and type of the related Build Bundle File Sizes resource. @NullCodable public var data: [Data]? /// Navigational links that include the self-link. @@ -568,7 +568,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Build Bundle File Sizes resource. public let id: String /// The resource type. @@ -600,7 +600,7 @@ public struct BuildBundle: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/AppStore/BuildBundleFileSize.swift b/Sources/Bagbutik-Models/AppStore/BuildBundleFileSize.swift index 6082f7afb..04234f425 100644 --- a/Sources/Bagbutik-Models/AppStore/BuildBundleFileSize.swift +++ b/Sources/Bagbutik-Models/AppStore/BuildBundleFileSize.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBundleFileSize: Codable, Identifiable { +public struct BuildBundleFileSize: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Build Bundles File Sizes resource. public let id: String /// Navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct BuildBundleFileSize: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A string that identifies the Apple device model. public var deviceModel: String? /// An integer value that represents the download size of the build bundle in bytes. diff --git a/Sources/Bagbutik-Models/AppStore/BuildBundleFileSizesResponse.swift b/Sources/Bagbutik-Models/AppStore/BuildBundleFileSizesResponse.swift index ded9102b6..06725caff 100644 --- a/Sources/Bagbutik-Models/AppStore/BuildBundleFileSizesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/BuildBundleFileSizesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBundleFileSizesResponse: Codable, PagedResponse { +public struct BuildBundleFileSizesResponse: Codable, Sendable, PagedResponse { public typealias Data = BuildBundleFileSize /// The resource data. diff --git a/Sources/Bagbutik-Models/AppStore/BuildIcon.swift b/Sources/Bagbutik-Models/AppStore/BuildIcon.swift index 47ed8ecb7..ff76881f1 100644 --- a/Sources/Bagbutik-Models/AppStore/BuildIcon.swift +++ b/Sources/Bagbutik-Models/AppStore/BuildIcon.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildIcon: Codable, Identifiable { +public struct BuildIcon: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "buildIcons" } @@ -48,7 +48,7 @@ public struct BuildIcon: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var iconAsset: ImageAsset? public var iconType: IconAssetType? public var name: String? diff --git a/Sources/Bagbutik-Models/AppStore/BuildIconsResponse.swift b/Sources/Bagbutik-Models/AppStore/BuildIconsResponse.swift index eb71e9d93..a98824803 100644 --- a/Sources/Bagbutik-Models/AppStore/BuildIconsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/BuildIconsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildIconsResponse: Codable, PagedResponse { +public struct BuildIconsResponse: Codable, Sendable, PagedResponse { public typealias Data = BuildIcon public let data: [BuildIcon] diff --git a/Sources/Bagbutik-Models/AppStore/BuildIconsWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/BuildIconsWithoutIncludesResponse.swift index f5149230f..e19fe8006 100644 --- a/Sources/Bagbutik-Models/AppStore/BuildIconsWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/BuildIconsWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BuildIconsWithoutIncludesResponse: Codable, PagedResponse { +public struct BuildIconsWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = BuildIcon public let data: [BuildIcon] diff --git a/Sources/Bagbutik-Models/AppStore/CustomerReview.swift b/Sources/Bagbutik-Models/AppStore/CustomerReview.swift index 247f82d79..5eef8efc5 100644 --- a/Sources/Bagbutik-Models/AppStore/CustomerReview.swift +++ b/Sources/Bagbutik-Models/AppStore/CustomerReview.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CustomerReview: Codable, Identifiable { +public struct CustomerReview: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the `CustomerReviews` resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct CustomerReview: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The review text that the customer wrote. public var body: String? /// The date and time the customer created the review. @@ -115,7 +115,7 @@ public struct CustomerReview: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The data and links that describe the relationship between the `CustomerReviews` and `CustomerReviewResponses` resources. public var response: Response? @@ -140,7 +140,7 @@ public struct CustomerReview: Codable, Identifiable { Full documentation: */ - public struct Response: Codable { + public struct Response: Codable, Sendable { /// The type and ID of a related resource. @NullCodable public var data: Data? /// The links to the related data and the relationship’s self-link. @@ -172,7 +172,7 @@ public struct CustomerReview: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -204,7 +204,7 @@ public struct CustomerReview: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to the related data. public var related: String? /// The relashionship’s self-link. diff --git a/Sources/Bagbutik-Models/AppStore/CustomerReviewResponse.swift b/Sources/Bagbutik-Models/AppStore/CustomerReviewResponse.swift index 7e813eafd..d1793eeb9 100644 --- a/Sources/Bagbutik-Models/AppStore/CustomerReviewResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/CustomerReviewResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CustomerReviewResponse: Codable { +public struct CustomerReviewResponse: Codable, Sendable { /// The data structure that represents a `CustomerReviews` resource. public let data: CustomerReview /// The requested relationship data. diff --git a/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1.swift b/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1.swift index f1a53d743..cae60b23a 100644 --- a/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1.swift +++ b/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CustomerReviewResponseV1: Codable, Identifiable { +public struct CustomerReviewResponseV1: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the `CustomerReviewResponses` resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct CustomerReviewResponseV1: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The date and time you last modified your response to the customer’s review. public var lastModifiedDate: Date? /// The text of the response that you wrote to the customer’s review. @@ -89,7 +89,7 @@ public struct CustomerReviewResponseV1: Codable, Identifiable { try container.encodeIfPresent(state, forKey: "state") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case pendingPublish = "PENDING_PUBLISH" case published = "PUBLISHED" } @@ -102,7 +102,7 @@ public struct CustomerReviewResponseV1: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The customer review related to your response. public var review: Review? @@ -127,7 +127,7 @@ public struct CustomerReviewResponseV1: Codable, Identifiable { Full documentation: */ - public struct Review: Codable { + public struct Review: Codable, Sendable { /// The type and ID of a resource that you’re relating with the resource you’re updating. @NullCodable public var data: Data? /// The links to the related data and the relationship’s self-link. @@ -159,7 +159,7 @@ public struct CustomerReviewResponseV1: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the `customerReviews` resource. public let id: String /// The resource type. @@ -191,7 +191,7 @@ public struct CustomerReviewResponseV1: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to the related data. public var related: String? /// The relashionship’s self-link. diff --git a/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1CreateRequest.swift b/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1CreateRequest.swift index 2540533d1..bb8703e58 100644 --- a/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1CreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1CreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CustomerReviewResponseV1CreateRequest: Codable, RequestBody { +public struct CustomerReviewResponseV1CreateRequest: Codable, Sendable, RequestBody { /// The resource data for your customer review response. public let data: Data @@ -33,7 +33,7 @@ public struct CustomerReviewResponseV1CreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "customerReviewResponses" } /// The attributes of the customer review response, including its text content. @@ -71,7 +71,7 @@ public struct CustomerReviewResponseV1CreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The text of your response to the customer review. public let responseBody: String @@ -97,7 +97,7 @@ public struct CustomerReviewResponseV1CreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The customer review related to the response you’re creating. public let review: Review @@ -122,7 +122,7 @@ public struct CustomerReviewResponseV1CreateRequest: Codable, RequestBody { Full documentation: */ - public struct Review: Codable { + public struct Review: Codable, Sendable { /// The type and ID of a resource that you’re relating with the resource you’re updating. public let data: Data @@ -147,7 +147,7 @@ public struct CustomerReviewResponseV1CreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the `customerReviews` resource that you’re responding to. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1Response.swift b/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1Response.swift index 92ae38b4a..c98e5b6ef 100644 --- a/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1Response.swift +++ b/Sources/Bagbutik-Models/AppStore/CustomerReviewResponseV1Response.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CustomerReviewResponseV1Response: Codable { +public struct CustomerReviewResponseV1Response: Codable, Sendable { /// The data structure that represents a `CustomerReviewResponses` resource. public let data: CustomerReviewResponseV1 /// The requested relationship data. diff --git a/Sources/Bagbutik-Models/AppStore/CustomerReviewsResponse.swift b/Sources/Bagbutik-Models/AppStore/CustomerReviewsResponse.swift index 1d0b5c267..f2723fbec 100644 --- a/Sources/Bagbutik-Models/AppStore/CustomerReviewsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/CustomerReviewsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CustomerReviewsResponse: Codable, PagedResponse { +public struct CustomerReviewsResponse: Codable, Sendable, PagedResponse { public typealias Data = CustomerReview /// A list of customer review resource data. diff --git a/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrder.swift b/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrder.swift index 7aae72dce..762c9fc74 100644 --- a/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrder.swift +++ b/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrder.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct EndAppAvailabilityPreOrder: Codable, Identifiable { +public struct EndAppAvailabilityPreOrder: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "endAppAvailabilityPreOrders" } diff --git a/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrderCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrderCreateRequest.swift index 1b25152f1..e7bd8d24e 100644 --- a/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrderCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrderCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct EndAppAvailabilityPreOrderCreateRequest: Codable, RequestBody { +public struct EndAppAvailabilityPreOrderCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct EndAppAvailabilityPreOrderCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "endAppAvailabilityPreOrders" } public let relationships: Relationships @@ -47,7 +47,7 @@ public struct EndAppAvailabilityPreOrderCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let territoryAvailabilities: TerritoryAvailabilities public init(territoryAvailabilities: TerritoryAvailabilities) { @@ -64,7 +64,7 @@ public struct EndAppAvailabilityPreOrderCreateRequest: Codable, RequestBody { try container.encode(territoryAvailabilities, forKey: "territoryAvailabilities") } - public struct TerritoryAvailabilities: Codable { + public struct TerritoryAvailabilities: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -81,7 +81,7 @@ public struct EndAppAvailabilityPreOrderCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territoryAvailabilities" } diff --git a/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrderResponse.swift b/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrderResponse.swift index 680e13a62..b3fb4ef77 100644 --- a/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrderResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/EndAppAvailabilityPreOrderResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct EndAppAvailabilityPreOrderResponse: Codable { +public struct EndAppAvailabilityPreOrderResponse: Codable, Sendable { public let data: EndAppAvailabilityPreOrder public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreement.swift b/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreement.swift index 8673f22db..ecba3ab79 100644 --- a/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreement.swift +++ b/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreement.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct EndUserLicenseAgreement: Codable, Identifiable { +public struct EndUserLicenseAgreement: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "endUserLicenseAgreements" } @@ -53,7 +53,7 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var agreementText: String? public init(agreementText: String? = nil) { @@ -78,7 +78,7 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var territories: Territories? @@ -108,7 +108,7 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -138,7 +138,7 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -168,7 +168,7 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -200,7 +200,7 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Territories: Codable { + public struct Territories: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -235,7 +235,7 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -265,7 +265,7 @@ public struct EndUserLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementCreateRequest.swift index d235cdb2f..5c92e1afc 100644 --- a/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct EndUserLicenseAgreementCreateRequest: Codable, RequestBody { +public struct EndUserLicenseAgreementCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct EndUserLicenseAgreementCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "endUserLicenseAgreements" } public let attributes: Attributes public let relationships: Relationships @@ -67,7 +67,7 @@ public struct EndUserLicenseAgreementCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let agreementText: String public init(agreementText: String) { @@ -92,7 +92,7 @@ public struct EndUserLicenseAgreementCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public let territories: Territories @@ -122,7 +122,7 @@ public struct EndUserLicenseAgreementCreateRequest: Codable, RequestBody { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -146,7 +146,7 @@ public struct EndUserLicenseAgreementCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -177,7 +177,7 @@ public struct EndUserLicenseAgreementCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Territories: Codable { + public struct Territories: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -201,7 +201,7 @@ public struct EndUserLicenseAgreementCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } diff --git a/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementResponse.swift b/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementResponse.swift index ed9a8be2b..30fd0bc47 100644 --- a/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct EndUserLicenseAgreementResponse: Codable { +public struct EndUserLicenseAgreementResponse: Codable, Sendable { public let data: EndUserLicenseAgreement public var included: [Included]? public let links: DocumentLinks @@ -55,7 +55,7 @@ public struct EndUserLicenseAgreementResponse: Codable { return territories } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementUpdateRequest.swift index b887b77a8..91c4665b1 100644 --- a/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct EndUserLicenseAgreementUpdateRequest: Codable, RequestBody { +public struct EndUserLicenseAgreementUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct EndUserLicenseAgreementUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "endUserLicenseAgreements" } public var attributes: Attributes? @@ -72,7 +72,7 @@ public struct EndUserLicenseAgreementUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var agreementText: String? public init(agreementText: String? = nil) { @@ -97,7 +97,7 @@ public struct EndUserLicenseAgreementUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var territories: Territories? public init(territories: Territories? = nil) { @@ -121,7 +121,7 @@ public struct EndUserLicenseAgreementUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Territories: Codable { + public struct Territories: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -145,7 +145,7 @@ public struct EndUserLicenseAgreementUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } diff --git a/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementWithoutIncludesResponse.swift index 312544a21..afdd164cb 100644 --- a/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/EndUserLicenseAgreementWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct EndUserLicenseAgreementWithoutIncludesResponse: Codable { +public struct EndUserLicenseAgreementWithoutIncludesResponse: Codable, Sendable { public let data: EndUserLicenseAgreement public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersion.swift b/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersion.swift index 69f96372c..f94ccb84d 100644 --- a/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersion.swift +++ b/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersion.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterEnabledVersion: Codable, Identifiable { +public struct GameCenterEnabledVersion: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterEnabledVersions" } @@ -53,7 +53,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var iconAsset: ImageAsset? public var platform: Platform? public var versionString: String? @@ -89,7 +89,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var compatibleVersions: CompatibleVersions? @@ -119,7 +119,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -149,7 +149,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -179,7 +179,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -211,7 +211,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { Full documentation: */ - public struct CompatibleVersions: Codable { + public struct CompatibleVersions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -246,7 +246,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterEnabledVersions" } @@ -276,7 +276,7 @@ public struct GameCenterEnabledVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest.swift b/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest.swift index 938aa48f5..a4b2a1c2a 100644 --- a/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionCompatibleVersionsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterEnabledVersionCompatibleVersionsLinkagesRequest: Codable, RequestBody { +public struct GameCenterEnabledVersionCompatibleVersionsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -32,7 +32,7 @@ public struct GameCenterEnabledVersionCompatibleVersionsLinkagesRequest: Codable Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterEnabledVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse.swift b/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse.swift index d2b02d06f..0ad063eff 100644 --- a/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionCompatibleVersionsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterEnabledVersionCompatibleVersionsLinkagesResponse: Codable, PagedResponse { +public struct GameCenterEnabledVersionCompatibleVersionsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -43,7 +43,7 @@ public struct GameCenterEnabledVersionCompatibleVersionsLinkagesResponse: Codabl Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterEnabledVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionsResponse.swift b/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionsResponse.swift index 9bcb9d9a1..ada3a5172 100644 --- a/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/GameCenterEnabledVersionsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterEnabledVersionsResponse: Codable, PagedResponse { +public struct GameCenterEnabledVersionsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterEnabledVersion public let data: [GameCenterEnabledVersion] @@ -62,7 +62,7 @@ public struct GameCenterEnabledVersionsResponse: Codable, PagedResponse { return compatibleVersions } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case gameCenterEnabledVersion(GameCenterEnabledVersion) diff --git a/Sources/Bagbutik-Models/AppStore/HttpHeader.swift b/Sources/Bagbutik-Models/AppStore/HttpHeader.swift index b7a1af630..eeaebcc40 100644 --- a/Sources/Bagbutik-Models/AppStore/HttpHeader.swift +++ b/Sources/Bagbutik-Models/AppStore/HttpHeader.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct HttpHeader: Codable { +public struct HttpHeader: Codable, Sendable { public var name: String? public var value: String? diff --git a/Sources/Bagbutik-Models/AppStore/IconAssetType.swift b/Sources/Bagbutik-Models/AppStore/IconAssetType.swift index 2772d7239..ea0858daa 100644 --- a/Sources/Bagbutik-Models/AppStore/IconAssetType.swift +++ b/Sources/Bagbutik-Models/AppStore/IconAssetType.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum IconAssetType: String, Codable, CaseIterable { +public enum IconAssetType: String, Sendable, Codable, CaseIterable { case alternateExperiment = "ALTERNATE_EXPERIMENT" case appStore = "APP_STORE" case messagesAppStore = "MESSAGES_APP_STORE" diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchase.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchase.swift index dc755bf45..8cbf21213 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchase.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchase.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct InAppPurchase: Codable, Identifiable { +public struct InAppPurchase: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "inAppPurchases" } @@ -53,7 +53,7 @@ public struct InAppPurchase: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var inAppPurchaseType: InAppPurchaseType? public var productId: String? public var referenceName: String? @@ -86,7 +86,7 @@ public struct InAppPurchase: Codable, Identifiable { try container.encodeIfPresent(state, forKey: "state") } - public enum InAppPurchaseType: String, Codable, CaseIterable { + public enum InAppPurchaseType: String, Sendable, Codable, CaseIterable { case automaticallyRenewableSubscription = "AUTOMATICALLY_RENEWABLE_SUBSCRIPTION" case consumable = "CONSUMABLE" case freeSubscription = "FREE_SUBSCRIPTION" @@ -94,7 +94,7 @@ public struct InAppPurchase: Codable, Identifiable { case nonRenewingSubscription = "NON_RENEWING_SUBSCRIPTION" } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case approved = "APPROVED" case created = "CREATED" case deleted = "DELETED" @@ -124,7 +124,7 @@ public struct InAppPurchase: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var apps: Apps? public init(apps: Apps? = nil) { @@ -148,7 +148,7 @@ public struct InAppPurchase: Codable, Identifiable { Full documentation: */ - public struct Apps: Codable { + public struct Apps: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -183,7 +183,7 @@ public struct InAppPurchase: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -213,7 +213,7 @@ public struct InAppPurchase: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshot.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshot.swift index 2fb11fb7d..c4a2c7b7a 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshot.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshot.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseAppStoreReviewScreenshot: Codable, Identifiable { +public struct InAppPurchaseAppStoreReviewScreenshot: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "inAppPurchaseAppStoreReviewScreenshots" } @@ -39,7 +39,7 @@ public struct InAppPurchaseAppStoreReviewScreenshot: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetDeliveryState: AppMediaAssetState? public var assetToken: String? public var assetType: String? @@ -93,7 +93,7 @@ public struct InAppPurchaseAppStoreReviewScreenshot: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var inAppPurchaseV2: InAppPurchaseV2? public init(inAppPurchaseV2: InAppPurchaseV2? = nil) { @@ -110,7 +110,7 @@ public struct InAppPurchaseAppStoreReviewScreenshot: Codable, Identifiable { try container.encodeIfPresent(inAppPurchaseV2, forKey: "inAppPurchaseV2") } - public struct InAppPurchaseV2: Codable { + public struct InAppPurchaseV2: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -133,7 +133,7 @@ public struct InAppPurchaseAppStoreReviewScreenshot: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } @@ -156,7 +156,7 @@ public struct InAppPurchaseAppStoreReviewScreenshot: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotCreateRequest.swift index 3dd8d4f07..eaf099c8a 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseAppStoreReviewScreenshotCreateRequest: Codable, RequestBody { +public struct InAppPurchaseAppStoreReviewScreenshotCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct InAppPurchaseAppStoreReviewScreenshotCreateRequest: Codable, Reque try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "inAppPurchaseAppStoreReviewScreenshots" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct InAppPurchaseAppStoreReviewScreenshotCreateRequest: Codable, Reque try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int @@ -70,7 +70,7 @@ public struct InAppPurchaseAppStoreReviewScreenshotCreateRequest: Codable, Reque } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let inAppPurchaseV2: InAppPurchaseV2 public init(inAppPurchaseV2: InAppPurchaseV2) { @@ -87,7 +87,7 @@ public struct InAppPurchaseAppStoreReviewScreenshotCreateRequest: Codable, Reque try container.encode(inAppPurchaseV2, forKey: "inAppPurchaseV2") } - public struct InAppPurchaseV2: Codable { + public struct InAppPurchaseV2: Codable, Sendable { public let data: Data public init(data: Data) { @@ -104,7 +104,7 @@ public struct InAppPurchaseAppStoreReviewScreenshotCreateRequest: Codable, Reque try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotResponse.swift index 7145990b2..4a325b7d8 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseAppStoreReviewScreenshotResponse: Codable { +public struct InAppPurchaseAppStoreReviewScreenshotResponse: Codable, Sendable { public let data: InAppPurchaseAppStoreReviewScreenshot public var included: [InAppPurchaseV2]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotUpdateRequest.swift index ea92f2e89..7ec6bc953 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAppStoreReviewScreenshotUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseAppStoreReviewScreenshotUpdateRequest: Codable, RequestBody { +public struct InAppPurchaseAppStoreReviewScreenshotUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct InAppPurchaseAppStoreReviewScreenshotUpdateRequest: Codable, Reque try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchaseAppStoreReviewScreenshots" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct InAppPurchaseAppStoreReviewScreenshotUpdateRequest: Codable, Reque try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var sourceFileChecksum: String? public var uploaded: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailability.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailability.swift index ebff03a58..f66ac78d4 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailability.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailability.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseAvailability: Codable, Identifiable { +public struct InAppPurchaseAvailability: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "inAppPurchaseAvailabilities" } @@ -39,7 +39,7 @@ public struct InAppPurchaseAvailability: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var availableInNewTerritories: Bool? public init(availableInNewTerritories: Bool? = nil) { @@ -57,7 +57,7 @@ public struct InAppPurchaseAvailability: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var availableTerritories: AvailableTerritories? public init(availableTerritories: AvailableTerritories? = nil) { @@ -74,7 +74,7 @@ public struct InAppPurchaseAvailability: Codable, Identifiable { try container.encodeIfPresent(availableTerritories, forKey: "availableTerritories") } - public struct AvailableTerritories: Codable { + public struct AvailableTerritories: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -102,7 +102,7 @@ public struct InAppPurchaseAvailability: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -125,7 +125,7 @@ public struct InAppPurchaseAvailability: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailabilityCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailabilityCreateRequest.swift index 49f791c03..3937cb581 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailabilityCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailabilityCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseAvailabilityCreateRequest: Codable, RequestBody { +public struct InAppPurchaseAvailabilityCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct InAppPurchaseAvailabilityCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "inAppPurchaseAvailabilities" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct InAppPurchaseAvailabilityCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let availableInNewTerritories: Bool public init(availableInNewTerritories: Bool) { @@ -64,7 +64,7 @@ public struct InAppPurchaseAvailabilityCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let availableTerritories: AvailableTerritories public let inAppPurchase: InAppPurchase @@ -87,7 +87,7 @@ public struct InAppPurchaseAvailabilityCreateRequest: Codable, RequestBody { try container.encode(inAppPurchase, forKey: "inAppPurchase") } - public struct AvailableTerritories: Codable { + public struct AvailableTerritories: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -104,7 +104,7 @@ public struct InAppPurchaseAvailabilityCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -128,7 +128,7 @@ public struct InAppPurchaseAvailabilityCreateRequest: Codable, RequestBody { } } - public struct InAppPurchase: Codable { + public struct InAppPurchase: Codable, Sendable { public let data: Data public init(data: Data) { @@ -145,7 +145,7 @@ public struct InAppPurchaseAvailabilityCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailabilityResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailabilityResponse.swift index b83af5d6a..ca5632116 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailabilityResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseAvailabilityResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseAvailabilityResponse: Codable { +public struct InAppPurchaseAvailabilityResponse: Codable, Sendable { public let data: InAppPurchaseAvailability public var included: [Territory]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseContent.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseContent.swift index 8b4e012e3..aefca295d 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseContent.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseContent.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseContent: Codable, Identifiable { +public struct InAppPurchaseContent: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "inAppPurchaseContents" } @@ -39,7 +39,7 @@ public struct InAppPurchaseContent: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var fileName: String? public var fileSize: Int? public var lastModifiedDate: Date? @@ -73,7 +73,7 @@ public struct InAppPurchaseContent: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var inAppPurchaseV2: InAppPurchaseV2? public init(inAppPurchaseV2: InAppPurchaseV2? = nil) { @@ -90,7 +90,7 @@ public struct InAppPurchaseContent: Codable, Identifiable { try container.encodeIfPresent(inAppPurchaseV2, forKey: "inAppPurchaseV2") } - public struct InAppPurchaseV2: Codable { + public struct InAppPurchaseV2: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -113,7 +113,7 @@ public struct InAppPurchaseContent: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } @@ -136,7 +136,7 @@ public struct InAppPurchaseContent: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseContentResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseContentResponse.swift index 1ed28642a..bfcebb305 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseContentResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseContentResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseContentResponse: Codable { +public struct InAppPurchaseContentResponse: Codable, Sendable { public let data: InAppPurchaseContent public var included: [InAppPurchaseV2]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalization.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalization.swift index 5763c606c..c6a21fcfa 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalization.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalization.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseLocalization: Codable, Identifiable { +public struct InAppPurchaseLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "inAppPurchaseLocalizations" } @@ -39,7 +39,7 @@ public struct InAppPurchaseLocalization: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var description: String? public var locale: String? public var name: String? @@ -72,7 +72,7 @@ public struct InAppPurchaseLocalization: Codable, Identifiable { try container.encodeIfPresent(state, forKey: "state") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case approved = "APPROVED" case prepareForSubmission = "PREPARE_FOR_SUBMISSION" case rejected = "REJECTED" @@ -80,7 +80,7 @@ public struct InAppPurchaseLocalization: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var inAppPurchaseV2: InAppPurchaseV2? public init(inAppPurchaseV2: InAppPurchaseV2? = nil) { @@ -97,7 +97,7 @@ public struct InAppPurchaseLocalization: Codable, Identifiable { try container.encodeIfPresent(inAppPurchaseV2, forKey: "inAppPurchaseV2") } - public struct InAppPurchaseV2: Codable { + public struct InAppPurchaseV2: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -120,7 +120,7 @@ public struct InAppPurchaseLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } @@ -143,7 +143,7 @@ public struct InAppPurchaseLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationCreateRequest.swift index 700b9b187..8391be25b 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseLocalizationCreateRequest: Codable, RequestBody { +public struct InAppPurchaseLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct InAppPurchaseLocalizationCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "inAppPurchaseLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct InAppPurchaseLocalizationCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var description: String? public let locale: String public let name: String @@ -75,7 +75,7 @@ public struct InAppPurchaseLocalizationCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let inAppPurchaseV2: InAppPurchaseV2 public init(inAppPurchaseV2: InAppPurchaseV2) { @@ -92,7 +92,7 @@ public struct InAppPurchaseLocalizationCreateRequest: Codable, RequestBody { try container.encode(inAppPurchaseV2, forKey: "inAppPurchaseV2") } - public struct InAppPurchaseV2: Codable { + public struct InAppPurchaseV2: Codable, Sendable { public let data: Data public init(data: Data) { @@ -109,7 +109,7 @@ public struct InAppPurchaseLocalizationCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationResponse.swift index 6eb59d171..e50decbce 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseLocalizationResponse: Codable { +public struct InAppPurchaseLocalizationResponse: Codable, Sendable { public let data: InAppPurchaseLocalization public var included: [InAppPurchaseV2]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationUpdateRequest.swift index e7cf65b12..e04e27704 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseLocalizationUpdateRequest: Codable, RequestBody { +public struct InAppPurchaseLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct InAppPurchaseLocalizationUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchaseLocalizations" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct InAppPurchaseLocalizationUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var description: String? public var name: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationsResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationsResponse.swift index 2ff83e0f6..a9db7974d 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseLocalizationsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseLocalizationsResponse: Codable, PagedResponse { +public struct InAppPurchaseLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = InAppPurchaseLocalization public let data: [InAppPurchaseLocalization] diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchasePrice.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchasePrice.swift index 260f82d4f..2acd3a7cc 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchasePrice.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchasePrice.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchasePrice: Codable, Identifiable { +public struct InAppPurchasePrice: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "inAppPurchasePrices" } @@ -39,7 +39,7 @@ public struct InAppPurchasePrice: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var endDate: String? public var manual: Bool? public var startDate: String? @@ -68,7 +68,7 @@ public struct InAppPurchasePrice: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var inAppPurchasePricePoint: InAppPurchasePricePoint? public var territory: Territory? @@ -91,7 +91,7 @@ public struct InAppPurchasePrice: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct InAppPurchasePricePoint: Codable { + public struct InAppPurchasePricePoint: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -114,7 +114,7 @@ public struct InAppPurchasePrice: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchasePricePoints" } @@ -137,7 +137,7 @@ public struct InAppPurchasePrice: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -162,7 +162,7 @@ public struct InAppPurchasePrice: Codable, Identifiable { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -185,7 +185,7 @@ public struct InAppPurchasePrice: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -208,7 +208,7 @@ public struct InAppPurchasePrice: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceInlineCreate.swift index b61918a42..2c7e8e0e7 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceInlineCreate.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchasePriceInlineCreate: Codable, Identifiable { +public struct InAppPurchasePriceInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "inAppPurchasePrices" } public var attributes: Attributes? @@ -34,7 +34,7 @@ public struct InAppPurchasePriceInlineCreate: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var endDate: String? public var startDate: String? @@ -58,7 +58,7 @@ public struct InAppPurchasePriceInlineCreate: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var inAppPurchasePricePoint: InAppPurchasePricePoint? public var inAppPurchaseV2: InAppPurchaseV2? @@ -81,7 +81,7 @@ public struct InAppPurchasePriceInlineCreate: Codable, Identifiable { try container.encodeIfPresent(inAppPurchaseV2, forKey: "inAppPurchaseV2") } - public struct InAppPurchasePricePoint: Codable { + public struct InAppPurchasePricePoint: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -98,7 +98,7 @@ public struct InAppPurchasePriceInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchasePricePoints" } @@ -122,7 +122,7 @@ public struct InAppPurchasePriceInlineCreate: Codable, Identifiable { } } - public struct InAppPurchaseV2: Codable { + public struct InAppPurchaseV2: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -139,7 +139,7 @@ public struct InAppPurchasePriceInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchasePricePoint.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchasePricePoint.swift index 301d53ce8..7042a3696 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchasePricePoint.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchasePricePoint.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchasePricePoint: Codable, Identifiable { +public struct InAppPurchasePricePoint: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "inAppPurchasePricePoints" } @@ -39,7 +39,7 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var customerPrice: String? public var proceeds: String? @@ -63,7 +63,7 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var territory: Territory? public init(territory: Territory? = nil) { @@ -80,7 +80,7 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -103,7 +103,7 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -126,7 +126,7 @@ public struct InAppPurchasePricePoint: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchasePricePointsResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchasePricePointsResponse.swift index ba253b665..5ac7a4c1e 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchasePricePointsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchasePricePointsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchasePricePointsResponse: Codable, PagedResponse { +public struct InAppPurchasePricePointsResponse: Codable, Sendable, PagedResponse { public typealias Data = InAppPurchasePricePoint public let data: [InAppPurchasePricePoint] diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceSchedule.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceSchedule.swift index 675ff55f6..4cf8cfffb 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceSchedule.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceSchedule.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchasePriceSchedule: Codable, Identifiable { +public struct InAppPurchasePriceSchedule: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "inAppPurchasePriceSchedules" } @@ -34,7 +34,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var automaticPrices: AutomaticPrices? public var baseTerritory: BaseTerritory? public var inAppPurchase: InAppPurchase? @@ -67,7 +67,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { try container.encodeIfPresent(manualPrices, forKey: "manualPrices") } - public struct AutomaticPrices: Codable { + public struct AutomaticPrices: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -95,7 +95,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchasePrices" } @@ -118,7 +118,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -143,7 +143,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public struct BaseTerritory: Codable { + public struct BaseTerritory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -166,7 +166,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -189,7 +189,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -214,7 +214,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public struct InAppPurchase: Codable { + public struct InAppPurchase: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -237,7 +237,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } @@ -260,7 +260,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -285,7 +285,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public struct ManualPrices: Codable { + public struct ManualPrices: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -313,7 +313,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchasePrices" } @@ -336,7 +336,7 @@ public struct InAppPurchasePriceSchedule: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceScheduleCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceScheduleCreateRequest.swift index 56eb32ed9..ae10fa162 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceScheduleCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceScheduleCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchasePriceScheduleCreateRequest: Codable, RequestBody { +public struct InAppPurchasePriceScheduleCreateRequest: Codable, Sendable, RequestBody { public let data: Data public var included: [Included]? @@ -24,7 +24,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable, RequestBody { try container.encodeIfPresent(included, forKey: "included") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "inAppPurchasePriceSchedules" } public let relationships: Relationships @@ -46,7 +46,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let baseTerritory: BaseTerritory public let inAppPurchase: InAppPurchase public let manualPrices: ManualPrices @@ -74,7 +74,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable, RequestBody { try container.encode(manualPrices, forKey: "manualPrices") } - public struct BaseTerritory: Codable { + public struct BaseTerritory: Codable, Sendable { public let data: Data public init(data: Data) { @@ -91,7 +91,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -115,7 +115,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable, RequestBody { } } - public struct InAppPurchase: Codable { + public struct InAppPurchase: Codable, Sendable { public let data: Data public init(data: Data) { @@ -132,7 +132,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } @@ -156,7 +156,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable, RequestBody { } } - public struct ManualPrices: Codable { + public struct ManualPrices: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -173,7 +173,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchasePrices" } @@ -199,7 +199,7 @@ public struct InAppPurchasePriceScheduleCreateRequest: Codable, RequestBody { } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case inAppPurchasePriceInlineCreate(InAppPurchasePriceInlineCreate) case territoryInlineCreate(TerritoryInlineCreate) diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceScheduleResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceScheduleResponse.swift index 8768237d9..b2c425d3a 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceScheduleResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchasePriceScheduleResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchasePriceScheduleResponse: Codable { +public struct InAppPurchasePriceScheduleResponse: Codable, Sendable { public let data: InAppPurchasePriceSchedule public var included: [Included]? public let links: DocumentLinks @@ -67,7 +67,7 @@ public struct InAppPurchasePriceScheduleResponse: Codable { return manualPrices } - public enum Included: Codable { + public enum Included: Codable, Sendable { case inAppPurchasePrice(InAppPurchasePrice) case inAppPurchaseV2(InAppPurchaseV2) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchasePricesResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchasePricesResponse.swift index 080061fac..922f5d46b 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchasePricesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchasePricesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchasePricesResponse: Codable, PagedResponse { +public struct InAppPurchasePricesResponse: Codable, Sendable, PagedResponse { public typealias Data = InAppPurchasePrice public let data: [InAppPurchasePrice] @@ -50,7 +50,7 @@ public struct InAppPurchasePricesResponse: Codable, PagedResponse { }.first { $0.id == inAppPurchasePrice.relationships?.territory?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case inAppPurchasePricePoint(InAppPurchasePricePoint) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseResponse.swift index 20ac31a5d..405763dce 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct InAppPurchaseResponse: Codable { +public struct InAppPurchaseResponse: Codable, Sendable { public let data: InAppPurchase public var included: [App]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseState.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseState.swift index 64085fc80..541e83695 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseState.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseState.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public enum InAppPurchaseState: String, ParameterValue, Codable, CaseIterable { +public enum InAppPurchaseState: String, Sendable, ParameterValue, Codable, CaseIterable { case approved = "APPROVED" case developerActionNeeded = "DEVELOPER_ACTION_NEEDED" case developerRemovedFromSale = "DEVELOPER_REMOVED_FROM_SALE" diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmission.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmission.swift index 2bdb659db..fdc46ae46 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmission.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmission.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseSubmission: Codable, Identifiable { +public struct InAppPurchaseSubmission: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "inAppPurchaseSubmissions" } @@ -34,7 +34,7 @@ public struct InAppPurchaseSubmission: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var inAppPurchaseV2: InAppPurchaseV2? public init(inAppPurchaseV2: InAppPurchaseV2? = nil) { @@ -51,7 +51,7 @@ public struct InAppPurchaseSubmission: Codable, Identifiable { try container.encodeIfPresent(inAppPurchaseV2, forKey: "inAppPurchaseV2") } - public struct InAppPurchaseV2: Codable { + public struct InAppPurchaseV2: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -74,7 +74,7 @@ public struct InAppPurchaseSubmission: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } @@ -97,7 +97,7 @@ public struct InAppPurchaseSubmission: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmissionCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmissionCreateRequest.swift index 954f8b450..bc8efd6f5 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmissionCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmissionCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseSubmissionCreateRequest: Codable, RequestBody { +public struct InAppPurchaseSubmissionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct InAppPurchaseSubmissionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "inAppPurchaseSubmissions" } public let relationships: Relationships @@ -40,7 +40,7 @@ public struct InAppPurchaseSubmissionCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let inAppPurchaseV2: InAppPurchaseV2 public init(inAppPurchaseV2: InAppPurchaseV2) { @@ -57,7 +57,7 @@ public struct InAppPurchaseSubmissionCreateRequest: Codable, RequestBody { try container.encode(inAppPurchaseV2, forKey: "inAppPurchaseV2") } - public struct InAppPurchaseV2: Codable { + public struct InAppPurchaseV2: Codable, Sendable { public let data: Data public init(data: Data) { @@ -74,7 +74,7 @@ public struct InAppPurchaseSubmissionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmissionResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmissionResponse.swift index c1f495e53..b58d47092 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmissionResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseSubmissionResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseSubmissionResponse: Codable { +public struct InAppPurchaseSubmissionResponse: Codable, Sendable { public let data: InAppPurchaseSubmission public var included: [InAppPurchaseV2]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseType.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseType.swift index 84f6e0d5b..aa64a0db6 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseType.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseType.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public enum InAppPurchaseType: String, ParameterValue, Codable, CaseIterable { +public enum InAppPurchaseType: String, Sendable, ParameterValue, Codable, CaseIterable { case consumable = "CONSUMABLE" case nonConsumable = "NON_CONSUMABLE" case nonRenewingSubscription = "NON_RENEWING_SUBSCRIPTION" diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2.swift index b800efafa..f06a068ca 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseV2: Codable, Identifiable { +public struct InAppPurchaseV2: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "inAppPurchases" } @@ -39,7 +39,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var contentHosting: Bool? public var familySharable: Bool? public var inAppPurchaseType: InAppPurchaseType? @@ -88,7 +88,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appStoreReviewScreenshot: AppStoreReviewScreenshot? public var content: Content? public var iapPriceSchedule: IapPriceSchedule? @@ -136,7 +136,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { try container.encodeIfPresent(promotedPurchase, forKey: "promotedPurchase") } - public struct AppStoreReviewScreenshot: Codable { + public struct AppStoreReviewScreenshot: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -159,7 +159,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchaseAppStoreReviewScreenshots" } @@ -182,7 +182,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -207,7 +207,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct Content: Codable { + public struct Content: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -230,7 +230,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchaseContents" } @@ -253,7 +253,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -278,7 +278,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct IapPriceSchedule: Codable { + public struct IapPriceSchedule: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -301,7 +301,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchasePriceSchedules" } @@ -324,7 +324,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -349,7 +349,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct InAppPurchaseAvailability: Codable { + public struct InAppPurchaseAvailability: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -372,7 +372,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchaseAvailabilities" } @@ -395,7 +395,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -420,7 +420,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct InAppPurchaseLocalizations: Codable { + public struct InAppPurchaseLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -448,7 +448,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchaseLocalizations" } @@ -471,7 +471,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -496,7 +496,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct PricePoints: Codable { + public struct PricePoints: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -524,7 +524,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchasePricePoints" } @@ -547,7 +547,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -572,7 +572,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct PromotedPurchase: Codable { + public struct PromotedPurchase: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -595,7 +595,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "promotedPurchases" } @@ -618,7 +618,7 @@ public struct InAppPurchaseV2: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2CreateRequest.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2CreateRequest.swift index 55b82e1f7..0efd41c94 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2CreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2CreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseV2CreateRequest: Codable, RequestBody { +public struct InAppPurchaseV2CreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct InAppPurchaseV2CreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "inAppPurchases" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct InAppPurchaseV2CreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var familySharable: Bool? public let inAppPurchaseType: InAppPurchaseType public let name: String @@ -85,7 +85,7 @@ public struct InAppPurchaseV2CreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public init(app: App) { @@ -102,7 +102,7 @@ public struct InAppPurchaseV2CreateRequest: Codable, RequestBody { try container.encode(app, forKey: "app") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -119,7 +119,7 @@ public struct InAppPurchaseV2CreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2Response.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2Response.swift index 670eb810c..f395bf0a8 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2Response.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2Response.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseV2Response: Codable { +public struct InAppPurchaseV2Response: Codable, Sendable { public let data: InAppPurchaseV2 public var included: [Included]? public let links: DocumentLinks @@ -88,7 +88,7 @@ public struct InAppPurchaseV2Response: Codable { }.first { $0.id == data.relationships?.promotedPurchase?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case inAppPurchaseAppStoreReviewScreenshot(InAppPurchaseAppStoreReviewScreenshot) case inAppPurchaseAvailability(InAppPurchaseAvailability) case inAppPurchaseContent(InAppPurchaseContent) diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2UpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2UpdateRequest.swift index 892203d6a..3b1c183bb 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2UpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchaseV2UpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchaseV2UpdateRequest: Codable, RequestBody { +public struct InAppPurchaseV2UpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct InAppPurchaseV2UpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct InAppPurchaseV2UpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var familySharable: Bool? public var name: String? public var reviewNote: String? diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchasesResponse.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchasesResponse.swift index 0a39eabd9..c04d34188 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchasesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchasesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct InAppPurchasesResponse: Codable, PagedResponse { +public struct InAppPurchasesResponse: Codable, Sendable, PagedResponse { public typealias Data = InAppPurchase public let data: [InAppPurchase] diff --git a/Sources/Bagbutik-Models/AppStore/InAppPurchasesV2Response.swift b/Sources/Bagbutik-Models/AppStore/InAppPurchasesV2Response.swift index c02047110..31d60b1f2 100644 --- a/Sources/Bagbutik-Models/AppStore/InAppPurchasesV2Response.swift +++ b/Sources/Bagbutik-Models/AppStore/InAppPurchasesV2Response.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct InAppPurchasesV2Response: Codable, PagedResponse { +public struct InAppPurchasesV2Response: Codable, Sendable, PagedResponse { public typealias Data = InAppPurchaseV2 public let data: [InAppPurchaseV2] @@ -95,7 +95,7 @@ public struct InAppPurchasesV2Response: Codable, PagedResponse { }.first { $0.id == inAppPurchaseV2.relationships?.promotedPurchase?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case inAppPurchaseAppStoreReviewScreenshot(InAppPurchaseAppStoreReviewScreenshot) case inAppPurchaseAvailability(InAppPurchaseAvailability) case inAppPurchaseContent(InAppPurchaseContent) diff --git a/Sources/Bagbutik-Models/AppStore/KidsAgeBand.swift b/Sources/Bagbutik-Models/AppStore/KidsAgeBand.swift index 1b1f03729..a4f4db0a4 100644 --- a/Sources/Bagbutik-Models/AppStore/KidsAgeBand.swift +++ b/Sources/Bagbutik-Models/AppStore/KidsAgeBand.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum KidsAgeBand: String, Codable, CaseIterable { +public enum KidsAgeBand: String, Sendable, Codable, CaseIterable { /// A literal that represents the age band for ages 5 and under. case fiveAndUnder = "FIVE_AND_UNDER" /// A literal that represents the age band for ages 9 to 11. diff --git a/Sources/Bagbutik-Models/AppStore/PhasedReleaseState.swift b/Sources/Bagbutik-Models/AppStore/PhasedReleaseState.swift index ed720cfa6..0eb296478 100644 --- a/Sources/Bagbutik-Models/AppStore/PhasedReleaseState.swift +++ b/Sources/Bagbutik-Models/AppStore/PhasedReleaseState.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public enum PhasedReleaseState: String, Codable, CaseIterable { +public enum PhasedReleaseState: String, Sendable, Codable, CaseIterable { /// The app version is released. During a phased release, the App Store releases the update over a 7-day period to a percentage of your users, randomly selected. The phased release applies to macOS and iOS devices with automatic updates enabled. Users can also manually download the app version. case active = "ACTIVE" /// The process released the update to all devices that have automatic updates enabled. The phased-release process is complete. diff --git a/Sources/Bagbutik-Models/AppStore/Platform.swift b/Sources/Bagbutik-Models/AppStore/Platform.swift index 6f71d5609..0215e98d3 100644 --- a/Sources/Bagbutik-Models/AppStore/Platform.swift +++ b/Sources/Bagbutik-Models/AppStore/Platform.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum Platform: String, ParameterValue, Codable, CaseIterable { +public enum Platform: String, Sendable, ParameterValue, Codable, CaseIterable { /// A string that represents iOS. case iOS = "IOS" /// A string that represents macOS. diff --git a/Sources/Bagbutik-Models/AppStore/PreviewType.swift b/Sources/Bagbutik-Models/AppStore/PreviewType.swift index 2fab916db..d2088ae5d 100644 --- a/Sources/Bagbutik-Models/AppStore/PreviewType.swift +++ b/Sources/Bagbutik-Models/AppStore/PreviewType.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum PreviewType: String, ParameterValue, Codable, CaseIterable { +public enum PreviewType: String, Sendable, ParameterValue, Codable, CaseIterable { case appleTV = "APPLE_TV" case appleVisionPro = "APPLE_VISION_PRO" case desktop = "DESKTOP" diff --git a/Sources/Bagbutik-Models/AppStore/PromotedPurchase.swift b/Sources/Bagbutik-Models/AppStore/PromotedPurchase.swift index 084ee3a46..55fdbcb9c 100644 --- a/Sources/Bagbutik-Models/AppStore/PromotedPurchase.swift +++ b/Sources/Bagbutik-Models/AppStore/PromotedPurchase.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PromotedPurchase: Codable, Identifiable { +public struct PromotedPurchase: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "promotedPurchases" } @@ -39,7 +39,7 @@ public struct PromotedPurchase: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var enabled: Bool? public var state: State? public var visibleForAllUsers: Bool? @@ -67,7 +67,7 @@ public struct PromotedPurchase: Codable, Identifiable { try container.encodeIfPresent(visibleForAllUsers, forKey: "visibleForAllUsers") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case approved = "APPROVED" case inReview = "IN_REVIEW" case prepareForSubmission = "PREPARE_FOR_SUBMISSION" @@ -75,7 +75,7 @@ public struct PromotedPurchase: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var inAppPurchaseV2: InAppPurchaseV2? public var promotionImages: PromotionImages? public var subscription: Subscription? @@ -103,7 +103,7 @@ public struct PromotedPurchase: Codable, Identifiable { try container.encodeIfPresent(subscription, forKey: "subscription") } - public struct InAppPurchaseV2: Codable { + public struct InAppPurchaseV2: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -126,7 +126,7 @@ public struct PromotedPurchase: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } @@ -149,7 +149,7 @@ public struct PromotedPurchase: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -174,7 +174,7 @@ public struct PromotedPurchase: Codable, Identifiable { } } - public struct PromotionImages: Codable { + public struct PromotionImages: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -202,7 +202,7 @@ public struct PromotedPurchase: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "promotedPurchaseImages" } @@ -225,7 +225,7 @@ public struct PromotedPurchase: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -250,7 +250,7 @@ public struct PromotedPurchase: Codable, Identifiable { } } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -273,7 +273,7 @@ public struct PromotedPurchase: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -296,7 +296,7 @@ public struct PromotedPurchase: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseCreateRequest.swift index f1cea9987..9e9547ead 100644 --- a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PromotedPurchaseCreateRequest: Codable, RequestBody { +public struct PromotedPurchaseCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct PromotedPurchaseCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "promotedPurchases" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct PromotedPurchaseCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var enabled: Bool? public let visibleForAllUsers: Bool @@ -70,7 +70,7 @@ public struct PromotedPurchaseCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public var inAppPurchaseV2: InAppPurchaseV2? public var subscription: Subscription? @@ -98,7 +98,7 @@ public struct PromotedPurchaseCreateRequest: Codable, RequestBody { try container.encodeIfPresent(subscription, forKey: "subscription") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -115,7 +115,7 @@ public struct PromotedPurchaseCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -139,7 +139,7 @@ public struct PromotedPurchaseCreateRequest: Codable, RequestBody { } } - public struct InAppPurchaseV2: Codable { + public struct InAppPurchaseV2: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -156,7 +156,7 @@ public struct PromotedPurchaseCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "inAppPurchases" } @@ -180,7 +180,7 @@ public struct PromotedPurchaseCreateRequest: Codable, RequestBody { } } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -197,7 +197,7 @@ public struct PromotedPurchaseCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } diff --git a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImage.swift b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImage.swift index 99474f9c7..0463a1c47 100644 --- a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImage.swift +++ b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImage.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PromotedPurchaseImage: Codable, Identifiable { +public struct PromotedPurchaseImage: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "promotedPurchaseImages" } @@ -39,7 +39,7 @@ public struct PromotedPurchaseImage: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetToken: String? public var assetType: String? public var fileName: String? @@ -92,7 +92,7 @@ public struct PromotedPurchaseImage: Codable, Identifiable { try container.encodeIfPresent(uploadOperations, forKey: "uploadOperations") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case approved = "APPROVED" case awaitingUpload = "AWAITING_UPLOAD" case failed = "FAILED" @@ -103,7 +103,7 @@ public struct PromotedPurchaseImage: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var promotedPurchase: PromotedPurchase? public init(promotedPurchase: PromotedPurchase? = nil) { @@ -120,7 +120,7 @@ public struct PromotedPurchaseImage: Codable, Identifiable { try container.encodeIfPresent(promotedPurchase, forKey: "promotedPurchase") } - public struct PromotedPurchase: Codable { + public struct PromotedPurchase: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -143,7 +143,7 @@ public struct PromotedPurchaseImage: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "promotedPurchases" } @@ -166,7 +166,7 @@ public struct PromotedPurchaseImage: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageCreateRequest.swift index 43a6430df..2fd733470 100644 --- a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PromotedPurchaseImageCreateRequest: Codable, RequestBody { +public struct PromotedPurchaseImageCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct PromotedPurchaseImageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "promotedPurchaseImages" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct PromotedPurchaseImageCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int @@ -70,7 +70,7 @@ public struct PromotedPurchaseImageCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let promotedPurchase: PromotedPurchase public init(promotedPurchase: PromotedPurchase) { @@ -87,7 +87,7 @@ public struct PromotedPurchaseImageCreateRequest: Codable, RequestBody { try container.encode(promotedPurchase, forKey: "promotedPurchase") } - public struct PromotedPurchase: Codable { + public struct PromotedPurchase: Codable, Sendable { public let data: Data public init(data: Data) { @@ -104,7 +104,7 @@ public struct PromotedPurchaseImageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "promotedPurchases" } diff --git a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageResponse.swift b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageResponse.swift index c74f5dad5..6f544614f 100644 --- a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PromotedPurchaseImageResponse: Codable { +public struct PromotedPurchaseImageResponse: Codable, Sendable { public let data: PromotedPurchaseImage public var included: [PromotedPurchase]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageUpdateRequest.swift index 71f582577..1e3918f1b 100644 --- a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImageUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PromotedPurchaseImageUpdateRequest: Codable, RequestBody { +public struct PromotedPurchaseImageUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct PromotedPurchaseImageUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "promotedPurchaseImages" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct PromotedPurchaseImageUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var sourceFileChecksum: String? public var uploaded: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImagesResponse.swift b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImagesResponse.swift index 3fca4a73b..2217d689d 100644 --- a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImagesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseImagesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PromotedPurchaseImagesResponse: Codable, PagedResponse { +public struct PromotedPurchaseImagesResponse: Codable, Sendable, PagedResponse { public typealias Data = PromotedPurchaseImage public let data: [PromotedPurchaseImage] diff --git a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseResponse.swift b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseResponse.swift index 56185d3d5..36775359d 100644 --- a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PromotedPurchaseResponse: Codable { +public struct PromotedPurchaseResponse: Codable, Sendable { public let data: PromotedPurchase public var included: [Included]? public let links: DocumentLinks @@ -55,7 +55,7 @@ public struct PromotedPurchaseResponse: Codable { }.first { $0.id == data.relationships?.subscription?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case inAppPurchaseV2(InAppPurchaseV2) case promotedPurchaseImage(PromotedPurchaseImage) case subscription(Subscription) diff --git a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseUpdateRequest.swift index 9758f7a96..7f7519ebc 100644 --- a/Sources/Bagbutik-Models/AppStore/PromotedPurchaseUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/PromotedPurchaseUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PromotedPurchaseUpdateRequest: Codable, RequestBody { +public struct PromotedPurchaseUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct PromotedPurchaseUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "promotedPurchases" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct PromotedPurchaseUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var enabled: Bool? public var visibleForAllUsers: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/PromotedPurchasesResponse.swift b/Sources/Bagbutik-Models/AppStore/PromotedPurchasesResponse.swift index 606a063b0..603d4d224 100644 --- a/Sources/Bagbutik-Models/AppStore/PromotedPurchasesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/PromotedPurchasesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PromotedPurchasesResponse: Codable, PagedResponse { +public struct PromotedPurchasesResponse: Codable, Sendable, PagedResponse { public typealias Data = PromotedPurchase public let data: [PromotedPurchase] @@ -62,7 +62,7 @@ public struct PromotedPurchasesResponse: Codable, PagedResponse { }.first { $0.id == promotedPurchase.relationships?.subscription?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case inAppPurchaseV2(InAppPurchaseV2) case promotedPurchaseImage(PromotedPurchaseImage) case subscription(Subscription) diff --git a/Sources/Bagbutik-Models/AppStore/ReviewSubmission.swift b/Sources/Bagbutik-Models/AppStore/ReviewSubmission.swift index 47a247bcd..60b0407ea 100644 --- a/Sources/Bagbutik-Models/AppStore/ReviewSubmission.swift +++ b/Sources/Bagbutik-Models/AppStore/ReviewSubmission.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ReviewSubmission: Codable, Identifiable { +public struct ReviewSubmission: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "reviewSubmissions" } @@ -39,7 +39,7 @@ public struct ReviewSubmission: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var platform: Platform? public var state: State? public var submittedDate: Date? @@ -67,7 +67,7 @@ public struct ReviewSubmission: Codable, Identifiable { try container.encodeIfPresent(submittedDate, forKey: "submittedDate") } - public enum State: String, ParameterValue, Codable, CaseIterable { + public enum State: String, Sendable, ParameterValue, Codable, CaseIterable { case canceling = "CANCELING" case complete = "COMPLETE" case completing = "COMPLETING" @@ -78,7 +78,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var appStoreVersionForReview: AppStoreVersionForReview? public var items: Items? @@ -116,7 +116,7 @@ public struct ReviewSubmission: Codable, Identifiable { try container.encodeIfPresent(submittedByActor, forKey: "submittedByActor") } - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -139,7 +139,7 @@ public struct ReviewSubmission: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -162,7 +162,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -187,7 +187,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public struct AppStoreVersionForReview: Codable { + public struct AppStoreVersionForReview: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -210,7 +210,7 @@ public struct ReviewSubmission: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -233,7 +233,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -258,7 +258,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public struct Items: Codable { + public struct Items: Codable, Sendable { @NullCodable public var data: [Item]? public var links: Links? public var meta: PagingInformation? @@ -286,7 +286,7 @@ public struct ReviewSubmission: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Item: Codable, Identifiable { + public struct Item: Codable, Sendable, Identifiable { public let id: String public var type: String { "reviewSubmissionItems" } @@ -309,7 +309,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -334,7 +334,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public struct LastUpdatedByActor: Codable { + public struct LastUpdatedByActor: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -357,7 +357,7 @@ public struct ReviewSubmission: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "actors" } @@ -380,7 +380,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -405,7 +405,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public struct SubmittedByActor: Codable { + public struct SubmittedByActor: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -428,7 +428,7 @@ public struct ReviewSubmission: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "actors" } @@ -451,7 +451,7 @@ public struct ReviewSubmission: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionCreateRequest.swift index 893cdf6b3..0a9cb3cf8 100644 --- a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ReviewSubmissionCreateRequest: Codable, RequestBody { +public struct ReviewSubmissionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct ReviewSubmissionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "reviewSubmissions" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct ReviewSubmissionCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let platform: Platform public init(platform: Platform) { @@ -64,7 +64,7 @@ public struct ReviewSubmissionCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public init(app: App) { @@ -81,7 +81,7 @@ public struct ReviewSubmissionCreateRequest: Codable, RequestBody { try container.encode(app, forKey: "app") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -98,7 +98,7 @@ public struct ReviewSubmissionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } diff --git a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItem.swift b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItem.swift index fed65e816..dca23bf54 100644 --- a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItem.swift +++ b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItem.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ReviewSubmissionItem: Codable, Identifiable { +public struct ReviewSubmissionItem: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "reviewSubmissionItems" } @@ -39,7 +39,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var state: State? public init(state: State? = nil) { @@ -56,7 +56,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { try container.encodeIfPresent(state, forKey: "state") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case accepted = "ACCEPTED" case approved = "APPROVED" case readyForReview = "READY_FOR_REVIEW" @@ -65,7 +65,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appCustomProductPageVersion: AppCustomProductPageVersion? public var appEvent: AppEvent? public var appStoreVersion: AppStoreVersion? @@ -103,7 +103,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { try container.encodeIfPresent(appStoreVersionExperimentV2, forKey: "appStoreVersionExperimentV2") } - public struct AppCustomProductPageVersion: Codable { + public struct AppCustomProductPageVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -126,7 +126,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageVersions" } @@ -149,7 +149,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -174,7 +174,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public struct AppEvent: Codable { + public struct AppEvent: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -197,7 +197,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEvents" } @@ -220,7 +220,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -245,7 +245,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -268,7 +268,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -291,7 +291,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -316,7 +316,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public struct AppStoreVersionExperiment: Codable { + public struct AppStoreVersionExperiment: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -339,7 +339,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } @@ -362,7 +362,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -387,7 +387,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public struct AppStoreVersionExperimentV2: Codable { + public struct AppStoreVersionExperimentV2: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -410,7 +410,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } @@ -433,7 +433,7 @@ public struct ReviewSubmissionItem: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemCreateRequest.swift index 96c519852..556cc5a4c 100644 --- a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { +public struct ReviewSubmissionItemCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "reviewSubmissionItems" } public let relationships: Relationships @@ -40,7 +40,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appCustomProductPageVersion: AppCustomProductPageVersion? public var appEvent: AppEvent? public var appStoreVersion: AppStoreVersion? @@ -83,7 +83,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { try container.encode(reviewSubmission, forKey: "reviewSubmission") } - public struct AppCustomProductPageVersion: Codable { + public struct AppCustomProductPageVersion: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -100,7 +100,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appCustomProductPageVersions" } @@ -124,7 +124,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { } } - public struct AppEvent: Codable { + public struct AppEvent: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -141,7 +141,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appEvents" } @@ -165,7 +165,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { } } - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -182,7 +182,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -206,7 +206,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { } } - public struct AppStoreVersionExperiment: Codable { + public struct AppStoreVersionExperiment: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -223,7 +223,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } @@ -247,7 +247,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { } } - public struct AppStoreVersionExperimentV2: Codable { + public struct AppStoreVersionExperimentV2: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -264,7 +264,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersionExperiments" } @@ -288,7 +288,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { } } - public struct ReviewSubmission: Codable { + public struct ReviewSubmission: Codable, Sendable { public let data: Data public init(data: Data) { @@ -305,7 +305,7 @@ public struct ReviewSubmissionItemCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "reviewSubmissions" } diff --git a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemResponse.swift b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemResponse.swift index e496518fa..b916041f4 100644 --- a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ReviewSubmissionItemResponse: Codable { +public struct ReviewSubmissionItemResponse: Codable, Sendable { public let data: ReviewSubmissionItem public var included: [Included]? public let links: DocumentLinks @@ -64,7 +64,7 @@ public struct ReviewSubmissionItemResponse: Codable { }.first { $0.id == data.relationships?.appStoreVersionExperimentV2?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPageVersion(AppCustomProductPageVersion) case appEvent(AppEvent) case appStoreVersion(AppStoreVersion) diff --git a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemUpdateRequest.swift index 594c114f0..8e7716edd 100644 --- a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ReviewSubmissionItemUpdateRequest: Codable, RequestBody { +public struct ReviewSubmissionItemUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct ReviewSubmissionItemUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "reviewSubmissionItems" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct ReviewSubmissionItemUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var removed: Bool? public var resolved: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemsResponse.swift b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemsResponse.swift index aa99dce90..5eac876e2 100644 --- a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionItemsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ReviewSubmissionItemsResponse: Codable, PagedResponse { +public struct ReviewSubmissionItemsResponse: Codable, Sendable, PagedResponse { public typealias Data = ReviewSubmissionItem public let data: [ReviewSubmissionItem] @@ -71,7 +71,7 @@ public struct ReviewSubmissionItemsResponse: Codable, PagedResponse { }.first { $0.id == reviewSubmissionItem.relationships?.appStoreVersionExperimentV2?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appCustomProductPageVersion(AppCustomProductPageVersion) case appEvent(AppEvent) case appStoreVersion(AppStoreVersion) diff --git a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionResponse.swift b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionResponse.swift index 3f773b0ee..7cab0da17 100644 --- a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ReviewSubmissionResponse: Codable { +public struct ReviewSubmissionResponse: Codable, Sendable { public let data: ReviewSubmission public var included: [Included]? public let links: DocumentLinks @@ -69,7 +69,7 @@ public struct ReviewSubmissionResponse: Codable { }.first { $0.id == data.relationships?.submittedByActor?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case actor(Actor) case app(App) case appStoreVersion(AppStoreVersion) diff --git a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionUpdateRequest.swift index 745289f17..ef67c3548 100644 --- a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ReviewSubmissionUpdateRequest: Codable, RequestBody { +public struct ReviewSubmissionUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct ReviewSubmissionUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "reviewSubmissions" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct ReviewSubmissionUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var canceled: Bool? public var submitted: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionsResponse.swift b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionsResponse.swift index fd90fc6be..f1442a906 100644 --- a/Sources/Bagbutik-Models/AppStore/ReviewSubmissionsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/ReviewSubmissionsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ReviewSubmissionsResponse: Codable, PagedResponse { +public struct ReviewSubmissionsResponse: Codable, Sendable, PagedResponse { public typealias Data = ReviewSubmission public let data: [ReviewSubmission] @@ -76,7 +76,7 @@ public struct ReviewSubmissionsResponse: Codable, PagedResponse { }.first { $0.id == reviewSubmission.relationships?.submittedByActor?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case actor(Actor) case app(App) case appStoreVersion(AppStoreVersion) diff --git a/Sources/Bagbutik-Models/AppStore/RoutingAppCoverage.swift b/Sources/Bagbutik-Models/AppStore/RoutingAppCoverage.swift index 3028c203d..504880ec2 100644 --- a/Sources/Bagbutik-Models/AppStore/RoutingAppCoverage.swift +++ b/Sources/Bagbutik-Models/AppStore/RoutingAppCoverage.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct RoutingAppCoverage: Codable, Identifiable { +public struct RoutingAppCoverage: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "routingAppCoverages" } @@ -53,7 +53,7 @@ public struct RoutingAppCoverage: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetDeliveryState: AppMediaAssetState? public var fileName: String? public var fileSize: Int? @@ -99,7 +99,7 @@ public struct RoutingAppCoverage: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appStoreVersion: AppStoreVersion? public init(appStoreVersion: AppStoreVersion? = nil) { @@ -123,7 +123,7 @@ public struct RoutingAppCoverage: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -153,7 +153,7 @@ public struct RoutingAppCoverage: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -183,7 +183,7 @@ public struct RoutingAppCoverage: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageCreateRequest.swift index be0d5af4e..d92009518 100644 --- a/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct RoutingAppCoverageCreateRequest: Codable, RequestBody { +public struct RoutingAppCoverageCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct RoutingAppCoverageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "routingAppCoverages" } public let attributes: Attributes public let relationships: Relationships @@ -67,7 +67,7 @@ public struct RoutingAppCoverageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int @@ -98,7 +98,7 @@ public struct RoutingAppCoverageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersion: AppStoreVersion public init(appStoreVersion: AppStoreVersion) { @@ -122,7 +122,7 @@ public struct RoutingAppCoverageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -146,7 +146,7 @@ public struct RoutingAppCoverageCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } diff --git a/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageResponse.swift b/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageResponse.swift index 504c3effc..d20bf63ca 100644 --- a/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct RoutingAppCoverageResponse: Codable { +public struct RoutingAppCoverageResponse: Codable, Sendable { public let data: RoutingAppCoverage public var included: [AppStoreVersion]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageUpdateRequest.swift index a00976dd6..7b35884f7 100644 --- a/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct RoutingAppCoverageUpdateRequest: Codable, RequestBody { +public struct RoutingAppCoverageUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct RoutingAppCoverageUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "routingAppCoverages" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct RoutingAppCoverageUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var sourceFileChecksum: String? public var uploaded: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageWithoutIncludesResponse.swift index c3eabe7d0..b2c8f8c19 100644 --- a/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/RoutingAppCoverageWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct RoutingAppCoverageWithoutIncludesResponse: Codable { +public struct RoutingAppCoverageWithoutIncludesResponse: Codable, Sendable { public let data: RoutingAppCoverage public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SandboxTesterV2.swift b/Sources/Bagbutik-Models/AppStore/SandboxTesterV2.swift index 8b15144a9..8b75dcef2 100644 --- a/Sources/Bagbutik-Models/AppStore/SandboxTesterV2.swift +++ b/Sources/Bagbutik-Models/AppStore/SandboxTesterV2.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SandboxTesterV2: Codable, Identifiable { +public struct SandboxTesterV2: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "sandboxTesters" } @@ -34,7 +34,7 @@ public struct SandboxTesterV2: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var acAccountName: String? public var applePayCompatible: Bool? public var firstName: String? @@ -82,7 +82,7 @@ public struct SandboxTesterV2: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public enum SubscriptionRenewalRate: String, Codable, CaseIterable { + public enum SubscriptionRenewalRate: String, Sendable, Codable, CaseIterable { case monthlyRenewalEveryFifteenMinutes = "MONTHLY_RENEWAL_EVERY_FIFTEEN_MINUTES" case monthlyRenewalEveryFiveMinutes = "MONTHLY_RENEWAL_EVERY_FIVE_MINUTES" case monthlyRenewalEveryOneHour = "MONTHLY_RENEWAL_EVERY_ONE_HOUR" diff --git a/Sources/Bagbutik-Models/AppStore/SandboxTesterV2Response.swift b/Sources/Bagbutik-Models/AppStore/SandboxTesterV2Response.swift index d2f3b934b..cc40676ae 100644 --- a/Sources/Bagbutik-Models/AppStore/SandboxTesterV2Response.swift +++ b/Sources/Bagbutik-Models/AppStore/SandboxTesterV2Response.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SandboxTesterV2Response: Codable { +public struct SandboxTesterV2Response: Codable, Sendable { public let data: SandboxTesterV2 public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SandboxTesterV2UpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SandboxTesterV2UpdateRequest.swift index 408be85c3..06a890d69 100644 --- a/Sources/Bagbutik-Models/AppStore/SandboxTesterV2UpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SandboxTesterV2UpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SandboxTesterV2UpdateRequest: Codable, RequestBody { +public struct SandboxTesterV2UpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SandboxTesterV2UpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "sandboxTesters" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct SandboxTesterV2UpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var interruptPurchases: Bool? public var subscriptionRenewalRate: SandboxTesterV2.Attributes.SubscriptionRenewalRate? public var territory: TerritoryCode? diff --git a/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2.swift b/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2.swift index 270920c44..7038ebf1e 100644 --- a/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2.swift +++ b/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SandboxTestersClearPurchaseHistoryRequestV2: Codable, Identifiable { +public struct SandboxTestersClearPurchaseHistoryRequestV2: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "sandboxTestersClearPurchaseHistoryRequest" } diff --git a/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest.swift index 9f0b72baf..28997e37c 100644 --- a/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2CreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SandboxTestersClearPurchaseHistoryRequestV2CreateRequest: Codable, RequestBody { +public struct SandboxTestersClearPurchaseHistoryRequestV2CreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SandboxTestersClearPurchaseHistoryRequestV2CreateRequest: Codable, try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "sandboxTestersClearPurchaseHistoryRequest" } public let relationships: Relationships @@ -40,7 +40,7 @@ public struct SandboxTestersClearPurchaseHistoryRequestV2CreateRequest: Codable, try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let sandboxTesters: SandboxTesters public init(sandboxTesters: SandboxTesters) { @@ -57,7 +57,7 @@ public struct SandboxTestersClearPurchaseHistoryRequestV2CreateRequest: Codable, try container.encode(sandboxTesters, forKey: "sandboxTesters") } - public struct SandboxTesters: Codable { + public struct SandboxTesters: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -74,7 +74,7 @@ public struct SandboxTestersClearPurchaseHistoryRequestV2CreateRequest: Codable, try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "sandboxTesters" } diff --git a/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2Response.swift b/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2Response.swift index 9baddfde6..da702733e 100644 --- a/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2Response.swift +++ b/Sources/Bagbutik-Models/AppStore/SandboxTestersClearPurchaseHistoryRequestV2Response.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SandboxTestersClearPurchaseHistoryRequestV2Response: Codable { +public struct SandboxTestersClearPurchaseHistoryRequestV2Response: Codable, Sendable { public let data: SandboxTestersClearPurchaseHistoryRequestV2 public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SandboxTestersV2Response.swift b/Sources/Bagbutik-Models/AppStore/SandboxTestersV2Response.swift index 6a313cc5d..67d11a2e1 100644 --- a/Sources/Bagbutik-Models/AppStore/SandboxTestersV2Response.swift +++ b/Sources/Bagbutik-Models/AppStore/SandboxTestersV2Response.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SandboxTestersV2Response: Codable, PagedResponse { +public struct SandboxTestersV2Response: Codable, Sendable, PagedResponse { public typealias Data = SandboxTesterV2 public let data: [SandboxTesterV2] diff --git a/Sources/Bagbutik-Models/AppStore/ScreenshotDisplayType.swift b/Sources/Bagbutik-Models/AppStore/ScreenshotDisplayType.swift index a4d285cd2..695d3997c 100644 --- a/Sources/Bagbutik-Models/AppStore/ScreenshotDisplayType.swift +++ b/Sources/Bagbutik-Models/AppStore/ScreenshotDisplayType.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum ScreenshotDisplayType: String, ParameterValue, Codable, CaseIterable { +public enum ScreenshotDisplayType: String, Sendable, ParameterValue, Codable, CaseIterable { case appAppleTV = "APP_APPLE_TV" case appAppleVisionPro = "APP_APPLE_VISION_PRO" case appDesktop = "APP_DESKTOP" diff --git a/Sources/Bagbutik-Models/AppStore/Subscription.swift b/Sources/Bagbutik-Models/AppStore/Subscription.swift index 8d6c0862e..2203bd93f 100644 --- a/Sources/Bagbutik-Models/AppStore/Subscription.swift +++ b/Sources/Bagbutik-Models/AppStore/Subscription.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct Subscription: Codable, Identifiable { +public struct Subscription: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptions" } @@ -39,7 +39,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var familySharable: Bool? public var groupLevel: Int? public var name: String? @@ -87,7 +87,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(subscriptionPeriod, forKey: "subscriptionPeriod") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case approved = "APPROVED" case developerActionNeeded = "DEVELOPER_ACTION_NEEDED" case developerRemovedFromSale = "DEVELOPER_REMOVED_FROM_SALE" @@ -100,7 +100,7 @@ public struct Subscription: Codable, Identifiable { case waitingForReview = "WAITING_FOR_REVIEW" } - public enum SubscriptionPeriod: String, Codable, CaseIterable { + public enum SubscriptionPeriod: String, Sendable, Codable, CaseIterable { case oneMonth = "ONE_MONTH" case oneWeek = "ONE_WEEK" case oneYear = "ONE_YEAR" @@ -110,7 +110,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appStoreReviewScreenshot: AppStoreReviewScreenshot? public var group: Group? public var introductoryOffers: IntroductoryOffers? @@ -168,7 +168,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(subscriptionLocalizations, forKey: "subscriptionLocalizations") } - public struct AppStoreReviewScreenshot: Codable { + public struct AppStoreReviewScreenshot: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -191,7 +191,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionAppStoreReviewScreenshots" } @@ -214,7 +214,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -239,7 +239,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Group: Codable { + public struct Group: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -262,7 +262,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGroups" } @@ -285,7 +285,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -310,7 +310,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct IntroductoryOffers: Codable { + public struct IntroductoryOffers: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -338,7 +338,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionIntroductoryOffers" } @@ -361,7 +361,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -386,7 +386,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct OfferCodes: Codable { + public struct OfferCodes: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -414,7 +414,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodes" } @@ -437,7 +437,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -462,7 +462,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Prices: Codable { + public struct Prices: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -490,7 +490,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPrices" } @@ -513,7 +513,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -538,7 +538,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct PromotedPurchase: Codable { + public struct PromotedPurchase: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -561,7 +561,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "promotedPurchases" } @@ -584,7 +584,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -609,7 +609,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct PromotionalOffers: Codable { + public struct PromotionalOffers: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -637,7 +637,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPromotionalOffers" } @@ -660,7 +660,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -685,7 +685,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct SubscriptionAvailability: Codable { + public struct SubscriptionAvailability: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -708,7 +708,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionAvailabilities" } @@ -731,7 +731,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -756,7 +756,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct SubscriptionLocalizations: Codable { + public struct SubscriptionLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -784,7 +784,7 @@ public struct Subscription: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionLocalizations" } @@ -807,7 +807,7 @@ public struct Subscription: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshot.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshot.swift index 2c9618a85..0571d27df 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshot.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshot.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionAppStoreReviewScreenshot: Codable, Identifiable { +public struct SubscriptionAppStoreReviewScreenshot: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionAppStoreReviewScreenshots" } @@ -39,7 +39,7 @@ public struct SubscriptionAppStoreReviewScreenshot: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetDeliveryState: AppMediaAssetState? public var assetToken: String? public var assetType: String? @@ -93,7 +93,7 @@ public struct SubscriptionAppStoreReviewScreenshot: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscription: Subscription? public init(subscription: Subscription? = nil) { @@ -110,7 +110,7 @@ public struct SubscriptionAppStoreReviewScreenshot: Codable, Identifiable { try container.encodeIfPresent(subscription, forKey: "subscription") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -133,7 +133,7 @@ public struct SubscriptionAppStoreReviewScreenshot: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -156,7 +156,7 @@ public struct SubscriptionAppStoreReviewScreenshot: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotCreateRequest.swift index f4c9e722a..14e835a86 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionAppStoreReviewScreenshotCreateRequest: Codable, RequestBody { +public struct SubscriptionAppStoreReviewScreenshotCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionAppStoreReviewScreenshotCreateRequest: Codable, Reques try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionAppStoreReviewScreenshots" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct SubscriptionAppStoreReviewScreenshotCreateRequest: Codable, Reques try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int @@ -70,7 +70,7 @@ public struct SubscriptionAppStoreReviewScreenshotCreateRequest: Codable, Reques } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let subscription: Subscription public init(subscription: Subscription) { @@ -87,7 +87,7 @@ public struct SubscriptionAppStoreReviewScreenshotCreateRequest: Codable, Reques try container.encode(subscription, forKey: "subscription") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { public let data: Data public init(data: Data) { @@ -104,7 +104,7 @@ public struct SubscriptionAppStoreReviewScreenshotCreateRequest: Codable, Reques try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotResponse.swift index ccff0b823..57a307e46 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionAppStoreReviewScreenshotResponse: Codable { +public struct SubscriptionAppStoreReviewScreenshotResponse: Codable, Sendable { public let data: SubscriptionAppStoreReviewScreenshot public var included: [Subscription]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotUpdateRequest.swift index 27430b304..3c307d80a 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionAppStoreReviewScreenshotUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionAppStoreReviewScreenshotUpdateRequest: Codable, RequestBody { +public struct SubscriptionAppStoreReviewScreenshotUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionAppStoreReviewScreenshotUpdateRequest: Codable, Reques try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionAppStoreReviewScreenshots" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct SubscriptionAppStoreReviewScreenshotUpdateRequest: Codable, Reques try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var sourceFileChecksum: String? public var uploaded: Bool? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionAvailability.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionAvailability.swift index 095a004b8..7bea2b548 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionAvailability.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionAvailability.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionAvailability: Codable, Identifiable { +public struct SubscriptionAvailability: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionAvailabilities" } @@ -39,7 +39,7 @@ public struct SubscriptionAvailability: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var availableInNewTerritories: Bool? public init(availableInNewTerritories: Bool? = nil) { @@ -57,7 +57,7 @@ public struct SubscriptionAvailability: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var availableTerritories: AvailableTerritories? public var subscription: Subscription? @@ -80,7 +80,7 @@ public struct SubscriptionAvailability: Codable, Identifiable { try container.encodeIfPresent(subscription, forKey: "subscription") } - public struct AvailableTerritories: Codable { + public struct AvailableTerritories: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -108,7 +108,7 @@ public struct SubscriptionAvailability: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -131,7 +131,7 @@ public struct SubscriptionAvailability: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -156,7 +156,7 @@ public struct SubscriptionAvailability: Codable, Identifiable { } } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -179,7 +179,7 @@ public struct SubscriptionAvailability: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -202,7 +202,7 @@ public struct SubscriptionAvailability: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionAvailabilityCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionAvailabilityCreateRequest.swift index aed00452d..f2f934afe 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionAvailabilityCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionAvailabilityCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionAvailabilityCreateRequest: Codable, RequestBody { +public struct SubscriptionAvailabilityCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionAvailabilityCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionAvailabilities" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct SubscriptionAvailabilityCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let availableInNewTerritories: Bool public init(availableInNewTerritories: Bool) { @@ -64,7 +64,7 @@ public struct SubscriptionAvailabilityCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let availableTerritories: AvailableTerritories public let subscription: Subscription @@ -87,7 +87,7 @@ public struct SubscriptionAvailabilityCreateRequest: Codable, RequestBody { try container.encode(subscription, forKey: "subscription") } - public struct AvailableTerritories: Codable { + public struct AvailableTerritories: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -104,7 +104,7 @@ public struct SubscriptionAvailabilityCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -128,7 +128,7 @@ public struct SubscriptionAvailabilityCreateRequest: Codable, RequestBody { } } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { public let data: Data public init(data: Data) { @@ -145,7 +145,7 @@ public struct SubscriptionAvailabilityCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionAvailabilityResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionAvailabilityResponse.swift index 26822b4a5..8b5720c2f 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionAvailabilityResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionAvailabilityResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionAvailabilityResponse: Codable { +public struct SubscriptionAvailabilityResponse: Codable, Sendable { public let data: SubscriptionAvailability public var included: [Included]? public let links: DocumentLinks @@ -48,7 +48,7 @@ public struct SubscriptionAvailabilityResponse: Codable { }.first { $0.id == data.relationships?.subscription?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscription(Subscription) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionCreateRequest.swift index e8dabab4a..9a10786c3 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionCreateRequest: Codable, RequestBody { +public struct SubscriptionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptions" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct SubscriptionCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var familySharable: Bool? public var groupLevel: Int? public let name: String @@ -90,7 +90,7 @@ public struct SubscriptionCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let group: Group public init(group: Group) { @@ -107,7 +107,7 @@ public struct SubscriptionCreateRequest: Codable, RequestBody { try container.encode(group, forKey: "group") } - public struct Group: Codable { + public struct Group: Codable, Sendable { public let data: Data public init(data: Data) { @@ -124,7 +124,7 @@ public struct SubscriptionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGroups" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionCustomerEligibility.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionCustomerEligibility.swift index 6ed6f484b..7baac76a7 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionCustomerEligibility.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionCustomerEligibility.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public enum SubscriptionCustomerEligibility: String, Codable, CaseIterable { +public enum SubscriptionCustomerEligibility: String, Sendable, Codable, CaseIterable { case existing = "EXISTING" case expired = "EXPIRED" case new = "NEW" diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriod.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriod.swift index e7c7a221e..c75d34232 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriod.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriod.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGracePeriod: Codable, Identifiable { +public struct SubscriptionGracePeriod: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionGracePeriods" } @@ -34,7 +34,7 @@ public struct SubscriptionGracePeriod: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var duration: SubscriptionGracePeriodDuration? public var optIn: Bool? public var renewalType: RenewalType? @@ -67,7 +67,7 @@ public struct SubscriptionGracePeriod: Codable, Identifiable { try container.encodeIfPresent(sandboxOptIn, forKey: "sandboxOptIn") } - public enum RenewalType: String, Codable, CaseIterable { + public enum RenewalType: String, Sendable, Codable, CaseIterable { case allRenewals = "ALL_RENEWALS" case paidToPaidOnly = "PAID_TO_PAID_ONLY" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodDuration.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodDuration.swift index 8a59f62a3..ce54f8356 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodDuration.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodDuration.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public enum SubscriptionGracePeriodDuration: String, Codable, CaseIterable { +public enum SubscriptionGracePeriodDuration: String, Sendable, Codable, CaseIterable { case sixteenDays = "SIXTEEN_DAYS" case threeDays = "THREE_DAYS" case twentyEightDays = "TWENTY_EIGHT_DAYS" diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodResponse.swift index 26e45b402..0dc14efe8 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGracePeriodResponse: Codable { +public struct SubscriptionGracePeriodResponse: Codable, Sendable { public let data: SubscriptionGracePeriod public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodUpdateRequest.swift index 3c2004c5e..639d20929 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGracePeriodUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGracePeriodUpdateRequest: Codable, RequestBody { +public struct SubscriptionGracePeriodUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionGracePeriodUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGracePeriods" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct SubscriptionGracePeriodUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var duration: SubscriptionGracePeriodDuration? public var optIn: Bool? public var renewalType: SubscriptionGracePeriod.Attributes.RenewalType? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroup.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroup.swift index 85493a45a..173285d34 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroup.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroup.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroup: Codable, Identifiable { +public struct SubscriptionGroup: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionGroups" } @@ -39,7 +39,7 @@ public struct SubscriptionGroup: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var referenceName: String? public init(referenceName: String? = nil) { @@ -57,7 +57,7 @@ public struct SubscriptionGroup: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscriptionGroupLocalizations: SubscriptionGroupLocalizations? public var subscriptions: Subscriptions? @@ -80,7 +80,7 @@ public struct SubscriptionGroup: Codable, Identifiable { try container.encodeIfPresent(subscriptions, forKey: "subscriptions") } - public struct SubscriptionGroupLocalizations: Codable { + public struct SubscriptionGroupLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -108,7 +108,7 @@ public struct SubscriptionGroup: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGroupLocalizations" } @@ -131,7 +131,7 @@ public struct SubscriptionGroup: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -156,7 +156,7 @@ public struct SubscriptionGroup: Codable, Identifiable { } } - public struct Subscriptions: Codable { + public struct Subscriptions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -184,7 +184,7 @@ public struct SubscriptionGroup: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -207,7 +207,7 @@ public struct SubscriptionGroup: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupCreateRequest.swift index f6fb5e973..60abe1212 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupCreateRequest: Codable, RequestBody { +public struct SubscriptionGroupCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionGroupCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionGroups" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct SubscriptionGroupCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let referenceName: String public init(referenceName: String) { @@ -64,7 +64,7 @@ public struct SubscriptionGroupCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public init(app: App) { @@ -81,7 +81,7 @@ public struct SubscriptionGroupCreateRequest: Codable, RequestBody { try container.encode(app, forKey: "app") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -98,7 +98,7 @@ public struct SubscriptionGroupCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalization.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalization.swift index 25a515478..be2d982ac 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalization.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalization.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupLocalization: Codable, Identifiable { +public struct SubscriptionGroupLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionGroupLocalizations" } @@ -39,7 +39,7 @@ public struct SubscriptionGroupLocalization: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var customAppName: String? public var locale: String? public var name: String? @@ -72,7 +72,7 @@ public struct SubscriptionGroupLocalization: Codable, Identifiable { try container.encodeIfPresent(state, forKey: "state") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case approved = "APPROVED" case prepareForSubmission = "PREPARE_FOR_SUBMISSION" case rejected = "REJECTED" @@ -80,7 +80,7 @@ public struct SubscriptionGroupLocalization: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscriptionGroup: SubscriptionGroup? public init(subscriptionGroup: SubscriptionGroup? = nil) { @@ -97,7 +97,7 @@ public struct SubscriptionGroupLocalization: Codable, Identifiable { try container.encodeIfPresent(subscriptionGroup, forKey: "subscriptionGroup") } - public struct SubscriptionGroup: Codable { + public struct SubscriptionGroup: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -120,7 +120,7 @@ public struct SubscriptionGroupLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGroups" } @@ -143,7 +143,7 @@ public struct SubscriptionGroupLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationCreateRequest.swift index f3994e7a2..2249da895 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupLocalizationCreateRequest: Codable, RequestBody { +public struct SubscriptionGroupLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionGroupLocalizationCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionGroupLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct SubscriptionGroupLocalizationCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var customAppName: String? public let locale: String public let name: String @@ -75,7 +75,7 @@ public struct SubscriptionGroupLocalizationCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let subscriptionGroup: SubscriptionGroup public init(subscriptionGroup: SubscriptionGroup) { @@ -92,7 +92,7 @@ public struct SubscriptionGroupLocalizationCreateRequest: Codable, RequestBody { try container.encode(subscriptionGroup, forKey: "subscriptionGroup") } - public struct SubscriptionGroup: Codable { + public struct SubscriptionGroup: Codable, Sendable { public let data: Data public init(data: Data) { @@ -109,7 +109,7 @@ public struct SubscriptionGroupLocalizationCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGroups" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationResponse.swift index b9b908295..9cbd0a833 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupLocalizationResponse: Codable { +public struct SubscriptionGroupLocalizationResponse: Codable, Sendable { public let data: SubscriptionGroupLocalization public var included: [SubscriptionGroup]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationUpdateRequest.swift index 2cf7983c6..0edf0a5a2 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupLocalizationUpdateRequest: Codable, RequestBody { +public struct SubscriptionGroupLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionGroupLocalizationUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGroupLocalizations" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct SubscriptionGroupLocalizationUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var customAppName: String? public var name: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationsResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationsResponse.swift index 9e235069d..8f83dba4a 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupLocalizationsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupLocalizationsResponse: Codable, PagedResponse { +public struct SubscriptionGroupLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionGroupLocalization public let data: [SubscriptionGroupLocalization] diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupResponse.swift index cd18b83b3..3096e18e0 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupResponse: Codable { +public struct SubscriptionGroupResponse: Codable, Sendable { public let data: SubscriptionGroup public var included: [Included]? public let links: DocumentLinks @@ -53,7 +53,7 @@ public struct SubscriptionGroupResponse: Codable { return subscriptions } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscription(Subscription) case subscriptionGroupLocalization(SubscriptionGroupLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmission.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmission.swift index 69225c6bc..44c385881 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmission.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmission.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupSubmission: Codable, Identifiable { +public struct SubscriptionGroupSubmission: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionGroupSubmissions" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmissionCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmissionCreateRequest.swift index 8df1c1cda..a325e3493 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmissionCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmissionCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupSubmissionCreateRequest: Codable, RequestBody { +public struct SubscriptionGroupSubmissionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionGroupSubmissionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionGroupSubmissions" } public let relationships: Relationships @@ -40,7 +40,7 @@ public struct SubscriptionGroupSubmissionCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let subscriptionGroup: SubscriptionGroup public init(subscriptionGroup: SubscriptionGroup) { @@ -57,7 +57,7 @@ public struct SubscriptionGroupSubmissionCreateRequest: Codable, RequestBody { try container.encode(subscriptionGroup, forKey: "subscriptionGroup") } - public struct SubscriptionGroup: Codable { + public struct SubscriptionGroup: Codable, Sendable { public let data: Data public init(data: Data) { @@ -74,7 +74,7 @@ public struct SubscriptionGroupSubmissionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGroups" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmissionResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmissionResponse.swift index c26100f1e..0137f1ac4 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmissionResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupSubmissionResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupSubmissionResponse: Codable { +public struct SubscriptionGroupSubmissionResponse: Codable, Sendable { public let data: SubscriptionGroupSubmission public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupUpdateRequest.swift index 4d32e6c3b..c27a11e05 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupUpdateRequest: Codable, RequestBody { +public struct SubscriptionGroupUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionGroupUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionGroups" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct SubscriptionGroupUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var referenceName: String? public init(referenceName: String? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupsResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupsResponse.swift index d9705df0f..d9dc60207 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionGroupsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionGroupsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionGroupsResponse: Codable, PagedResponse { +public struct SubscriptionGroupsResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionGroup public let data: [SubscriptionGroup] @@ -60,7 +60,7 @@ public struct SubscriptionGroupsResponse: Codable, PagedResponse { return subscriptions } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscription(Subscription) case subscriptionGroupLocalization(SubscriptionGroupLocalization) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffer.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffer.swift index 9b1e32050..8d17a7072 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffer.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffer.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionIntroductoryOffer: Codable, Identifiable { +public struct SubscriptionIntroductoryOffer: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionIntroductoryOffers" } @@ -39,7 +39,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var duration: SubscriptionOfferDuration? public var endDate: String? public var numberOfPeriods: Int? @@ -78,7 +78,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscription: Subscription? public var subscriptionPricePoint: SubscriptionPricePoint? public var territory: Territory? @@ -106,7 +106,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -129,7 +129,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -152,7 +152,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -177,7 +177,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { } } - public struct SubscriptionPricePoint: Codable { + public struct SubscriptionPricePoint: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -200,7 +200,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPricePoints" } @@ -223,7 +223,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -248,7 +248,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -271,7 +271,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -294,7 +294,7 @@ public struct SubscriptionIntroductoryOffer: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferCreateRequest.swift index 1dedb4af4..035a804c1 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionIntroductoryOfferCreateRequest: Codable, RequestBody { +public struct SubscriptionIntroductoryOfferCreateRequest: Codable, Sendable, RequestBody { public let data: Data public var included: [SubscriptionPricePointInlineCreate]? @@ -24,7 +24,7 @@ public struct SubscriptionIntroductoryOfferCreateRequest: Codable, RequestBody { try container.encodeIfPresent(included, forKey: "included") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionIntroductoryOffers" } public let attributes: Attributes public let relationships: Relationships @@ -52,7 +52,7 @@ public struct SubscriptionIntroductoryOfferCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let duration: SubscriptionOfferDuration public var endDate: String? public let numberOfPeriods: Int @@ -91,7 +91,7 @@ public struct SubscriptionIntroductoryOfferCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let subscription: Subscription public var subscriptionPricePoint: SubscriptionPricePoint? public var territory: Territory? @@ -119,7 +119,7 @@ public struct SubscriptionIntroductoryOfferCreateRequest: Codable, RequestBody { try container.encodeIfPresent(territory, forKey: "territory") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { public let data: Data public init(data: Data) { @@ -136,7 +136,7 @@ public struct SubscriptionIntroductoryOfferCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -160,7 +160,7 @@ public struct SubscriptionIntroductoryOfferCreateRequest: Codable, RequestBody { } } - public struct SubscriptionPricePoint: Codable { + public struct SubscriptionPricePoint: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -177,7 +177,7 @@ public struct SubscriptionIntroductoryOfferCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPricePoints" } @@ -201,7 +201,7 @@ public struct SubscriptionIntroductoryOfferCreateRequest: Codable, RequestBody { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -218,7 +218,7 @@ public struct SubscriptionIntroductoryOfferCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferInlineCreate.swift index 05d96f0ec..b0005fedc 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferInlineCreate.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionIntroductoryOfferInlineCreate: Codable, Identifiable { +public struct SubscriptionIntroductoryOfferInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "subscriptionIntroductoryOffers" } public let attributes: Attributes @@ -34,7 +34,7 @@ public struct SubscriptionIntroductoryOfferInlineCreate: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let duration: SubscriptionOfferDuration public var endDate: String? public let numberOfPeriods: Int @@ -73,7 +73,7 @@ public struct SubscriptionIntroductoryOfferInlineCreate: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscription: Subscription? public var subscriptionPricePoint: SubscriptionPricePoint? public var territory: Territory? @@ -101,7 +101,7 @@ public struct SubscriptionIntroductoryOfferInlineCreate: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -118,7 +118,7 @@ public struct SubscriptionIntroductoryOfferInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -142,7 +142,7 @@ public struct SubscriptionIntroductoryOfferInlineCreate: Codable, Identifiable { } } - public struct SubscriptionPricePoint: Codable { + public struct SubscriptionPricePoint: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -159,7 +159,7 @@ public struct SubscriptionIntroductoryOfferInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPricePoints" } @@ -183,7 +183,7 @@ public struct SubscriptionIntroductoryOfferInlineCreate: Codable, Identifiable { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -200,7 +200,7 @@ public struct SubscriptionIntroductoryOfferInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferResponse.swift index 6244a7e34..519574a01 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionIntroductoryOfferResponse: Codable { +public struct SubscriptionIntroductoryOfferResponse: Codable, Sendable { public let data: SubscriptionIntroductoryOffer public var included: [Included]? public let links: DocumentLinks @@ -50,7 +50,7 @@ public struct SubscriptionIntroductoryOfferResponse: Codable { }.first { $0.id == data.relationships?.territory?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscription(Subscription) case subscriptionPricePoint(SubscriptionPricePoint) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferUpdateRequest.swift index 347ceff4c..aba714151 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOfferUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionIntroductoryOfferUpdateRequest: Codable, RequestBody { +public struct SubscriptionIntroductoryOfferUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionIntroductoryOfferUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionIntroductoryOffers" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct SubscriptionIntroductoryOfferUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var endDate: String? public init(endDate: String? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersLinkagesRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersLinkagesRequest.swift index b032022ad..e13fdb684 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersLinkagesRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionIntroductoryOffersLinkagesRequest: Codable, RequestBody { +public struct SubscriptionIntroductoryOffersLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -18,7 +18,7 @@ public struct SubscriptionIntroductoryOffersLinkagesRequest: Codable, RequestBod try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionIntroductoryOffers" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersLinkagesResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersLinkagesResponse.swift index 806741d76..7a86f8d38 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersLinkagesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionIntroductoryOffersLinkagesResponse: Codable, PagedResponse { +public struct SubscriptionIntroductoryOffersLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -29,7 +29,7 @@ public struct SubscriptionIntroductoryOffersLinkagesResponse: Codable, PagedResp try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionIntroductoryOffers" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersResponse.swift index 070d4aec1..76cd63681 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionIntroductoryOffersResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionIntroductoryOffersResponse: Codable, PagedResponse { +public struct SubscriptionIntroductoryOffersResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionIntroductoryOffer public let data: [SubscriptionIntroductoryOffer] @@ -57,7 +57,7 @@ public struct SubscriptionIntroductoryOffersResponse: Codable, PagedResponse { }.first { $0.id == subscriptionIntroductoryOffer.relationships?.territory?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscription(Subscription) case subscriptionPricePoint(SubscriptionPricePoint) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionLocalization.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionLocalization.swift index a2a976342..29a37ee0a 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionLocalization.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionLocalization.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionLocalization: Codable, Identifiable { +public struct SubscriptionLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionLocalizations" } @@ -39,7 +39,7 @@ public struct SubscriptionLocalization: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var description: String? public var locale: String? public var name: String? @@ -72,7 +72,7 @@ public struct SubscriptionLocalization: Codable, Identifiable { try container.encodeIfPresent(state, forKey: "state") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case approved = "APPROVED" case prepareForSubmission = "PREPARE_FOR_SUBMISSION" case rejected = "REJECTED" @@ -80,7 +80,7 @@ public struct SubscriptionLocalization: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscription: Subscription? public init(subscription: Subscription? = nil) { @@ -97,7 +97,7 @@ public struct SubscriptionLocalization: Codable, Identifiable { try container.encodeIfPresent(subscription, forKey: "subscription") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -120,7 +120,7 @@ public struct SubscriptionLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -143,7 +143,7 @@ public struct SubscriptionLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationCreateRequest.swift index 91ddf75e7..f16c44303 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionLocalizationCreateRequest: Codable, RequestBody { +public struct SubscriptionLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionLocalizationCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct SubscriptionLocalizationCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var description: String? public let locale: String public let name: String @@ -75,7 +75,7 @@ public struct SubscriptionLocalizationCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let subscription: Subscription public init(subscription: Subscription) { @@ -92,7 +92,7 @@ public struct SubscriptionLocalizationCreateRequest: Codable, RequestBody { try container.encode(subscription, forKey: "subscription") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { public let data: Data public init(data: Data) { @@ -109,7 +109,7 @@ public struct SubscriptionLocalizationCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationResponse.swift index 81ceea01b..162be9c5d 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionLocalizationResponse: Codable { +public struct SubscriptionLocalizationResponse: Codable, Sendable { public let data: SubscriptionLocalization public var included: [Subscription]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationUpdateRequest.swift index 9229b1072..8b9b391fb 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionLocalizationUpdateRequest: Codable, RequestBody { +public struct SubscriptionLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionLocalizationUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionLocalizations" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct SubscriptionLocalizationUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var description: String? public var name: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationsResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationsResponse.swift index 291a604a5..473dd3349 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionLocalizationsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionLocalizationsResponse: Codable, PagedResponse { +public struct SubscriptionLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionLocalization public let data: [SubscriptionLocalization] diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCode.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCode.swift index 42fd0bbad..5b1136a85 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCode.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCode.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCode: Codable, Identifiable { +public struct SubscriptionOfferCode: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionOfferCodes" } @@ -39,7 +39,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var active: Bool? public var customerEligibilities: [SubscriptionCustomerEligibility]? public var duration: SubscriptionOfferDuration? @@ -93,7 +93,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var customCodes: CustomCodes? public var oneTimeUseCodes: OneTimeUseCodes? public var prices: Prices? @@ -126,7 +126,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { try container.encodeIfPresent(subscription, forKey: "subscription") } - public struct CustomCodes: Codable { + public struct CustomCodes: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -154,7 +154,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodeCustomCodes" } @@ -177,7 +177,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -202,7 +202,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public struct OneTimeUseCodes: Codable { + public struct OneTimeUseCodes: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -230,7 +230,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodeOneTimeUseCodes" } @@ -253,7 +253,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -278,7 +278,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public struct Prices: Codable { + public struct Prices: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -306,7 +306,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodePrices" } @@ -329,7 +329,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -354,7 +354,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -377,7 +377,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -400,7 +400,7 @@ public struct SubscriptionOfferCode: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCreateRequest.swift index f152b1e3d..a2b8ca119 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeCreateRequest: Codable, RequestBody { +public struct SubscriptionOfferCodeCreateRequest: Codable, Sendable, RequestBody { public let data: Data public var included: [SubscriptionOfferCodePriceInlineCreate]? @@ -24,7 +24,7 @@ public struct SubscriptionOfferCodeCreateRequest: Codable, RequestBody { try container.encodeIfPresent(included, forKey: "included") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionOfferCodes" } public let attributes: Attributes public let relationships: Relationships @@ -52,7 +52,7 @@ public struct SubscriptionOfferCodeCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let customerEligibilities: [SubscriptionCustomerEligibility] public let duration: SubscriptionOfferDuration public let name: String @@ -96,7 +96,7 @@ public struct SubscriptionOfferCodeCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let prices: Prices public let subscription: Subscription @@ -119,7 +119,7 @@ public struct SubscriptionOfferCodeCreateRequest: Codable, RequestBody { try container.encode(subscription, forKey: "subscription") } - public struct Prices: Codable { + public struct Prices: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -136,7 +136,7 @@ public struct SubscriptionOfferCodeCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodePrices" } @@ -160,7 +160,7 @@ public struct SubscriptionOfferCodeCreateRequest: Codable, RequestBody { } } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { public let data: Data public init(data: Data) { @@ -177,7 +177,7 @@ public struct SubscriptionOfferCodeCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCode.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCode.swift index 2d0ccdf0d..719f6ed14 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCode.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCode.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeCustomCode: Codable, Identifiable { +public struct SubscriptionOfferCodeCustomCode: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionOfferCodeCustomCodes" } @@ -39,7 +39,7 @@ public struct SubscriptionOfferCodeCustomCode: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var active: Bool? public var createdDate: Date? public var customCode: String? @@ -78,7 +78,7 @@ public struct SubscriptionOfferCodeCustomCode: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var offerCode: OfferCode? public init(offerCode: OfferCode? = nil) { @@ -95,7 +95,7 @@ public struct SubscriptionOfferCodeCustomCode: Codable, Identifiable { try container.encodeIfPresent(offerCode, forKey: "offerCode") } - public struct OfferCode: Codable { + public struct OfferCode: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -118,7 +118,7 @@ public struct SubscriptionOfferCodeCustomCode: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodes" } @@ -141,7 +141,7 @@ public struct SubscriptionOfferCodeCustomCode: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeCreateRequest.swift index c08708274..4fbcdba73 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeCustomCodeCreateRequest: Codable, RequestBody { +public struct SubscriptionOfferCodeCustomCodeCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionOfferCodeCustomCodeCreateRequest: Codable, RequestBody try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionOfferCodeCustomCodes" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct SubscriptionOfferCodeCustomCodeCreateRequest: Codable, RequestBody try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let customCode: String public var expirationDate: String? public let numberOfCodes: Int @@ -75,7 +75,7 @@ public struct SubscriptionOfferCodeCustomCodeCreateRequest: Codable, RequestBody } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let offerCode: OfferCode public init(offerCode: OfferCode) { @@ -92,7 +92,7 @@ public struct SubscriptionOfferCodeCustomCodeCreateRequest: Codable, RequestBody try container.encode(offerCode, forKey: "offerCode") } - public struct OfferCode: Codable { + public struct OfferCode: Codable, Sendable { public let data: Data public init(data: Data) { @@ -109,7 +109,7 @@ public struct SubscriptionOfferCodeCustomCodeCreateRequest: Codable, RequestBody try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodes" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeResponse.swift index c8f4be63b..e3b9e505e 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeCustomCodeResponse: Codable { +public struct SubscriptionOfferCodeCustomCodeResponse: Codable, Sendable { public let data: SubscriptionOfferCodeCustomCode public var included: [SubscriptionOfferCode]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeUpdateRequest.swift index a4098848c..10d44fc87 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodeUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeCustomCodeUpdateRequest: Codable, RequestBody { +public struct SubscriptionOfferCodeCustomCodeUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionOfferCodeCustomCodeUpdateRequest: Codable, RequestBody try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodeCustomCodes" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct SubscriptionOfferCodeCustomCodeUpdateRequest: Codable, RequestBody try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var active: Bool? public init(active: Bool? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodesResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodesResponse.swift index 90bd2af08..4dec82635 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeCustomCodesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeCustomCodesResponse: Codable, PagedResponse { +public struct SubscriptionOfferCodeCustomCodesResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionOfferCodeCustomCode public let data: [SubscriptionOfferCodeCustomCode] diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCode.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCode.swift index a1cd2ef95..331f91c85 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCode.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCode.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeOneTimeUseCode: Codable, Identifiable { +public struct SubscriptionOfferCodeOneTimeUseCode: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionOfferCodeOneTimeUseCodes" } @@ -39,7 +39,7 @@ public struct SubscriptionOfferCodeOneTimeUseCode: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var active: Bool? public var createdDate: Date? public var expirationDate: String? @@ -73,7 +73,7 @@ public struct SubscriptionOfferCodeOneTimeUseCode: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var offerCode: OfferCode? public init(offerCode: OfferCode? = nil) { @@ -90,7 +90,7 @@ public struct SubscriptionOfferCodeOneTimeUseCode: Codable, Identifiable { try container.encodeIfPresent(offerCode, forKey: "offerCode") } - public struct OfferCode: Codable { + public struct OfferCode: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -113,7 +113,7 @@ public struct SubscriptionOfferCodeOneTimeUseCode: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodes" } @@ -136,7 +136,7 @@ public struct SubscriptionOfferCodeOneTimeUseCode: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeCreateRequest.swift index 0d718bbe8..4d8906734 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeOneTimeUseCodeCreateRequest: Codable, RequestBody { +public struct SubscriptionOfferCodeOneTimeUseCodeCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionOfferCodeOneTimeUseCodeCreateRequest: Codable, Request try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionOfferCodeOneTimeUseCodes" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct SubscriptionOfferCodeOneTimeUseCodeCreateRequest: Codable, Request try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let expirationDate: String public let numberOfCodes: Int @@ -70,7 +70,7 @@ public struct SubscriptionOfferCodeOneTimeUseCodeCreateRequest: Codable, Request } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let offerCode: OfferCode public init(offerCode: OfferCode) { @@ -87,7 +87,7 @@ public struct SubscriptionOfferCodeOneTimeUseCodeCreateRequest: Codable, Request try container.encode(offerCode, forKey: "offerCode") } - public struct OfferCode: Codable { + public struct OfferCode: Codable, Sendable { public let data: Data public init(data: Data) { @@ -104,7 +104,7 @@ public struct SubscriptionOfferCodeOneTimeUseCodeCreateRequest: Codable, Request try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodes" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeResponse.swift index bbee781f5..fe1034ffd 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeOneTimeUseCodeResponse: Codable { +public struct SubscriptionOfferCodeOneTimeUseCodeResponse: Codable, Sendable { public let data: SubscriptionOfferCodeOneTimeUseCode public var included: [SubscriptionOfferCode]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest.swift index 39cb67bc8..82703aa68 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeOneTimeUseCodeUpdateRequest: Codable, RequestBody { +public struct SubscriptionOfferCodeOneTimeUseCodeUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionOfferCodeOneTimeUseCodeUpdateRequest: Codable, Request try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodeOneTimeUseCodes" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct SubscriptionOfferCodeOneTimeUseCodeUpdateRequest: Codable, Request try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var active: Bool? public init(active: Bool? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeValue.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeValue.swift index 0a8d9cc5e..a6066549e 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeValue.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodeValue.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeOneTimeUseCodeValue: Codable, Identifiable { +public struct SubscriptionOfferCodeOneTimeUseCodeValue: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionOfferCodeOneTimeUseCodeValues" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodesResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodesResponse.swift index 226fd4632..c1899e8bb 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeOneTimeUseCodesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeOneTimeUseCodesResponse: Codable, PagedResponse { +public struct SubscriptionOfferCodeOneTimeUseCodesResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionOfferCodeOneTimeUseCode public let data: [SubscriptionOfferCodeOneTimeUseCode] diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePrice.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePrice.swift index a02a160f5..f0b6a3451 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePrice.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePrice.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodePrice: Codable, Identifiable { +public struct SubscriptionOfferCodePrice: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionOfferCodePrices" } @@ -34,7 +34,7 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscriptionPricePoint: SubscriptionPricePoint? public var territory: Territory? @@ -57,7 +57,7 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct SubscriptionPricePoint: Codable { + public struct SubscriptionPricePoint: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -80,7 +80,7 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPricePoints" } @@ -103,7 +103,7 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -128,7 +128,7 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -151,7 +151,7 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -174,7 +174,7 @@ public struct SubscriptionOfferCodePrice: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePriceInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePriceInlineCreate.swift index 605d7ddc8..3de653fe3 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePriceInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePriceInlineCreate.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodePriceInlineCreate: Codable, Identifiable { +public struct SubscriptionOfferCodePriceInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "subscriptionOfferCodePrices" } public var relationships: Relationships? @@ -29,7 +29,7 @@ public struct SubscriptionOfferCodePriceInlineCreate: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscriptionPricePoint: SubscriptionPricePoint? public var territory: Territory? @@ -52,7 +52,7 @@ public struct SubscriptionOfferCodePriceInlineCreate: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct SubscriptionPricePoint: Codable { + public struct SubscriptionPricePoint: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -69,7 +69,7 @@ public struct SubscriptionOfferCodePriceInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPricePoints" } @@ -93,7 +93,7 @@ public struct SubscriptionOfferCodePriceInlineCreate: Codable, Identifiable { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -110,7 +110,7 @@ public struct SubscriptionOfferCodePriceInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePricesResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePricesResponse.swift index 67be83311..bd8556245 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePricesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodePricesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodePricesResponse: Codable, PagedResponse { +public struct SubscriptionOfferCodePricesResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionOfferCodePrice public let data: [SubscriptionOfferCodePrice] @@ -50,7 +50,7 @@ public struct SubscriptionOfferCodePricesResponse: Codable, PagedResponse { }.first { $0.id == subscriptionOfferCodePrice.relationships?.territory?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscriptionPricePoint(SubscriptionPricePoint) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeResponse.swift index 0c6d7ae68..b18d6b57f 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeResponse: Codable { +public struct SubscriptionOfferCodeResponse: Codable, Sendable { public let data: SubscriptionOfferCode public var included: [Included]? public let links: DocumentLinks @@ -72,7 +72,7 @@ public struct SubscriptionOfferCodeResponse: Codable { }.first { $0.id == data.relationships?.subscription?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscription(Subscription) case subscriptionOfferCodeCustomCode(SubscriptionOfferCodeCustomCode) case subscriptionOfferCodeOneTimeUseCode(SubscriptionOfferCodeOneTimeUseCode) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeUpdateRequest.swift index 0ce3dda08..9ae9dd624 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodeUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodeUpdateRequest: Codable, RequestBody { +public struct SubscriptionOfferCodeUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionOfferCodeUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionOfferCodes" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct SubscriptionOfferCodeUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var active: Bool? public init(active: Bool? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodesResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodesResponse.swift index eaa071dde..60be51b0c 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferCodesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionOfferCodesResponse: Codable, PagedResponse { +public struct SubscriptionOfferCodesResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionOfferCode public let data: [SubscriptionOfferCode] @@ -79,7 +79,7 @@ public struct SubscriptionOfferCodesResponse: Codable, PagedResponse { }.first { $0.id == subscriptionOfferCode.relationships?.subscription?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscription(Subscription) case subscriptionOfferCodeCustomCode(SubscriptionOfferCodeCustomCode) case subscriptionOfferCodeOneTimeUseCode(SubscriptionOfferCodeOneTimeUseCode) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferDuration.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferDuration.swift index 19424ceba..42ac70c20 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferDuration.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferDuration.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public enum SubscriptionOfferDuration: String, Codable, CaseIterable { +public enum SubscriptionOfferDuration: String, Sendable, Codable, CaseIterable { case oneDay = "ONE_DAY" case oneMonth = "ONE_MONTH" case oneWeek = "ONE_WEEK" diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferEligibility.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferEligibility.swift index 2e4c54632..7653829e0 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferEligibility.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferEligibility.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public enum SubscriptionOfferEligibility: String, Codable, CaseIterable { +public enum SubscriptionOfferEligibility: String, Sendable, Codable, CaseIterable { case replaceIntroOffers = "REPLACE_INTRO_OFFERS" case stackWithIntroOffers = "STACK_WITH_INTRO_OFFERS" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferMode.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferMode.swift index f2820b788..5f2d5eec4 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionOfferMode.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionOfferMode.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum SubscriptionOfferMode: String, Codable, CaseIterable { +public enum SubscriptionOfferMode: String, Sendable, Codable, CaseIterable { /// A constant that indicates a subscription offer is a free trial. case freeTrial = "FREE_TRIAL" /// A constant that indicates a subscription offer is billed over multiple billing periods. diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPrice.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPrice.swift index 7c0d14f8d..74efd9ea3 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPrice.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPrice.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPrice: Codable, Identifiable { +public struct SubscriptionPrice: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionPrices" } @@ -39,7 +39,7 @@ public struct SubscriptionPrice: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var preserved: Bool? public var startDate: String? @@ -63,7 +63,7 @@ public struct SubscriptionPrice: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscriptionPricePoint: SubscriptionPricePoint? public var territory: Territory? @@ -86,7 +86,7 @@ public struct SubscriptionPrice: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct SubscriptionPricePoint: Codable { + public struct SubscriptionPricePoint: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -109,7 +109,7 @@ public struct SubscriptionPrice: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPricePoints" } @@ -132,7 +132,7 @@ public struct SubscriptionPrice: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -157,7 +157,7 @@ public struct SubscriptionPrice: Codable, Identifiable { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -180,7 +180,7 @@ public struct SubscriptionPrice: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -203,7 +203,7 @@ public struct SubscriptionPrice: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPriceCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPriceCreateRequest.swift index 0d9d6746b..71d2fe4a2 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPriceCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPriceCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPriceCreateRequest: Codable, RequestBody { +public struct SubscriptionPriceCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionPriceCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionPrices" } public var attributes: Attributes? public let relationships: Relationships @@ -46,7 +46,7 @@ public struct SubscriptionPriceCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var preserveCurrentPrice: Bool? public var startDate: String? @@ -70,7 +70,7 @@ public struct SubscriptionPriceCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let subscription: Subscription public let subscriptionPricePoint: SubscriptionPricePoint public var territory: Territory? @@ -98,7 +98,7 @@ public struct SubscriptionPriceCreateRequest: Codable, RequestBody { try container.encodeIfPresent(territory, forKey: "territory") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { public let data: Data public init(data: Data) { @@ -115,7 +115,7 @@ public struct SubscriptionPriceCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -139,7 +139,7 @@ public struct SubscriptionPriceCreateRequest: Codable, RequestBody { } } - public struct SubscriptionPricePoint: Codable { + public struct SubscriptionPricePoint: Codable, Sendable { public let data: Data public init(data: Data) { @@ -156,7 +156,7 @@ public struct SubscriptionPriceCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPricePoints" } @@ -180,7 +180,7 @@ public struct SubscriptionPriceCreateRequest: Codable, RequestBody { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -197,7 +197,7 @@ public struct SubscriptionPriceCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPriceInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPriceInlineCreate.swift index b194c20bc..ce7f022a5 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPriceInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPriceInlineCreate.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPriceInlineCreate: Codable, Identifiable { +public struct SubscriptionPriceInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "subscriptionPrices" } public var attributes: Attributes? @@ -34,7 +34,7 @@ public struct SubscriptionPriceInlineCreate: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var preserveCurrentPrice: Bool? public var startDate: String? @@ -58,7 +58,7 @@ public struct SubscriptionPriceInlineCreate: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscription: Subscription? public var subscriptionPricePoint: SubscriptionPricePoint? public var territory: Territory? @@ -86,7 +86,7 @@ public struct SubscriptionPriceInlineCreate: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -103,7 +103,7 @@ public struct SubscriptionPriceInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -127,7 +127,7 @@ public struct SubscriptionPriceInlineCreate: Codable, Identifiable { } } - public struct SubscriptionPricePoint: Codable { + public struct SubscriptionPricePoint: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -144,7 +144,7 @@ public struct SubscriptionPriceInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPricePoints" } @@ -168,7 +168,7 @@ public struct SubscriptionPriceInlineCreate: Codable, Identifiable { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -185,7 +185,7 @@ public struct SubscriptionPriceInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPricePoint.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPricePoint.swift index ee608d855..f489c0b07 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPricePoint.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPricePoint.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPricePoint: Codable, Identifiable { +public struct SubscriptionPricePoint: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionPricePoints" } @@ -39,7 +39,7 @@ public struct SubscriptionPricePoint: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var customerPrice: String? public var proceeds: String? public var proceedsYear2: String? @@ -68,7 +68,7 @@ public struct SubscriptionPricePoint: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var territory: Territory? public init(territory: Territory? = nil) { @@ -85,7 +85,7 @@ public struct SubscriptionPricePoint: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -108,7 +108,7 @@ public struct SubscriptionPricePoint: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -131,7 +131,7 @@ public struct SubscriptionPricePoint: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointInlineCreate.swift index c187df15a..b0964111f 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointInlineCreate.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPricePointInlineCreate: Codable, Identifiable { +public struct SubscriptionPricePointInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "subscriptionPricePoints" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointResponse.swift index cecb3d001..5ee11d860 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPricePointResponse: Codable { +public struct SubscriptionPricePointResponse: Codable, Sendable { public let data: SubscriptionPricePoint public var included: [Territory]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointsResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointsResponse.swift index 7567bb54a..940eb91e8 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPricePointsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPricePointsResponse: Codable, PagedResponse { +public struct SubscriptionPricePointsResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionPricePoint public let data: [SubscriptionPricePoint] diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPriceResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPriceResponse.swift index 4d9458598..257a5bdc1 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPriceResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPriceResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPriceResponse: Codable { +public struct SubscriptionPriceResponse: Codable, Sendable { public let data: SubscriptionPrice public var included: [Included]? public let links: DocumentLinks @@ -43,7 +43,7 @@ public struct SubscriptionPriceResponse: Codable { }.first { $0.id == data.relationships?.territory?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscriptionPricePoint(SubscriptionPricePoint) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPricesLinkagesRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPricesLinkagesRequest.swift index f62fd6e5a..3c3163fa8 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPricesLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPricesLinkagesRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPricesLinkagesRequest: Codable, RequestBody { +public struct SubscriptionPricesLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -18,7 +18,7 @@ public struct SubscriptionPricesLinkagesRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPrices" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPricesLinkagesResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPricesLinkagesResponse.swift index bb5163eda..4c327f9a5 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPricesLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPricesLinkagesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPricesLinkagesResponse: Codable, PagedResponse { +public struct SubscriptionPricesLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -29,7 +29,7 @@ public struct SubscriptionPricesLinkagesResponse: Codable, PagedResponse { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPrices" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPricesResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPricesResponse.swift index b84b886fb..e0c3a09b4 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPricesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPricesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPricesResponse: Codable, PagedResponse { +public struct SubscriptionPricesResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionPrice public let data: [SubscriptionPrice] @@ -50,7 +50,7 @@ public struct SubscriptionPricesResponse: Codable, PagedResponse { }.first { $0.id == subscriptionPrice.relationships?.territory?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscriptionPricePoint(SubscriptionPricePoint) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOffer.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOffer.swift index ba12095c1..3b29c0998 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOffer.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOffer.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPromotionalOffer: Codable, Identifiable { +public struct SubscriptionPromotionalOffer: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionPromotionalOffers" } @@ -39,7 +39,7 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var duration: SubscriptionOfferDuration? public var name: String? public var numberOfPeriods: Int? @@ -78,7 +78,7 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var prices: Prices? public var subscription: Subscription? @@ -101,7 +101,7 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { try container.encodeIfPresent(subscription, forKey: "subscription") } - public struct Prices: Codable { + public struct Prices: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -129,7 +129,7 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPromotionalOfferPrices" } @@ -152,7 +152,7 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -177,7 +177,7 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { } } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -200,7 +200,7 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -223,7 +223,7 @@ public struct SubscriptionPromotionalOffer: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferCreateRequest.swift index 8f64839b8..18f33f2c6 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPromotionalOfferCreateRequest: Codable, RequestBody { +public struct SubscriptionPromotionalOfferCreateRequest: Codable, Sendable, RequestBody { public let data: Data public var included: [SubscriptionPromotionalOfferPriceInlineCreate]? @@ -24,7 +24,7 @@ public struct SubscriptionPromotionalOfferCreateRequest: Codable, RequestBody { try container.encodeIfPresent(included, forKey: "included") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionPromotionalOffers" } public let attributes: Attributes public let relationships: Relationships @@ -52,7 +52,7 @@ public struct SubscriptionPromotionalOfferCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let duration: SubscriptionOfferDuration public let name: String public let numberOfPeriods: Int @@ -91,7 +91,7 @@ public struct SubscriptionPromotionalOfferCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let prices: Prices public let subscription: Subscription @@ -114,7 +114,7 @@ public struct SubscriptionPromotionalOfferCreateRequest: Codable, RequestBody { try container.encode(subscription, forKey: "subscription") } - public struct Prices: Codable { + public struct Prices: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -131,7 +131,7 @@ public struct SubscriptionPromotionalOfferCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPromotionalOfferPrices" } @@ -155,7 +155,7 @@ public struct SubscriptionPromotionalOfferCreateRequest: Codable, RequestBody { } } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { public let data: Data public init(data: Data) { @@ -172,7 +172,7 @@ public struct SubscriptionPromotionalOfferCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferInlineCreate.swift index 52c1277ab..aed1cae31 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferInlineCreate.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPromotionalOfferInlineCreate: Codable, Identifiable { +public struct SubscriptionPromotionalOfferInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "subscriptionPromotionalOffers" } public let attributes: Attributes @@ -34,7 +34,7 @@ public struct SubscriptionPromotionalOfferInlineCreate: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let duration: SubscriptionOfferDuration public let name: String public let numberOfPeriods: Int @@ -73,7 +73,7 @@ public struct SubscriptionPromotionalOfferInlineCreate: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var prices: Prices? public var subscription: Subscription? @@ -96,7 +96,7 @@ public struct SubscriptionPromotionalOfferInlineCreate: Codable, Identifiable { try container.encodeIfPresent(subscription, forKey: "subscription") } - public struct Prices: Codable { + public struct Prices: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -113,7 +113,7 @@ public struct SubscriptionPromotionalOfferInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPromotionalOfferPrices" } @@ -137,7 +137,7 @@ public struct SubscriptionPromotionalOfferInlineCreate: Codable, Identifiable { } } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -154,7 +154,7 @@ public struct SubscriptionPromotionalOfferInlineCreate: Codable, Identifiable { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPrice.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPrice.swift index 2c4643524..b095d5259 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPrice.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPrice.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { +public struct SubscriptionPromotionalOfferPrice: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionPromotionalOfferPrices" } @@ -34,7 +34,7 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscriptionPricePoint: SubscriptionPricePoint? public var territory: Territory? @@ -57,7 +57,7 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct SubscriptionPricePoint: Codable { + public struct SubscriptionPricePoint: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -80,7 +80,7 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPricePoints" } @@ -103,7 +103,7 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -128,7 +128,7 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -151,7 +151,7 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -174,7 +174,7 @@ public struct SubscriptionPromotionalOfferPrice: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPriceInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPriceInlineCreate.swift index 27684d374..857ed883b 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPriceInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPriceInlineCreate.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPromotionalOfferPriceInlineCreate: Codable, Identifiable { +public struct SubscriptionPromotionalOfferPriceInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "subscriptionPromotionalOfferPrices" } public var relationships: Relationships? @@ -29,7 +29,7 @@ public struct SubscriptionPromotionalOfferPriceInlineCreate: Codable, Identifiab try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscriptionPricePoint: SubscriptionPricePoint? public var territory: Territory? @@ -52,7 +52,7 @@ public struct SubscriptionPromotionalOfferPriceInlineCreate: Codable, Identifiab try container.encodeIfPresent(territory, forKey: "territory") } - public struct SubscriptionPricePoint: Codable { + public struct SubscriptionPricePoint: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -69,7 +69,7 @@ public struct SubscriptionPromotionalOfferPriceInlineCreate: Codable, Identifiab try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPricePoints" } @@ -93,7 +93,7 @@ public struct SubscriptionPromotionalOfferPriceInlineCreate: Codable, Identifiab } } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -110,7 +110,7 @@ public struct SubscriptionPromotionalOfferPriceInlineCreate: Codable, Identifiab try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPricesResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPricesResponse.swift index e5c993508..0bb0ce246 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPricesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferPricesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPromotionalOfferPricesResponse: Codable, PagedResponse { +public struct SubscriptionPromotionalOfferPricesResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionPromotionalOfferPrice public let data: [SubscriptionPromotionalOfferPrice] @@ -50,7 +50,7 @@ public struct SubscriptionPromotionalOfferPricesResponse: Codable, PagedResponse }.first { $0.id == subscriptionPromotionalOfferPrice.relationships?.territory?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscriptionPricePoint(SubscriptionPricePoint) case territory(Territory) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferResponse.swift index fb9ab22b6..8033f6a8d 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPromotionalOfferResponse: Codable { +public struct SubscriptionPromotionalOfferResponse: Codable, Sendable { public let data: SubscriptionPromotionalOffer public var included: [Included]? public let links: DocumentLinks @@ -48,7 +48,7 @@ public struct SubscriptionPromotionalOfferResponse: Codable { }.first { $0.id == data.relationships?.subscription?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscription(Subscription) case subscriptionPromotionalOfferPrice(SubscriptionPromotionalOfferPrice) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferUpdateRequest.swift index fa5d36ee7..8bdd3fde6 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOfferUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPromotionalOfferUpdateRequest: Codable, RequestBody { +public struct SubscriptionPromotionalOfferUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public var included: [SubscriptionPromotionalOfferPriceInlineCreate]? @@ -24,7 +24,7 @@ public struct SubscriptionPromotionalOfferUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(included, forKey: "included") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPromotionalOffers" } public var relationships: Relationships? @@ -52,7 +52,7 @@ public struct SubscriptionPromotionalOfferUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var prices: Prices? public init(prices: Prices? = nil) { @@ -69,7 +69,7 @@ public struct SubscriptionPromotionalOfferUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(prices, forKey: "prices") } - public struct Prices: Codable { + public struct Prices: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -86,7 +86,7 @@ public struct SubscriptionPromotionalOfferUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPromotionalOfferPrices" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOffersResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOffersResponse.swift index b72657295..9c60d502a 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOffersResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionPromotionalOffersResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionPromotionalOffersResponse: Codable, PagedResponse { +public struct SubscriptionPromotionalOffersResponse: Codable, Sendable, PagedResponse { public typealias Data = SubscriptionPromotionalOffer public let data: [SubscriptionPromotionalOffer] @@ -55,7 +55,7 @@ public struct SubscriptionPromotionalOffersResponse: Codable, PagedResponse { }.first { $0.id == subscriptionPromotionalOffer.relationships?.subscription?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscription(Subscription) case subscriptionPromotionalOfferPrice(SubscriptionPromotionalOfferPrice) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionResponse.swift index df9a4c21f..d8e846e6c 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionResponse: Codable { +public struct SubscriptionResponse: Codable, Sendable { public let data: Subscription public var included: [Included]? public let links: DocumentLinks @@ -117,7 +117,7 @@ public struct SubscriptionResponse: Codable { return subscriptionLocalizations } - public enum Included: Codable { + public enum Included: Codable, Sendable { case promotedPurchase(PromotedPurchase) case subscriptionAppStoreReviewScreenshot(SubscriptionAppStoreReviewScreenshot) case subscriptionAvailability(SubscriptionAvailability) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionStatusUrlVersion.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionStatusUrlVersion.swift index 0932bc79a..6a14cb223 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionStatusUrlVersion.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionStatusUrlVersion.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public enum SubscriptionStatusUrlVersion: String, Codable, CaseIterable { +public enum SubscriptionStatusUrlVersion: String, Sendable, Codable, CaseIterable { /// Version 1 notifications are simpler and contain less information than Version 2. For more information see [App Store Server Notifications V1](https://developer.apple.com/documentation/appstoreservernotifications/app_store_server_notifications_v1). case V1 /// Version 2 notifications cover more events in the customer lifecycle, including subscription expirations, offer redemptions, refunds, and more. For more information see [App Store Server Notifications V2](https://developer.apple.com/documentation/appstoreservernotifications/app_store_server_notifications_v2). diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionSubmission.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionSubmission.swift index 5a367de52..1153af3d8 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionSubmission.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionSubmission.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionSubmission: Codable, Identifiable { +public struct SubscriptionSubmission: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "subscriptionSubmissions" } @@ -34,7 +34,7 @@ public struct SubscriptionSubmission: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var subscription: Subscription? public init(subscription: Subscription? = nil) { @@ -51,7 +51,7 @@ public struct SubscriptionSubmission: Codable, Identifiable { try container.encodeIfPresent(subscription, forKey: "subscription") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -74,7 +74,7 @@ public struct SubscriptionSubmission: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } @@ -97,7 +97,7 @@ public struct SubscriptionSubmission: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionSubmissionCreateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionSubmissionCreateRequest.swift index c6baae78e..e1ab897c8 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionSubmissionCreateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionSubmissionCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionSubmissionCreateRequest: Codable, RequestBody { +public struct SubscriptionSubmissionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct SubscriptionSubmissionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "subscriptionSubmissions" } public let relationships: Relationships @@ -40,7 +40,7 @@ public struct SubscriptionSubmissionCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let subscription: Subscription public init(subscription: Subscription) { @@ -57,7 +57,7 @@ public struct SubscriptionSubmissionCreateRequest: Codable, RequestBody { try container.encode(subscription, forKey: "subscription") } - public struct Subscription: Codable { + public struct Subscription: Codable, Sendable { public let data: Data public init(data: Data) { @@ -74,7 +74,7 @@ public struct SubscriptionSubmissionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionSubmissionResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionSubmissionResponse.swift index c71024eb3..eba6955c8 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionSubmissionResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionSubmissionResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionSubmissionResponse: Codable { +public struct SubscriptionSubmissionResponse: Codable, Sendable { public let data: SubscriptionSubmission public var included: [Subscription]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionUpdateRequest.swift index 9667c50c4..87dcc11c5 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionUpdateRequest: Codable, RequestBody { +public struct SubscriptionUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public var included: [Included]? @@ -24,7 +24,7 @@ public struct SubscriptionUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(included, forKey: "included") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptions" } public var attributes: Attributes? @@ -57,7 +57,7 @@ public struct SubscriptionUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var familySharable: Bool? public var groupLevel: Int? public var name: String? @@ -96,7 +96,7 @@ public struct SubscriptionUpdateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var introductoryOffers: IntroductoryOffers? public var prices: Prices? public var promotionalOffers: PromotionalOffers? @@ -124,7 +124,7 @@ public struct SubscriptionUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(promotionalOffers, forKey: "promotionalOffers") } - public struct IntroductoryOffers: Codable { + public struct IntroductoryOffers: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -141,7 +141,7 @@ public struct SubscriptionUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionIntroductoryOffers" } @@ -165,7 +165,7 @@ public struct SubscriptionUpdateRequest: Codable, RequestBody { } } - public struct Prices: Codable { + public struct Prices: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -182,7 +182,7 @@ public struct SubscriptionUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPrices" } @@ -206,7 +206,7 @@ public struct SubscriptionUpdateRequest: Codable, RequestBody { } } - public struct PromotionalOffers: Codable { + public struct PromotionalOffers: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -223,7 +223,7 @@ public struct SubscriptionUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "subscriptionPromotionalOffers" } @@ -249,7 +249,7 @@ public struct SubscriptionUpdateRequest: Codable, RequestBody { } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case subscriptionIntroductoryOfferInlineCreate(SubscriptionIntroductoryOfferInlineCreate) case subscriptionPriceInlineCreate(SubscriptionPriceInlineCreate) case subscriptionPromotionalOfferInlineCreate(SubscriptionPromotionalOfferInlineCreate) diff --git a/Sources/Bagbutik-Models/AppStore/SubscriptionsResponse.swift b/Sources/Bagbutik-Models/AppStore/SubscriptionsResponse.swift index cda7a33e5..830018efb 100644 --- a/Sources/Bagbutik-Models/AppStore/SubscriptionsResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/SubscriptionsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct SubscriptionsResponse: Codable, PagedResponse { +public struct SubscriptionsResponse: Codable, Sendable, PagedResponse { public typealias Data = Subscription public let data: [Subscription] @@ -124,7 +124,7 @@ public struct SubscriptionsResponse: Codable, PagedResponse { return subscriptionLocalizations } - public enum Included: Codable { + public enum Included: Codable, Sendable { case promotedPurchase(PromotedPurchase) case subscriptionAppStoreReviewScreenshot(SubscriptionAppStoreReviewScreenshot) case subscriptionAvailability(SubscriptionAvailability) diff --git a/Sources/Bagbutik-Models/AppStore/TerritoriesResponse.swift b/Sources/Bagbutik-Models/AppStore/TerritoriesResponse.swift index 01a8f2bf5..d23466275 100644 --- a/Sources/Bagbutik-Models/AppStore/TerritoriesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/TerritoriesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct TerritoriesResponse: Codable, PagedResponse { +public struct TerritoriesResponse: Codable, Sendable, PagedResponse { public typealias Data = Territory public let data: [Territory] diff --git a/Sources/Bagbutik-Models/AppStore/TerritoriesWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/AppStore/TerritoriesWithoutIncludesResponse.swift index e2f14ced3..3f12f0b38 100644 --- a/Sources/Bagbutik-Models/AppStore/TerritoriesWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/TerritoriesWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct TerritoriesWithoutIncludesResponse: Codable, PagedResponse { +public struct TerritoriesWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = Territory public let data: [Territory] diff --git a/Sources/Bagbutik-Models/AppStore/Territory.swift b/Sources/Bagbutik-Models/AppStore/Territory.swift index 217d01d22..8e9bdbdb1 100644 --- a/Sources/Bagbutik-Models/AppStore/Territory.swift +++ b/Sources/Bagbutik-Models/AppStore/Territory.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct Territory: Codable, Identifiable { +public struct Territory: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "territories" } @@ -48,7 +48,7 @@ public struct Territory: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var currency: String? public init(currency: String? = nil) { diff --git a/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilitiesResponse.swift b/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilitiesResponse.swift index 4c3cf0b9c..92a3efff2 100644 --- a/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilitiesResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilitiesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct TerritoryAvailabilitiesResponse: Codable, PagedResponse { +public struct TerritoryAvailabilitiesResponse: Codable, Sendable, PagedResponse { public typealias Data = TerritoryAvailability public let data: [TerritoryAvailability] diff --git a/Sources/Bagbutik-Models/AppStore/TerritoryAvailability.swift b/Sources/Bagbutik-Models/AppStore/TerritoryAvailability.swift index c1afbb257..18681d707 100644 --- a/Sources/Bagbutik-Models/AppStore/TerritoryAvailability.swift +++ b/Sources/Bagbutik-Models/AppStore/TerritoryAvailability.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct TerritoryAvailability: Codable, Identifiable { +public struct TerritoryAvailability: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "territoryAvailabilities" } @@ -46,7 +46,7 @@ public struct TerritoryAvailability: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var available: Bool? public var contentStatuses: [ContentStatuses]? public var preOrderEnabled: Bool? @@ -84,7 +84,7 @@ public struct TerritoryAvailability: Codable, Identifiable { try container.encodeIfPresent(releaseDate, forKey: "releaseDate") } - public enum ContentStatuses: String, Codable, CaseIterable { + public enum ContentStatuses: String, Sendable, Codable, CaseIterable { case available = "AVAILABLE" case availableForPreorder = "AVAILABLE_FOR_PREORDER" case availableForPreorderOnDate = "AVAILABLE_FOR_PREORDER_ON_DATE" @@ -121,7 +121,7 @@ public struct TerritoryAvailability: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var territory: Territory? public init(territory: Territory? = nil) { @@ -138,7 +138,7 @@ public struct TerritoryAvailability: Codable, Identifiable { try container.encodeIfPresent(territory, forKey: "territory") } - public struct Territory: Codable { + public struct Territory: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -161,7 +161,7 @@ public struct TerritoryAvailability: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territories" } @@ -184,7 +184,7 @@ public struct TerritoryAvailability: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityInlineCreate.swift index 14b80842c..eb0dbad64 100644 --- a/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityInlineCreate.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct TerritoryAvailabilityInlineCreate: Codable, Identifiable { +public struct TerritoryAvailabilityInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "territoryAvailabilities" } diff --git a/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityResponse.swift b/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityResponse.swift index ee145e722..eada54c5c 100644 --- a/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct TerritoryAvailabilityResponse: Codable { +public struct TerritoryAvailabilityResponse: Codable, Sendable { public let data: TerritoryAvailability public var included: [Territory]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityUpdateRequest.swift b/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityUpdateRequest.swift index 3aea45d8f..be95529a9 100644 --- a/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityUpdateRequest.swift +++ b/Sources/Bagbutik-Models/AppStore/TerritoryAvailabilityUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct TerritoryAvailabilityUpdateRequest: Codable, RequestBody { +public struct TerritoryAvailabilityUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct TerritoryAvailabilityUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "territoryAvailabilities" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct TerritoryAvailabilityUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var available: Bool? public var preOrderEnabled: Bool? public var releaseDate: String? diff --git a/Sources/Bagbutik-Models/AppStore/TerritoryCode.swift b/Sources/Bagbutik-Models/AppStore/TerritoryCode.swift index 81fb3e23a..78e003b89 100644 --- a/Sources/Bagbutik-Models/AppStore/TerritoryCode.swift +++ b/Sources/Bagbutik-Models/AppStore/TerritoryCode.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum TerritoryCode: String, ParameterValue, Codable, CaseIterable { +public enum TerritoryCode: String, Sendable, ParameterValue, Codable, CaseIterable { case abw = "ABW" case afg = "AFG" case ago = "AGO" diff --git a/Sources/Bagbutik-Models/AppStore/TerritoryInlineCreate.swift b/Sources/Bagbutik-Models/AppStore/TerritoryInlineCreate.swift index b23235b21..c2b0078b9 100644 --- a/Sources/Bagbutik-Models/AppStore/TerritoryInlineCreate.swift +++ b/Sources/Bagbutik-Models/AppStore/TerritoryInlineCreate.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct TerritoryInlineCreate: Codable, Identifiable { +public struct TerritoryInlineCreate: Codable, Sendable, Identifiable { public var id: String? public var type: String { "territories" } diff --git a/Sources/Bagbutik-Models/AppStore/TerritoryResponse.swift b/Sources/Bagbutik-Models/AppStore/TerritoryResponse.swift index cbe3c731d..2486cd92d 100644 --- a/Sources/Bagbutik-Models/AppStore/TerritoryResponse.swift +++ b/Sources/Bagbutik-Models/AppStore/TerritoryResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct TerritoryResponse: Codable { +public struct TerritoryResponse: Codable, Sendable { public let data: Territory public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/AppStore/UploadOperation.swift b/Sources/Bagbutik-Models/AppStore/UploadOperation.swift index 70e5f5a3c..a29237b71 100644 --- a/Sources/Bagbutik-Models/AppStore/UploadOperation.swift +++ b/Sources/Bagbutik-Models/AppStore/UploadOperation.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct UploadOperation: Codable { +public struct UploadOperation: Codable, Sendable { public var length: Int? public var method: String? public var offset: Int? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievement.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievement.swift index 08f0ea624..0d29bd3c9 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievement.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievement.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievement: Codable, Identifiable { +public struct GameCenterAchievement: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterAchievements" } @@ -46,7 +46,7 @@ public struct GameCenterAchievement: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var archived: Bool? public var points: Int? public var referenceName: String? @@ -90,7 +90,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterDetail: GameCenterDetail? public var gameCenterGroup: GameCenterGroup? public var groupAchievement: GroupAchievement? @@ -128,7 +128,7 @@ public struct GameCenterAchievement: Codable, Identifiable { try container.encodeIfPresent(releases, forKey: "releases") } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -151,7 +151,7 @@ public struct GameCenterAchievement: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -174,7 +174,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -199,7 +199,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public struct GameCenterGroup: Codable { + public struct GameCenterGroup: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -222,7 +222,7 @@ public struct GameCenterAchievement: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterGroups" } @@ -245,7 +245,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -270,7 +270,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public struct GroupAchievement: Codable { + public struct GroupAchievement: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -293,7 +293,7 @@ public struct GameCenterAchievement: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } @@ -316,7 +316,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -341,7 +341,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public struct Localizations: Codable { + public struct Localizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -369,7 +369,7 @@ public struct GameCenterAchievement: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievementLocalizations" } @@ -392,7 +392,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -417,7 +417,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public struct Releases: Codable { + public struct Releases: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -445,7 +445,7 @@ public struct GameCenterAchievement: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievementReleases" } @@ -468,7 +468,7 @@ public struct GameCenterAchievement: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementCreateRequest.swift index 75f079b95..05704d214 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementCreateRequest: Codable, RequestBody { +public struct GameCenterAchievementCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterAchievementCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterAchievements" } public let attributes: Attributes public var relationships: Relationships? @@ -53,7 +53,7 @@ public struct GameCenterAchievementCreateRequest: Codable, RequestBody { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let points: Int public let referenceName: String public let repeatable: Bool @@ -92,7 +92,7 @@ public struct GameCenterAchievementCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterDetail: GameCenterDetail? public var gameCenterGroup: GameCenterGroup? @@ -115,7 +115,7 @@ public struct GameCenterAchievementCreateRequest: Codable, RequestBody { try container.encodeIfPresent(gameCenterGroup, forKey: "gameCenterGroup") } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -132,7 +132,7 @@ public struct GameCenterAchievementCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -156,7 +156,7 @@ public struct GameCenterAchievementCreateRequest: Codable, RequestBody { } } - public struct GameCenterGroup: Codable { + public struct GameCenterGroup: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -173,7 +173,7 @@ public struct GameCenterAchievementCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterGroups" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementGroupAchievementLinkageRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementGroupAchievementLinkageRequest.swift index 5ec244035..e43d47fbb 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementGroupAchievementLinkageRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementGroupAchievementLinkageRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementGroupAchievementLinkageRequest: Codable, RequestBody { +public struct GameCenterAchievementGroupAchievementLinkageRequest: Codable, Sendable, RequestBody { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -25,7 +25,7 @@ public struct GameCenterAchievementGroupAchievementLinkageRequest: Codable, Requ try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementGroupAchievementLinkageResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementGroupAchievementLinkageResponse.swift index 84693501e..4ffcf542c 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementGroupAchievementLinkageResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementGroupAchievementLinkageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementGroupAchievementLinkageResponse: Codable { +public struct GameCenterAchievementGroupAchievementLinkageResponse: Codable, Sendable { public let data: Data public let links: DocumentLinks @@ -31,7 +31,7 @@ public struct GameCenterAchievementGroupAchievementLinkageResponse: Codable { try container.encode(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImage.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImage.swift index 1d1e1d1b5..ad35fbb13 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImage.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImage.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementImage: Codable, Identifiable { +public struct GameCenterAchievementImage: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterAchievementImages" } @@ -46,7 +46,7 @@ public struct GameCenterAchievementImage: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetDeliveryState: AppMediaAssetState? public var fileName: String? public var fileSize: Int? @@ -85,7 +85,7 @@ public struct GameCenterAchievementImage: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterAchievementLocalization: GameCenterAchievementLocalization? public init(gameCenterAchievementLocalization: GameCenterAchievementLocalization? = nil) { @@ -102,7 +102,7 @@ public struct GameCenterAchievementImage: Codable, Identifiable { try container.encodeIfPresent(gameCenterAchievementLocalization, forKey: "gameCenterAchievementLocalization") } - public struct GameCenterAchievementLocalization: Codable { + public struct GameCenterAchievementLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -125,7 +125,7 @@ public struct GameCenterAchievementImage: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievementLocalizations" } @@ -148,7 +148,7 @@ public struct GameCenterAchievementImage: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageCreateRequest.swift index d70e89924..e790eb072 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementImageCreateRequest: Codable, RequestBody { +public struct GameCenterAchievementImageCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterAchievementImageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterAchievementImages" } public let attributes: Attributes public let relationships: Relationships @@ -53,7 +53,7 @@ public struct GameCenterAchievementImageCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int @@ -77,7 +77,7 @@ public struct GameCenterAchievementImageCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let gameCenterAchievementLocalization: GameCenterAchievementLocalization public init(gameCenterAchievementLocalization: GameCenterAchievementLocalization) { @@ -94,7 +94,7 @@ public struct GameCenterAchievementImageCreateRequest: Codable, RequestBody { try container.encode(gameCenterAchievementLocalization, forKey: "gameCenterAchievementLocalization") } - public struct GameCenterAchievementLocalization: Codable { + public struct GameCenterAchievementLocalization: Codable, Sendable { public let data: Data public init(data: Data) { @@ -111,7 +111,7 @@ public struct GameCenterAchievementImageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievementLocalizations" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageResponse.swift index 49709b585..ea497a4f7 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementImageResponse: Codable { +public struct GameCenterAchievementImageResponse: Codable, Sendable { public let data: GameCenterAchievementImage public var included: [GameCenterAchievementLocalization]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageUpdateRequest.swift index ace259d61..fb943be69 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementImageUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementImageUpdateRequest: Codable, RequestBody { +public struct GameCenterAchievementImageUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterAchievementImageUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievementImages" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterAchievementImageUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var uploaded: Bool? public init(uploaded: Bool? = nil) { diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalization.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalization.swift index fc0260909..c5147271b 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalization.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalization.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct GameCenterAchievementLocalization: Codable, Identifiable { +public struct GameCenterAchievementLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterAchievementLocalizations" } @@ -39,7 +39,7 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var afterEarnedDescription: String? public var beforeEarnedDescription: String? public var locale: String? @@ -73,7 +73,7 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterAchievement: GameCenterAchievement? public var gameCenterAchievementImage: GameCenterAchievementImage? @@ -96,7 +96,7 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { try container.encodeIfPresent(gameCenterAchievementImage, forKey: "gameCenterAchievementImage") } - public struct GameCenterAchievement: Codable { + public struct GameCenterAchievement: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -119,7 +119,7 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } @@ -142,7 +142,7 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -167,7 +167,7 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { } } - public struct GameCenterAchievementImage: Codable { + public struct GameCenterAchievementImage: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -190,7 +190,7 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievementImages" } @@ -213,7 +213,7 @@ public struct GameCenterAchievementLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationCreateRequest.swift index ebe3d1750..5d7f18a87 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationCreateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct GameCenterAchievementLocalizationCreateRequest: Codable, RequestBody { +public struct GameCenterAchievementLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct GameCenterAchievementLocalizationCreateRequest: Codable, RequestBo try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterAchievementLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -46,7 +46,7 @@ public struct GameCenterAchievementLocalizationCreateRequest: Codable, RequestBo try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let afterEarnedDescription: String public let beforeEarnedDescription: String public let locale: String @@ -80,7 +80,7 @@ public struct GameCenterAchievementLocalizationCreateRequest: Codable, RequestBo } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let gameCenterAchievement: GameCenterAchievement public init(gameCenterAchievement: GameCenterAchievement) { @@ -97,7 +97,7 @@ public struct GameCenterAchievementLocalizationCreateRequest: Codable, RequestBo try container.encode(gameCenterAchievement, forKey: "gameCenterAchievement") } - public struct GameCenterAchievement: Codable { + public struct GameCenterAchievement: Codable, Sendable { public let data: Data public init(data: Data) { @@ -114,7 +114,7 @@ public struct GameCenterAchievementLocalizationCreateRequest: Codable, RequestBo try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationResponse.swift index 7a1f45622..7008b8c7e 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct GameCenterAchievementLocalizationResponse: Codable { +public struct GameCenterAchievementLocalizationResponse: Codable, Sendable { public let data: GameCenterAchievementLocalization public var included: [Included]? public let links: DocumentLinks @@ -43,7 +43,7 @@ public struct GameCenterAchievementLocalizationResponse: Codable { }.first { $0.id == data.relationships?.gameCenterAchievementImage?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterAchievement(GameCenterAchievement) case gameCenterAchievementImage(GameCenterAchievementImage) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationUpdateRequest.swift index cb560f437..084ecc28d 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationUpdateRequest.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct GameCenterAchievementLocalizationUpdateRequest: Codable, RequestBody { +public struct GameCenterAchievementLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -18,7 +18,7 @@ public struct GameCenterAchievementLocalizationUpdateRequest: Codable, RequestBo try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievementLocalizations" } public var attributes: Attributes? @@ -46,7 +46,7 @@ public struct GameCenterAchievementLocalizationUpdateRequest: Codable, RequestBo try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var afterEarnedDescription: String? public var beforeEarnedDescription: String? public var name: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationsResponse.swift index f15d93918..08555b052 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementLocalizationsResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct GameCenterAchievementLocalizationsResponse: Codable, PagedResponse { +public struct GameCenterAchievementLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterAchievementLocalization public let data: [GameCenterAchievementLocalization] @@ -50,7 +50,7 @@ public struct GameCenterAchievementLocalizationsResponse: Codable, PagedResponse }.first { $0.id == gameCenterAchievementLocalization.relationships?.gameCenterAchievementImage?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterAchievement(GameCenterAchievement) case gameCenterAchievementImage(GameCenterAchievementImage) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementRelease.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementRelease.swift index 0afb131d5..a8a2d72d3 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementRelease.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementRelease.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementRelease: Codable, Identifiable { +public struct GameCenterAchievementRelease: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterAchievementReleases" } @@ -46,7 +46,7 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var live: Bool? public init(live: Bool? = nil) { @@ -64,7 +64,7 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterAchievement: GameCenterAchievement? public var gameCenterDetail: GameCenterDetail? @@ -87,7 +87,7 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { try container.encodeIfPresent(gameCenterDetail, forKey: "gameCenterDetail") } - public struct GameCenterAchievement: Codable { + public struct GameCenterAchievement: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -110,7 +110,7 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } @@ -133,7 +133,7 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -158,7 +158,7 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { } } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -181,7 +181,7 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -204,7 +204,7 @@ public struct GameCenterAchievementRelease: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleaseCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleaseCreateRequest.swift index 78669d0ce..c52d182bc 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleaseCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleaseCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementReleaseCreateRequest: Codable, RequestBody { +public struct GameCenterAchievementReleaseCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterAchievementReleaseCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterAchievementReleases" } public let relationships: Relationships @@ -47,7 +47,7 @@ public struct GameCenterAchievementReleaseCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let gameCenterAchievement: GameCenterAchievement public let gameCenterDetail: GameCenterDetail @@ -70,7 +70,7 @@ public struct GameCenterAchievementReleaseCreateRequest: Codable, RequestBody { try container.encode(gameCenterDetail, forKey: "gameCenterDetail") } - public struct GameCenterAchievement: Codable { + public struct GameCenterAchievement: Codable, Sendable { public let data: Data public init(data: Data) { @@ -87,7 +87,7 @@ public struct GameCenterAchievementReleaseCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } @@ -111,7 +111,7 @@ public struct GameCenterAchievementReleaseCreateRequest: Codable, RequestBody { } } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { public let data: Data public init(data: Data) { @@ -128,7 +128,7 @@ public struct GameCenterAchievementReleaseCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleaseResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleaseResponse.swift index aed3f8309..5a70a5e97 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleaseResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleaseResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementReleaseResponse: Codable { +public struct GameCenterAchievementReleaseResponse: Codable, Sendable { public let data: GameCenterAchievementRelease public var included: [Included]? public let links: DocumentLinks @@ -50,7 +50,7 @@ public struct GameCenterAchievementReleaseResponse: Codable { }.first { $0.id == data.relationships?.gameCenterDetail?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterAchievement(GameCenterAchievement) case gameCenterDetail(GameCenterDetail) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleasesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleasesResponse.swift index 08efd72ec..b0322af45 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleasesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementReleasesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementReleasesResponse: Codable, PagedResponse { +public struct GameCenterAchievementReleasesResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterAchievementRelease public let data: [GameCenterAchievementRelease] @@ -57,7 +57,7 @@ public struct GameCenterAchievementReleasesResponse: Codable, PagedResponse { }.first { $0.id == gameCenterAchievementRelease.relationships?.gameCenterDetail?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterAchievement(GameCenterAchievement) case gameCenterDetail(GameCenterDetail) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementResponse.swift index 6f7178bb0..0a23fac03 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementResponse: Codable { +public struct GameCenterAchievementResponse: Codable, Sendable { public let data: GameCenterAchievement public var included: [Included]? public let links: DocumentLinks @@ -81,7 +81,7 @@ public struct GameCenterAchievementResponse: Codable { return releases } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterAchievement(GameCenterAchievement) case gameCenterAchievementLocalization(GameCenterAchievementLocalization) case gameCenterAchievementRelease(GameCenterAchievementRelease) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementUpdateRequest.swift index 2c842f777..b6fe50dc9 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementUpdateRequest: Codable, RequestBody { +public struct GameCenterAchievementUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterAchievementUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterAchievementUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var archived: Bool? public var points: Int? public var referenceName: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementsResponse.swift index 723328553..8dfdc8557 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAchievementsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAchievementsResponse: Codable, PagedResponse { +public struct GameCenterAchievementsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterAchievement public let data: [GameCenterAchievement] @@ -88,7 +88,7 @@ public struct GameCenterAchievementsResponse: Codable, PagedResponse { return releases } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterAchievement(GameCenterAchievement) case gameCenterAchievementLocalization(GameCenterAchievementLocalization) case gameCenterAchievementRelease(GameCenterAchievementRelease) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersion.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersion.swift index 0a41bb05a..c3a1bfc2d 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersion.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersion.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAppVersion: Codable, Identifiable { +public struct GameCenterAppVersion: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterAppVersions" } @@ -46,7 +46,7 @@ public struct GameCenterAppVersion: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var enabled: Bool? public init(enabled: Bool? = nil) { @@ -64,7 +64,7 @@ public struct GameCenterAppVersion: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appStoreVersion: AppStoreVersion? public var compatibilityVersions: CompatibilityVersions? @@ -87,7 +87,7 @@ public struct GameCenterAppVersion: Codable, Identifiable { try container.encodeIfPresent(compatibilityVersions, forKey: "compatibilityVersions") } - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -110,7 +110,7 @@ public struct GameCenterAppVersion: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -133,7 +133,7 @@ public struct GameCenterAppVersion: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -158,7 +158,7 @@ public struct GameCenterAppVersion: Codable, Identifiable { } } - public struct CompatibilityVersions: Codable { + public struct CompatibilityVersions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -186,7 +186,7 @@ public struct GameCenterAppVersion: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAppVersions" } @@ -209,7 +209,7 @@ public struct GameCenterAppVersion: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCompatibilityVersionsLinkagesRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCompatibilityVersionsLinkagesRequest.swift index 0ca6d4394..3528c8fcd 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCompatibilityVersionsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCompatibilityVersionsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAppVersionCompatibilityVersionsLinkagesRequest: Codable, RequestBody { +public struct GameCenterAppVersionCompatibilityVersionsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -25,7 +25,7 @@ public struct GameCenterAppVersionCompatibilityVersionsLinkagesRequest: Codable, try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAppVersions" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCompatibilityVersionsLinkagesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCompatibilityVersionsLinkagesResponse.swift index 438527353..29b537e44 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCompatibilityVersionsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCompatibilityVersionsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAppVersionCompatibilityVersionsLinkagesResponse: Codable, PagedResponse { +public struct GameCenterAppVersionCompatibilityVersionsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -36,7 +36,7 @@ public struct GameCenterAppVersionCompatibilityVersionsLinkagesResponse: Codable try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAppVersions" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCreateRequest.swift index caa38c314..521a48bdb 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAppVersionCreateRequest: Codable, RequestBody { +public struct GameCenterAppVersionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterAppVersionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterAppVersions" } public let relationships: Relationships @@ -47,7 +47,7 @@ public struct GameCenterAppVersionCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersion: AppStoreVersion public init(appStoreVersion: AppStoreVersion) { @@ -64,7 +64,7 @@ public struct GameCenterAppVersionCreateRequest: Codable, RequestBody { try container.encode(appStoreVersion, forKey: "appStoreVersion") } - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -81,7 +81,7 @@ public struct GameCenterAppVersionCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionResponse.swift index 9ccc1d284..56eec5e48 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAppVersionResponse: Codable { +public struct GameCenterAppVersionResponse: Codable, Sendable { public let data: GameCenterAppVersion public var included: [Included]? public let links: DocumentLinks @@ -55,7 +55,7 @@ public struct GameCenterAppVersionResponse: Codable { return compatibilityVersions } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appStoreVersion(AppStoreVersion) case gameCenterAppVersion(GameCenterAppVersion) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionUpdateRequest.swift index 2ffac085c..bd8fc174b 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAppVersionUpdateRequest: Codable, RequestBody { +public struct GameCenterAppVersionUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterAppVersionUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAppVersions" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterAppVersionUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var enabled: Bool? public init(enabled: Bool? = nil) { diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionsResponse.swift index c7cfaeb88..c017e63e2 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterAppVersionsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterAppVersionsResponse: Codable, PagedResponse { +public struct GameCenterAppVersionsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterAppVersion public let data: [GameCenterAppVersion] @@ -62,7 +62,7 @@ public struct GameCenterAppVersionsResponse: Codable, PagedResponse { return compatibilityVersions } - public enum Included: Codable { + public enum Included: Codable, Sendable { case appStoreVersion(AppStoreVersion) case gameCenterAppVersion(GameCenterAppVersion) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetail.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetail.swift index ea12b7fce..6cc89c5cc 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetail.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetail.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetail: Codable, Identifiable { +public struct GameCenterDetail: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterDetails" } @@ -46,7 +46,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var arcadeEnabled: Bool? public var challengeEnabled: Bool? @@ -70,7 +70,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var achievementReleases: AchievementReleases? public var app: App? public var defaultGroupLeaderboard: DefaultGroupLeaderboard? @@ -138,7 +138,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(leaderboardSetReleases, forKey: "leaderboardSetReleases") } - public struct AchievementReleases: Codable { + public struct AchievementReleases: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -166,7 +166,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievementReleases" } @@ -189,7 +189,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -214,7 +214,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -237,7 +237,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -260,7 +260,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -285,7 +285,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct DefaultGroupLeaderboard: Codable { + public struct DefaultGroupLeaderboard: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -308,7 +308,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -331,7 +331,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -356,7 +356,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct DefaultLeaderboard: Codable { + public struct DefaultLeaderboard: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -379,7 +379,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -402,7 +402,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -427,7 +427,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct GameCenterAchievements: Codable { + public struct GameCenterAchievements: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -455,7 +455,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } @@ -478,7 +478,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -503,7 +503,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct GameCenterAppVersions: Codable { + public struct GameCenterAppVersions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -531,7 +531,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAppVersions" } @@ -554,7 +554,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -579,7 +579,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct GameCenterGroup: Codable { + public struct GameCenterGroup: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -602,7 +602,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterGroups" } @@ -625,7 +625,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -650,7 +650,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct GameCenterLeaderboardSets: Codable { + public struct GameCenterLeaderboardSets: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -678,7 +678,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } @@ -701,7 +701,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -726,7 +726,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct GameCenterLeaderboards: Codable { + public struct GameCenterLeaderboards: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -754,7 +754,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -777,7 +777,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -802,7 +802,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct LeaderboardReleases: Codable { + public struct LeaderboardReleases: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -830,7 +830,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardReleases" } @@ -853,7 +853,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -878,7 +878,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct LeaderboardSetReleases: Codable { + public struct LeaderboardSetReleases: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -906,7 +906,7 @@ public struct GameCenterDetail: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSetReleases" } @@ -929,7 +929,7 @@ public struct GameCenterDetail: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailCreateRequest.swift index 57b5a33ed..dc7a436f2 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetailCreateRequest: Codable, RequestBody { +public struct GameCenterDetailCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterDetailCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterDetails" } public var attributes: Attributes? public let relationships: Relationships @@ -53,7 +53,7 @@ public struct GameCenterDetailCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var challengeEnabled: Bool? public init(challengeEnabled: Bool? = nil) { @@ -71,7 +71,7 @@ public struct GameCenterDetailCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public init(app: App) { @@ -88,7 +88,7 @@ public struct GameCenterDetailCreateRequest: Codable, RequestBody { try container.encode(app, forKey: "app") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -105,7 +105,7 @@ public struct GameCenterDetailCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterAchievementsLinkagesRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterAchievementsLinkagesRequest.swift index 8b6aa2951..750b642f8 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterAchievementsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterAchievementsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetailGameCenterAchievementsLinkagesRequest: Codable, RequestBody { +public struct GameCenterDetailGameCenterAchievementsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -25,7 +25,7 @@ public struct GameCenterDetailGameCenterAchievementsLinkagesRequest: Codable, Re try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterAchievementsLinkagesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterAchievementsLinkagesResponse.swift index 725d47434..7d626209b 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterAchievementsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterAchievementsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetailGameCenterAchievementsLinkagesResponse: Codable, PagedResponse { +public struct GameCenterDetailGameCenterAchievementsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -36,7 +36,7 @@ public struct GameCenterDetailGameCenterAchievementsLinkagesResponse: Codable, P try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest.swift index 6ba212540..69455cb2e 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest: Codable, RequestBody { +public struct GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -25,7 +25,7 @@ public struct GameCenterDetailGameCenterLeaderboardSetsLinkagesRequest: Codable, try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse.swift index 2ec2873aa..27f44e5e0 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse: Codable, PagedResponse { +public struct GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -36,7 +36,7 @@ public struct GameCenterDetailGameCenterLeaderboardSetsLinkagesResponse: Codable try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardsLinkagesRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardsLinkagesRequest.swift index cfd146acc..1b528aaf2 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetailGameCenterLeaderboardsLinkagesRequest: Codable, RequestBody { +public struct GameCenterDetailGameCenterLeaderboardsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -25,7 +25,7 @@ public struct GameCenterDetailGameCenterLeaderboardsLinkagesRequest: Codable, Re try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardsLinkagesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardsLinkagesResponse.swift index fd2b5f4ff..310da7bc4 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailGameCenterLeaderboardsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetailGameCenterLeaderboardsLinkagesResponse: Codable, PagedResponse { +public struct GameCenterDetailGameCenterLeaderboardsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -36,7 +36,7 @@ public struct GameCenterDetailGameCenterLeaderboardsLinkagesResponse: Codable, P try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailResponse.swift index caf457941..fcc79fb65 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetailResponse: Codable { +public struct GameCenterDetailResponse: Codable, Sendable { public let data: GameCenterDetail public var included: [Included]? public let links: DocumentLinks @@ -148,7 +148,7 @@ public struct GameCenterDetailResponse: Codable { return leaderboardSetReleases } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case gameCenterAchievement(GameCenterAchievement) case gameCenterAchievementRelease(GameCenterAchievementRelease) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailUpdateRequest.swift index 767928d40..013feaf2d 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetailUpdateRequest: Codable, RequestBody { +public struct GameCenterDetailUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterDetailUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } public var attributes: Attributes? @@ -58,7 +58,7 @@ public struct GameCenterDetailUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var challengeEnabled: Bool? public init(challengeEnabled: Bool? = nil) { @@ -76,7 +76,7 @@ public struct GameCenterDetailUpdateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var defaultGroupLeaderboard: DefaultGroupLeaderboard? public var defaultLeaderboard: DefaultLeaderboard? public var gameCenterGroup: GameCenterGroup? @@ -104,7 +104,7 @@ public struct GameCenterDetailUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(gameCenterGroup, forKey: "gameCenterGroup") } - public struct DefaultGroupLeaderboard: Codable { + public struct DefaultGroupLeaderboard: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -121,7 +121,7 @@ public struct GameCenterDetailUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -145,7 +145,7 @@ public struct GameCenterDetailUpdateRequest: Codable, RequestBody { } } - public struct DefaultLeaderboard: Codable { + public struct DefaultLeaderboard: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -162,7 +162,7 @@ public struct GameCenterDetailUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -186,7 +186,7 @@ public struct GameCenterDetailUpdateRequest: Codable, RequestBody { } } - public struct GameCenterGroup: Codable { + public struct GameCenterGroup: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -203,7 +203,7 @@ public struct GameCenterDetailUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterGroups" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailsResponse.swift index 395c6406b..d969855e4 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterDetailsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterDetailsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterDetailsResponse: Codable, PagedResponse { +public struct GameCenterDetailsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterDetail public let data: [GameCenterDetail] @@ -155,7 +155,7 @@ public struct GameCenterDetailsResponse: Codable, PagedResponse { return leaderboardSetReleases } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case gameCenterAchievement(GameCenterAchievement) case gameCenterAchievementRelease(GameCenterAchievementRelease) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroup.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroup.swift index dcba94475..d5899c776 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroup.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroup.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroup: Codable, Identifiable { +public struct GameCenterGroup: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterGroups" } @@ -46,7 +46,7 @@ public struct GameCenterGroup: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var referenceName: String? public init(referenceName: String? = nil) { @@ -64,7 +64,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterAchievements: GameCenterAchievements? public var gameCenterDetails: GameCenterDetails? public var gameCenterLeaderboardSets: GameCenterLeaderboardSets? @@ -97,7 +97,7 @@ public struct GameCenterGroup: Codable, Identifiable { try container.encodeIfPresent(gameCenterLeaderboards, forKey: "gameCenterLeaderboards") } - public struct GameCenterAchievements: Codable { + public struct GameCenterAchievements: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -125,7 +125,7 @@ public struct GameCenterGroup: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } @@ -148,7 +148,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -173,7 +173,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public struct GameCenterDetails: Codable { + public struct GameCenterDetails: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -201,7 +201,7 @@ public struct GameCenterGroup: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -224,7 +224,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -249,7 +249,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public struct GameCenterLeaderboardSets: Codable { + public struct GameCenterLeaderboardSets: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -277,7 +277,7 @@ public struct GameCenterGroup: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } @@ -300,7 +300,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -325,7 +325,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public struct GameCenterLeaderboards: Codable { + public struct GameCenterLeaderboards: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -353,7 +353,7 @@ public struct GameCenterGroup: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -376,7 +376,7 @@ public struct GameCenterGroup: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupCreateRequest.swift index 898718806..862856a5c 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroupCreateRequest: Codable, RequestBody { +public struct GameCenterGroupCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterGroupCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterGroups" } public var attributes: Attributes? @@ -47,7 +47,7 @@ public struct GameCenterGroupCreateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var referenceName: String? public init(referenceName: String? = nil) { diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterAchievementsLinkagesRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterAchievementsLinkagesRequest.swift index 6909b1fe4..2ee875c85 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterAchievementsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterAchievementsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroupGameCenterAchievementsLinkagesRequest: Codable, RequestBody { +public struct GameCenterGroupGameCenterAchievementsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -25,7 +25,7 @@ public struct GameCenterGroupGameCenterAchievementsLinkagesRequest: Codable, Req try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterAchievementsLinkagesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterAchievementsLinkagesResponse.swift index 0f35c8f1e..a67502756 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterAchievementsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterAchievementsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroupGameCenterAchievementsLinkagesResponse: Codable, PagedResponse { +public struct GameCenterGroupGameCenterAchievementsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -36,7 +36,7 @@ public struct GameCenterGroupGameCenterAchievementsLinkagesResponse: Codable, Pa try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterAchievements" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest.swift index ed4473d5c..c779cf7bf 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest: Codable, RequestBody { +public struct GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -25,7 +25,7 @@ public struct GameCenterGroupGameCenterLeaderboardSetsLinkagesRequest: Codable, try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse.swift index e5fb4a494..bdcb8c315 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse: Codable, PagedResponse { +public struct GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -36,7 +36,7 @@ public struct GameCenterGroupGameCenterLeaderboardSetsLinkagesResponse: Codable, try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardsLinkagesRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardsLinkagesRequest.swift index da7d6140a..b80547e5a 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroupGameCenterLeaderboardsLinkagesRequest: Codable, RequestBody { +public struct GameCenterGroupGameCenterLeaderboardsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -25,7 +25,7 @@ public struct GameCenterGroupGameCenterLeaderboardsLinkagesRequest: Codable, Req try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardsLinkagesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardsLinkagesResponse.swift index 2095fd7d2..565392e8f 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupGameCenterLeaderboardsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroupGameCenterLeaderboardsLinkagesResponse: Codable, PagedResponse { +public struct GameCenterGroupGameCenterLeaderboardsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -36,7 +36,7 @@ public struct GameCenterGroupGameCenterLeaderboardsLinkagesResponse: Codable, Pa try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupResponse.swift index 2f5d67546..b7eac69bc 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroupResponse: Codable { +public struct GameCenterGroupResponse: Codable, Sendable { public let data: GameCenterGroup public var included: [Included]? public let links: DocumentLinks @@ -84,7 +84,7 @@ public struct GameCenterGroupResponse: Codable { return gameCenterLeaderboards } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterAchievement(GameCenterAchievement) case gameCenterDetail(GameCenterDetail) case gameCenterLeaderboard(GameCenterLeaderboard) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupUpdateRequest.swift index 9fadd807d..62e09cc1e 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroupUpdateRequest: Codable, RequestBody { +public struct GameCenterGroupUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterGroupUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterGroups" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterGroupUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var referenceName: String? public init(referenceName: String? = nil) { diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupsResponse.swift index 5f18e8264..29ff4bf3e 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterGroupsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterGroupsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterGroupsResponse: Codable, PagedResponse { +public struct GameCenterGroupsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterGroup public let data: [GameCenterGroup] @@ -91,7 +91,7 @@ public struct GameCenterGroupsResponse: Codable, PagedResponse { return gameCenterLeaderboards } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterAchievement(GameCenterAchievement) case gameCenterDetail(GameCenterDetail) case gameCenterLeaderboard(GameCenterLeaderboard) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboard.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboard.swift index 31905b01b..30ff4f03b 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboard.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboard.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboard: Codable, Identifiable { +public struct GameCenterLeaderboard: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterLeaderboards" } @@ -46,7 +46,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var archived: Bool? public var defaultFormatter: GameCenterLeaderboardFormatter? public var recurrenceDuration: String? @@ -114,18 +114,18 @@ public struct GameCenterLeaderboard: Codable, Identifiable { try container.encodeIfPresent(vendorIdentifier, forKey: "vendorIdentifier") } - public enum ScoreSortType: String, Codable, CaseIterable { + public enum ScoreSortType: String, Sendable, Codable, CaseIterable { case asc = "ASC" case desc = "DESC" } - public enum SubmissionType: String, Codable, CaseIterable { + public enum SubmissionType: String, Sendable, Codable, CaseIterable { case bestScore = "BEST_SCORE" case mostRecentScore = "MOST_RECENT_SCORE" } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterDetail: GameCenterDetail? public var gameCenterGroup: GameCenterGroup? public var gameCenterLeaderboardSets: GameCenterLeaderboardSets? @@ -168,7 +168,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { try container.encodeIfPresent(releases, forKey: "releases") } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -191,7 +191,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -214,7 +214,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -239,7 +239,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct GameCenterGroup: Codable { + public struct GameCenterGroup: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -262,7 +262,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterGroups" } @@ -285,7 +285,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -310,7 +310,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct GameCenterLeaderboardSets: Codable { + public struct GameCenterLeaderboardSets: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -338,7 +338,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } @@ -361,7 +361,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -386,7 +386,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct GroupLeaderboard: Codable { + public struct GroupLeaderboard: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -409,7 +409,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -432,7 +432,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -457,7 +457,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct Localizations: Codable { + public struct Localizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -485,7 +485,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardLocalizations" } @@ -508,7 +508,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -533,7 +533,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct Releases: Codable { + public struct Releases: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -561,7 +561,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardReleases" } @@ -584,7 +584,7 @@ public struct GameCenterLeaderboard: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardCreateRequest.swift index 5b25089a3..1fda57053 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardCreateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterLeaderboards" } public let attributes: Attributes public var relationships: Relationships? @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardCreateRequest: Codable, RequestBody { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let defaultFormatter: GameCenterLeaderboardFormatter public var recurrenceDuration: String? public var recurrenceRule: String? @@ -117,7 +117,7 @@ public struct GameCenterLeaderboardCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterDetail: GameCenterDetail? public var gameCenterGroup: GameCenterGroup? public var gameCenterLeaderboardSets: GameCenterLeaderboardSets? @@ -145,7 +145,7 @@ public struct GameCenterLeaderboardCreateRequest: Codable, RequestBody { try container.encodeIfPresent(gameCenterLeaderboardSets, forKey: "gameCenterLeaderboardSets") } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -162,7 +162,7 @@ public struct GameCenterLeaderboardCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -186,7 +186,7 @@ public struct GameCenterLeaderboardCreateRequest: Codable, RequestBody { } } - public struct GameCenterGroup: Codable { + public struct GameCenterGroup: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -203,7 +203,7 @@ public struct GameCenterLeaderboardCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterGroups" } @@ -227,7 +227,7 @@ public struct GameCenterLeaderboardCreateRequest: Codable, RequestBody { } } - public struct GameCenterLeaderboardSets: Codable { + public struct GameCenterLeaderboardSets: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -244,7 +244,7 @@ public struct GameCenterLeaderboardCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmission.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmission.swift index b43551464..ff0383c20 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmission.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmission.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardEntrySubmission: Codable, Identifiable { +public struct GameCenterLeaderboardEntrySubmission: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterLeaderboardEntrySubmissions" } @@ -41,7 +41,7 @@ public struct GameCenterLeaderboardEntrySubmission: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var bundleId: String? public var challengeIds: [String]? public var context: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmissionCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmissionCreateRequest.swift index 30487b3fe..8e527b1d0 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmissionCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmissionCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardEntrySubmissionCreateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardEntrySubmissionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct GameCenterLeaderboardEntrySubmissionCreateRequest: Codable, Reques Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterLeaderboardEntrySubmissions" } public let attributes: Attributes @@ -61,7 +61,7 @@ public struct GameCenterLeaderboardEntrySubmissionCreateRequest: Codable, Reques Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let bundleId: String public var challengeIds: [String]? public var context: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmissionResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmissionResponse.swift index e18ff88e1..a825690fa 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmissionResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardEntrySubmissionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardEntrySubmissionResponse: Codable { +public struct GameCenterLeaderboardEntrySubmissionResponse: Codable, Sendable { public let data: GameCenterLeaderboardEntrySubmission public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardFormatter.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardFormatter.swift index 239ebbcb3..e030c93b8 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardFormatter.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardFormatter.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum GameCenterLeaderboardFormatter: String, Codable, CaseIterable { +public enum GameCenterLeaderboardFormatter: String, Sendable, Codable, CaseIterable { case decimalPoint1Place = "DECIMAL_POINT_1_PLACE" case decimalPoint2Place = "DECIMAL_POINT_2_PLACE" case decimalPoint3Place = "DECIMAL_POINT_3_PLACE" diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift index 9ba89b493..94d9936de 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardGroupLeaderboardLinkageRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardGroupLeaderboardLinkageRequest: Codable, RequestBody { +public struct GameCenterLeaderboardGroupLeaderboardLinkageRequest: Codable, Sendable, RequestBody { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardGroupLeaderboardLinkageRequest: Codable, Requ try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift index 73a71cb64..501e8ca7d 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardGroupLeaderboardLinkageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardGroupLeaderboardLinkageResponse: Codable { +public struct GameCenterLeaderboardGroupLeaderboardLinkageResponse: Codable, Sendable { public let data: Data public let links: DocumentLinks @@ -31,7 +31,7 @@ public struct GameCenterLeaderboardGroupLeaderboardLinkageResponse: Codable { try container.encode(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImage.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImage.swift index 9d571b7c5..eecf7b381 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImage.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImage.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardImage: Codable, Identifiable { +public struct GameCenterLeaderboardImage: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterLeaderboardImages" } @@ -46,7 +46,7 @@ public struct GameCenterLeaderboardImage: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetDeliveryState: AppMediaAssetState? public var fileName: String? public var fileSize: Int? @@ -85,7 +85,7 @@ public struct GameCenterLeaderboardImage: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterLeaderboardLocalization: GameCenterLeaderboardLocalization? public init(gameCenterLeaderboardLocalization: GameCenterLeaderboardLocalization? = nil) { @@ -102,7 +102,7 @@ public struct GameCenterLeaderboardImage: Codable, Identifiable { try container.encodeIfPresent(gameCenterLeaderboardLocalization, forKey: "gameCenterLeaderboardLocalization") } - public struct GameCenterLeaderboardLocalization: Codable { + public struct GameCenterLeaderboardLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -125,7 +125,7 @@ public struct GameCenterLeaderboardImage: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardLocalizations" } @@ -148,7 +148,7 @@ public struct GameCenterLeaderboardImage: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageCreateRequest.swift index c60e6e7ce..13e3ea9e3 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardImageCreateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardImageCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardImageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterLeaderboardImages" } public let attributes: Attributes public let relationships: Relationships @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardImageCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int @@ -77,7 +77,7 @@ public struct GameCenterLeaderboardImageCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let gameCenterLeaderboardLocalization: GameCenterLeaderboardLocalization public init(gameCenterLeaderboardLocalization: GameCenterLeaderboardLocalization) { @@ -94,7 +94,7 @@ public struct GameCenterLeaderboardImageCreateRequest: Codable, RequestBody { try container.encode(gameCenterLeaderboardLocalization, forKey: "gameCenterLeaderboardLocalization") } - public struct GameCenterLeaderboardLocalization: Codable { + public struct GameCenterLeaderboardLocalization: Codable, Sendable { public let data: Data public init(data: Data) { @@ -111,7 +111,7 @@ public struct GameCenterLeaderboardImageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardLocalizations" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageResponse.swift index d131a40ea..5ce5b26c9 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardImageResponse: Codable { +public struct GameCenterLeaderboardImageResponse: Codable, Sendable { public let data: GameCenterLeaderboardImage public var included: [GameCenterLeaderboardLocalization]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageUpdateRequest.swift index a029a78ae..2e4c34bce 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardImageUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardImageUpdateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardImageUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardImageUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardImages" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardImageUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var uploaded: Bool? public init(uploaded: Bool? = nil) { diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalization.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalization.swift index ac26ac96c..c0c32e02e 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalization.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardLocalization: Codable, Identifiable { +public struct GameCenterLeaderboardLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterLeaderboardLocalizations" } @@ -46,7 +46,7 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var formatterOverride: GameCenterLeaderboardFormatter? public var formatterSuffix: String? public var formatterSuffixSingular: String? @@ -85,7 +85,7 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterLeaderboard: GameCenterLeaderboard? public var gameCenterLeaderboardImage: GameCenterLeaderboardImage? @@ -108,7 +108,7 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { try container.encodeIfPresent(gameCenterLeaderboardImage, forKey: "gameCenterLeaderboardImage") } - public struct GameCenterLeaderboard: Codable { + public struct GameCenterLeaderboard: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -131,7 +131,7 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -154,7 +154,7 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -179,7 +179,7 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { } } - public struct GameCenterLeaderboardImage: Codable { + public struct GameCenterLeaderboardImage: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -202,7 +202,7 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardImages" } @@ -225,7 +225,7 @@ public struct GameCenterLeaderboardLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationCreateRequest.swift index d5087f430..f6d68f97d 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardLocalizationCreateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardLocalizationCreateRequest: Codable, RequestBo try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterLeaderboardLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardLocalizationCreateRequest: Codable, RequestBo try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var formatterOverride: GameCenterLeaderboardFormatter? public var formatterSuffix: String? public var formatterSuffixSingular: String? @@ -92,7 +92,7 @@ public struct GameCenterLeaderboardLocalizationCreateRequest: Codable, RequestBo } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let gameCenterLeaderboard: GameCenterLeaderboard public init(gameCenterLeaderboard: GameCenterLeaderboard) { @@ -109,7 +109,7 @@ public struct GameCenterLeaderboardLocalizationCreateRequest: Codable, RequestBo try container.encode(gameCenterLeaderboard, forKey: "gameCenterLeaderboard") } - public struct GameCenterLeaderboard: Codable { + public struct GameCenterLeaderboard: Codable, Sendable { public let data: Data public init(data: Data) { @@ -126,7 +126,7 @@ public struct GameCenterLeaderboardLocalizationCreateRequest: Codable, RequestBo try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationResponse.swift index 2fb3b61a3..906178569 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardLocalizationResponse: Codable { +public struct GameCenterLeaderboardLocalizationResponse: Codable, Sendable { public let data: GameCenterLeaderboardLocalization public var included: [Included]? public let links: DocumentLinks @@ -50,7 +50,7 @@ public struct GameCenterLeaderboardLocalizationResponse: Codable { }.first { $0.id == data.relationships?.gameCenterLeaderboardImage?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterLeaderboard(GameCenterLeaderboard) case gameCenterLeaderboardImage(GameCenterLeaderboardImage) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationUpdateRequest.swift index 154a3dda7..b76c4c480 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardLocalizationUpdateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardLocalizationUpdateRequest: Codable, RequestBo try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardLocalizations" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardLocalizationUpdateRequest: Codable, RequestBo try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var formatterOverride: GameCenterLeaderboardFormatter? public var formatterSuffix: String? public var formatterSuffixSingular: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationsResponse.swift index a1378e322..c3be02a08 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardLocalizationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardLocalizationsResponse: Codable, PagedResponse { +public struct GameCenterLeaderboardLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterLeaderboardLocalization public let data: [GameCenterLeaderboardLocalization] @@ -57,7 +57,7 @@ public struct GameCenterLeaderboardLocalizationsResponse: Codable, PagedResponse }.first { $0.id == gameCenterLeaderboardLocalization.relationships?.gameCenterLeaderboardImage?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterLeaderboard(GameCenterLeaderboard) case gameCenterLeaderboardImage(GameCenterLeaderboardImage) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardRelease.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardRelease.swift index cb3396032..4e537c87c 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardRelease.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardRelease.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardRelease: Codable, Identifiable { +public struct GameCenterLeaderboardRelease: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterLeaderboardReleases" } @@ -46,7 +46,7 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var live: Bool? public init(live: Bool? = nil) { @@ -64,7 +64,7 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterDetail: GameCenterDetail? public var gameCenterLeaderboard: GameCenterLeaderboard? @@ -87,7 +87,7 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { try container.encodeIfPresent(gameCenterLeaderboard, forKey: "gameCenterLeaderboard") } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -110,7 +110,7 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -133,7 +133,7 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -158,7 +158,7 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { } } - public struct GameCenterLeaderboard: Codable { + public struct GameCenterLeaderboard: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -181,7 +181,7 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -204,7 +204,7 @@ public struct GameCenterLeaderboardRelease: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleaseCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleaseCreateRequest.swift index f5857e243..bd413486e 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleaseCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleaseCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardReleaseCreateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardReleaseCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardReleaseCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterLeaderboardReleases" } public let relationships: Relationships @@ -47,7 +47,7 @@ public struct GameCenterLeaderboardReleaseCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let gameCenterDetail: GameCenterDetail public let gameCenterLeaderboard: GameCenterLeaderboard @@ -70,7 +70,7 @@ public struct GameCenterLeaderboardReleaseCreateRequest: Codable, RequestBody { try container.encode(gameCenterLeaderboard, forKey: "gameCenterLeaderboard") } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { public let data: Data public init(data: Data) { @@ -87,7 +87,7 @@ public struct GameCenterLeaderboardReleaseCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -111,7 +111,7 @@ public struct GameCenterLeaderboardReleaseCreateRequest: Codable, RequestBody { } } - public struct GameCenterLeaderboard: Codable { + public struct GameCenterLeaderboard: Codable, Sendable { public let data: Data public init(data: Data) { @@ -128,7 +128,7 @@ public struct GameCenterLeaderboardReleaseCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleaseResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleaseResponse.swift index b42676784..6ebb1c081 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleaseResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleaseResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardReleaseResponse: Codable { +public struct GameCenterLeaderboardReleaseResponse: Codable, Sendable { public let data: GameCenterLeaderboardRelease public var included: [Included]? public let links: DocumentLinks @@ -50,7 +50,7 @@ public struct GameCenterLeaderboardReleaseResponse: Codable { }.first { $0.id == data.relationships?.gameCenterLeaderboard?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterDetail(GameCenterDetail) case gameCenterLeaderboard(GameCenterLeaderboard) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleasesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleasesResponse.swift index a215a177b..3c8531800 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleasesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardReleasesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardReleasesResponse: Codable, PagedResponse { +public struct GameCenterLeaderboardReleasesResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterLeaderboardRelease public let data: [GameCenterLeaderboardRelease] @@ -57,7 +57,7 @@ public struct GameCenterLeaderboardReleasesResponse: Codable, PagedResponse { }.first { $0.id == gameCenterLeaderboardRelease.relationships?.gameCenterLeaderboard?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterDetail(GameCenterDetail) case gameCenterLeaderboard(GameCenterLeaderboard) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardResponse.swift index bc4cd43e2..7e823f826 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardResponse: Codable { +public struct GameCenterLeaderboardResponse: Codable, Sendable { public let data: GameCenterLeaderboard public var included: [Included]? public let links: DocumentLinks @@ -93,7 +93,7 @@ public struct GameCenterLeaderboardResponse: Codable { return releases } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterDetail(GameCenterDetail) case gameCenterGroup(GameCenterGroup) case gameCenterLeaderboard(GameCenterLeaderboard) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSet.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSet.swift index 59d850606..6eedf31cb 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSet.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSet.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSet: Codable, Identifiable { +public struct GameCenterLeaderboardSet: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterLeaderboardSets" } @@ -46,7 +46,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var referenceName: String? public var vendorIdentifier: String? @@ -70,7 +70,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterDetail: GameCenterDetail? public var gameCenterGroup: GameCenterGroup? public var gameCenterLeaderboards: GameCenterLeaderboards? @@ -113,7 +113,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { try container.encodeIfPresent(releases, forKey: "releases") } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -136,7 +136,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -159,7 +159,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -184,7 +184,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct GameCenterGroup: Codable { + public struct GameCenterGroup: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -207,7 +207,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterGroups" } @@ -230,7 +230,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -255,7 +255,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct GameCenterLeaderboards: Codable { + public struct GameCenterLeaderboards: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -283,7 +283,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -306,7 +306,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -331,7 +331,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct GroupLeaderboardSet: Codable { + public struct GroupLeaderboardSet: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -354,7 +354,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } @@ -377,7 +377,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -402,7 +402,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct Localizations: Codable { + public struct Localizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -430,7 +430,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSetLocalizations" } @@ -453,7 +453,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -478,7 +478,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct Releases: Codable { + public struct Releases: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -506,7 +506,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSetReleases" } @@ -529,7 +529,7 @@ public struct GameCenterLeaderboardSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetCreateRequest.swift index fbfd6ed91..2ae1e987f 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetCreateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterLeaderboardSets" } public let attributes: Attributes public var relationships: Relationships? @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable, RequestBody { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let referenceName: String public let vendorIdentifier: String @@ -77,7 +77,7 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterDetail: GameCenterDetail? public var gameCenterGroup: GameCenterGroup? public var gameCenterLeaderboards: GameCenterLeaderboards? @@ -105,7 +105,7 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable, RequestBody { try container.encodeIfPresent(gameCenterLeaderboards, forKey: "gameCenterLeaderboards") } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -122,7 +122,7 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -146,7 +146,7 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable, RequestBody { } } - public struct GameCenterGroup: Codable { + public struct GameCenterGroup: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -163,7 +163,7 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterGroups" } @@ -187,7 +187,7 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable, RequestBody { } } - public struct GameCenterLeaderboards: Codable { + public struct GameCenterLeaderboards: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -204,7 +204,7 @@ public struct GameCenterLeaderboardSetCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest.swift index 72e15067a..4d744ae61 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest: Codable, Sendable, RequestBody { public let data: [Data] public init(data: [Data]) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesRequest: Cod try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse.swift index 7d5dfdb39..85d4f7954 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse: Codable, PagedResponse { +public struct GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -36,7 +36,7 @@ public struct GameCenterLeaderboardSetGameCenterLeaderboardsLinkagesResponse: Co try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift index b271db5ad..fe902bbc5 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest: Codable, Sendable, RequestBody { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetGroupLeaderboardSetLinkageRequest: Codable try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift index 60aa3b392..e85d1c2ef 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse: Codable { +public struct GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse: Codable, Sendable { public let data: Data public let links: DocumentLinks @@ -31,7 +31,7 @@ public struct GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse: Codabl try container.encode(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImage.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImage.swift index 14235fac4..1d9d3c3eb 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImage.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImage.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetImage: Codable, Identifiable { +public struct GameCenterLeaderboardSetImage: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterLeaderboardSetImages" } @@ -46,7 +46,7 @@ public struct GameCenterLeaderboardSetImage: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var assetDeliveryState: AppMediaAssetState? public var fileName: String? public var fileSize: Int? @@ -85,7 +85,7 @@ public struct GameCenterLeaderboardSetImage: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterLeaderboardSetLocalization: GameCenterLeaderboardSetLocalization? public init(gameCenterLeaderboardSetLocalization: GameCenterLeaderboardSetLocalization? = nil) { @@ -102,7 +102,7 @@ public struct GameCenterLeaderboardSetImage: Codable, Identifiable { try container.encodeIfPresent(gameCenterLeaderboardSetLocalization, forKey: "gameCenterLeaderboardSetLocalization") } - public struct GameCenterLeaderboardSetLocalization: Codable { + public struct GameCenterLeaderboardSetLocalization: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -125,7 +125,7 @@ public struct GameCenterLeaderboardSetImage: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSetLocalizations" } @@ -148,7 +148,7 @@ public struct GameCenterLeaderboardSetImage: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageCreateRequest.swift index 8cf4b3a14..a6d339c53 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetImageCreateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetImageCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetImageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterLeaderboardSetImages" } public let attributes: Attributes public let relationships: Relationships @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardSetImageCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let fileName: String public let fileSize: Int @@ -77,7 +77,7 @@ public struct GameCenterLeaderboardSetImageCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let gameCenterLeaderboardSetLocalization: GameCenterLeaderboardSetLocalization public init(gameCenterLeaderboardSetLocalization: GameCenterLeaderboardSetLocalization) { @@ -94,7 +94,7 @@ public struct GameCenterLeaderboardSetImageCreateRequest: Codable, RequestBody { try container.encode(gameCenterLeaderboardSetLocalization, forKey: "gameCenterLeaderboardSetLocalization") } - public struct GameCenterLeaderboardSetLocalization: Codable { + public struct GameCenterLeaderboardSetLocalization: Codable, Sendable { public let data: Data public init(data: Data) { @@ -111,7 +111,7 @@ public struct GameCenterLeaderboardSetImageCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSetLocalizations" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageResponse.swift index 71e0bd288..781d3e397 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetImageResponse: Codable { +public struct GameCenterLeaderboardSetImageResponse: Codable, Sendable { public let data: GameCenterLeaderboardSetImage public var included: [GameCenterLeaderboardSetLocalization]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageUpdateRequest.swift index 14c103dfc..21ef542a1 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetImageUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetImageUpdateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetImageUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetImageUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSetImages" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardSetImageUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var uploaded: Bool? public init(uploaded: Bool? = nil) { diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalization.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalization.swift index 27bc20f4c..5e6b999dd 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalization.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { +public struct GameCenterLeaderboardSetLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterLeaderboardSetLocalizations" } @@ -46,7 +46,7 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var locale: String? public var name: String? @@ -70,7 +70,7 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterLeaderboardSet: GameCenterLeaderboardSet? public var gameCenterLeaderboardSetImage: GameCenterLeaderboardSetImage? @@ -93,7 +93,7 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { try container.encodeIfPresent(gameCenterLeaderboardSetImage, forKey: "gameCenterLeaderboardSetImage") } - public struct GameCenterLeaderboardSet: Codable { + public struct GameCenterLeaderboardSet: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -116,7 +116,7 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } @@ -139,7 +139,7 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -164,7 +164,7 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { } } - public struct GameCenterLeaderboardSetImage: Codable { + public struct GameCenterLeaderboardSetImage: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -187,7 +187,7 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSetImages" } @@ -210,7 +210,7 @@ public struct GameCenterLeaderboardSetLocalization: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationCreateRequest.swift index 6a923363b..4fe2e32b6 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetLocalizationCreateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetLocalizationCreateRequest: Codable, Reques try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterLeaderboardSetLocalizations" } public let attributes: Attributes public let relationships: Relationships @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardSetLocalizationCreateRequest: Codable, Reques try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let locale: String public let name: String @@ -77,7 +77,7 @@ public struct GameCenterLeaderboardSetLocalizationCreateRequest: Codable, Reques } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let gameCenterLeaderboardSet: GameCenterLeaderboardSet public init(gameCenterLeaderboardSet: GameCenterLeaderboardSet) { @@ -94,7 +94,7 @@ public struct GameCenterLeaderboardSetLocalizationCreateRequest: Codable, Reques try container.encode(gameCenterLeaderboardSet, forKey: "gameCenterLeaderboardSet") } - public struct GameCenterLeaderboardSet: Codable { + public struct GameCenterLeaderboardSet: Codable, Sendable { public let data: Data public init(data: Data) { @@ -111,7 +111,7 @@ public struct GameCenterLeaderboardSetLocalizationCreateRequest: Codable, Reques try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationResponse.swift index efc099b40..fb1ea0215 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetLocalizationResponse: Codable { +public struct GameCenterLeaderboardSetLocalizationResponse: Codable, Sendable { public let data: GameCenterLeaderboardSetLocalization public var included: [Included]? public let links: DocumentLinks @@ -50,7 +50,7 @@ public struct GameCenterLeaderboardSetLocalizationResponse: Codable { }.first { $0.id == data.relationships?.gameCenterLeaderboardSetImage?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterLeaderboardSet(GameCenterLeaderboardSet) case gameCenterLeaderboardSetImage(GameCenterLeaderboardSetImage) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationUpdateRequest.swift index 0704ddaa8..078335120 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetLocalizationUpdateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetLocalizationUpdateRequest: Codable, Reques try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSetLocalizations" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardSetLocalizationUpdateRequest: Codable, Reques try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var name: String? public init(name: String? = nil) { diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationsResponse.swift index 123a9fc15..17306212e 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetLocalizationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetLocalizationsResponse: Codable, PagedResponse { +public struct GameCenterLeaderboardSetLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterLeaderboardSetLocalization public let data: [GameCenterLeaderboardSetLocalization] @@ -57,7 +57,7 @@ public struct GameCenterLeaderboardSetLocalizationsResponse: Codable, PagedRespo }.first { $0.id == gameCenterLeaderboardSetLocalization.relationships?.gameCenterLeaderboardSetImage?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterLeaderboardSet(GameCenterLeaderboardSet) case gameCenterLeaderboardSetImage(GameCenterLeaderboardSetImage) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalization.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalization.swift index 328260808..a1335df23 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalization.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable { +public struct GameCenterLeaderboardSetMemberLocalization: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterLeaderboardSetMemberLocalizations" } @@ -46,7 +46,7 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var locale: String? public var name: String? @@ -70,7 +70,7 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterLeaderboard: GameCenterLeaderboard? public var gameCenterLeaderboardSet: GameCenterLeaderboardSet? @@ -93,7 +93,7 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable try container.encodeIfPresent(gameCenterLeaderboardSet, forKey: "gameCenterLeaderboardSet") } - public struct GameCenterLeaderboard: Codable { + public struct GameCenterLeaderboard: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -116,7 +116,7 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -139,7 +139,7 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -164,7 +164,7 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable } } - public struct GameCenterLeaderboardSet: Codable { + public struct GameCenterLeaderboardSet: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -187,7 +187,7 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } @@ -210,7 +210,7 @@ public struct GameCenterLeaderboardSetMemberLocalization: Codable, Identifiable } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationCreateRequest.swift index 2dfacc565..2de43a855 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetMemberLocalizationCreateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetMemberLocalizationCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationCreateRequest: Codable, try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterLeaderboardSetMemberLocalizations" } public var attributes: Attributes? public let relationships: Relationships @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationCreateRequest: Codable, try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var locale: String? public var name: String? @@ -77,7 +77,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationCreateRequest: Codable, } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let gameCenterLeaderboard: GameCenterLeaderboard public let gameCenterLeaderboardSet: GameCenterLeaderboardSet @@ -100,7 +100,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationCreateRequest: Codable, try container.encode(gameCenterLeaderboardSet, forKey: "gameCenterLeaderboardSet") } - public struct GameCenterLeaderboard: Codable { + public struct GameCenterLeaderboard: Codable, Sendable { public let data: Data public init(data: Data) { @@ -117,7 +117,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationCreateRequest: Codable, try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } @@ -141,7 +141,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationCreateRequest: Codable, } } - public struct GameCenterLeaderboardSet: Codable { + public struct GameCenterLeaderboardSet: Codable, Sendable { public let data: Data public init(data: Data) { @@ -158,7 +158,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationCreateRequest: Codable, try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationResponse.swift index 397e08f0e..5e36fa745 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetMemberLocalizationResponse: Codable { +public struct GameCenterLeaderboardSetMemberLocalizationResponse: Codable, Sendable { public let data: GameCenterLeaderboardSetMemberLocalization public var included: [Included]? public let links: DocumentLinks @@ -50,7 +50,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationResponse: Codable { }.first { $0.id == data.relationships?.gameCenterLeaderboardSet?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterLeaderboard(GameCenterLeaderboard) case gameCenterLeaderboardSet(GameCenterLeaderboardSet) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationUpdateRequest.swift index 21cd0721a..890d1ae13 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetMemberLocalizationUpdateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetMemberLocalizationUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationUpdateRequest: Codable, try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSetMemberLocalizations" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationUpdateRequest: Codable, try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var name: String? public init(name: String? = nil) { diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationsResponse.swift index 4829453bf..f92c80320 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetMemberLocalizationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetMemberLocalizationsResponse: Codable, PagedResponse { +public struct GameCenterLeaderboardSetMemberLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterLeaderboardSetMemberLocalization public let data: [GameCenterLeaderboardSetMemberLocalization] @@ -57,7 +57,7 @@ public struct GameCenterLeaderboardSetMemberLocalizationsResponse: Codable, Page }.first { $0.id == gameCenterLeaderboardSetMemberLocalization.relationships?.gameCenterLeaderboardSet?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterLeaderboard(GameCenterLeaderboard) case gameCenterLeaderboardSet(GameCenterLeaderboardSet) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetRelease.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetRelease.swift index 12725d25f..df8b50450 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetRelease.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetRelease.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { +public struct GameCenterLeaderboardSetRelease: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterLeaderboardSetReleases" } @@ -46,7 +46,7 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var live: Bool? public init(live: Bool? = nil) { @@ -64,7 +64,7 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var gameCenterDetail: GameCenterDetail? public var gameCenterLeaderboardSet: GameCenterLeaderboardSet? @@ -87,7 +87,7 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { try container.encodeIfPresent(gameCenterLeaderboardSet, forKey: "gameCenterLeaderboardSet") } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -110,7 +110,7 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -133,7 +133,7 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -158,7 +158,7 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { } } - public struct GameCenterLeaderboardSet: Codable { + public struct GameCenterLeaderboardSet: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -181,7 +181,7 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } @@ -204,7 +204,7 @@ public struct GameCenterLeaderboardSetRelease: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleaseCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleaseCreateRequest.swift index 109fe70d7..f66cd63f2 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleaseCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleaseCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetReleaseCreateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetReleaseCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetReleaseCreateRequest: Codable, RequestBody try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterLeaderboardSetReleases" } public let relationships: Relationships @@ -47,7 +47,7 @@ public struct GameCenterLeaderboardSetReleaseCreateRequest: Codable, RequestBody try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let gameCenterDetail: GameCenterDetail public let gameCenterLeaderboardSet: GameCenterLeaderboardSet @@ -70,7 +70,7 @@ public struct GameCenterLeaderboardSetReleaseCreateRequest: Codable, RequestBody try container.encode(gameCenterLeaderboardSet, forKey: "gameCenterLeaderboardSet") } - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { public let data: Data public init(data: Data) { @@ -87,7 +87,7 @@ public struct GameCenterLeaderboardSetReleaseCreateRequest: Codable, RequestBody try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterDetails" } @@ -111,7 +111,7 @@ public struct GameCenterLeaderboardSetReleaseCreateRequest: Codable, RequestBody } } - public struct GameCenterLeaderboardSet: Codable { + public struct GameCenterLeaderboardSet: Codable, Sendable { public let data: Data public init(data: Data) { @@ -128,7 +128,7 @@ public struct GameCenterLeaderboardSetReleaseCreateRequest: Codable, RequestBody try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleaseResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleaseResponse.swift index 98af61d65..df3bfdace 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleaseResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleaseResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetReleaseResponse: Codable { +public struct GameCenterLeaderboardSetReleaseResponse: Codable, Sendable { public let data: GameCenterLeaderboardSetRelease public var included: [Included]? public let links: DocumentLinks @@ -50,7 +50,7 @@ public struct GameCenterLeaderboardSetReleaseResponse: Codable { }.first { $0.id == data.relationships?.gameCenterLeaderboardSet?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterDetail(GameCenterDetail) case gameCenterLeaderboardSet(GameCenterLeaderboardSet) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleasesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleasesResponse.swift index 549b736dd..a0e213ee8 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleasesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetReleasesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetReleasesResponse: Codable, PagedResponse { +public struct GameCenterLeaderboardSetReleasesResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterLeaderboardSetRelease public let data: [GameCenterLeaderboardSetRelease] @@ -57,7 +57,7 @@ public struct GameCenterLeaderboardSetReleasesResponse: Codable, PagedResponse { }.first { $0.id == gameCenterLeaderboardSetRelease.relationships?.gameCenterLeaderboardSet?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterDetail(GameCenterDetail) case gameCenterLeaderboardSet(GameCenterLeaderboardSet) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetResponse.swift index b2b8ba125..8934fe936 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetResponse: Codable { +public struct GameCenterLeaderboardSetResponse: Codable, Sendable { public let data: GameCenterLeaderboardSet public var included: [Included]? public let links: DocumentLinks @@ -93,7 +93,7 @@ public struct GameCenterLeaderboardSetResponse: Codable { return releases } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterDetail(GameCenterDetail) case gameCenterGroup(GameCenterGroup) case gameCenterLeaderboard(GameCenterLeaderboard) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetUpdateRequest.swift index 5be36eec5..90992f161 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetUpdateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardSetUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardSetUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboardSets" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardSetUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var referenceName: String? public init(referenceName: String? = nil) { diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetsResponse.swift index 31672005f..321ca3f2b 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardSetsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardSetsResponse: Codable, PagedResponse { +public struct GameCenterLeaderboardSetsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterLeaderboardSet public let data: [GameCenterLeaderboardSet] @@ -100,7 +100,7 @@ public struct GameCenterLeaderboardSetsResponse: Codable, PagedResponse { return releases } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterDetail(GameCenterDetail) case gameCenterGroup(GameCenterGroup) case gameCenterLeaderboard(GameCenterLeaderboard) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardUpdateRequest.swift index 5164b2690..ab9e03911 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardUpdateRequest: Codable, RequestBody { +public struct GameCenterLeaderboardUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterLeaderboardUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "gameCenterLeaderboards" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct GameCenterLeaderboardUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var archived: Bool? public var defaultFormatter: GameCenterLeaderboardFormatter? public var recurrenceDuration: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardsResponse.swift index befbbfd98..2affd2c0e 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterLeaderboardsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterLeaderboardsResponse: Codable, PagedResponse { +public struct GameCenterLeaderboardsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterLeaderboard public let data: [GameCenterLeaderboard] @@ -100,7 +100,7 @@ public struct GameCenterLeaderboardsResponse: Codable, PagedResponse { return releases } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterDetail(GameCenterDetail) case gameCenterGroup(GameCenterGroup) case gameCenterLeaderboard(GameCenterLeaderboard) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingAppRequestsV1MetricResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingAppRequestsV1MetricResponse.swift index 48a1105d8..5a563ca9c 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingAppRequestsV1MetricResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingAppRequestsV1MetricResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -43,7 +43,7 @@ public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable, PagedRe Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var dataPoints: DataPoints? public var dimensions: Dimensions? /// The granularity of the data using the ISO 8601 format for durations. @@ -79,7 +79,7 @@ public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable, PagedRe Full documentation: */ - public struct DataPoints: Codable { + public struct DataPoints: Codable, Sendable { /// The time Game Center ends the data collection. public var end: Date? /// The time Game Center starts the data collection. @@ -116,7 +116,7 @@ public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable, PagedRe Full documentation: */ - public struct Values: Codable { + public struct Values: Codable, Sendable { /// The average seconds that match requests are in the queue. public var averageSecondsInQueue: Double? /// The number of match requests in the response. @@ -162,7 +162,7 @@ public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable, PagedRe Full documentation: */ - public struct Dimensions: Codable { + public struct Dimensions: Codable, Sendable { public var result: Result? public init(result: Result? = nil) { @@ -186,7 +186,7 @@ public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable, PagedRe Full documentation: */ - public struct Result: Codable { + public struct Result: Codable, Sendable { public var links: Links? public init(links: Links? = nil) { @@ -210,7 +210,7 @@ public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable, PagedRe Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A string URI representation of the data that Game Center organizes by group. public var groupBy: String? @@ -231,7 +231,7 @@ public struct GameCenterMatchmakingAppRequestsV1MetricResponse: Codable, PagedRe } } - public enum Granularity: String, Codable, CaseIterable { + public enum Granularity: String, Sendable, Codable, CaseIterable { case P1D case PT15M case PT1H diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift index 5142cf8e5..d5d3c064b 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingBooleanRuleResultsV1MetricResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -43,7 +43,7 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var dataPoints: DataPoints? public var dimensions: Dimensions? /// The granularity of the data using the ISO 8601 format for durations. @@ -79,7 +79,7 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, Full documentation: */ - public struct DataPoints: Codable { + public struct DataPoints: Codable, Sendable { /// The time Game Center ends the data collection. public var end: Date? /// The time Game Center starts the data collection. @@ -116,7 +116,7 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, Full documentation: */ - public struct Values: Codable { + public struct Values: Codable, Sendable { /// The number of match requests in the response. public var count: Int? @@ -143,7 +143,7 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, Full documentation: */ - public struct Dimensions: Codable { + public struct Dimensions: Codable, Sendable { public var gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? public var result: Result? @@ -173,7 +173,7 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, Full documentation: */ - public struct GameCenterMatchmakingQueue: Codable { + public struct GameCenterMatchmakingQueue: Codable, Sendable { public var links: Links? public init(links: Links? = nil) { @@ -197,7 +197,7 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A string URI representation of the data that Game Center organizes by group. public var groupBy: String? /// A string URI representation of the related data. @@ -231,7 +231,7 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, Full documentation: */ - public struct Result: Codable { + public struct Result: Codable, Sendable { public var links: Links? public init(links: Links? = nil) { @@ -255,7 +255,7 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A string URI representation of the data that Game Center organizes by group. public var groupBy: String? @@ -276,7 +276,7 @@ public struct GameCenterMatchmakingBooleanRuleResultsV1MetricResponse: Codable, } } - public enum Granularity: String, Codable, CaseIterable { + public enum Granularity: String, Sendable, Codable, CaseIterable { case P1D case PT15M case PT1H diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift index 6558f5fac..870b16100 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingNumberRuleResultsV1MetricResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -43,7 +43,7 @@ public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable, P Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var dataPoints: DataPoints? public var dimensions: Dimensions? /// The granularity of the data using the ISO 8601 format for durations. @@ -79,7 +79,7 @@ public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable, P Full documentation: */ - public struct DataPoints: Codable { + public struct DataPoints: Codable, Sendable { /// The time Game Center ends the data collection. public var end: Date? /// The time Game Center starts the data collection. @@ -116,7 +116,7 @@ public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable, P Full documentation: */ - public struct Values: Codable { + public struct Values: Codable, Sendable { /// The average result of numeric rules. public var averageResult: Double? /// The number of rule results in the response. @@ -162,7 +162,7 @@ public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable, P Full documentation: */ - public struct Dimensions: Codable { + public struct Dimensions: Codable, Sendable { public var gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? public init(gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? = nil) { @@ -186,7 +186,7 @@ public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable, P Full documentation: */ - public struct GameCenterMatchmakingQueue: Codable { + public struct GameCenterMatchmakingQueue: Codable, Sendable { public var links: Links? public init(links: Links? = nil) { @@ -210,7 +210,7 @@ public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable, P Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A string URI representation of the data that Game Center organizes by group. public var groupBy: String? /// A string URI representation of the related data. @@ -238,7 +238,7 @@ public struct GameCenterMatchmakingNumberRuleResultsV1MetricResponse: Codable, P } } - public enum Granularity: String, Codable, CaseIterable { + public enum Granularity: String, Sendable, Codable, CaseIterable { case P1D case PT15M case PT1H diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueue.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueue.swift index e3d18b709..19980f47e 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueue.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueue.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingQueue: Codable, Identifiable { +public struct GameCenterMatchmakingQueue: Codable, Sendable, Identifiable { /// The unique identifier for the rule. public let id: String /// The link representations of the object. @@ -58,7 +58,7 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var classicMatchmakingBundleIds: [String]? /// A name for the queue that’s unique within the scope of your development team. public var referenceName: String? @@ -90,7 +90,7 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var experimentRuleSet: ExperimentRuleSet? public var ruleSet: RuleSet? @@ -120,7 +120,7 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { Full documentation: */ - public struct ExperimentRuleSet: Codable { + public struct ExperimentRuleSet: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -150,7 +150,7 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the rule set. public let id: String /// The type of resource. @@ -182,7 +182,7 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A link object representation of the relationship. public var related: String? /// A string URI representation of the relationship. @@ -216,7 +216,7 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { Full documentation: */ - public struct RuleSet: Codable { + public struct RuleSet: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -246,7 +246,7 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the rule set. public let id: String /// The type of resource. @@ -278,7 +278,7 @@ public struct GameCenterMatchmakingQueue: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A link object representation of the rule set relationship. public var related: String? /// A string URI representation of the rule set relationship. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueCreateRequest.swift index d850bc8c2..75bdaec8d 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingQueueCreateRequest: Codable, RequestBody { +public struct GameCenterMatchmakingQueueCreateRequest: Codable, Sendable, RequestBody { /// The data structure of the request body. public let data: Data @@ -33,7 +33,7 @@ public struct GameCenterMatchmakingQueueCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterMatchmakingQueues" } public let attributes: Attributes public let relationships: Relationships @@ -68,7 +68,7 @@ public struct GameCenterMatchmakingQueueCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var classicMatchmakingBundleIds: [String]? /// A name for the queue that’s unique within the scope of your development team. public let referenceName: String @@ -100,7 +100,7 @@ public struct GameCenterMatchmakingQueueCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The experimental rule set to test the associated rules with live match requests. If you provide an experimental rule set, Game Center processes the match requests in the queue using both the experimental and the required rule set, except that it doesn’t return the results of the experimental rule set to clients. Then compare the results of the experimental rule set with the production rule set using metrics, such as the [List all queues](https://developer.apple.com/documentation/appstoreconnectapi/list_all_queues) and [Read queue information](https://developer.apple.com/documentation/appstoreconnectapi/read_queue_information) endpoints. public var experimentRuleSet: ExperimentRuleSet? /// The rule set to associate with this queue. @@ -132,7 +132,7 @@ public struct GameCenterMatchmakingQueueCreateRequest: Codable, RequestBody { Full documentation: */ - public struct ExperimentRuleSet: Codable { + public struct ExperimentRuleSet: Codable, Sendable { /// The data structure for the experimental rule set. @NullCodable public var data: Data? @@ -157,7 +157,7 @@ public struct GameCenterMatchmakingQueueCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the rule set. public let id: String /// The type of resource. @@ -190,7 +190,7 @@ public struct GameCenterMatchmakingQueueCreateRequest: Codable, RequestBody { Full documentation: */ - public struct RuleSet: Codable { + public struct RuleSet: Codable, Sendable { /// The data structure for the rule set. public let data: Data @@ -215,7 +215,7 @@ public struct GameCenterMatchmakingQueueCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the rule set. public let id: String /// The type of resource. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift index 492388c7b..cd2a6c90c 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueRequestsV1MetricResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -43,7 +43,7 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, Paged Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var dataPoints: DataPoints? public var dimensions: Dimensions? /// The granularity of the data using the ISO 8601 format for durations. @@ -79,7 +79,7 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, Paged Full documentation: */ - public struct DataPoints: Codable { + public struct DataPoints: Codable, Sendable { /// The time Game Center ends the data collection. public var end: Date? /// The time Game Center starts the data collection. @@ -116,7 +116,7 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, Paged Full documentation: */ - public struct Values: Codable { + public struct Values: Codable, Sendable { /// The average seconds that match requests are in the queue. public var averageSecondsInQueue: Double? /// The number of match requests in the queue. @@ -162,7 +162,7 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, Paged Full documentation: */ - public struct Dimensions: Codable { + public struct Dimensions: Codable, Sendable { public var gameCenterDetail: GameCenterDetail? public var result: Result? @@ -192,7 +192,7 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, Paged Full documentation: */ - public struct GameCenterDetail: Codable { + public struct GameCenterDetail: Codable, Sendable { public var links: Links? public init(links: Links? = nil) { @@ -216,7 +216,7 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, Paged Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A string URI representation of the data that Game Center organizes by group. public var groupBy: String? /// A string URI representation of the related data. @@ -250,7 +250,7 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, Paged Full documentation: */ - public struct Result: Codable { + public struct Result: Codable, Sendable { public var links: Links? public init(links: Links? = nil) { @@ -274,7 +274,7 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, Paged Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A string URI representation of the data that Game Center organizes by group. public var groupBy: String? @@ -295,7 +295,7 @@ public struct GameCenterMatchmakingQueueRequestsV1MetricResponse: Codable, Paged } } - public enum Granularity: String, Codable, CaseIterable { + public enum Granularity: String, Sendable, Codable, CaseIterable { case P1D case PT15M case PT1H diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueResponse.swift index 98fc0bfe6..4658502d5 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingQueueResponse: Codable { +public struct GameCenterMatchmakingQueueResponse: Codable, Sendable { /// The queue that you create, modify, or get. public let data: GameCenterMatchmakingQueue /// The rule sets included in the response. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueSizesV1MetricResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueSizesV1MetricResponse.swift index 9b6933641..228f40e99 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueSizesV1MetricResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueSizesV1MetricResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingQueueSizesV1MetricResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingQueueSizesV1MetricResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -43,7 +43,7 @@ public struct GameCenterMatchmakingQueueSizesV1MetricResponse: Codable, PagedRes Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var dataPoints: DataPoints? /// The granularity of the data using the ISO 8601 format for durations. public var granularity: Granularity? @@ -74,7 +74,7 @@ public struct GameCenterMatchmakingQueueSizesV1MetricResponse: Codable, PagedRes Full documentation: */ - public struct DataPoints: Codable { + public struct DataPoints: Codable, Sendable { /// The time Game Center ends the data collection. public var end: Date? /// The time Game Center starts the data collection. @@ -111,7 +111,7 @@ public struct GameCenterMatchmakingQueueSizesV1MetricResponse: Codable, PagedRes Full documentation: */ - public struct Values: Codable { + public struct Values: Codable, Sendable { /// The average number of match requests in the queue. public var averageNumberOfRequests: Double? /// The number of match requests in the queue. @@ -150,7 +150,7 @@ public struct GameCenterMatchmakingQueueSizesV1MetricResponse: Codable, PagedRes } } - public enum Granularity: String, Codable, CaseIterable { + public enum Granularity: String, Sendable, Codable, CaseIterable { case P1D case PT15M case PT1H diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueUpdateRequest.swift index 4a9b546aa..e64ef22e3 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueueUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingQueueUpdateRequest: Codable, RequestBody { +public struct GameCenterMatchmakingQueueUpdateRequest: Codable, Sendable, RequestBody { /// The data structure of the request body. public let data: Data @@ -33,7 +33,7 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the queue. public let id: String /// The type of resource. @@ -75,7 +75,7 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var classicMatchmakingBundleIds: [String]? public init(classicMatchmakingBundleIds: [String]? = nil) { @@ -100,7 +100,7 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// A rule set for testing the queue. public var experimentRuleSet: ExperimentRuleSet? /// The rule set for this queue. @@ -132,7 +132,7 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct ExperimentRuleSet: Codable { + public struct ExperimentRuleSet: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -156,7 +156,7 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the rule set. public let id: String /// The type of resource. @@ -189,7 +189,7 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct RuleSet: Codable { + public struct RuleSet: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -213,7 +213,7 @@ public struct GameCenterMatchmakingQueueUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the rule set. public let id: String /// The type of resource. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueuesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueuesResponse.swift index 7b6e4a53a..25bfae097 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueuesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingQueuesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingQueuesResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingQueuesResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterMatchmakingQueue /// The queues that the endpoint fetches. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRule.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRule.swift index 27fe3917f..9b69392be 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRule.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRule.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRule: Codable, Identifiable { +public struct GameCenterMatchmakingRule: Codable, Sendable, Identifiable { /// The unique identifier for the rule. public let id: String public var links: ResourceLinks? @@ -50,7 +50,7 @@ public struct GameCenterMatchmakingRule: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A human-readable description of the rule. public var description: String? /// Code that returns a Boolean or numeric value that the matchmaking rules algorithm executes to compare or filter match requests. @@ -93,7 +93,7 @@ public struct GameCenterMatchmakingRule: Codable, Identifiable { try container.encodeIfPresent(weight, forKey: "weight") } - public enum AttributesType: String, Codable, CaseIterable { + public enum AttributesType: String, Sendable, Codable, CaseIterable { case compatible = "COMPATIBLE" case distance = "DISTANCE" case match = "MATCH" diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleCreateRequest.swift index e71b3cb16..8565862d7 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleCreateRequest: Codable, RequestBody { +public struct GameCenterMatchmakingRuleCreateRequest: Codable, Sendable, RequestBody { /// The data structure of the request body. public let data: Data @@ -33,7 +33,7 @@ public struct GameCenterMatchmakingRuleCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterMatchmakingRules" } public let attributes: Attributes public let relationships: Relationships @@ -70,7 +70,7 @@ public struct GameCenterMatchmakingRuleCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A human-readable description of the rule. public let description: String /// Code that returns a Boolean or numeric value that the matchmaking rules algorithm executes to compare or filter match requests. @@ -121,7 +121,7 @@ public struct GameCenterMatchmakingRuleCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let ruleSet: RuleSet public init(ruleSet: RuleSet) { @@ -145,7 +145,7 @@ public struct GameCenterMatchmakingRuleCreateRequest: Codable, RequestBody { Full documentation: */ - public struct RuleSet: Codable { + public struct RuleSet: Codable, Sendable { public let data: Data public init(data: Data) { @@ -169,7 +169,7 @@ public struct GameCenterMatchmakingRuleCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the rule set. public let id: String /// The type of resource. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift index 47b600b6b..ee2cb3eab 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleErrorsV1MetricResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -43,7 +43,7 @@ public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable, PagedRes Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var dataPoints: DataPoints? public var dimensions: Dimensions? /// The granularity of the data using the ISO 8601 format for durations. @@ -79,7 +79,7 @@ public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable, PagedRes Full documentation: */ - public struct DataPoints: Codable { + public struct DataPoints: Codable, Sendable { /// The time Game Center ends the data collection. public var end: Date? /// The time Game Center starts the data collection. @@ -116,7 +116,7 @@ public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable, PagedRes Full documentation: */ - public struct Values: Codable { + public struct Values: Codable, Sendable { /// The number of rule errors in the response. public var count: Int? @@ -143,7 +143,7 @@ public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable, PagedRes Full documentation: */ - public struct Dimensions: Codable { + public struct Dimensions: Codable, Sendable { public var gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? public init(gameCenterMatchmakingQueue: GameCenterMatchmakingQueue? = nil) { @@ -167,7 +167,7 @@ public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable, PagedRes Full documentation: */ - public struct GameCenterMatchmakingQueue: Codable { + public struct GameCenterMatchmakingQueue: Codable, Sendable { public var links: Links? public init(links: Links? = nil) { @@ -191,7 +191,7 @@ public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable, PagedRes Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A string URI representation of the data that Game Center organizes by group. public var groupBy: String? /// A string URI representation of the related data. @@ -219,7 +219,7 @@ public struct GameCenterMatchmakingRuleErrorsV1MetricResponse: Codable, PagedRes } } - public enum Granularity: String, Codable, CaseIterable { + public enum Granularity: String, Sendable, Codable, CaseIterable { case P1D case PT15M case PT1H diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleResponse.swift index 81ee19180..da29a85d7 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleResponse: Codable { +public struct GameCenterMatchmakingRuleResponse: Codable, Sendable { /// The rule that you create or modify. public let data: GameCenterMatchmakingRule public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSet.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSet.swift index 9f1ae3fcf..e2281b8ce 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSet.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSet.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { +public struct GameCenterMatchmakingRuleSet: Codable, Sendable, Identifiable { /// The unique identifier for the rule set. public let id: String public var links: ResourceLinks? @@ -57,7 +57,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The maximum number of players who can join the matches that Game Center finds using these rules. public var maxPlayers: Int? /// The minimum number of players who can join the matches that Game Center finds using these rules. @@ -102,7 +102,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The queues belonging to the rule set. public var matchmakingQueues: MatchmakingQueues? /// The rules belonging to the rule set. @@ -140,7 +140,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { Full documentation: */ - public struct MatchmakingQueues: Codable { + public struct MatchmakingQueues: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -175,7 +175,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// A unique identifier for a queue. public let id: String /// The type of resource. @@ -207,7 +207,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A link object representation of the relationship. public var related: String? /// A string URI representation of the relationship. @@ -241,7 +241,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { Full documentation: */ - public struct Rules: Codable { + public struct Rules: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -276,7 +276,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// A unique identifier for a rule. public let id: String /// The type of resource. @@ -308,7 +308,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// A link object representation of the relationship. public var related: String? /// A string URI representation of the relationship. @@ -342,7 +342,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { Full documentation: */ - public struct Teams: Codable { + public struct Teams: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -377,7 +377,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// A unique identifier for a team. public let id: String /// The type of resource. @@ -402,7 +402,7 @@ public struct GameCenterMatchmakingRuleSet: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetCreateRequest.swift index d52a9d073..faccf4c9e 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleSetCreateRequest: Codable, RequestBody { +public struct GameCenterMatchmakingRuleSetCreateRequest: Codable, Sendable, RequestBody { /// The data structure of the request body. public let data: Data @@ -33,7 +33,7 @@ public struct GameCenterMatchmakingRuleSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterMatchmakingRuleSets" } public let attributes: Attributes @@ -65,7 +65,7 @@ public struct GameCenterMatchmakingRuleSetCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The maximum number of players who can join the matches that Game Center finds using these rules. public let maxPlayers: Int /// The minimum number of players who can join the matches that Game Center finds using these rules. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetResponse.swift index c6d918262..2ed5659ec 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleSetResponse: Codable { +public struct GameCenterMatchmakingRuleSetResponse: Codable, Sendable { /// The rule set that you create, modify, or get. public let data: GameCenterMatchmakingRuleSet /// The related objects included in the response. @@ -74,7 +74,7 @@ public struct GameCenterMatchmakingRuleSetResponse: Codable { return teams } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterMatchmakingQueue(GameCenterMatchmakingQueue) case gameCenterMatchmakingRule(GameCenterMatchmakingRule) case gameCenterMatchmakingTeam(GameCenterMatchmakingTeam) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTest.swift index 5a3dc5e9a..dbb76700d 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleSetTest: Codable, Identifiable { +public struct GameCenterMatchmakingRuleSetTest: Codable, Sendable, Identifiable { /// A unique identifier for the rule set. public let id: String /// The link representations of the object. @@ -52,7 +52,7 @@ public struct GameCenterMatchmakingRuleSetTest: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var matchmakingResults: [MatchmakingResults]? public init(matchmakingResults: [MatchmakingResults]? = nil) { @@ -76,7 +76,7 @@ public struct GameCenterMatchmakingRuleSetTest: Codable, Identifiable { Full documentation: */ - public struct MatchmakingResults: Codable { + public struct MatchmakingResults: Codable, Sendable { /// A unique identifier for the request. public var requestName: String? /// The assignments of players to teams. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTestCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTestCreateRequest.swift index b0f71e98a..47ed66f21 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTestCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTestCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleSetTestCreateRequest: Codable, RequestBody { +public struct GameCenterMatchmakingRuleSetTestCreateRequest: Codable, Sendable, RequestBody { /// The data structure for the request body. public let data: Data /// The resource objects that Game Center uses in the test. @@ -40,7 +40,7 @@ public struct GameCenterMatchmakingRuleSetTestCreateRequest: Codable, RequestBod Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterMatchmakingRuleSetTests" } public let relationships: Relationships @@ -69,7 +69,7 @@ public struct GameCenterMatchmakingRuleSetTestCreateRequest: Codable, RequestBod Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let matchmakingRequests: MatchmakingRequests public let matchmakingRuleSet: MatchmakingRuleSet @@ -99,7 +99,7 @@ public struct GameCenterMatchmakingRuleSetTestCreateRequest: Codable, RequestBod Full documentation: */ - public struct MatchmakingRequests: Codable { + public struct MatchmakingRequests: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -123,7 +123,7 @@ public struct GameCenterMatchmakingRuleSetTestCreateRequest: Codable, RequestBod Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The identifier for a ``GameCenterMatchmakingTestRequestInlineCreate`` resource object that you add to the `included` field of the request body. public let id: String /// The type of resource object. @@ -156,7 +156,7 @@ public struct GameCenterMatchmakingRuleSetTestCreateRequest: Codable, RequestBod Full documentation: */ - public struct MatchmakingRuleSet: Codable { + public struct MatchmakingRuleSet: Codable, Sendable { public let data: Data public init(data: Data) { @@ -180,7 +180,7 @@ public struct GameCenterMatchmakingRuleSetTestCreateRequest: Codable, RequestBod Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The identifier for the rule set that appears in the response when you create it. public let id: String /// The type of resource object. @@ -208,7 +208,7 @@ public struct GameCenterMatchmakingRuleSetTestCreateRequest: Codable, RequestBod } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterMatchmakingTestPlayerPropertyInlineCreate(GameCenterMatchmakingTestPlayerPropertyInlineCreate) case gameCenterMatchmakingTestRequestInlineCreate(GameCenterMatchmakingTestRequestInlineCreate) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTestResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTestResponse.swift index 091e82429..d42888d78 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTestResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetTestResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleSetTestResponse: Codable { +public struct GameCenterMatchmakingRuleSetTestResponse: Codable, Sendable { public let data: GameCenterMatchmakingRuleSetTest public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetUpdateRequest.swift index 4cb26eb13..66e1d8408 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleSetUpdateRequest: Codable, RequestBody { +public struct GameCenterMatchmakingRuleSetUpdateRequest: Codable, Sendable, RequestBody { /// The data structure of the request body. public let data: Data @@ -33,7 +33,7 @@ public struct GameCenterMatchmakingRuleSetUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the rule set. public let id: String /// The type of resource. @@ -70,7 +70,7 @@ public struct GameCenterMatchmakingRuleSetUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The maximum number of players who can join the matches that Game Center finds using these rules. public var maxPlayers: Int? /// The minimum number of players who can join the matches that Game Center finds using these rules. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetsResponse.swift index 0a9c6f629..f24e5cb53 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleSetsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleSetsResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingRuleSetsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterMatchmakingRuleSet /// The rule sets that an endpoint gets. @@ -81,7 +81,7 @@ public struct GameCenterMatchmakingRuleSetsResponse: Codable, PagedResponse { return teams } - public enum Included: Codable { + public enum Included: Codable, Sendable { case gameCenterMatchmakingQueue(GameCenterMatchmakingQueue) case gameCenterMatchmakingRule(GameCenterMatchmakingRule) case gameCenterMatchmakingTeam(GameCenterMatchmakingTeam) diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleUpdateRequest.swift index be171f40c..19d8bc478 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRuleUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRuleUpdateRequest: Codable, RequestBody { +public struct GameCenterMatchmakingRuleUpdateRequest: Codable, Sendable, RequestBody { /// The data structure of the request body. public let data: Data @@ -33,7 +33,7 @@ public struct GameCenterMatchmakingRuleUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// A unique identifier for the rule. public let id: String public var type: String { "gameCenterMatchmakingRules" } @@ -69,7 +69,7 @@ public struct GameCenterMatchmakingRuleUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A human-readable description of the rule. public var description: String? /// Code that returns a Boolean or numeric value that the matchmaking rules algorithm executes to compare or filter match requests. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRulesResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRulesResponse.swift index 8efd3ed1b..86d7a06b7 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRulesResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingRulesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingRulesResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingRulesResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterMatchmakingRule /// The rules that the endpoint gets. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingSessionsV1MetricResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingSessionsV1MetricResponse.swift index 380bb00ea..4e865a674 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingSessionsV1MetricResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingSessionsV1MetricResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingSessionsV1MetricResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingSessionsV1MetricResponse: Codable, Sendable, PagedResponse { /// The data structure for the results of a successful matchmaking session. public let data: [Data] public let links: PagedDocumentLinks @@ -44,7 +44,7 @@ public struct GameCenterMatchmakingSessionsV1MetricResponse: Codable, PagedRespo Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var dataPoints: DataPoints? /// The granularity of the data using the ISO 8601 format for durations. public var granularity: Granularity? @@ -68,7 +68,7 @@ public struct GameCenterMatchmakingSessionsV1MetricResponse: Codable, PagedRespo try container.encodeIfPresent(granularity, forKey: "granularity") } - public struct DataPoints: Codable { + public struct DataPoints: Codable, Sendable { public var end: Date? public var start: Date? public var values: Values? @@ -103,7 +103,7 @@ public struct GameCenterMatchmakingSessionsV1MetricResponse: Codable, PagedRespo Full documentation: */ - public struct Values: Codable { + public struct Values: Codable, Sendable { /// The average number of players Game Center finds for the match. public var averagePlayerCount: Double? /// The number of players Game Center finds for the match. @@ -142,7 +142,7 @@ public struct GameCenterMatchmakingSessionsV1MetricResponse: Codable, PagedRespo } } - public enum Granularity: String, Codable, CaseIterable { + public enum Granularity: String, Sendable, Codable, CaseIterable { case P1D case PT15M case PT1H diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeam.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeam.swift index a0a4d76f0..cc5d685cc 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeam.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeam.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingTeam: Codable, Identifiable { +public struct GameCenterMatchmakingTeam: Codable, Sendable, Identifiable { /// The unique identifier for the team. public let id: String /// The link representations of the object. @@ -52,7 +52,7 @@ public struct GameCenterMatchmakingTeam: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The maximum number of players on the team. public var maxPlayers: Int? /// The minimum number of players on the team. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamAssignment.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamAssignment.swift index 5fec1453f..fe866b6bb 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamAssignment.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamAssignment.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingTeamAssignment: Codable { +public struct GameCenterMatchmakingTeamAssignment: Codable, Sendable { /// A unique identifier for the player. public var playerId: String? /// The name of the team that Game Center assigned the player to. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamCreateRequest.swift index aa40cadb6..ee9570064 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingTeamCreateRequest: Codable, RequestBody { +public struct GameCenterMatchmakingTeamCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct GameCenterMatchmakingTeamCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterMatchmakingTeams" } public let attributes: Attributes public let relationships: Relationships @@ -67,7 +67,7 @@ public struct GameCenterMatchmakingTeamCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The maximum number of players on the team. public let maxPlayers: Int /// The minimum number of players on the team. @@ -106,7 +106,7 @@ public struct GameCenterMatchmakingTeamCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let ruleSet: RuleSet public init(ruleSet: RuleSet) { @@ -130,7 +130,7 @@ public struct GameCenterMatchmakingTeamCreateRequest: Codable, RequestBody { Full documentation: */ - public struct RuleSet: Codable { + public struct RuleSet: Codable, Sendable { public let data: Data public init(data: Data) { @@ -154,7 +154,7 @@ public struct GameCenterMatchmakingTeamCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the rule set. public let id: String /// The type of resource. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamResponse.swift index 312c232af..f6a39d495 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingTeamResponse: Codable { +public struct GameCenterMatchmakingTeamResponse: Codable, Sendable { /// The team that you create or modify. public let data: GameCenterMatchmakingTeam /// The link representations of the object. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamUpdateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamUpdateRequest.swift index 3ec9ff044..75f2720ba 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamUpdateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingTeamUpdateRequest: Codable, RequestBody { +public struct GameCenterMatchmakingTeamUpdateRequest: Codable, Sendable, RequestBody { /// The data structure of the request body. public let data: Data @@ -33,7 +33,7 @@ public struct GameCenterMatchmakingTeamUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The unique identifier for the team. public let id: String /// The type of resource object. @@ -70,7 +70,7 @@ public struct GameCenterMatchmakingTeamUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The maximum number of players on the team. public var maxPlayers: Int? /// The minimum number of players on the team. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamsResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamsResponse.swift index 10e801eac..6cf414b56 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamsResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTeamsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingTeamsResponse: Codable, PagedResponse { +public struct GameCenterMatchmakingTeamsResponse: Codable, Sendable, PagedResponse { public typealias Data = GameCenterMatchmakingTeam /// The teams that the endpoint fetches. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTestPlayerPropertyInlineCreate.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTestPlayerPropertyInlineCreate.swift index 03f3e7dc9..7081adda3 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTestPlayerPropertyInlineCreate.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTestPlayerPropertyInlineCreate.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingTestPlayerPropertyInlineCreate: Codable, Identifiable { +public struct GameCenterMatchmakingTestPlayerPropertyInlineCreate: Codable, Sendable, Identifiable { /// The identifier for the resource object. public var id: String? /// The type of the resource object. @@ -46,7 +46,7 @@ public struct GameCenterMatchmakingTestPlayerPropertyInlineCreate: Codable, Iden Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A unique identifier for the player. public let playerId: String /// The key-value pairs representing the game-specific property values. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTestRequestInlineCreate.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTestRequestInlineCreate.swift index b2c9e0d03..1c5624ccd 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTestRequestInlineCreate.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterMatchmakingTestRequestInlineCreate.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterMatchmakingTestRequestInlineCreate: Codable, Identifiable { +public struct GameCenterMatchmakingTestRequestInlineCreate: Codable, Sendable, Identifiable { /// A unique identifier for the match request. public var id: String? /// The type of resource object. @@ -52,7 +52,7 @@ public struct GameCenterMatchmakingTestRequestInlineCreate: Codable, Identifiabl Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The app version of the game that makes the request. public let appVersion: String /// The bundle ID of the game that makes the request. @@ -125,7 +125,7 @@ public struct GameCenterMatchmakingTestRequestInlineCreate: Codable, Identifiabl try container.encode(secondsInQueue, forKey: "secondsInQueue") } - public enum Locale: String, Codable, CaseIterable { + public enum Locale: String, Sendable, Codable, CaseIterable { case AR_SA = "AR-SA" case CA_ES = "CA-ES" case CS_CZ = "CS-CZ" @@ -175,7 +175,7 @@ public struct GameCenterMatchmakingTestRequestInlineCreate: Codable, Identifiabl Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var matchmakingPlayerProperties: MatchmakingPlayerProperties? public init(matchmakingPlayerProperties: MatchmakingPlayerProperties? = nil) { @@ -199,7 +199,7 @@ public struct GameCenterMatchmakingTestRequestInlineCreate: Codable, Identifiabl Full documentation: */ - public struct MatchmakingPlayerProperties: Codable { + public struct MatchmakingPlayerProperties: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -223,7 +223,7 @@ public struct GameCenterMatchmakingTestRequestInlineCreate: Codable, Identifiabl Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The identifier for a ``GameCenterMatchmakingTestPlayerPropertyInlineCreate`` resource object that you add to the `included` field of the request. public let id: String /// The type of resource object. diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmission.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmission.swift index ace30f105..e7dee475d 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmission.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmission.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct GameCenterPlayerAchievementSubmission: Codable, Identifiable { +public struct GameCenterPlayerAchievementSubmission: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "gameCenterPlayerAchievementSubmissions" } @@ -34,7 +34,7 @@ public struct GameCenterPlayerAchievementSubmission: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var bundleId: String? public var challengeIds: [String]? public var percentageAchieved: Int? diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmissionCreateRequest.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmissionCreateRequest.swift index 6af999466..a262f7966 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmissionCreateRequest.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmissionCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterPlayerAchievementSubmissionCreateRequest: Codable, RequestBody { +public struct GameCenterPlayerAchievementSubmissionCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct GameCenterPlayerAchievementSubmissionCreateRequest: Codable, Reque try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "gameCenterPlayerAchievementSubmissions" } public let attributes: Attributes @@ -47,7 +47,7 @@ public struct GameCenterPlayerAchievementSubmissionCreateRequest: Codable, Reque try container.encode(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let bundleId: String public var challengeIds: [String]? public let percentageAchieved: Int diff --git a/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmissionResponse.swift b/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmissionResponse.swift index d814bd369..57066eb94 100644 --- a/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmissionResponse.swift +++ b/Sources/Bagbutik-Models/GameCenter/GameCenterPlayerAchievementSubmissionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct GameCenterPlayerAchievementSubmissionResponse: Codable { +public struct GameCenterPlayerAchievementSubmissionResponse: Codable, Sendable { public let data: GameCenterPlayerAchievementSubmission public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/GameCenter/Location.swift b/Sources/Bagbutik-Models/GameCenter/Location.swift index cc78f969e..33281a61e 100644 --- a/Sources/Bagbutik-Models/GameCenter/Location.swift +++ b/Sources/Bagbutik-Models/GameCenter/Location.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct Location: Codable { +public struct Location: Codable, Sendable { /// The latitude of the location. public var latitude: Double? /// The longitude of the location. diff --git a/Sources/Bagbutik-Models/GameCenter/Property.swift b/Sources/Bagbutik-Models/GameCenter/Property.swift index 49c5adb31..51172bdfd 100644 --- a/Sources/Bagbutik-Models/GameCenter/Property.swift +++ b/Sources/Bagbutik-Models/GameCenter/Property.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct Property: Codable { +public struct Property: Codable, Sendable { /// The name of the property. public var key: String? /// The value for the property. diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomain.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomain.swift index a7ef47a58..8a30fc2e9 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomain.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomain.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionDomain: Codable, Identifiable { +public struct AlternativeDistributionDomain: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "alternativeDistributionDomains" } @@ -48,7 +48,7 @@ public struct AlternativeDistributionDomain: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var createdDate: Date? public var domain: String? public var referenceName: String? diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainCreateRequest.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainCreateRequest.swift index 30d2db5ba..9c89f50da 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainCreateRequest.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionDomainCreateRequest: Codable, RequestBody { +public struct AlternativeDistributionDomainCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct AlternativeDistributionDomainCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "alternativeDistributionDomains" } public let attributes: Attributes @@ -54,7 +54,7 @@ public struct AlternativeDistributionDomainCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let domain: String public let referenceName: String diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainResponse.swift index 467876ff7..3f0ac8c9d 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionDomainResponse: Codable { +public struct AlternativeDistributionDomainResponse: Codable, Sendable { public let data: AlternativeDistributionDomain public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainsResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainsResponse.swift index 6eee37646..6fd370ae3 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainsResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionDomainsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionDomainsResponse: Codable, PagedResponse { +public struct AlternativeDistributionDomainsResponse: Codable, Sendable, PagedResponse { public typealias Data = AlternativeDistributionDomain public let data: [AlternativeDistributionDomain] diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKey.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKey.swift index edc61dd0b..6b838df94 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKey.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKey.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionKey: Codable, Identifiable { +public struct AlternativeDistributionKey: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the alternative distribution key. public let id: String public var links: ResourceLinks? @@ -53,7 +53,7 @@ public struct AlternativeDistributionKey: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// You create this key to establish a marketplace or web distribution app in App Store Connect. To learn more, see [Creating keys and establishing alternative marketplace connections](https://developer.apple.com/documentation/appstoreconnectapi/alternative_marketplaces_and_web_distribution/alternative_distribution_keys/creating_keys_and_establishing_alternative_marketplace_connections) or [Creating and configuring keys for web distribution](https://developer.apple.com/documentation/appstoreconnectapi/alternative_marketplaces_and_web_distribution/alternative_distribution_keys/creating_and_configuring_keys_for_web_distribution). public var publicKey: String? diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeyCreateRequest.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeyCreateRequest.swift index 8b9a8163e..716271979 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeyCreateRequest.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeyCreateRequest.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionKeyCreateRequest: Codable, RequestBody { +public struct AlternativeDistributionKeyCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -27,7 +27,7 @@ public struct AlternativeDistributionKeyCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "alternativeDistributionKeys" } public let attributes: Attributes public var relationships: Relationships? @@ -62,7 +62,7 @@ public struct AlternativeDistributionKeyCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// To learn more about creating this `publicKey `see, [Creating keys and establishing alternative marketplace connections](https://developer.apple.com/documentation/appstoreconnectapi/alternative_marketplaces_and_web_distribution/alternative_distribution_keys/creating_keys_and_establishing_alternative_marketplace_connections) or [Creating and configuring keys for web distribution](https://developer.apple.com/documentation/appstoreconnectapi/alternative_marketplaces_and_web_distribution/alternative_distribution_keys/creating_and_configuring_keys_for_web_distribution). public let publicKey: String @@ -81,7 +81,7 @@ public struct AlternativeDistributionKeyCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public init(app: App? = nil) { @@ -105,7 +105,7 @@ public struct AlternativeDistributionKeyCreateRequest: Codable, RequestBody { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -129,7 +129,7 @@ public struct AlternativeDistributionKeyCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// This is the Apple app ID for the Marketplace app or your web distribution app. An opaque resource ID that uniquely identifies the resource. Obtain the `apps` ID from the [List Apps](https://developer.apple.com/documentation/appstoreconnectapi/list_apps) response. public let id: String public var type: String { "apps" } diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeyResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeyResponse.swift index adb8739e0..4bad43765 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeyResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeyResponse.swift @@ -13,7 +13,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionKeyResponse: Codable { +public struct AlternativeDistributionKeyResponse: Codable, Sendable { public let data: AlternativeDistributionKey public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeysResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeysResponse.swift index 4661aa06c..d18cda436 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeysResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionKeysResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionKeysResponse: Codable, PagedResponse { +public struct AlternativeDistributionKeysResponse: Codable, Sendable, PagedResponse { public typealias Data = AlternativeDistributionKey public let data: [AlternativeDistributionKey] diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackage.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackage.swift index 6d1ff997f..6ef13ccb8 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackage.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackage.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackage: Codable, Identifiable { +public struct AlternativeDistributionPackage: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the alternative distribution package. public let id: String public var links: ResourceLinks? @@ -53,7 +53,7 @@ public struct AlternativeDistributionPackage: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var versions: Versions? public init(versions: Versions? = nil) { @@ -79,7 +79,7 @@ public struct AlternativeDistributionPackage: Codable, Identifiable { Full documentation: */ - public struct Versions: Codable { + public struct Versions: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -116,7 +116,7 @@ public struct AlternativeDistributionPackage: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the alternative distribution package version. public let id: String public var type: String { "alternativeDistributionPackageVersions" } @@ -149,7 +149,7 @@ public struct AlternativeDistributionPackage: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageCreateRequest.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageCreateRequest.swift index 83e03d9eb..e1c1472fd 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageCreateRequest.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageCreateRequest.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageCreateRequest: Codable, RequestBody { +public struct AlternativeDistributionPackageCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -27,7 +27,7 @@ public struct AlternativeDistributionPackageCreateRequest: Codable, RequestBody try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "alternativeDistributionPackages" } public let relationships: Relationships @@ -49,7 +49,7 @@ public struct AlternativeDistributionPackageCreateRequest: Codable, RequestBody try container.encode(relationships, forKey: "relationships") } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let appStoreVersion: AppStoreVersion public init(appStoreVersion: AppStoreVersion) { @@ -66,7 +66,7 @@ public struct AlternativeDistributionPackageCreateRequest: Codable, RequestBody try container.encode(appStoreVersion, forKey: "appStoreVersion") } - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { public let data: Data public init(data: Data) { @@ -83,7 +83,7 @@ public struct AlternativeDistributionPackageCreateRequest: Codable, RequestBody try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDelta.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDelta.swift index 760fd9c0d..43c5bcafb 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDelta.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDelta.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageDelta: Codable, Identifiable { +public struct AlternativeDistributionPackageDelta: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the alternative distribution package delta. public let id: String public var links: ResourceLinks? @@ -44,7 +44,7 @@ public struct AlternativeDistributionPackageDelta: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var alternativeDistributionKeyBlob: String? public var fileChecksum: String? public var url: String? diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDeltaResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDeltaResponse.swift index 78359c9a9..b915668df 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDeltaResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDeltaResponse.swift @@ -13,7 +13,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageDeltaResponse: Codable { +public struct AlternativeDistributionPackageDeltaResponse: Codable, Sendable { public let data: AlternativeDistributionPackageDelta public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDeltasResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDeltasResponse.swift index cf925bfe6..31d5a531a 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDeltasResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageDeltasResponse.swift @@ -13,7 +13,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageDeltasResponse: Codable, PagedResponse { +public struct AlternativeDistributionPackageDeltasResponse: Codable, Sendable, PagedResponse { public typealias Data = AlternativeDistributionPackageDelta public let data: [AlternativeDistributionPackageDelta] diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageResponse.swift index b6a0f3502..e7fddd7c7 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageResponse.swift @@ -13,7 +13,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageResponse: Codable { +public struct AlternativeDistributionPackageResponse: Codable, Sendable { public let data: AlternativeDistributionPackage public var included: [AlternativeDistributionPackageVersion]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariant.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariant.swift index b03d7766c..ec33cd164 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariant.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariant.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageVariant: Codable, Identifiable { +public struct AlternativeDistributionPackageVariant: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the alternative distribution package variant. public let id: String public var links: ResourceLinks? @@ -44,7 +44,7 @@ public struct AlternativeDistributionPackageVariant: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var alternativeDistributionKeyBlob: String? public var fileChecksum: String? public var url: String? diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariantResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariantResponse.swift index 9ba44b6db..4d0100522 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariantResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariantResponse.swift @@ -13,7 +13,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageVariantResponse: Codable { +public struct AlternativeDistributionPackageVariantResponse: Codable, Sendable { public let data: AlternativeDistributionPackageVariant public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariantsResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariantsResponse.swift index 1a0061880..819663cdb 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariantsResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVariantsResponse.swift @@ -13,7 +13,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageVariantsResponse: Codable, PagedResponse { +public struct AlternativeDistributionPackageVariantsResponse: Codable, Sendable, PagedResponse { public typealias Data = AlternativeDistributionPackageVariant public let data: [AlternativeDistributionPackageVariant] diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersion.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersion.swift index bddc46fb1..3e71e5403 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersion.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersion.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageVersion: Codable, Identifiable { +public struct AlternativeDistributionPackageVersion: Codable, Sendable, Identifiable { /// An opaque resource ID that uniquely identifies the alternative distribution package version. public let id: String public var links: ResourceLinks? @@ -49,7 +49,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { try container.encodeIfPresent(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var fileChecksum: String? public var state: State? public var url: String? @@ -87,13 +87,13 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { try container.encodeIfPresent(version, forKey: "version") } - public enum State: String, Codable, CaseIterable { + public enum State: String, Sendable, Codable, CaseIterable { case completed = "COMPLETED" case replaced = "REPLACED" } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var alternativeDistributionPackage: AlternativeDistributionPackage? public var deltas: Deltas? public var variants: Variants? @@ -121,7 +121,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { try container.encodeIfPresent(variants, forKey: "variants") } - public struct AlternativeDistributionPackage: Codable { + public struct AlternativeDistributionPackage: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -144,7 +144,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { try container.encodeIfPresent(links, forKey: "links") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "alternativeDistributionPackages" } @@ -167,7 +167,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -192,7 +192,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { } } - public struct Deltas: Codable { + public struct Deltas: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -220,7 +220,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "alternativeDistributionPackageDeltas" } @@ -243,7 +243,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -268,7 +268,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { } } - public struct Variants: Codable { + public struct Variants: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -296,7 +296,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "alternativeDistributionPackageVariants" } @@ -319,7 +319,7 @@ public struct AlternativeDistributionPackageVersion: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersionResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersionResponse.swift index 3ee931163..b42accf99 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersionResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersionResponse.swift @@ -13,7 +13,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageVersionResponse: Codable { +public struct AlternativeDistributionPackageVersionResponse: Codable, Sendable { public let data: AlternativeDistributionPackageVersion public var included: [Included]? public let links: DocumentLinks @@ -72,7 +72,7 @@ public struct AlternativeDistributionPackageVersionResponse: Codable { return variants } - public enum Included: Codable { + public enum Included: Codable, Sendable { case alternativeDistributionPackage(AlternativeDistributionPackage) case alternativeDistributionPackageDelta(AlternativeDistributionPackageDelta) case alternativeDistributionPackageVariant(AlternativeDistributionPackageVariant) diff --git a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersionsResponse.swift b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersionsResponse.swift index 85d156e77..9dd54e53a 100644 --- a/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersionsResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/AlternativeDistributionPackageVersionsResponse.swift @@ -13,7 +13,7 @@ import Foundation Full documentation: */ -public struct AlternativeDistributionPackageVersionsResponse: Codable, PagedResponse { +public struct AlternativeDistributionPackageVersionsResponse: Codable, Sendable, PagedResponse { public typealias Data = AlternativeDistributionPackageVersion public let data: [AlternativeDistributionPackageVersion] @@ -79,7 +79,7 @@ public struct AlternativeDistributionPackageVersionsResponse: Codable, PagedResp return variants } - public enum Included: Codable { + public enum Included: Codable, Sendable { case alternativeDistributionPackage(AlternativeDistributionPackage) case alternativeDistributionPackageDelta(AlternativeDistributionPackageDelta) case alternativeDistributionPackageVariant(AlternativeDistributionPackageVariant) diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomain.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomain.swift index de46fe7c9..83e4747f0 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomain.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomain.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceDomain: Codable, Identifiable { +public struct MarketplaceDomain: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "marketplaceDomains" } @@ -41,7 +41,7 @@ public struct MarketplaceDomain: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var createdDate: Date? public var domain: String? public var referenceName: String? diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainCreateRequest.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainCreateRequest.swift index 3568c3ee4..f8380cd31 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainCreateRequest.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceDomainCreateRequest: Codable, RequestBody { +public struct MarketplaceDomainCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct MarketplaceDomainCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "marketplaceDomains" } public let attributes: Attributes @@ -47,7 +47,7 @@ public struct MarketplaceDomainCreateRequest: Codable, RequestBody { try container.encode(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let domain: String public let referenceName: String diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainResponse.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainResponse.swift index 6ba597e3f..018c0da8b 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceDomainResponse: Codable { +public struct MarketplaceDomainResponse: Codable, Sendable { public let data: MarketplaceDomain public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainsResponse.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainsResponse.swift index ddb18d580..c722eafed 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainsResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceDomainsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceDomainsResponse: Codable, PagedResponse { +public struct MarketplaceDomainsResponse: Codable, Sendable, PagedResponse { public typealias Data = MarketplaceDomain public let data: [MarketplaceDomain] diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetail.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetail.swift index 9b367e5e3..45e55be7b 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetail.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetail.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceSearchDetail: Codable, Identifiable { +public struct MarketplaceSearchDetail: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "marketplaceSearchDetails" } @@ -41,7 +41,7 @@ public struct MarketplaceSearchDetail: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var catalogUrl: String? public init(catalogUrl: String? = nil) { diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailCreateRequest.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailCreateRequest.swift index 95d9468f9..81dd75ba5 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailCreateRequest.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceSearchDetailCreateRequest: Codable, RequestBody { +public struct MarketplaceSearchDetailCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct MarketplaceSearchDetailCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "marketplaceSearchDetails" } public let attributes: Attributes public let relationships: Relationships @@ -53,7 +53,7 @@ public struct MarketplaceSearchDetailCreateRequest: Codable, RequestBody { try container.encode(relationships, forKey: "relationships") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let catalogUrl: String public init(catalogUrl: String) { @@ -71,7 +71,7 @@ public struct MarketplaceSearchDetailCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public init(app: App) { @@ -88,7 +88,7 @@ public struct MarketplaceSearchDetailCreateRequest: Codable, RequestBody { try container.encode(app, forKey: "app") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -105,7 +105,7 @@ public struct MarketplaceSearchDetailCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailResponse.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailResponse.swift index be172a28c..dc4000e48 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceSearchDetailResponse: Codable { +public struct MarketplaceSearchDetailResponse: Codable, Sendable { public let data: MarketplaceSearchDetail public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailUpdateRequest.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailUpdateRequest.swift index b48387a16..9653dff10 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailUpdateRequest.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceSearchDetailUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceSearchDetailUpdateRequest: Codable, RequestBody { +public struct MarketplaceSearchDetailUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct MarketplaceSearchDetailUpdateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "marketplaceSearchDetails" } public var attributes: Attributes? @@ -53,7 +53,7 @@ public struct MarketplaceSearchDetailUpdateRequest: Codable, RequestBody { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var catalogUrl: String? public init(catalogUrl: String? = nil) { diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhook.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhook.swift index 27a6034dd..6da085b2a 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhook.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhook.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceWebhook: Codable, Identifiable { +public struct MarketplaceWebhook: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "marketplaceWebhooks" } @@ -48,7 +48,7 @@ public struct MarketplaceWebhook: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var endpointUrl: String? public init(endpointUrl: String? = nil) { diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookCreateRequest.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookCreateRequest.swift index 6ce2a3764..5ab3b509b 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookCreateRequest.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceWebhookCreateRequest: Codable, RequestBody { +public struct MarketplaceWebhookCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -25,7 +25,7 @@ public struct MarketplaceWebhookCreateRequest: Codable, RequestBody { try container.encode(data, forKey: "data") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "marketplaceWebhooks" } public let attributes: Attributes @@ -54,7 +54,7 @@ public struct MarketplaceWebhookCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let endpointUrl: String /// An arbitrary string. Alternative marketplaces use this secret string to verify the incoming requests from Apple about changes to apps. For more information about webhook-style validation, see [Github's Validating webhook deliveries](https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries#about-validating-webhook-deliveries).For more information about implementing Hash-based Message Authentication Code (HMAC) security in your notifications webhook, see [Processing alternative app marketplace notifications](https://developer.apple.com/documentation/appdistribution/processing-alternative-marketplace-notifications). public let secret: String diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookResponse.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookResponse.swift index e3d14b14e..9395aba7b 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct MarketplaceWebhookResponse: Codable { +public struct MarketplaceWebhookResponse: Codable, Sendable { public let data: MarketplaceWebhook public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookUpdateRequest.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookUpdateRequest.swift index 5f3c2927a..056a2ceb9 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookUpdateRequest.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhookUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MarketplaceWebhookUpdateRequest: Codable, RequestBody { +public struct MarketplaceWebhookUpdateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -32,7 +32,7 @@ public struct MarketplaceWebhookUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "marketplaceWebhooks" } public var attributes: Attributes? @@ -67,7 +67,7 @@ public struct MarketplaceWebhookUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var endpointUrl: String? /// An arbitrary string. Alternative marketplaces use this secret string to verify the incoming requests from Apple about changes to apps. For more information about webhook-style validation, see [Github's Validating webhook deliveries](https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries#about-validating-webhook-deliveries).For more information about implementing Hash-based Message Authentication Code (HMAC) security in your notifications webhook, see [Processing alternative app marketplace notifications](https://developer.apple.com/documentation/appdistribution/processing-alternative-marketplace-notifications). public var secret: String? diff --git a/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhooksResponse.swift b/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhooksResponse.swift index b00d1beb0..87c5b96dc 100644 --- a/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhooksResponse.swift +++ b/Sources/Bagbutik-Models/Marketplaces/MarketplaceWebhooksResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct MarketplaceWebhooksResponse: Codable, PagedResponse { +public struct MarketplaceWebhooksResponse: Codable, Sendable, PagedResponse { public typealias Data = MarketplaceWebhook public let data: [MarketplaceWebhook] diff --git a/Sources/Bagbutik-Models/Provisioning/BundleId.swift b/Sources/Bagbutik-Models/Provisioning/BundleId.swift index 0ee256311..1cda621bc 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleId.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleId.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BundleId: Codable, Identifiable { +public struct BundleId: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var identifier: String? public var name: String? public var platform: BundleIdPlatform? @@ -99,7 +99,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var bundleIdCapabilities: BundleIdCapabilities? public var profiles: Profiles? @@ -134,7 +134,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -164,7 +164,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -194,7 +194,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -226,7 +226,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct BundleIdCapabilities: Codable { + public struct BundleIdCapabilities: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -261,7 +261,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "bundleIdCapabilities" } @@ -291,7 +291,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -323,7 +323,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct Profiles: Codable { + public struct Profiles: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -358,7 +358,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "profiles" } @@ -388,7 +388,7 @@ public struct BundleId: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilitiesResponse.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilitiesResponse.swift index 9087a0377..6b90af25f 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilitiesResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilitiesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BundleIdCapabilitiesResponse: Codable, PagedResponse { +public struct BundleIdCapabilitiesResponse: Codable, Sendable, PagedResponse { public typealias Data = BundleIdCapability /// The resource data. diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilitiesWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilitiesWithoutIncludesResponse.swift index 2108fcb4d..58cb18adf 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilitiesWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilitiesWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BundleIdCapabilitiesWithoutIncludesResponse: Codable, PagedResponse { +public struct BundleIdCapabilitiesWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = BundleIdCapability public let data: [BundleIdCapability] diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdCapability.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdCapability.swift index cf867dfd4..4a8656a11 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdCapability.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdCapability.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BundleIdCapability: Codable, Identifiable { +public struct BundleIdCapability: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct BundleIdCapability: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var capabilityType: CapabilityType? public var settings: [CapabilitySetting]? diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityCreateRequest.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityCreateRequest.swift index 9a6075116..9978af748 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityCreateRequest.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BundleIdCapabilityCreateRequest: Codable, RequestBody { +public struct BundleIdCapabilityCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BundleIdCapabilityCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "bundleIdCapabilities" } public let attributes: Attributes public let relationships: Relationships @@ -68,7 +68,7 @@ public struct BundleIdCapabilityCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let capabilityType: CapabilityType public var settings: [CapabilitySetting]? @@ -99,7 +99,7 @@ public struct BundleIdCapabilityCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let bundleId: BundleId public init(bundleId: BundleId) { @@ -123,7 +123,7 @@ public struct BundleIdCapabilityCreateRequest: Codable, RequestBody { Full documentation: */ - public struct BundleId: Codable { + public struct BundleId: Codable, Sendable { public let data: Data public init(data: Data) { @@ -147,7 +147,7 @@ public struct BundleIdCapabilityCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "bundleIds" } diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityResponse.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityResponse.swift index b58091fdd..b375701d3 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BundleIdCapabilityResponse: Codable { +public struct BundleIdCapabilityResponse: Codable, Sendable { /// The resource data. public let data: BundleIdCapability /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityUpdateRequest.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityUpdateRequest.swift index b0020c53d..848d5d25f 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityUpdateRequest.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdCapabilityUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BundleIdCapabilityUpdateRequest: Codable, RequestBody { +public struct BundleIdCapabilityUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BundleIdCapabilityUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "bundleIdCapabilities" } public var attributes: Attributes? @@ -68,7 +68,7 @@ public struct BundleIdCapabilityUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var capabilityType: CapabilityType? public var settings: [CapabilitySetting]? diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdCreateRequest.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdCreateRequest.swift index d0cbde3b7..a5a6016d9 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdCreateRequest.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BundleIdCreateRequest: Codable, RequestBody { +public struct BundleIdCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BundleIdCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "bundleIds" } public let attributes: Attributes @@ -62,7 +62,7 @@ public struct BundleIdCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let identifier: String public let name: String public let platform: BundleIdPlatform diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdPlatform.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdPlatform.swift index de8747918..ad40a023d 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdPlatform.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdPlatform.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum BundleIdPlatform: String, ParameterValue, Codable, CaseIterable { +public enum BundleIdPlatform: String, Sendable, ParameterValue, Codable, CaseIterable { /// A string that represents iOS. case iOS = "IOS" /// A string that represents macOS. diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdResponse.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdResponse.swift index a93757080..7111cfa7d 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BundleIdResponse: Codable { +public struct BundleIdResponse: Codable, Sendable { /// The resource data. public let data: BundleId /// The requested relationship data. @@ -70,7 +70,7 @@ public struct BundleIdResponse: Codable { return profiles } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case bundleIdCapability(BundleIdCapability) case profile(Profile) diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdUpdateRequest.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdUpdateRequest.swift index e2c873eaa..e3eafd50b 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdUpdateRequest.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BundleIdUpdateRequest: Codable, RequestBody { +public struct BundleIdUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BundleIdUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "bundleIds" } public var attributes: Attributes? @@ -68,7 +68,7 @@ public struct BundleIdUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var name: String? public init(name: String? = nil) { diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdWithoutIncludesResponse.swift index 3f348958d..133c11041 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BundleIdWithoutIncludesResponse: Codable { +public struct BundleIdWithoutIncludesResponse: Codable, Sendable { public let data: BundleId public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Provisioning/BundleIdsResponse.swift b/Sources/Bagbutik-Models/Provisioning/BundleIdsResponse.swift index 45a90f0ed..07fd6cc9d 100644 --- a/Sources/Bagbutik-Models/Provisioning/BundleIdsResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/BundleIdsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BundleIdsResponse: Codable, PagedResponse { +public struct BundleIdsResponse: Codable, Sendable, PagedResponse { public typealias Data = BundleId /// The resource data. @@ -78,7 +78,7 @@ public struct BundleIdsResponse: Codable, PagedResponse { return profiles } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case bundleIdCapability(BundleIdCapability) case profile(Profile) diff --git a/Sources/Bagbutik-Models/Provisioning/CapabilityOption.swift b/Sources/Bagbutik-Models/Provisioning/CapabilityOption.swift index e2359d115..1f5fe1525 100644 --- a/Sources/Bagbutik-Models/Provisioning/CapabilityOption.swift +++ b/Sources/Bagbutik-Models/Provisioning/CapabilityOption.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CapabilityOption: Codable { +public struct CapabilityOption: Codable, Sendable { public var description: String? public var enabled: Bool? public var enabledByDefault: Bool? @@ -51,7 +51,7 @@ public struct CapabilityOption: Codable { try container.encodeIfPresent(supportsWildcard, forKey: "supportsWildcard") } - public enum Key: String, Codable, CaseIterable { + public enum Key: String, Sendable, Codable, CaseIterable { case completeProtection = "COMPLETE_PROTECTION" case primaryAppConsent = "PRIMARY_APP_CONSENT" case protectedUnlessOpen = "PROTECTED_UNLESS_OPEN" diff --git a/Sources/Bagbutik-Models/Provisioning/CapabilitySetting.swift b/Sources/Bagbutik-Models/Provisioning/CapabilitySetting.swift index 6bc78b035..02992641f 100644 --- a/Sources/Bagbutik-Models/Provisioning/CapabilitySetting.swift +++ b/Sources/Bagbutik-Models/Provisioning/CapabilitySetting.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CapabilitySetting: Codable { +public struct CapabilitySetting: Codable, Sendable { public var allowedInstances: AllowedInstances? public var description: String? public var enabledByDefault: Bool? @@ -61,13 +61,13 @@ public struct CapabilitySetting: Codable { try container.encodeIfPresent(visible, forKey: "visible") } - public enum AllowedInstances: String, Codable, CaseIterable { + public enum AllowedInstances: String, Sendable, Codable, CaseIterable { case entry = "ENTRY" case multiple = "MULTIPLE" case single = "SINGLE" } - public enum Key: String, Codable, CaseIterable { + public enum Key: String, Sendable, Codable, CaseIterable { case appleIdAuthAppConsent = "APPLE_ID_AUTH_APP_CONSENT" case dataProtectionPermissionLevel = "DATA_PROTECTION_PERMISSION_LEVEL" case iCloudVersion = "ICLOUD_VERSION" diff --git a/Sources/Bagbutik-Models/Provisioning/CapabilityType.swift b/Sources/Bagbutik-Models/Provisioning/CapabilityType.swift index b19f6d16f..5d8a50a9c 100644 --- a/Sources/Bagbutik-Models/Provisioning/CapabilityType.swift +++ b/Sources/Bagbutik-Models/Provisioning/CapabilityType.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum CapabilityType: String, Codable, CaseIterable { +public enum CapabilityType: String, Sendable, Codable, CaseIterable { case accessWifiInformation = "ACCESS_WIFI_INFORMATION" case appGroups = "APP_GROUPS" case appleIdAuth = "APPLE_ID_AUTH" diff --git a/Sources/Bagbutik-Models/Provisioning/Certificate.swift b/Sources/Bagbutik-Models/Provisioning/Certificate.swift index 60763d4ec..203884113 100644 --- a/Sources/Bagbutik-Models/Provisioning/Certificate.swift +++ b/Sources/Bagbutik-Models/Provisioning/Certificate.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct Certificate: Codable, Identifiable { +public struct Certificate: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct Certificate: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var certificateContent: String? public var certificateType: CertificateType? public var displayName: String? diff --git a/Sources/Bagbutik-Models/Provisioning/CertificateCreateRequest.swift b/Sources/Bagbutik-Models/Provisioning/CertificateCreateRequest.swift index 4826b6ea6..663368276 100644 --- a/Sources/Bagbutik-Models/Provisioning/CertificateCreateRequest.swift +++ b/Sources/Bagbutik-Models/Provisioning/CertificateCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CertificateCreateRequest: Codable, RequestBody { +public struct CertificateCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct CertificateCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "certificates" } public let attributes: Attributes @@ -62,7 +62,7 @@ public struct CertificateCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let certificateType: CertificateType public let csrContent: String diff --git a/Sources/Bagbutik-Models/Provisioning/CertificateResponse.swift b/Sources/Bagbutik-Models/Provisioning/CertificateResponse.swift index 005a926ba..4264cb6dd 100644 --- a/Sources/Bagbutik-Models/Provisioning/CertificateResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/CertificateResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CertificateResponse: Codable { +public struct CertificateResponse: Codable, Sendable { /// The resource data. public let data: Certificate /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/Provisioning/CertificateType.swift b/Sources/Bagbutik-Models/Provisioning/CertificateType.swift index 45caba056..e62c50348 100644 --- a/Sources/Bagbutik-Models/Provisioning/CertificateType.swift +++ b/Sources/Bagbutik-Models/Provisioning/CertificateType.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum CertificateType: String, ParameterValue, Codable, CaseIterable { +public enum CertificateType: String, Sendable, ParameterValue, Codable, CaseIterable { case developerIdApplication = "DEVELOPER_ID_APPLICATION" case developerIdApplicationG2 = "DEVELOPER_ID_APPLICATION_G2" case developerIdKext = "DEVELOPER_ID_KEXT" diff --git a/Sources/Bagbutik-Models/Provisioning/CertificatesResponse.swift b/Sources/Bagbutik-Models/Provisioning/CertificatesResponse.swift index 422506a37..30b48f7f0 100644 --- a/Sources/Bagbutik-Models/Provisioning/CertificatesResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/CertificatesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CertificatesResponse: Codable, PagedResponse { +public struct CertificatesResponse: Codable, Sendable, PagedResponse { public typealias Data = Certificate /// The resource data. diff --git a/Sources/Bagbutik-Models/Provisioning/CertificatesWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/Provisioning/CertificatesWithoutIncludesResponse.swift index f78734c75..a14d9c9fa 100644 --- a/Sources/Bagbutik-Models/Provisioning/CertificatesWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/CertificatesWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct CertificatesWithoutIncludesResponse: Codable, PagedResponse { +public struct CertificatesWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = Certificate public let data: [Certificate] diff --git a/Sources/Bagbutik-Models/Provisioning/Device.swift b/Sources/Bagbutik-Models/Provisioning/Device.swift index b2af8f381..e0402454f 100644 --- a/Sources/Bagbutik-Models/Provisioning/Device.swift +++ b/Sources/Bagbutik-Models/Provisioning/Device.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct Device: Codable, Identifiable { +public struct Device: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct Device: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var addedDate: Date? public var deviceClass: DeviceClass? public var model: String? @@ -100,7 +100,7 @@ public struct Device: Codable, Identifiable { try container.encodeIfPresent(udid, forKey: "udid") } - public enum DeviceClass: String, Codable, CaseIterable { + public enum DeviceClass: String, Sendable, Codable, CaseIterable { case appleTV = "APPLE_TV" case appleWatch = "APPLE_WATCH" case iPad = "IPAD" @@ -109,7 +109,7 @@ public struct Device: Codable, Identifiable { case mac = "MAC" } - public enum Status: String, ParameterValue, Codable, CaseIterable { + public enum Status: String, Sendable, ParameterValue, Codable, CaseIterable { case disabled = "DISABLED" case enabled = "ENABLED" case processing = "PROCESSING" diff --git a/Sources/Bagbutik-Models/Provisioning/DeviceCreateRequest.swift b/Sources/Bagbutik-Models/Provisioning/DeviceCreateRequest.swift index ec56cd7db..1692d8c5d 100644 --- a/Sources/Bagbutik-Models/Provisioning/DeviceCreateRequest.swift +++ b/Sources/Bagbutik-Models/Provisioning/DeviceCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct DeviceCreateRequest: Codable, RequestBody { +public struct DeviceCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct DeviceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "devices" } public let attributes: Attributes @@ -62,7 +62,7 @@ public struct DeviceCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let name: String public let platform: BundleIdPlatform public let udid: String diff --git a/Sources/Bagbutik-Models/Provisioning/DeviceResponse.swift b/Sources/Bagbutik-Models/Provisioning/DeviceResponse.swift index 4c559efd8..3cec31f2f 100644 --- a/Sources/Bagbutik-Models/Provisioning/DeviceResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/DeviceResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct DeviceResponse: Codable { +public struct DeviceResponse: Codable, Sendable { /// The resource data. public let data: Device /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/Provisioning/DeviceUpdateRequest.swift b/Sources/Bagbutik-Models/Provisioning/DeviceUpdateRequest.swift index 0fe614db1..8c36f8067 100644 --- a/Sources/Bagbutik-Models/Provisioning/DeviceUpdateRequest.swift +++ b/Sources/Bagbutik-Models/Provisioning/DeviceUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct DeviceUpdateRequest: Codable, RequestBody { +public struct DeviceUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct DeviceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "devices" } public var attributes: Attributes? @@ -68,7 +68,7 @@ public struct DeviceUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var name: String? public var status: Device.Attributes.Status? diff --git a/Sources/Bagbutik-Models/Provisioning/DevicesResponse.swift b/Sources/Bagbutik-Models/Provisioning/DevicesResponse.swift index e1156e1b6..ccf80614d 100644 --- a/Sources/Bagbutik-Models/Provisioning/DevicesResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/DevicesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct DevicesResponse: Codable, PagedResponse { +public struct DevicesResponse: Codable, Sendable, PagedResponse { public typealias Data = Device /// The resource data. diff --git a/Sources/Bagbutik-Models/Provisioning/DevicesWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/Provisioning/DevicesWithoutIncludesResponse.swift index 6afc34f54..87b045294 100644 --- a/Sources/Bagbutik-Models/Provisioning/DevicesWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/DevicesWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct DevicesWithoutIncludesResponse: Codable, PagedResponse { +public struct DevicesWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = Device public let data: [Device] diff --git a/Sources/Bagbutik-Models/Provisioning/Profile.swift b/Sources/Bagbutik-Models/Provisioning/Profile.swift index 8ddead672..b17af7327 100644 --- a/Sources/Bagbutik-Models/Provisioning/Profile.swift +++ b/Sources/Bagbutik-Models/Provisioning/Profile.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct Profile: Codable, Identifiable { +public struct Profile: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var createdDate: Date? public var expirationDate: Date? public var name: String? @@ -111,12 +111,12 @@ public struct Profile: Codable, Identifiable { try container.encodeIfPresent(uuid, forKey: "uuid") } - public enum ProfileState: String, ParameterValue, Codable, CaseIterable { + public enum ProfileState: String, Sendable, ParameterValue, Codable, CaseIterable { case active = "ACTIVE" case invalid = "INVALID" } - public enum ProfileType: String, ParameterValue, Codable, CaseIterable { + public enum ProfileType: String, Sendable, ParameterValue, Codable, CaseIterable { case iOSAppAdhoc = "IOS_APP_ADHOC" case iOSAppDevelopment = "IOS_APP_DEVELOPMENT" case iOSAppInhouse = "IOS_APP_INHOUSE" @@ -141,7 +141,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var bundleId: BundleId? public var certificates: Certificates? public var devices: Devices? @@ -176,7 +176,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct BundleId: Codable { + public struct BundleId: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -206,7 +206,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "bundleIds" } @@ -236,7 +236,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -268,7 +268,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct Certificates: Codable { + public struct Certificates: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -303,7 +303,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "certificates" } @@ -333,7 +333,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -365,7 +365,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct Devices: Codable { + public struct Devices: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -400,7 +400,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "devices" } @@ -430,7 +430,7 @@ public struct Profile: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/Provisioning/ProfileCreateRequest.swift b/Sources/Bagbutik-Models/Provisioning/ProfileCreateRequest.swift index 3356edff0..a096b1b39 100644 --- a/Sources/Bagbutik-Models/Provisioning/ProfileCreateRequest.swift +++ b/Sources/Bagbutik-Models/Provisioning/ProfileCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ProfileCreateRequest: Codable, RequestBody { +public struct ProfileCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct ProfileCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "profiles" } public let attributes: Attributes public let relationships: Relationships @@ -68,7 +68,7 @@ public struct ProfileCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public let name: String public let profileType: Profile.Attributes.ProfileType @@ -99,7 +99,7 @@ public struct ProfileCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let bundleId: BundleId public let certificates: Certificates public var devices: Devices? @@ -134,7 +134,7 @@ public struct ProfileCreateRequest: Codable, RequestBody { Full documentation: */ - public struct BundleId: Codable { + public struct BundleId: Codable, Sendable { public let data: Data public init(data: Data) { @@ -158,7 +158,7 @@ public struct ProfileCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "bundleIds" } @@ -189,7 +189,7 @@ public struct ProfileCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Certificates: Codable { + public struct Certificates: Codable, Sendable { public let data: [Data] public init(data: [Data]) { @@ -213,7 +213,7 @@ public struct ProfileCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "certificates" } @@ -244,7 +244,7 @@ public struct ProfileCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Devices: Codable { + public struct Devices: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -268,7 +268,7 @@ public struct ProfileCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "devices" } diff --git a/Sources/Bagbutik-Models/Provisioning/ProfileResponse.swift b/Sources/Bagbutik-Models/Provisioning/ProfileResponse.swift index 203599632..1302034f3 100644 --- a/Sources/Bagbutik-Models/Provisioning/ProfileResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/ProfileResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ProfileResponse: Codable { +public struct ProfileResponse: Codable, Sendable { /// The resource data. public let data: Profile public var included: [Included]? @@ -69,7 +69,7 @@ public struct ProfileResponse: Codable { return devices } - public enum Included: Codable { + public enum Included: Codable, Sendable { case bundleId(BundleId) case certificate(Certificate) case device(Device) diff --git a/Sources/Bagbutik-Models/Provisioning/ProfilesResponse.swift b/Sources/Bagbutik-Models/Provisioning/ProfilesResponse.swift index d2ef47923..19221886f 100644 --- a/Sources/Bagbutik-Models/Provisioning/ProfilesResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/ProfilesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ProfilesResponse: Codable, PagedResponse { +public struct ProfilesResponse: Codable, Sendable, PagedResponse { public typealias Data = Profile /// The resource data. @@ -77,7 +77,7 @@ public struct ProfilesResponse: Codable, PagedResponse { return devices } - public enum Included: Codable { + public enum Included: Codable, Sendable { case bundleId(BundleId) case certificate(Certificate) case device(Device) diff --git a/Sources/Bagbutik-Models/Provisioning/ProfilesWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/Provisioning/ProfilesWithoutIncludesResponse.swift index 0274307e9..bbcafb57e 100644 --- a/Sources/Bagbutik-Models/Provisioning/ProfilesWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/Provisioning/ProfilesWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct ProfilesWithoutIncludesResponse: Codable, PagedResponse { +public struct ProfilesWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = Profile public let data: [Profile] diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReport.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReport.swift index ff2114892..f7fbb4914 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReport.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReport.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReport: Codable, Identifiable { +public struct AnalyticsReport: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "analyticsReports" } @@ -43,7 +43,7 @@ public struct AnalyticsReport: Codable, Identifiable { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var category: Category? public var name: String? @@ -66,7 +66,7 @@ public struct AnalyticsReport: Codable, Identifiable { try container.encodeIfPresent(name, forKey: "name") } - public enum Category: String, Codable, CaseIterable { + public enum Category: String, Sendable, Codable, CaseIterable { case appStoreEngagement = "APP_STORE_ENGAGEMENT" case appUsage = "APP_USAGE" case commerce = "COMMERCE" diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstance.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstance.swift index 8e7a93f64..048c1a684 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstance.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstance.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportInstance: Codable, Identifiable { +public struct AnalyticsReportInstance: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "analyticsReportInstances" } @@ -50,7 +50,7 @@ public struct AnalyticsReportInstance: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var granularity: Granularity? /// Uses the [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) standard, in the format `YYYY-MM-DD.` public var processingDate: String? @@ -74,7 +74,7 @@ public struct AnalyticsReportInstance: Codable, Identifiable { try container.encodeIfPresent(processingDate, forKey: "processingDate") } - public enum Granularity: String, Codable, CaseIterable { + public enum Granularity: String, Sendable, Codable, CaseIterable { case daily = "DAILY" case monthly = "MONTHLY" case weekly = "WEEKLY" diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstanceResponse.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstanceResponse.swift index fd6115c4e..50117f409 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstanceResponse.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstanceResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportInstanceResponse: Codable { +public struct AnalyticsReportInstanceResponse: Codable, Sendable { public let data: AnalyticsReportInstance public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstancesResponse.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstancesResponse.swift index c258a1e8d..15c8b3844 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstancesResponse.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportInstancesResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportInstancesResponse: Codable, PagedResponse { +public struct AnalyticsReportInstancesResponse: Codable, Sendable, PagedResponse { public typealias Data = AnalyticsReportInstance public let data: [AnalyticsReportInstance] diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequest.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequest.swift index 5f06743c4..670728c1f 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequest.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequest.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportRequest: Codable, Identifiable, RequestBody { +public struct AnalyticsReportRequest: Codable, Sendable, Identifiable, RequestBody { public let id: String public var links: ResourceLinks? public var type: String { "analyticsReportRequests" } @@ -55,7 +55,7 @@ public struct AnalyticsReportRequest: Codable, Identifiable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var accessType: AccessType? public var stoppedDueToInactivity: Bool? @@ -78,13 +78,13 @@ public struct AnalyticsReportRequest: Codable, Identifiable, RequestBody { try container.encodeIfPresent(stoppedDueToInactivity, forKey: "stoppedDueToInactivity") } - public enum AccessType: String, Codable, CaseIterable { + public enum AccessType: String, Sendable, Codable, CaseIterable { case oneTimeSnapshot = "ONE_TIME_SNAPSHOT" case ongoing = "ONGOING" } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var reports: Reports? public init(reports: Reports? = nil) { @@ -101,7 +101,7 @@ public struct AnalyticsReportRequest: Codable, Identifiable, RequestBody { try container.encodeIfPresent(reports, forKey: "reports") } - public struct Reports: Codable { + public struct Reports: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -136,7 +136,7 @@ public struct AnalyticsReportRequest: Codable, Identifiable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "analyticsReports" } @@ -166,7 +166,7 @@ public struct AnalyticsReportRequest: Codable, Identifiable, RequestBody { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestCreateRequest.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestCreateRequest.swift index 280fa93b4..67a78f57b 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestCreateRequest.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestCreateRequest.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportRequestCreateRequest: Codable, RequestBody { +public struct AnalyticsReportRequestCreateRequest: Codable, Sendable, RequestBody { public let data: Data public init(data: Data) { @@ -34,7 +34,7 @@ public struct AnalyticsReportRequestCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { public var type: String { "analyticsReportRequests" } public let attributes: Attributes public let relationships: Relationships @@ -69,7 +69,7 @@ public struct AnalyticsReportRequestCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The `accessType` `ONGOING` provides current data and is the most typical. It generates reports daily, weekly and monthly. Use `ONE_TIME_SNAPSHOT` to get historical data. public let accessType: AnalyticsReportRequest.Attributes.AccessType @@ -88,7 +88,7 @@ public struct AnalyticsReportRequestCreateRequest: Codable, RequestBody { } } - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public init(app: App) { @@ -105,7 +105,7 @@ public struct AnalyticsReportRequestCreateRequest: Codable, RequestBody { try container.encode(app, forKey: "app") } - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -129,7 +129,7 @@ public struct AnalyticsReportRequestCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the Apps resource. Obtain the app resource ID from the [List Apps](https://developer.apple.com/documentation/appstoreconnectapi/list_apps) response. public let id: String public var type: String { "apps" } diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestResponse.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestResponse.swift index 2b40b6e75..7f91c481d 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestResponse.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportRequestResponse: Codable { +public struct AnalyticsReportRequestResponse: Codable, Sendable { public let data: AnalyticsReportRequest public var included: [AnalyticsReport]? public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestsResponse.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestsResponse.swift index 5234b68bc..5e12607ae 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestsResponse.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportRequestsResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportRequestsResponse: Codable, PagedResponse { +public struct AnalyticsReportRequestsResponse: Codable, Sendable, PagedResponse { public typealias Data = AnalyticsReportRequest public let data: [AnalyticsReportRequest] diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportResponse.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportResponse.swift index 158acb7a5..6e8ae7a6b 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportResponse.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportResponse: Codable { +public struct AnalyticsReportResponse: Codable, Sendable { public let data: AnalyticsReport public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegment.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegment.swift index b4bde879e..ea1b87621 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegment.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegment.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportSegment: Codable, Identifiable { +public struct AnalyticsReportSegment: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "analyticsReportSegments" } @@ -50,7 +50,7 @@ public struct AnalyticsReportSegment: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// This is a `md5` checksum. public var checksum: String? public var sizeInBytes: Int? diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegmentResponse.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegmentResponse.swift index c4f353ac5..e1a176314 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegmentResponse.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegmentResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportSegmentResponse: Codable { +public struct AnalyticsReportSegmentResponse: Codable, Sendable { public let data: AnalyticsReportSegment public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegmentsResponse.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegmentsResponse.swift index b2113e229..7f35044c5 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegmentsResponse.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportSegmentsResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportSegmentsResponse: Codable, PagedResponse { +public struct AnalyticsReportSegmentsResponse: Codable, Sendable, PagedResponse { public typealias Data = AnalyticsReportSegment public let data: [AnalyticsReportSegment] diff --git a/Sources/Bagbutik-Models/Reporting/AnalyticsReportsResponse.swift b/Sources/Bagbutik-Models/Reporting/AnalyticsReportsResponse.swift index 9aaf59c92..7e9b211dc 100644 --- a/Sources/Bagbutik-Models/Reporting/AnalyticsReportsResponse.swift +++ b/Sources/Bagbutik-Models/Reporting/AnalyticsReportsResponse.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public struct AnalyticsReportsResponse: Codable, PagedResponse { +public struct AnalyticsReportsResponse: Codable, Sendable, PagedResponse { public typealias Data = AnalyticsReport public let data: [AnalyticsReport] diff --git a/Sources/Bagbutik-Models/Reporting/DiagnosticInsight.swift b/Sources/Bagbutik-Models/Reporting/DiagnosticInsight.swift index 547c3290e..f30957fb9 100644 --- a/Sources/Bagbutik-Models/Reporting/DiagnosticInsight.swift +++ b/Sources/Bagbutik-Models/Reporting/DiagnosticInsight.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct DiagnosticInsight: Codable { +public struct DiagnosticInsight: Codable, Sendable { public var direction: DiagnosticInsightDirection? public var insightType: DiagnosticInsightType? public var referenceVersions: [ReferenceVersions]? @@ -36,7 +36,7 @@ public struct DiagnosticInsight: Codable { try container.encodeIfPresent(referenceVersions, forKey: "referenceVersions") } - public struct ReferenceVersions: Codable { + public struct ReferenceVersions: Codable, Sendable { public var value: Double? public var version: String? diff --git a/Sources/Bagbutik-Models/Reporting/DiagnosticInsightDirection.swift b/Sources/Bagbutik-Models/Reporting/DiagnosticInsightDirection.swift index c8de706f5..a800a0368 100644 --- a/Sources/Bagbutik-Models/Reporting/DiagnosticInsightDirection.swift +++ b/Sources/Bagbutik-Models/Reporting/DiagnosticInsightDirection.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum DiagnosticInsightDirection: String, Codable, CaseIterable { +public enum DiagnosticInsightDirection: String, Sendable, Codable, CaseIterable { /// The impact of this signature has progressed in the current version compared to previous versions. case down = "DOWN" /// No significant change in impact of this signature in the current version compared to previous versions. diff --git a/Sources/Bagbutik-Models/Reporting/DiagnosticInsightType.swift b/Sources/Bagbutik-Models/Reporting/DiagnosticInsightType.swift index 0d71b4302..b40a7a28e 100644 --- a/Sources/Bagbutik-Models/Reporting/DiagnosticInsightType.swift +++ b/Sources/Bagbutik-Models/Reporting/DiagnosticInsightType.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum DiagnosticInsightType: String, Codable, CaseIterable { +public enum DiagnosticInsightType: String, Sendable, Codable, CaseIterable { /// Represents an insight type that indicates how the impact of signatures has changed between the current version and previous versions. case trend = "TREND" } diff --git a/Sources/Bagbutik-Models/Reporting/DiagnosticLog.swift b/Sources/Bagbutik-Models/Reporting/DiagnosticLog.swift index 5ac506e57..13035c38e 100644 --- a/Sources/Bagbutik-Models/Reporting/DiagnosticLog.swift +++ b/Sources/Bagbutik-Models/Reporting/DiagnosticLog.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct DiagnosticLog: Codable, Identifiable { +public struct DiagnosticLog: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "diagnosticLogs" } diff --git a/Sources/Bagbutik-Models/Reporting/DiagnosticLogCallStackNode.swift b/Sources/Bagbutik-Models/Reporting/DiagnosticLogCallStackNode.swift index 923fb78e6..6b22a4887 100644 --- a/Sources/Bagbutik-Models/Reporting/DiagnosticLogCallStackNode.swift +++ b/Sources/Bagbutik-Models/Reporting/DiagnosticLogCallStackNode.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct DiagnosticLogCallStackNode: Codable { +public struct DiagnosticLogCallStackNode: Codable, Sendable { /// The memory address of the frame. public var address: String? /// The name of the binary responsible for the frame. diff --git a/Sources/Bagbutik-Models/Reporting/DiagnosticLogs.swift b/Sources/Bagbutik-Models/Reporting/DiagnosticLogs.swift index 90241cb11..8ff661a10 100644 --- a/Sources/Bagbutik-Models/Reporting/DiagnosticLogs.swift +++ b/Sources/Bagbutik-Models/Reporting/DiagnosticLogs.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct DiagnosticLogs: Codable { +public struct DiagnosticLogs: Codable, Sendable { /// An array of log data for a specific diagnostic signature. public var productData: [ProductData]? /// The version of the App Store Connect API. @@ -40,7 +40,7 @@ public struct DiagnosticLogs: Codable { Full documentation: */ - public struct ProductData: Codable { + public struct ProductData: Codable, Sendable { /// An array of insights for a diagnostic signature. public var diagnosticInsights: [DiagnosticInsights]? /// An array of logs associated with a diagnostic signature. @@ -78,7 +78,7 @@ public struct DiagnosticLogs: Codable { Full documentation: */ - public struct DiagnosticInsights: Codable { + public struct DiagnosticInsights: Codable, Sendable { /// The insight type. public var insightsCategory: String? /// The human-readable description of the insight. @@ -117,7 +117,7 @@ public struct DiagnosticLogs: Codable { Full documentation: */ - public struct DiagnosticLogs: Codable { + public struct DiagnosticLogs: Codable, Sendable { /// The call stack representation of the diagnostic log. public var callStackTree: [CallStackTree]? /// Information about the diagnostic log the system captured. @@ -149,7 +149,7 @@ public struct DiagnosticLogs: Codable { Full documentation: */ - public struct CallStackTree: Codable { + public struct CallStackTree: Codable, Sendable { /// A Boolean value that indicates whether the call stack representation supports multiple threads. public var callStackPerThread: Bool? /// The call stack representation of the diagnostic log. @@ -181,7 +181,7 @@ public struct DiagnosticLogs: Codable { Full documentation: */ - public struct CallStacks: Codable { + public struct CallStacks: Codable, Sendable { /// An array of the root call stack frames that make up the diagnostic log. public var callStackRootFrames: [DiagnosticLogCallStackNode]? @@ -208,7 +208,7 @@ public struct DiagnosticLogs: Codable { Full documentation: */ - public struct DiagnosticMetaData: Codable { + public struct DiagnosticMetaData: Codable, Sendable { /// The app version. public var appVersion: String? /// The app build version. diff --git a/Sources/Bagbutik-Models/Reporting/DiagnosticSignature.swift b/Sources/Bagbutik-Models/Reporting/DiagnosticSignature.swift index 34af31280..b5692b344 100644 --- a/Sources/Bagbutik-Models/Reporting/DiagnosticSignature.swift +++ b/Sources/Bagbutik-Models/Reporting/DiagnosticSignature.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct DiagnosticSignature: Codable, Identifiable { +public struct DiagnosticSignature: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a diagnostic signature. public let id: String /// Navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct DiagnosticSignature: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The diagnostic type. public var diagnosticType: DiagnosticType? public var insight: DiagnosticInsight? @@ -88,7 +88,7 @@ public struct DiagnosticSignature: Codable, Identifiable { try container.encodeIfPresent(weight, forKey: "weight") } - public enum DiagnosticType: String, Codable, CaseIterable { + public enum DiagnosticType: String, Sendable, Codable, CaseIterable { case diskWrites = "DISK_WRITES" case hangs = "HANGS" case launches = "LAUNCHES" diff --git a/Sources/Bagbutik-Models/Reporting/DiagnosticSignaturesResponse.swift b/Sources/Bagbutik-Models/Reporting/DiagnosticSignaturesResponse.swift index bdce78c59..dbfc52421 100644 --- a/Sources/Bagbutik-Models/Reporting/DiagnosticSignaturesResponse.swift +++ b/Sources/Bagbutik-Models/Reporting/DiagnosticSignaturesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct DiagnosticSignaturesResponse: Codable, PagedResponse { +public struct DiagnosticSignaturesResponse: Codable, Sendable, PagedResponse { public typealias Data = DiagnosticSignature /// An array of diagnostic signatures. diff --git a/Sources/Bagbutik-Models/Reporting/MetricCategory.swift b/Sources/Bagbutik-Models/Reporting/MetricCategory.swift index 0e921b108..773f93b8c 100644 --- a/Sources/Bagbutik-Models/Reporting/MetricCategory.swift +++ b/Sources/Bagbutik-Models/Reporting/MetricCategory.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum MetricCategory: String, Codable, CaseIterable { +public enum MetricCategory: String, Sendable, Codable, CaseIterable { /// The duration of pauses that occur while scrolling an app. case animation = "ANIMATION" /// The amount of battery power the app uses over a 24 hour period when the device is disconnected from power. diff --git a/Sources/Bagbutik-Models/Reporting/MetricsInsight.swift b/Sources/Bagbutik-Models/Reporting/MetricsInsight.swift index 5e55f07be..4dece84d4 100644 --- a/Sources/Bagbutik-Models/Reporting/MetricsInsight.swift +++ b/Sources/Bagbutik-Models/Reporting/MetricsInsight.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct MetricsInsight: Codable { +public struct MetricsInsight: Codable, Sendable { /// A Boolean value that indicates whether the insight is high impact, meaning the metrics show that the latest app version has a regression of 100% or more, compared with the average values of the metric from the previous app versions. public var highImpact: Bool? /// The version number of the most current version of the app. @@ -82,7 +82,7 @@ public struct MetricsInsight: Codable { Full documentation: */ - public struct Populations: Codable { + public struct Populations: Codable, Sendable { /// The percentage increase between the values of `latestVersionValue` and `referenceAverageValue`. public var deltaPercentage: Double? /// The device type. diff --git a/Sources/Bagbutik-Models/Reporting/PerfPowerMetric.swift b/Sources/Bagbutik-Models/Reporting/PerfPowerMetric.swift index 5c0a31dad..5851aeb94 100644 --- a/Sources/Bagbutik-Models/Reporting/PerfPowerMetric.swift +++ b/Sources/Bagbutik-Models/Reporting/PerfPowerMetric.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct PerfPowerMetric: Codable, Identifiable { +public struct PerfPowerMetric: Codable, Sendable, Identifiable { public let id: String public var links: ResourceLinks? public var type: String { "perfPowerMetrics" } @@ -48,7 +48,7 @@ public struct PerfPowerMetric: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A string that represents the device type. public var deviceType: String? /// For more information about metric types, see [MetricCategory](https://developer.apple.com/documentation/appstoreconnectapi/metriccategory). @@ -78,7 +78,7 @@ public struct PerfPowerMetric: Codable, Identifiable { try container.encodeIfPresent(platform, forKey: "platform") } - public enum MetricType: String, Codable, CaseIterable { + public enum MetricType: String, Sendable, Codable, CaseIterable { case animation = "ANIMATION" case battery = "BATTERY" case disk = "DISK" @@ -88,7 +88,7 @@ public struct PerfPowerMetric: Codable, Identifiable { case termination = "TERMINATION" } - public enum Platform: String, Codable, CaseIterable { + public enum Platform: String, Sendable, Codable, CaseIterable { case iOS = "IOS" } } diff --git a/Sources/Bagbutik-Models/Reporting/XcodeMetrics.swift b/Sources/Bagbutik-Models/Reporting/XcodeMetrics.swift index 5f7fb25b2..5fe7bbb5f 100644 --- a/Sources/Bagbutik-Models/Reporting/XcodeMetrics.swift +++ b/Sources/Bagbutik-Models/Reporting/XcodeMetrics.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct XcodeMetrics: Codable { +public struct XcodeMetrics: Codable, Sendable { /// Analysis of data collected about the power and performance of your app that includes regressions and trends. public var insights: Insights? /// An array of metrics data containing power and performance measurements for your app, organized by platform. @@ -46,7 +46,7 @@ public struct XcodeMetrics: Codable { Full documentation: */ - public struct Insights: Codable { + public struct Insights: Codable, Sendable { /// An array of metrics that have significantly increased between app versions. public var regressions: [MetricsInsight]? /// An array of metrics that have moderately increased between app versions. @@ -79,7 +79,7 @@ public struct XcodeMetrics: Codable { Full documentation: */ - public struct ProductData: Codable { + public struct ProductData: Codable, Sendable { /// An array of metrics by category. public var metricCategories: [MetricCategories]? /// The Apple platform on which the system gathered the metrics about your app. @@ -111,7 +111,7 @@ public struct XcodeMetrics: Codable { Full documentation: */ - public struct MetricCategories: Codable { + public struct MetricCategories: Codable, Sendable { /// The category of the metric that this product data is about. public var identifier: MetricCategory? /// An array of data and measurements for the metric category specified by the `identifier`. @@ -143,7 +143,7 @@ public struct XcodeMetrics: Codable { Full documentation: */ - public struct Metrics: Codable { + public struct Metrics: Codable, Sendable { /// An array of datasets containing metric values by app version filtered by percentile and device type. public var datasets: [Datasets]? /// An array of terms used to classify a metric value, and the range of values for each classification. @@ -187,7 +187,7 @@ public struct XcodeMetrics: Codable { Full documentation: */ - public struct Datasets: Codable { + public struct Datasets: Codable, Sendable { /// The device and percentile criteria by which the dataset is filtered. public var filterCriteria: FilterCriteria? /// An array containing metric values for each app version. @@ -219,7 +219,7 @@ public struct XcodeMetrics: Codable { Full documentation: */ - public struct FilterCriteria: Codable { + public struct FilterCriteria: Codable, Sendable { /// The device type that the measurement is collected on. public var device: String? /// The human-readable string containing the device name. @@ -258,7 +258,7 @@ public struct XcodeMetrics: Codable { Full documentation: */ - public struct Points: Codable { + public struct Points: Codable, Sendable { /// The margin of error estimated based on the sample size and metric type, for metrics with an insufficient data volume. Note: For the system to provide a metric, the number of samples must meet a minimum threshold size. The `errorMargin` is present if a metric meets the minimum, but is inaccurate within a margin. If the metric surpasses a high enough threshold, the `errorMargin` isn’t present. public var errorMargin: Double? /// The metric value’s classification in terms of a goal key, such as `"good",` `"fair"`, or `"poor"`. @@ -308,7 +308,7 @@ public struct XcodeMetrics: Codable { Full documentation: */ - public struct PercentageBreakdown: Codable { + public struct PercentageBreakdown: Codable, Sendable { /// A string that describes the metric subtype, which provides more information about the measurement. public var subSystemLabel: String? /// The percentage of the metric value the metric subtype contributes. Values are between `0` and `100`. @@ -343,7 +343,7 @@ public struct XcodeMetrics: Codable { Full documentation: */ - public struct GoalKeys: Codable { + public struct GoalKeys: Codable, Sendable { /// The name of the classification, such as `“good”`, `“fair”`, and `“poor”`. public var goalKey: String? /// The lower bound value to qualify for the goal key. @@ -382,7 +382,7 @@ public struct XcodeMetrics: Codable { Full documentation: */ - public struct Unit: Codable { + public struct Unit: Codable, Sendable { /// The display name for the unit of measurement. public var displayName: String? /// The unit of measurement. diff --git a/Sources/Bagbutik-Models/TestFlight/AppBetaTestersLinkagesRequest.swift b/Sources/Bagbutik-Models/TestFlight/AppBetaTestersLinkagesRequest.swift index 82e770b51..562ae028a 100644 --- a/Sources/Bagbutik-Models/TestFlight/AppBetaTestersLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/AppBetaTestersLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppBetaTestersLinkagesRequest: Codable, RequestBody { +public struct AppBetaTestersLinkagesRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. public let data: [Data] @@ -33,7 +33,7 @@ public struct AppBetaTestersLinkagesRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/AppsBetaTesterUsagesV1MetricResponse.swift b/Sources/Bagbutik-Models/TestFlight/AppsBetaTesterUsagesV1MetricResponse.swift index 0a95ccb16..98bf304c8 100644 --- a/Sources/Bagbutik-Models/TestFlight/AppsBetaTesterUsagesV1MetricResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/AppsBetaTesterUsagesV1MetricResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct AppsBetaTesterUsagesV1MetricResponse: Codable, PagedResponse { +public struct AppsBetaTesterUsagesV1MetricResponse: Codable, Sendable, PagedResponse { public let data: [Data] public var included: [BetaTester]? public let links: PagedDocumentLinks @@ -41,7 +41,7 @@ public struct AppsBetaTesterUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var dataPoints: DataPoints? public var dimensions: Dimensions? @@ -64,7 +64,7 @@ public struct AppsBetaTesterUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(dimensions, forKey: "dimensions") } - public struct DataPoints: Codable { + public struct DataPoints: Codable, Sendable { public var end: Date? public var start: Date? public var values: Values? @@ -92,7 +92,7 @@ public struct AppsBetaTesterUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(values, forKey: "values") } - public struct Values: Codable { + public struct Values: Codable, Sendable { public var crashCount: Int? public var feedbackCount: Int? public var sessionCount: Int? @@ -122,7 +122,7 @@ public struct AppsBetaTesterUsagesV1MetricResponse: Codable, PagedResponse { } } - public struct Dimensions: Codable { + public struct Dimensions: Codable, Sendable { public var betaTesters: BetaTesters? public init(betaTesters: BetaTesters? = nil) { @@ -139,7 +139,7 @@ public struct AppsBetaTesterUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(betaTesters, forKey: "betaTesters") } - public struct BetaTesters: Codable { + public struct BetaTesters: Codable, Sendable { public var links: Links? public init(links: Links? = nil) { @@ -156,7 +156,7 @@ public struct AppsBetaTesterUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(links, forKey: "links") } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var groupBy: String? public var related: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocation.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocation.swift index d8f7b249e..98358e7f8 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocation.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocation.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppClipInvocation: Codable, Identifiable { +public struct BetaAppClipInvocation: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Beta App Clip Invocations resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct BetaAppClipInvocation: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The invocation URL you configure for testers who use the TestFlight to launch your App Clip. public var url: String? @@ -84,7 +84,7 @@ public struct BetaAppClipInvocation: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Beta App Clip Invocation Localizations resource. public var betaAppClipInvocationLocalizations: BetaAppClipInvocationLocalizations? @@ -109,7 +109,7 @@ public struct BetaAppClipInvocation: Codable, Identifiable { Full documentation: */ - public struct BetaAppClipInvocationLocalizations: Codable { + public struct BetaAppClipInvocationLocalizations: Codable, Sendable { /// The ID and type of the related Beta App Clip Invocation Localizations resource. @NullCodable public var data: [Data]? /// Navigational links that include the self-link. @@ -147,7 +147,7 @@ public struct BetaAppClipInvocation: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Beta App Clip Invocation Localizations resource. public let id: String /// The resource type. @@ -179,7 +179,7 @@ public struct BetaAppClipInvocation: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationCreateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationCreateRequest.swift index 2d5c30e98..645a64087 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationCreateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppClipInvocationCreateRequest: Codable, RequestBody { +public struct BetaAppClipInvocationCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data /// The relationship data to include in the response. @@ -40,7 +40,7 @@ public struct BetaAppClipInvocationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "betaAppClipInvocations" } /// The attributes that describes the request that creates a Beta App Clip Invocations resource. @@ -78,7 +78,7 @@ public struct BetaAppClipInvocationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The invocation URL you configure for testers who use the TestFlight to launch your App Clip. public let url: String @@ -104,7 +104,7 @@ public struct BetaAppClipInvocationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Beta App Clip Invocation Localizations resource. public let betaAppClipInvocationLocalizations: BetaAppClipInvocationLocalizations /// The related Build Bundles resource. @@ -136,7 +136,7 @@ public struct BetaAppClipInvocationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct BetaAppClipInvocationLocalizations: Codable { + public struct BetaAppClipInvocationLocalizations: Codable, Sendable { /// The ID and type of the related Beta App Clip Invocation Localizations resource. public let data: [Data] @@ -161,7 +161,7 @@ public struct BetaAppClipInvocationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Beta App Clip Invocation Localizations resource. public let id: String /// The resource type. @@ -194,7 +194,7 @@ public struct BetaAppClipInvocationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct BuildBundle: Codable { + public struct BuildBundle: Codable, Sendable { /// The ID and type of the related Build Bundles resource. public let data: Data @@ -219,7 +219,7 @@ public struct BetaAppClipInvocationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Build Bundles resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalization.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalization.swift index 465e560c3..3be2317a2 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalization.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppClipInvocationLocalization: Codable, Identifiable { +public struct BetaAppClipInvocationLocalization: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Beta App Clip Invocation Localization. public let id: String /// Navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct BetaAppClipInvocationLocalization: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The specified locale. Refer to ``BetaAppLocalizationCreateRequest/Data/Attributes`` for possible values. public var locale: String? /// The title that appears on the App Clip card for an App Clip experience you configure for testers who launch the App Clip using the TestFlight app. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationCreateRequest.swift index e88d20ea7..6cb1aa5a3 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppClipInvocationLocalizationCreateRequest: Codable, RequestBody { +public struct BetaAppClipInvocationLocalizationCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaAppClipInvocationLocalizationCreateRequest: Codable, RequestBo Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "betaAppClipInvocationLocalizations" } /// The attributes that describes the request that creates a Beta App Clip Invocation Localizations resource. @@ -71,7 +71,7 @@ public struct BetaAppClipInvocationLocalizationCreateRequest: Codable, RequestBo Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The specified locale. Refer to ``BetaAppLocalizationCreateRequest/Data/Attributes`` for possible values. public let locale: String /// The title that appears on the App Clip card for an App Clip experience you configure for testers who launch the App Clip using the TestFlight app. @@ -104,7 +104,7 @@ public struct BetaAppClipInvocationLocalizationCreateRequest: Codable, RequestBo Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Beta App Clip Invocations resource. public let betaAppClipInvocation: BetaAppClipInvocation @@ -129,7 +129,7 @@ public struct BetaAppClipInvocationLocalizationCreateRequest: Codable, RequestBo Full documentation: */ - public struct BetaAppClipInvocation: Codable { + public struct BetaAppClipInvocation: Codable, Sendable { /// The ID and type of the related Beta App Clip Invocations resource. public let data: Data @@ -154,7 +154,7 @@ public struct BetaAppClipInvocationLocalizationCreateRequest: Codable, RequestBo Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Beta App Clip Invocations resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationInlineCreate.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationInlineCreate.swift index 2667b92e2..88f5ba5e7 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationInlineCreate.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationInlineCreate.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppClipInvocationLocalizationInlineCreate: Codable, Identifiable { +public struct BetaAppClipInvocationLocalizationInlineCreate: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Beta App Clip Invocation Localization Inline Create resource. public var id: String? /// The resource type. @@ -52,7 +52,7 @@ public struct BetaAppClipInvocationLocalizationInlineCreate: Codable, Identifiab Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The specified locale. Refer to ``BetaAppLocalizationCreateRequest/Data/Attributes`` for possible values. public let locale: String /// The title that appears on the App Clip card for an App Clip experience you configure for testers who launch the App Clip using the TestFlight app. @@ -85,7 +85,7 @@ public struct BetaAppClipInvocationLocalizationInlineCreate: Codable, Identifiab Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Beta App Clip Invocations resource. public var betaAppClipInvocation: BetaAppClipInvocation? @@ -110,7 +110,7 @@ public struct BetaAppClipInvocationLocalizationInlineCreate: Codable, Identifiab Full documentation: */ - public struct BetaAppClipInvocation: Codable { + public struct BetaAppClipInvocation: Codable, Sendable { /// The ID and type of the related Beta App Clip Invocations resource. @NullCodable public var data: Data? @@ -135,7 +135,7 @@ public struct BetaAppClipInvocationLocalizationInlineCreate: Codable, Identifiab Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Beta App Clip Invocations resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationResponse.swift index 9acccadea..c04236feb 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppClipInvocationLocalizationResponse: Codable { +public struct BetaAppClipInvocationLocalizationResponse: Codable, Sendable { /// The resource data. public let data: BetaAppClipInvocationLocalization /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationUpdateRequest.swift index 3b9171fcb..dac0406a2 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationLocalizationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppClipInvocationLocalizationUpdateRequest: Codable, RequestBody { +public struct BetaAppClipInvocationLocalizationUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaAppClipInvocationLocalizationUpdateRequest: Codable, RequestBo Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct BetaAppClipInvocationLocalizationUpdateRequest: Codable, RequestBo Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The title that appears on the App Clip card for an App Clip experience you configure for testers who launch the App Clip using the TestFlight app. public var title: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationResponse.swift index 0343356b3..9eec545df 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppClipInvocationResponse: Codable { +public struct BetaAppClipInvocationResponse: Codable, Sendable { /// The resource data. public let data: BetaAppClipInvocation /// The requested relationship data. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationUpdateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationUpdateRequest.swift index ddec3fd59..a0390b786 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppClipInvocationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppClipInvocationUpdateRequest: Codable, RequestBody { +public struct BetaAppClipInvocationUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaAppClipInvocationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct BetaAppClipInvocationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The invocation URL you configure for testers who use the TestFlight to launch your App Clip. public var url: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalization.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalization.swift index 98ce80d93..2578c3db6 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalization.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppLocalization: Codable, Identifiable { +public struct BetaAppLocalization: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -60,7 +60,7 @@ public struct BetaAppLocalization: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A description of your app that highlights features and functionality. public var description: String? /// An email address to which beta testers can send feedback. Also appears as the reply-to address for TestFlight invitation emails. @@ -117,7 +117,7 @@ public struct BetaAppLocalization: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public init(app: App? = nil) { @@ -141,7 +141,7 @@ public struct BetaAppLocalization: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -171,7 +171,7 @@ public struct BetaAppLocalization: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -203,7 +203,7 @@ public struct BetaAppLocalization: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationCreateRequest.swift index 68a67fd20..6abda3a41 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppLocalizationCreateRequest: Codable, RequestBody { +public struct BetaAppLocalizationCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaAppLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "betaAppLocalizations" } /// The resource's attributes. @@ -73,7 +73,7 @@ public struct BetaAppLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A description of your app that highlights features and functionality. public var description: String? /// An email address to which beta testers can send feedback. Also appears as the reply-to address for TestFlight invitation emails. @@ -130,7 +130,7 @@ public struct BetaAppLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public init(app: App) { @@ -154,7 +154,7 @@ public struct BetaAppLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -178,7 +178,7 @@ public struct BetaAppLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationResponse.swift index 764b21241..ed0b8e5bd 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppLocalizationResponse: Codable { +public struct BetaAppLocalizationResponse: Codable, Sendable { /// The resource data. public let data: BetaAppLocalization public var included: [App]? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationUpdateRequest.swift index dc14501a2..a39709732 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppLocalizationUpdateRequest: Codable, RequestBody { +public struct BetaAppLocalizationUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaAppLocalizationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct BetaAppLocalizationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A description of your app that highlights features and functionality. public var description: String? /// An email address to which beta testers can send feedback. Also appears as the reply-to address for TestFlight invitation emails. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationsResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationsResponse.swift index 94b735df6..00a7f16fc 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppLocalizationsResponse: Codable, PagedResponse { +public struct BetaAppLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaAppLocalization /// The resource data. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationsWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationsWithoutIncludesResponse.swift index 30b948585..6c82d3781 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationsWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppLocalizationsWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BetaAppLocalizationsWithoutIncludesResponse: Codable, PagedResponse { +public struct BetaAppLocalizationsWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaAppLocalization public let data: [BetaAppLocalization] diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetail.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetail.swift index e6dcabd92..d881bbd0a 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetail.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetail.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppReviewDetail: Codable, Identifiable { +public struct BetaAppReviewDetail: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct BetaAppReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// Email address of contact in case communication is needed with the beta app review. public var contactEmail: String? /// First name of contact in case communication is needed with the beta app review. @@ -127,7 +127,7 @@ public struct BetaAppReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public init(app: App? = nil) { @@ -151,7 +151,7 @@ public struct BetaAppReviewDetail: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -181,7 +181,7 @@ public struct BetaAppReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -213,7 +213,7 @@ public struct BetaAppReviewDetail: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailResponse.swift index 933e0257f..0ef8ed34d 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppReviewDetailResponse: Codable { +public struct BetaAppReviewDetailResponse: Codable, Sendable { /// The resource data. public let data: BetaAppReviewDetail public var included: [App]? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailUpdateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailUpdateRequest.swift index 3f86c8e29..4ee4e7c96 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailUpdateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppReviewDetailUpdateRequest: Codable, RequestBody { +public struct BetaAppReviewDetailUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaAppReviewDetailUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct BetaAppReviewDetailUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// Email address of contact in case communication is needed with the beta app review. public var contactEmail: String? /// First name of contact in case communication is needed with the beta app review. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailWithoutIncludesResponse.swift index 2e75e40cc..9962a5218 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BetaAppReviewDetailWithoutIncludesResponse: Codable { +public struct BetaAppReviewDetailWithoutIncludesResponse: Codable, Sendable { public let data: BetaAppReviewDetail public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailsResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailsResponse.swift index 0bb7a5d62..326f92817 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailsResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewDetailsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppReviewDetailsResponse: Codable, PagedResponse { +public struct BetaAppReviewDetailsResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaAppReviewDetail /// The resource data. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmission.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmission.swift index 115ebb5ee..655d19c63 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmission.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmission.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppReviewSubmission: Codable, Identifiable { +public struct BetaAppReviewSubmission: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct BetaAppReviewSubmission: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A state that indicates the current status of the beta app review submission. public var betaReviewState: BetaReviewState? public var submittedDate: Date? @@ -90,7 +90,7 @@ public struct BetaAppReviewSubmission: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var build: Build? public init(build: Build? = nil) { @@ -114,7 +114,7 @@ public struct BetaAppReviewSubmission: Codable, Identifiable { Full documentation: */ - public struct Build: Codable { + public struct Build: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -144,7 +144,7 @@ public struct BetaAppReviewSubmission: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -176,7 +176,7 @@ public struct BetaAppReviewSubmission: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionCreateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionCreateRequest.swift index fff508fdf..fdc361556 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionCreateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppReviewSubmissionCreateRequest: Codable, RequestBody { +public struct BetaAppReviewSubmissionCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaAppReviewSubmissionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "betaAppReviewSubmissions" } /// The types and IDs of the related data to update. @@ -64,7 +64,7 @@ public struct BetaAppReviewSubmissionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let build: Build public init(build: Build) { @@ -88,7 +88,7 @@ public struct BetaAppReviewSubmissionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Build: Codable { + public struct Build: Codable, Sendable { public let data: Data public init(data: Data) { @@ -112,7 +112,7 @@ public struct BetaAppReviewSubmissionCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionResponse.swift index bf4277feb..221c2e15f 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppReviewSubmissionResponse: Codable { +public struct BetaAppReviewSubmissionResponse: Codable, Sendable { /// The resource data. public let data: BetaAppReviewSubmission public var included: [Build]? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionWithoutIncludesResponse.swift index 318f8bc0c..26fb04285 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BetaAppReviewSubmissionWithoutIncludesResponse: Codable { +public struct BetaAppReviewSubmissionWithoutIncludesResponse: Codable, Sendable { public let data: BetaAppReviewSubmission public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionsResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionsResponse.swift index 76d53a146..d215a2b78 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionsResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaAppReviewSubmissionsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaAppReviewSubmissionsResponse: Codable, PagedResponse { +public struct BetaAppReviewSubmissionsResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaAppReviewSubmission /// The resource data. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalization.swift b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalization.swift index ea6e8394b..a630c0237 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalization.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalization.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaBuildLocalization: Codable, Identifiable { +public struct BetaBuildLocalization: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -60,7 +60,7 @@ public struct BetaBuildLocalization: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The specified locale. Refer to [Table 1](https://developer.apple.com/documentation/appstoreconnectapi/prerelease_versions_and_beta_testers/beta_build_localizations/betabuildlocalization/attributes#3042206) for possible values. public var locale: String? /// A field that describes changes and additions to a build and indicates features you would like your users to test. @@ -93,7 +93,7 @@ public struct BetaBuildLocalization: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var build: Build? public init(build: Build? = nil) { @@ -117,7 +117,7 @@ public struct BetaBuildLocalization: Codable, Identifiable { Full documentation: */ - public struct Build: Codable { + public struct Build: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -147,7 +147,7 @@ public struct BetaBuildLocalization: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -179,7 +179,7 @@ public struct BetaBuildLocalization: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationCreateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationCreateRequest.swift index 32e448d8e..d6482d8cd 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationCreateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaBuildLocalizationCreateRequest: Codable, RequestBody { +public struct BetaBuildLocalizationCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaBuildLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "betaBuildLocalizations" } /// The resource's attributes. @@ -73,7 +73,7 @@ public struct BetaBuildLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The specified locale. Refer to [Table 1](https://developer.apple.com/documentation/appstoreconnectapi/prerelease_versions_and_beta_testers/beta_build_localizations/betabuildlocalizationcreaterequest/data/attributes#3073798) for possible values. public let locale: String /// A field that describes changes and additions to a build and indicates features you would like your users to test. @@ -106,7 +106,7 @@ public struct BetaBuildLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let build: Build public init(build: Build) { @@ -130,7 +130,7 @@ public struct BetaBuildLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Build: Codable { + public struct Build: Codable, Sendable { public let data: Data public init(data: Data) { @@ -154,7 +154,7 @@ public struct BetaBuildLocalizationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationResponse.swift index 582197b26..d935d4cae 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaBuildLocalizationResponse: Codable { +public struct BetaBuildLocalizationResponse: Codable, Sendable { /// The resource data. public let data: BetaBuildLocalization public var included: [Build]? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationUpdateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationUpdateRequest.swift index ef4415ad9..ea542e8c2 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationUpdateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaBuildLocalizationUpdateRequest: Codable, RequestBody { +public struct BetaBuildLocalizationUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaBuildLocalizationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct BetaBuildLocalizationUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A field that describes changes and additions to a build and indicates features you would like your users to test. public var whatsNew: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationsResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationsResponse.swift index ea8f2cb27..4c00ddf50 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationsResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaBuildLocalizationsResponse: Codable, PagedResponse { +public struct BetaBuildLocalizationsResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaBuildLocalization /// The resource data. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationsWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationsWithoutIncludesResponse.swift index 123412a9a..284ad6833 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationsWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaBuildLocalizationsWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BetaBuildLocalizationsWithoutIncludesResponse: Codable, PagedResponse { +public struct BetaBuildLocalizationsWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaBuildLocalization public let data: [BetaBuildLocalization] diff --git a/Sources/Bagbutik-Models/TestFlight/BetaBuildUsagesV1MetricResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaBuildUsagesV1MetricResponse.swift index c0962443f..ffb5fae16 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaBuildUsagesV1MetricResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaBuildUsagesV1MetricResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaBuildUsagesV1MetricResponse: Codable, PagedResponse { +public struct BetaBuildUsagesV1MetricResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -36,7 +36,7 @@ public struct BetaBuildUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var dataPoints: DataPoints? public var dimensions: Dimensions? @@ -59,7 +59,7 @@ public struct BetaBuildUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(dimensions, forKey: "dimensions") } - public struct DataPoints: Codable { + public struct DataPoints: Codable, Sendable { public var end: Date? public var start: Date? public var values: Values? @@ -87,7 +87,7 @@ public struct BetaBuildUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(values, forKey: "values") } - public struct Values: Codable { + public struct Values: Codable, Sendable { public var crashCount: Int? public var feedbackCount: Int? public var installCount: Int? @@ -127,7 +127,7 @@ public struct BetaBuildUsagesV1MetricResponse: Codable, PagedResponse { } } - public struct Dimensions: Codable { + public struct Dimensions: Codable, Sendable { public var bundleIds: BundleIds? public init(bundleIds: BundleIds? = nil) { @@ -144,7 +144,7 @@ public struct BetaBuildUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(bundleIds, forKey: "bundleIds") } - public struct BundleIds: Codable { + public struct BundleIds: Codable, Sendable { public var links: Links? public init(links: Links? = nil) { @@ -161,7 +161,7 @@ public struct BetaBuildUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(links, forKey: "links") } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var groupBy: String? public init(groupBy: String? = nil) { diff --git a/Sources/Bagbutik-Models/TestFlight/BetaGroup.swift b/Sources/Bagbutik-Models/TestFlight/BetaGroup.swift index a19f24cd4..b12f4adae 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaGroup.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaGroup.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaGroup: Codable, Identifiable { +public struct BetaGroup: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The creation date of the beta group. public var createdDate: Date? public var feedbackEnabled: Bool? @@ -142,7 +142,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var betaTesters: BetaTesters? public var builds: Builds? @@ -177,7 +177,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -207,7 +207,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -239,7 +239,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -271,7 +271,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct BetaTesters: Codable { + public struct BetaTesters: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -306,7 +306,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -338,7 +338,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -370,7 +370,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct Builds: Codable { + public struct Builds: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -405,7 +405,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -437,7 +437,7 @@ public struct BetaGroup: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaGroupBetaTestersLinkagesRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaGroupBetaTestersLinkagesRequest.swift index 1d99b6f75..247e4a695 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaGroupBetaTestersLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaGroupBetaTestersLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaGroupBetaTestersLinkagesRequest: Codable, RequestBody { +public struct BetaGroupBetaTestersLinkagesRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. public let data: [Data] @@ -33,7 +33,7 @@ public struct BetaGroupBetaTestersLinkagesRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaGroupBetaTestersLinkagesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaGroupBetaTestersLinkagesResponse.swift index c54a1bfd2..b77257f84 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaGroupBetaTestersLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaGroupBetaTestersLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaGroupBetaTestersLinkagesResponse: Codable, PagedResponse { +public struct BetaGroupBetaTestersLinkagesResponse: Codable, Sendable, PagedResponse { /// The object types and IDs of the related resources. public let data: [Data] /// Navigational links including the self-link and links to the related data. @@ -46,7 +46,7 @@ public struct BetaGroupBetaTestersLinkagesResponse: Codable, PagedResponse { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaGroupBuildsLinkagesRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaGroupBuildsLinkagesRequest.swift index 5ea369d9d..e3148e73b 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaGroupBuildsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaGroupBuildsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaGroupBuildsLinkagesRequest: Codable, RequestBody { +public struct BetaGroupBuildsLinkagesRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. public let data: [Data] @@ -33,7 +33,7 @@ public struct BetaGroupBuildsLinkagesRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaGroupBuildsLinkagesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaGroupBuildsLinkagesResponse.swift index 100536d1d..ea717979f 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaGroupBuildsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaGroupBuildsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaGroupBuildsLinkagesResponse: Codable, PagedResponse { +public struct BetaGroupBuildsLinkagesResponse: Codable, Sendable, PagedResponse { /// The object types and IDs of the related resources. public let data: [Data] /// Navigational links including the self-link and links to the related data. @@ -46,7 +46,7 @@ public struct BetaGroupBuildsLinkagesResponse: Codable, PagedResponse { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaGroupCreateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaGroupCreateRequest.swift index 9db3f7dc3..9ca0821a3 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaGroupCreateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaGroupCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaGroupCreateRequest: Codable, RequestBody { +public struct BetaGroupCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaGroupCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "betaGroups" } /// The resource's attributes. @@ -71,7 +71,7 @@ public struct BetaGroupCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var feedbackEnabled: Bool? public var hasAccessToAllBuilds: Bool? public var isInternalGroup: Bool? @@ -131,7 +131,7 @@ public struct BetaGroupCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public var betaTesters: BetaTesters? public var builds: Builds? @@ -166,7 +166,7 @@ public struct BetaGroupCreateRequest: Codable, RequestBody { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -190,7 +190,7 @@ public struct BetaGroupCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -223,7 +223,7 @@ public struct BetaGroupCreateRequest: Codable, RequestBody { Full documentation: */ - public struct BetaTesters: Codable { + public struct BetaTesters: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -247,7 +247,7 @@ public struct BetaGroupCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -280,7 +280,7 @@ public struct BetaGroupCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Builds: Codable { + public struct Builds: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -304,7 +304,7 @@ public struct BetaGroupCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaGroupResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaGroupResponse.swift index 0c479cf65..52a765b87 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaGroupResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaGroupResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaGroupResponse: Codable { +public struct BetaGroupResponse: Codable, Sendable { /// The resource data. public let data: BetaGroup public var included: [Included]? @@ -69,7 +69,7 @@ public struct BetaGroupResponse: Codable { return builds } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case betaTester(BetaTester) case build(Build) diff --git a/Sources/Bagbutik-Models/TestFlight/BetaGroupUpdateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaGroupUpdateRequest.swift index 1642c4da9..f21cd89a9 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaGroupUpdateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaGroupUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaGroupUpdateRequest: Codable, RequestBody { +public struct BetaGroupUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaGroupUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct BetaGroupUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var feedbackEnabled: Bool? public var iosBuildsAvailableForAppleSiliconMac: Bool? /// The name for the beta group. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaGroupsResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaGroupsResponse.swift index b6e5c4861..c0e58d36c 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaGroupsResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaGroupsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaGroupsResponse: Codable, PagedResponse { +public struct BetaGroupsResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaGroup /// The resource data. @@ -77,7 +77,7 @@ public struct BetaGroupsResponse: Codable, PagedResponse { return builds } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case betaTester(BetaTester) case build(Build) diff --git a/Sources/Bagbutik-Models/TestFlight/BetaGroupsWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaGroupsWithoutIncludesResponse.swift index b077f1f3b..e04ad67cc 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaGroupsWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaGroupsWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BetaGroupsWithoutIncludesResponse: Codable, PagedResponse { +public struct BetaGroupsWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaGroup public let data: [BetaGroup] diff --git a/Sources/Bagbutik-Models/TestFlight/BetaInviteType.swift b/Sources/Bagbutik-Models/TestFlight/BetaInviteType.swift index 8ea972cc5..ff85411e9 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaInviteType.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaInviteType.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum BetaInviteType: String, ParameterValue, Codable, CaseIterable { +public enum BetaInviteType: String, Sendable, ParameterValue, Codable, CaseIterable { case email = "EMAIL" case publicLink = "PUBLIC_LINK" } diff --git a/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreement.swift b/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreement.swift index ae51e0ff5..a03267229 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreement.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreement.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaLicenseAgreement: Codable, Identifiable { +public struct BetaLicenseAgreement: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct BetaLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The license agreement text for your beta app that displays to users. public var agreementText: String? @@ -84,7 +84,7 @@ public struct BetaLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public init(app: App? = nil) { @@ -108,7 +108,7 @@ public struct BetaLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -138,7 +138,7 @@ public struct BetaLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -170,7 +170,7 @@ public struct BetaLicenseAgreement: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementResponse.swift index 2eb2ea453..bb0bd8589 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaLicenseAgreementResponse: Codable { +public struct BetaLicenseAgreementResponse: Codable, Sendable { /// The resource data. public let data: BetaLicenseAgreement public var included: [App]? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementUpdateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementUpdateRequest.swift index 3b62e9b1c..1860ec43a 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementUpdateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaLicenseAgreementUpdateRequest: Codable, RequestBody { +public struct BetaLicenseAgreementUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaLicenseAgreementUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct BetaLicenseAgreementUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The license agreement text for your beta app that displays to users. public var agreementText: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementWithoutIncludesResponse.swift index 98f345dbe..af8417250 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BetaLicenseAgreementWithoutIncludesResponse: Codable { +public struct BetaLicenseAgreementWithoutIncludesResponse: Codable, Sendable { public let data: BetaLicenseAgreement public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementsResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementsResponse.swift index 4ae6a9efc..9e6a4351e 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementsResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaLicenseAgreementsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaLicenseAgreementsResponse: Codable, PagedResponse { +public struct BetaLicenseAgreementsResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaLicenseAgreement /// The resource data. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaReviewState.swift b/Sources/Bagbutik-Models/TestFlight/BetaReviewState.swift index 03fbf7237..6393e9c8c 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaReviewState.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaReviewState.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum BetaReviewState: String, ParameterValue, Codable, CaseIterable { +public enum BetaReviewState: String, Sendable, ParameterValue, Codable, CaseIterable { case approved = "APPROVED" case inReview = "IN_REVIEW" case rejected = "REJECTED" diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTester.swift b/Sources/Bagbutik-Models/TestFlight/BetaTester.swift index 5e1510415..919cd795d 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTester.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTester.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTester: Codable, Identifiable { +public struct BetaTester: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The beta tester's email address, used for sending beta testing invitations. public var email: String? /// The beta tester's first name. @@ -109,7 +109,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var apps: Apps? public var betaGroups: BetaGroups? public var builds: Builds? @@ -144,7 +144,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct Apps: Codable { + public struct Apps: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -179,7 +179,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "apps" } @@ -209,7 +209,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -241,7 +241,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct BetaGroups: Codable { + public struct BetaGroups: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -276,7 +276,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "betaGroups" } @@ -306,7 +306,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -338,7 +338,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct Builds: Codable { + public struct Builds: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -373,7 +373,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "builds" } @@ -403,7 +403,7 @@ public struct BetaTester: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterAppsLinkagesRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterAppsLinkagesRequest.swift index 711c18ae1..031e96adb 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterAppsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterAppsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterAppsLinkagesRequest: Codable, RequestBody { +public struct BetaTesterAppsLinkagesRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. public let data: [Data] @@ -33,7 +33,7 @@ public struct BetaTesterAppsLinkagesRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterAppsLinkagesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterAppsLinkagesResponse.swift index b44d65f10..8c5ebaf27 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterAppsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterAppsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterAppsLinkagesResponse: Codable, PagedResponse { +public struct BetaTesterAppsLinkagesResponse: Codable, Sendable, PagedResponse { /// The object types and IDs of the related resources. public let data: [Data] /// Navigational links including the self-link and links to the related data. @@ -46,7 +46,7 @@ public struct BetaTesterAppsLinkagesResponse: Codable, PagedResponse { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterBetaGroupsLinkagesRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterBetaGroupsLinkagesRequest.swift index 7dd7ba338..e249eaf17 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterBetaGroupsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterBetaGroupsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterBetaGroupsLinkagesRequest: Codable, RequestBody { +public struct BetaTesterBetaGroupsLinkagesRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. public let data: [Data] @@ -33,7 +33,7 @@ public struct BetaTesterBetaGroupsLinkagesRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterBetaGroupsLinkagesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterBetaGroupsLinkagesResponse.swift index 4a5f9459b..c9a75ec4b 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterBetaGroupsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterBetaGroupsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterBetaGroupsLinkagesResponse: Codable, PagedResponse { +public struct BetaTesterBetaGroupsLinkagesResponse: Codable, Sendable, PagedResponse { /// The object types and IDs of the related resources. public let data: [Data] /// Navigational links including the self-link and links to the related data. @@ -46,7 +46,7 @@ public struct BetaTesterBetaGroupsLinkagesResponse: Codable, PagedResponse { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterBuildsLinkagesRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterBuildsLinkagesRequest.swift index 07b4c950d..5c8b8f68c 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterBuildsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterBuildsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterBuildsLinkagesRequest: Codable, RequestBody { +public struct BetaTesterBuildsLinkagesRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. public let data: [Data] @@ -33,7 +33,7 @@ public struct BetaTesterBuildsLinkagesRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterBuildsLinkagesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterBuildsLinkagesResponse.swift index d880af660..09098fd56 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterBuildsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterBuildsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterBuildsLinkagesResponse: Codable, PagedResponse { +public struct BetaTesterBuildsLinkagesResponse: Codable, Sendable, PagedResponse { /// The object types and IDs of the related resources. public let data: [Data] /// Navigational links including the self-link and links to the related data. @@ -46,7 +46,7 @@ public struct BetaTesterBuildsLinkagesResponse: Codable, PagedResponse { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterCreateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterCreateRequest.swift index 505ce6e02..52ac9f803 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterCreateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterCreateRequest: Codable, RequestBody { +public struct BetaTesterCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaTesterCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "betaTesters" } /// The resource's attributes. @@ -71,7 +71,7 @@ public struct BetaTesterCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The beta tester's email address, used for sending beta testing invitations. public let email: String /// The beta tester's first name. @@ -110,7 +110,7 @@ public struct BetaTesterCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var betaGroups: BetaGroups? public var builds: Builds? @@ -140,7 +140,7 @@ public struct BetaTesterCreateRequest: Codable, RequestBody { Full documentation: */ - public struct BetaGroups: Codable { + public struct BetaGroups: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -164,7 +164,7 @@ public struct BetaTesterCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -197,7 +197,7 @@ public struct BetaTesterCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Builds: Codable { + public struct Builds: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -221,7 +221,7 @@ public struct BetaTesterCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitation.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitation.swift index 9c44cb171..d2e70938c 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitation.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitation.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterInvitation: Codable, Identifiable { +public struct BetaTesterInvitation: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitationCreateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitationCreateRequest.swift index 35219edaf..98b781ab4 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitationCreateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterInvitationCreateRequest: Codable, RequestBody { +public struct BetaTesterInvitationCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BetaTesterInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "betaTesterInvitations" } /// The types and IDs of the related data to update. @@ -64,7 +64,7 @@ public struct BetaTesterInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let app: App public let betaTester: BetaTester @@ -94,7 +94,7 @@ public struct BetaTesterInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { public let data: Data public init(data: Data) { @@ -118,7 +118,7 @@ public struct BetaTesterInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -151,7 +151,7 @@ public struct BetaTesterInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct BetaTester: Codable { + public struct BetaTester: Codable, Sendable { public let data: Data public init(data: Data) { @@ -175,7 +175,7 @@ public struct BetaTesterInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitationResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitationResponse.swift index 0b193063d..42b0befc7 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitationResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterInvitationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterInvitationResponse: Codable { +public struct BetaTesterInvitationResponse: Codable, Sendable { /// The resource data. public let data: BetaTesterInvitation /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterResponse.swift index ac4335733..69bd19764 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterResponse: Codable { +public struct BetaTesterResponse: Codable, Sendable { /// The resource data. public let data: BetaTester public var included: [Included]? @@ -74,7 +74,7 @@ public struct BetaTesterResponse: Codable { return builds } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case betaGroup(BetaGroup) case build(Build) diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterState.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterState.swift index c642ada4a..416303f84 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterState.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterState.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum BetaTesterState: String, Codable, CaseIterable { +public enum BetaTesterState: String, Sendable, Codable, CaseIterable { /// The beta tester has accepted an invite to test a build. case accepted = "ACCEPTED" /// The beta tester has installed a build. diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTesterUsagesV1MetricResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaTesterUsagesV1MetricResponse.swift index 2981de743..18023ea98 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTesterUsagesV1MetricResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTesterUsagesV1MetricResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTesterUsagesV1MetricResponse: Codable, PagedResponse { +public struct BetaTesterUsagesV1MetricResponse: Codable, Sendable, PagedResponse { public let data: [Data] public let links: PagedDocumentLinks public var meta: PagingInformation? @@ -36,7 +36,7 @@ public struct BetaTesterUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable { + public struct Data: Codable, Sendable { public var dataPoints: DataPoints? public var dimensions: Dimensions? @@ -59,7 +59,7 @@ public struct BetaTesterUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(dimensions, forKey: "dimensions") } - public struct DataPoints: Codable { + public struct DataPoints: Codable, Sendable { public var end: Date? public var start: Date? public var values: Values? @@ -87,7 +87,7 @@ public struct BetaTesterUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(values, forKey: "values") } - public struct Values: Codable { + public struct Values: Codable, Sendable { public var crashCount: Int? public var feedbackCount: Int? public var sessionCount: Int? @@ -117,7 +117,7 @@ public struct BetaTesterUsagesV1MetricResponse: Codable, PagedResponse { } } - public struct Dimensions: Codable { + public struct Dimensions: Codable, Sendable { public var apps: Apps? public init(apps: Apps? = nil) { @@ -134,7 +134,7 @@ public struct BetaTesterUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(apps, forKey: "apps") } - public struct Apps: Codable { + public struct Apps: Codable, Sendable { public var links: Links? public init(links: Links? = nil) { @@ -151,7 +151,7 @@ public struct BetaTesterUsagesV1MetricResponse: Codable, PagedResponse { try container.encodeIfPresent(links, forKey: "links") } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var groupBy: String? public var related: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTestersResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaTestersResponse.swift index 84ab4e406..a532a4813 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTestersResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTestersResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BetaTestersResponse: Codable, PagedResponse { +public struct BetaTestersResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaTester /// The resource data. @@ -82,7 +82,7 @@ public struct BetaTestersResponse: Codable, PagedResponse { return builds } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case betaGroup(BetaGroup) case build(Build) diff --git a/Sources/Bagbutik-Models/TestFlight/BetaTestersWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BetaTestersWithoutIncludesResponse.swift index 2fbd6df56..7fbbbfa43 100644 --- a/Sources/Bagbutik-Models/TestFlight/BetaTestersWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BetaTestersWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BetaTestersWithoutIncludesResponse: Codable, PagedResponse { +public struct BetaTestersWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = BetaTester public let data: [BetaTester] diff --git a/Sources/Bagbutik-Models/TestFlight/Build.swift b/Sources/Bagbutik-Models/TestFlight/Build.swift index d82e9fcab..cbd80cc44 100644 --- a/Sources/Bagbutik-Models/TestFlight/Build.swift +++ b/Sources/Bagbutik-Models/TestFlight/Build.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct Build: Codable, Identifiable { +public struct Build: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var buildAudienceType: BuildAudienceType? public var computedMinMacOsVersion: String? /// The date and time the build will auto-expire and no longer be available for testing. @@ -134,7 +134,7 @@ public struct Build: Codable, Identifiable { try container.encodeIfPresent(version, forKey: "version") } - public enum ProcessingState: String, ParameterValue, Codable, CaseIterable { + public enum ProcessingState: String, Sendable, ParameterValue, Codable, CaseIterable { case failed = "FAILED" case invalid = "INVALID" case processing = "PROCESSING" @@ -149,7 +149,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var appEncryptionDeclaration: AppEncryptionDeclaration? public var appStoreVersion: AppStoreVersion? @@ -225,7 +225,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -255,7 +255,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -287,7 +287,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -319,7 +319,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct AppEncryptionDeclaration: Codable { + public struct AppEncryptionDeclaration: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -349,7 +349,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -381,7 +381,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -413,7 +413,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct AppStoreVersion: Codable { + public struct AppStoreVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -443,7 +443,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "appStoreVersions" } @@ -473,7 +473,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -505,7 +505,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct BetaAppReviewSubmission: Codable { + public struct BetaAppReviewSubmission: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -535,7 +535,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -567,7 +567,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -599,7 +599,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct BetaBuildLocalizations: Codable { + public struct BetaBuildLocalizations: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -634,7 +634,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -666,7 +666,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -698,7 +698,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct BetaGroups: Codable { + public struct BetaGroups: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? /// Paging information. @@ -727,7 +727,7 @@ public struct Build: Codable, Identifiable { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "betaGroups" } @@ -750,7 +750,7 @@ public struct Build: Codable, Identifiable { } } - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -782,7 +782,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct BuildBetaDetail: Codable { + public struct BuildBetaDetail: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -812,7 +812,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -844,7 +844,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -876,7 +876,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct BuildBundles: Codable { + public struct BuildBundles: Codable, Sendable { /// The ID and type of the related Build Bundles resource. @NullCodable public var data: [Data]? /// Navigational links that include the self-link. @@ -914,7 +914,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Build Bundles resource. public let id: String /// The resource type. @@ -946,7 +946,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -980,7 +980,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Icons: Codable { + public struct Icons: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -1015,7 +1015,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "buildIcons" } @@ -1045,7 +1045,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1077,7 +1077,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct IndividualTesters: Codable { + public struct IndividualTesters: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -1112,7 +1112,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -1144,7 +1144,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -1176,7 +1176,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct PreReleaseVersion: Codable { + public struct PreReleaseVersion: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -1206,7 +1206,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -1238,7 +1238,7 @@ public struct Build: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BuildAppEncryptionDeclarationLinkageRequest.swift b/Sources/Bagbutik-Models/TestFlight/BuildAppEncryptionDeclarationLinkageRequest.swift index cc5993ca0..84533a0f0 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildAppEncryptionDeclarationLinkageRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildAppEncryptionDeclarationLinkageRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildAppEncryptionDeclarationLinkageRequest: Codable, RequestBody { +public struct BuildAppEncryptionDeclarationLinkageRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. @NullCodable public var data: Data? @@ -33,7 +33,7 @@ public struct BuildAppEncryptionDeclarationLinkageRequest: Codable, RequestBody Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildAppEncryptionDeclarationLinkageResponse.swift b/Sources/Bagbutik-Models/TestFlight/BuildAppEncryptionDeclarationLinkageResponse.swift index c7daa7c63..ec09ec437 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildAppEncryptionDeclarationLinkageResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildAppEncryptionDeclarationLinkageResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildAppEncryptionDeclarationLinkageResponse: Codable { +public struct BuildAppEncryptionDeclarationLinkageResponse: Codable, Sendable { /// The object types and IDs of the related resources. public let data: Data /// Navigational links including the self-link and links to the related data. @@ -40,7 +40,7 @@ public struct BuildAppEncryptionDeclarationLinkageResponse: Codable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildAudienceType.swift b/Sources/Bagbutik-Models/TestFlight/BuildAudienceType.swift index 9d1a117e3..b3af93781 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildAudienceType.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildAudienceType.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum BuildAudienceType: String, ParameterValue, Codable, CaseIterable { +public enum BuildAudienceType: String, Sendable, ParameterValue, Codable, CaseIterable { /// The build of your app is eligible for submission and release on the App Store. case appStoreEligible = "APP_STORE_ELIGIBLE" /// The build of your app is only available to members of your development team. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildBetaDetail.swift b/Sources/Bagbutik-Models/TestFlight/BuildBetaDetail.swift index 2708bd82b..e9bc4128e 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildBetaDetail.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildBetaDetail.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBetaDetail: Codable, Identifiable { +public struct BuildBetaDetail: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct BuildBetaDetail: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A Boolean value that enables you to send test invitations to users automatically when the build is available to external groups. public var autoNotifyEnabled: Bool? /// A state that indicates if the build is available for external testing. @@ -97,7 +97,7 @@ public struct BuildBetaDetail: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var build: Build? public init(build: Build? = nil) { @@ -121,7 +121,7 @@ public struct BuildBetaDetail: Codable, Identifiable { Full documentation: */ - public struct Build: Codable { + public struct Build: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -151,7 +151,7 @@ public struct BuildBetaDetail: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -183,7 +183,7 @@ public struct BuildBetaDetail: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailResponse.swift b/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailResponse.swift index dec49b59f..1ac1f4d92 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBetaDetailResponse: Codable { +public struct BuildBetaDetailResponse: Codable, Sendable { /// The resource data. public let data: BuildBetaDetail public var included: [Build]? diff --git a/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailUpdateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailUpdateRequest.swift index d4ebe46dc..0df4e2749 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailUpdateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBetaDetailUpdateRequest: Codable, RequestBody { +public struct BuildBetaDetailUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BuildBetaDetailUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -71,7 +71,7 @@ public struct BuildBetaDetailUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A Boolean value that enables you to send test invitations to users automatically when the build is available to external groups. public var autoNotifyEnabled: Bool? diff --git a/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailsResponse.swift b/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailsResponse.swift index 5a6c95d42..63b405cf0 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailsResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildBetaDetailsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBetaDetailsResponse: Codable, PagedResponse { +public struct BuildBetaDetailsResponse: Codable, Sendable, PagedResponse { public typealias Data = BuildBetaDetail /// The resource data. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildBetaGroupsLinkagesRequest.swift b/Sources/Bagbutik-Models/TestFlight/BuildBetaGroupsLinkagesRequest.swift index b63bb758e..475e9dd7b 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildBetaGroupsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildBetaGroupsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBetaGroupsLinkagesRequest: Codable, RequestBody { +public struct BuildBetaGroupsLinkagesRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. public let data: [Data] @@ -33,7 +33,7 @@ public struct BuildBetaGroupsLinkagesRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildBetaNotification.swift b/Sources/Bagbutik-Models/TestFlight/BuildBetaNotification.swift index 5c55c2445..e8bf903e2 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildBetaNotification.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildBetaNotification.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBetaNotification: Codable, Identifiable { +public struct BuildBetaNotification: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildBetaNotificationCreateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BuildBetaNotificationCreateRequest.swift index 077ef653f..7ab7dff78 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildBetaNotificationCreateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildBetaNotificationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBetaNotificationCreateRequest: Codable, RequestBody { +public struct BuildBetaNotificationCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BuildBetaNotificationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "buildBetaNotifications" } /// The types and IDs of the related data to update. @@ -64,7 +64,7 @@ public struct BuildBetaNotificationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public let build: Build public init(build: Build) { @@ -88,7 +88,7 @@ public struct BuildBetaNotificationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Build: Codable { + public struct Build: Codable, Sendable { public let data: Data public init(data: Data) { @@ -112,7 +112,7 @@ public struct BuildBetaNotificationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The types and IDs of the related data to update. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildBetaNotificationResponse.swift b/Sources/Bagbutik-Models/TestFlight/BuildBetaNotificationResponse.swift index d552d3329..4e49790c9 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildBetaNotificationResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildBetaNotificationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildBetaNotificationResponse: Codable { +public struct BuildBetaNotificationResponse: Codable, Sendable { /// The resource data. public let data: BuildBetaNotification /// Navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildIndividualTestersLinkagesRequest.swift b/Sources/Bagbutik-Models/TestFlight/BuildIndividualTestersLinkagesRequest.swift index 6fe40231e..07b85562b 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildIndividualTestersLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildIndividualTestersLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildIndividualTestersLinkagesRequest: Codable, RequestBody { +public struct BuildIndividualTestersLinkagesRequest: Codable, Sendable, RequestBody { /// The types and IDs of related resources. public let data: [Data] @@ -33,7 +33,7 @@ public struct BuildIndividualTestersLinkagesRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildIndividualTestersLinkagesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BuildIndividualTestersLinkagesResponse.swift index d95d60d3a..a1790dc3b 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildIndividualTestersLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildIndividualTestersLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildIndividualTestersLinkagesResponse: Codable, PagedResponse { +public struct BuildIndividualTestersLinkagesResponse: Codable, Sendable, PagedResponse { /// The object types and IDs of the related resources. public let data: [Data] /// Navigational links including the self-link and links to the related data. @@ -46,7 +46,7 @@ public struct BuildIndividualTestersLinkagesResponse: Codable, PagedResponse { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildResponse.swift b/Sources/Bagbutik-Models/TestFlight/BuildResponse.swift index 9226a02ca..85114820f 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildResponse: Codable { +public struct BuildResponse: Codable, Sendable { /// The resource data. public let data: Build public var included: [Included]? @@ -140,7 +140,7 @@ public struct BuildResponse: Codable { }.first { $0.id == data.relationships?.preReleaseVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appEncryptionDeclaration(AppEncryptionDeclaration) case appStoreVersion(AppStoreVersion) diff --git a/Sources/Bagbutik-Models/TestFlight/BuildUpdateRequest.swift b/Sources/Bagbutik-Models/TestFlight/BuildUpdateRequest.swift index 394d4e565..faf157e86 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildUpdateRequest.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildUpdateRequest: Codable, RequestBody { +public struct BuildUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct BuildUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -77,7 +77,7 @@ public struct BuildUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A Boolean value that indicates if the build has expired. An expired build is unavailable for testing. public var expired: Bool? /// A Boolean value that indicates whether the build uses non-exempt encryption. @@ -110,7 +110,7 @@ public struct BuildUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var appEncryptionDeclaration: AppEncryptionDeclaration? public init(appEncryptionDeclaration: AppEncryptionDeclaration? = nil) { @@ -134,7 +134,7 @@ public struct BuildUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct AppEncryptionDeclaration: Codable { + public struct AppEncryptionDeclaration: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -158,7 +158,7 @@ public struct BuildUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/TestFlight/BuildWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BuildWithoutIncludesResponse.swift index 8e93db9ce..248546812 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BuildWithoutIncludesResponse: Codable { +public struct BuildWithoutIncludesResponse: Codable, Sendable { public let data: Build public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/TestFlight/BuildsResponse.swift b/Sources/Bagbutik-Models/TestFlight/BuildsResponse.swift index 7147ecffd..837ea66c8 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildsResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct BuildsResponse: Codable, PagedResponse { +public struct BuildsResponse: Codable, Sendable, PagedResponse { public typealias Data = Build /// The resource data. @@ -148,7 +148,7 @@ public struct BuildsResponse: Codable, PagedResponse { }.first { $0.id == build.relationships?.preReleaseVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case appEncryptionDeclaration(AppEncryptionDeclaration) case appStoreVersion(AppStoreVersion) diff --git a/Sources/Bagbutik-Models/TestFlight/BuildsWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/BuildsWithoutIncludesResponse.swift index b3cecade7..f10f2110c 100644 --- a/Sources/Bagbutik-Models/TestFlight/BuildsWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/BuildsWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct BuildsWithoutIncludesResponse: Codable, PagedResponse { +public struct BuildsWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = Build public let data: [Build] diff --git a/Sources/Bagbutik-Models/TestFlight/ExternalBetaState.swift b/Sources/Bagbutik-Models/TestFlight/ExternalBetaState.swift index b0bbba39f..79e2526d5 100644 --- a/Sources/Bagbutik-Models/TestFlight/ExternalBetaState.swift +++ b/Sources/Bagbutik-Models/TestFlight/ExternalBetaState.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum ExternalBetaState: String, Codable, CaseIterable { +public enum ExternalBetaState: String, Sendable, Codable, CaseIterable { case betaApproved = "BETA_APPROVED" case betaRejected = "BETA_REJECTED" case expired = "EXPIRED" diff --git a/Sources/Bagbutik-Models/TestFlight/ImageAsset.swift b/Sources/Bagbutik-Models/TestFlight/ImageAsset.swift index e1f48507e..84fb9440e 100644 --- a/Sources/Bagbutik-Models/TestFlight/ImageAsset.swift +++ b/Sources/Bagbutik-Models/TestFlight/ImageAsset.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ImageAsset: Codable { +public struct ImageAsset: Codable, Sendable { public var height: Int? public var templateUrl: String? public var width: Int? diff --git a/Sources/Bagbutik-Models/TestFlight/InternalBetaState.swift b/Sources/Bagbutik-Models/TestFlight/InternalBetaState.swift index fc85f3c0a..b863bbf48 100644 --- a/Sources/Bagbutik-Models/TestFlight/InternalBetaState.swift +++ b/Sources/Bagbutik-Models/TestFlight/InternalBetaState.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum InternalBetaState: String, Codable, CaseIterable { +public enum InternalBetaState: String, Sendable, Codable, CaseIterable { case expired = "EXPIRED" case inBetaTesting = "IN_BETA_TESTING" case inExportComplianceReview = "IN_EXPORT_COMPLIANCE_REVIEW" diff --git a/Sources/Bagbutik-Models/TestFlight/PreReleaseVersionsResponse.swift b/Sources/Bagbutik-Models/TestFlight/PreReleaseVersionsResponse.swift index 4b4e0ced6..1a6bd0475 100644 --- a/Sources/Bagbutik-Models/TestFlight/PreReleaseVersionsResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/PreReleaseVersionsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct PreReleaseVersionsResponse: Codable, PagedResponse { +public struct PreReleaseVersionsResponse: Codable, Sendable, PagedResponse { public typealias Data = PrereleaseVersion /// The resource data. @@ -65,7 +65,7 @@ public struct PreReleaseVersionsResponse: Codable, PagedResponse { return builds } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case build(Build) diff --git a/Sources/Bagbutik-Models/TestFlight/PreReleaseVersionsWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/PreReleaseVersionsWithoutIncludesResponse.swift index 5d227bcc5..4fdc23def 100644 --- a/Sources/Bagbutik-Models/TestFlight/PreReleaseVersionsWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/PreReleaseVersionsWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PreReleaseVersionsWithoutIncludesResponse: Codable, PagedResponse { +public struct PreReleaseVersionsWithoutIncludesResponse: Codable, Sendable, PagedResponse { public typealias Data = PrereleaseVersion public let data: [PrereleaseVersion] diff --git a/Sources/Bagbutik-Models/TestFlight/PrereleaseVersion.swift b/Sources/Bagbutik-Models/TestFlight/PrereleaseVersion.swift index 7257357df..651130f9e 100644 --- a/Sources/Bagbutik-Models/TestFlight/PrereleaseVersion.swift +++ b/Sources/Bagbutik-Models/TestFlight/PrereleaseVersion.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct PrereleaseVersion: Codable, Identifiable { +public struct PrereleaseVersion: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct PrereleaseVersion: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The platform of the prerelease version of your app. public var platform: Platform? /// The version number of the prerelease version of your app. @@ -91,7 +91,7 @@ public struct PrereleaseVersion: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var app: App? public var builds: Builds? @@ -121,7 +121,7 @@ public struct PrereleaseVersion: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { @NullCodable public var data: Data? public var links: Links? @@ -151,7 +151,7 @@ public struct PrereleaseVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -183,7 +183,7 @@ public struct PrereleaseVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? @@ -215,7 +215,7 @@ public struct PrereleaseVersion: Codable, Identifiable { Full documentation: */ - public struct Builds: Codable { + public struct Builds: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -250,7 +250,7 @@ public struct PrereleaseVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -282,7 +282,7 @@ public struct PrereleaseVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/TestFlight/PrereleaseVersionResponse.swift b/Sources/Bagbutik-Models/TestFlight/PrereleaseVersionResponse.swift index 52f891feb..809d4b397 100644 --- a/Sources/Bagbutik-Models/TestFlight/PrereleaseVersionResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/PrereleaseVersionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct PrereleaseVersionResponse: Codable { +public struct PrereleaseVersionResponse: Codable, Sendable { /// The resource data. public let data: PrereleaseVersion public var included: [Included]? @@ -57,7 +57,7 @@ public struct PrereleaseVersionResponse: Codable { return builds } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case build(Build) diff --git a/Sources/Bagbutik-Models/TestFlight/PrereleaseVersionWithoutIncludesResponse.swift b/Sources/Bagbutik-Models/TestFlight/PrereleaseVersionWithoutIncludesResponse.swift index e33b2f304..a19f90051 100644 --- a/Sources/Bagbutik-Models/TestFlight/PrereleaseVersionWithoutIncludesResponse.swift +++ b/Sources/Bagbutik-Models/TestFlight/PrereleaseVersionWithoutIncludesResponse.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct PrereleaseVersionWithoutIncludesResponse: Codable { +public struct PrereleaseVersionWithoutIncludesResponse: Codable, Sendable { public let data: PrereleaseVersion public let links: DocumentLinks diff --git a/Sources/Bagbutik-Models/Users/User.swift b/Sources/Bagbutik-Models/Users/User.swift index 270626164..3faf4fb54 100644 --- a/Sources/Bagbutik-Models/Users/User.swift +++ b/Sources/Bagbutik-Models/Users/User.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct User: Codable, Identifiable { +public struct User: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct User: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A Boolean value that indicates whether a user has access to all apps available to the team. public var allAppsVisible: Bool? /// The user's first name. @@ -115,7 +115,7 @@ public struct User: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var visibleApps: VisibleApps? public init(visibleApps: VisibleApps? = nil) { @@ -139,7 +139,7 @@ public struct User: Codable, Identifiable { Full documentation: */ - public struct VisibleApps: Codable { + public struct VisibleApps: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -174,7 +174,7 @@ public struct User: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -206,7 +206,7 @@ public struct User: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/Users/UserInvitation.swift b/Sources/Bagbutik-Models/Users/UserInvitation.swift index 6cb3ef984..9d588be22 100644 --- a/Sources/Bagbutik-Models/Users/UserInvitation.swift +++ b/Sources/Bagbutik-Models/Users/UserInvitation.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct UserInvitation: Codable, Identifiable { +public struct UserInvitation: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// Navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct UserInvitation: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A Boolean value that indicates whether a user has access to all apps available to the team. public var allAppsVisible: Bool? /// The email address of a pending user invitation. The email address must be valid to activate the account. It can be any email address, not necessarily one associated with an Apple ID. @@ -121,7 +121,7 @@ public struct UserInvitation: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var visibleApps: VisibleApps? public init(visibleApps: VisibleApps? = nil) { @@ -145,7 +145,7 @@ public struct UserInvitation: Codable, Identifiable { Full documentation: */ - public struct VisibleApps: Codable { + public struct VisibleApps: Codable, Sendable { @NullCodable public var data: [Data]? public var links: Links? public var meta: PagingInformation? @@ -180,7 +180,7 @@ public struct UserInvitation: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -212,7 +212,7 @@ public struct UserInvitation: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { public var related: String? public var itself: String? diff --git a/Sources/Bagbutik-Models/Users/UserInvitationCreateRequest.swift b/Sources/Bagbutik-Models/Users/UserInvitationCreateRequest.swift index b1bbf1cc7..df2a3f4d1 100644 --- a/Sources/Bagbutik-Models/Users/UserInvitationCreateRequest.swift +++ b/Sources/Bagbutik-Models/Users/UserInvitationCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct UserInvitationCreateRequest: Codable, RequestBody { +public struct UserInvitationCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct UserInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "userInvitations" } /// The resource's attributes. @@ -71,7 +71,7 @@ public struct UserInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A Boolean value that indicates whether a user has access to all apps available to the team. public var allAppsVisible: Bool? /// The email address of a pending user invitation. The email address must be valid to activate the account. It can be any email address, not necessarily one associated with an Apple ID. @@ -128,7 +128,7 @@ public struct UserInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var visibleApps: VisibleApps? public init(visibleApps: VisibleApps? = nil) { @@ -152,7 +152,7 @@ public struct UserInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct VisibleApps: Codable { + public struct VisibleApps: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -176,7 +176,7 @@ public struct UserInvitationCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/Users/UserInvitationResponse.swift b/Sources/Bagbutik-Models/Users/UserInvitationResponse.swift index 5514175ba..e6030319f 100644 --- a/Sources/Bagbutik-Models/Users/UserInvitationResponse.swift +++ b/Sources/Bagbutik-Models/Users/UserInvitationResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct UserInvitationResponse: Codable { +public struct UserInvitationResponse: Codable, Sendable { /// The resource data. public let data: UserInvitation public var included: [App]? diff --git a/Sources/Bagbutik-Models/Users/UserInvitationsResponse.swift b/Sources/Bagbutik-Models/Users/UserInvitationsResponse.swift index d53a6f8ef..c59ece3c2 100644 --- a/Sources/Bagbutik-Models/Users/UserInvitationsResponse.swift +++ b/Sources/Bagbutik-Models/Users/UserInvitationsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct UserInvitationsResponse: Codable, PagedResponse { +public struct UserInvitationsResponse: Codable, Sendable, PagedResponse { public typealias Data = UserInvitation /// The resource data. diff --git a/Sources/Bagbutik-Models/Users/UserResponse.swift b/Sources/Bagbutik-Models/Users/UserResponse.swift index 0403c5715..242850e4a 100644 --- a/Sources/Bagbutik-Models/Users/UserResponse.swift +++ b/Sources/Bagbutik-Models/Users/UserResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct UserResponse: Codable { +public struct UserResponse: Codable, Sendable { /// The resource data. public let data: User public var included: [App]? diff --git a/Sources/Bagbutik-Models/Users/UserRole.swift b/Sources/Bagbutik-Models/Users/UserRole.swift index 87cf9186f..298d1ca69 100644 --- a/Sources/Bagbutik-Models/Users/UserRole.swift +++ b/Sources/Bagbutik-Models/Users/UserRole.swift @@ -10,7 +10,7 @@ import Foundation Full documentation: */ -public enum UserRole: String, ParameterValue, Codable, CaseIterable { +public enum UserRole: String, Sendable, ParameterValue, Codable, CaseIterable { /// Permission to download reports associated with a role. The Access To Reports permission is an additional permission for users with the App Manager, Developer, Marketing, or Sales role. If you add this permission, the user has access to all of your apps. case accessToReports = "ACCESS_TO_REPORTS" /// Role responsible for entering into legal agreements with Apple. The person who completes program enrollment has the Account Holder role in their Apple Developer account and their App Store Connect account. diff --git a/Sources/Bagbutik-Models/Users/UserUpdateRequest.swift b/Sources/Bagbutik-Models/Users/UserUpdateRequest.swift index 2aa61bf12..178022db1 100644 --- a/Sources/Bagbutik-Models/Users/UserUpdateRequest.swift +++ b/Sources/Bagbutik-Models/Users/UserUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct UserUpdateRequest: Codable, RequestBody { +public struct UserUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct UserUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. @@ -77,7 +77,7 @@ public struct UserUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// Assigned user roles that determine the user's access to sections of App Store Connect and tasks they can perform. public var allAppsVisible: Bool? /// A Boolean value that indicates the user's specified role allows access to the provisioning functionality on the Apple Developer website. @@ -116,7 +116,7 @@ public struct UserUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var visibleApps: VisibleApps? public init(visibleApps: VisibleApps? = nil) { @@ -140,7 +140,7 @@ public struct UserUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct VisibleApps: Codable { + public struct VisibleApps: Codable, Sendable { @NullCodable public var data: [Data]? public init(data: [Data]? = nil) { @@ -164,7 +164,7 @@ public struct UserUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/Users/UserVisibleAppsLinkagesRequest.swift b/Sources/Bagbutik-Models/Users/UserVisibleAppsLinkagesRequest.swift index f971158e3..e014a83c6 100644 --- a/Sources/Bagbutik-Models/Users/UserVisibleAppsLinkagesRequest.swift +++ b/Sources/Bagbutik-Models/Users/UserVisibleAppsLinkagesRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct UserVisibleAppsLinkagesRequest: Codable, RequestBody { +public struct UserVisibleAppsLinkagesRequest: Codable, Sendable, RequestBody { /// The object types and IDs of the related resources. public let data: [Data] @@ -33,7 +33,7 @@ public struct UserVisibleAppsLinkagesRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/Users/UserVisibleAppsLinkagesResponse.swift b/Sources/Bagbutik-Models/Users/UserVisibleAppsLinkagesResponse.swift index 688128da9..c81b26ecc 100644 --- a/Sources/Bagbutik-Models/Users/UserVisibleAppsLinkagesResponse.swift +++ b/Sources/Bagbutik-Models/Users/UserVisibleAppsLinkagesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct UserVisibleAppsLinkagesResponse: Codable, PagedResponse { +public struct UserVisibleAppsLinkagesResponse: Codable, Sendable, PagedResponse { /// The object types and IDs of the related resources. public let data: [Data] /// Navigational links including the self-link and links to the related data. @@ -46,7 +46,7 @@ public struct UserVisibleAppsLinkagesResponse: Codable, PagedResponse { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/Users/UsersResponse.swift b/Sources/Bagbutik-Models/Users/UsersResponse.swift index 31efacb69..18bebd766 100644 --- a/Sources/Bagbutik-Models/Users/UsersResponse.swift +++ b/Sources/Bagbutik-Models/Users/UsersResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct UsersResponse: Codable, PagedResponse { +public struct UsersResponse: Codable, Sendable, PagedResponse { public typealias Data = User /// The resource data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiAction.swift b/Sources/Bagbutik-Models/XcodeCloud/CiAction.swift index 4f244fab0..50d4e6581 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiAction.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiAction.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiAction: Codable { +public struct CiAction: Codable, Sendable { /// The type of the action. public var actionType: CiActionType? /// A type that indicates whether a build’s artifact is eligible for release on the App Store. @@ -69,7 +69,7 @@ public struct CiAction: Codable { try container.encodeIfPresent(testConfiguration, forKey: "testConfiguration") } - public enum Destination: String, Codable, CaseIterable { + public enum Destination: String, Sendable, Codable, CaseIterable { case anyIosDevice = "ANY_IOS_DEVICE" case anyIosSimulator = "ANY_IOS_SIMULATOR" case anyMac = "ANY_MAC" @@ -82,7 +82,7 @@ public struct CiAction: Codable { case anyWatchosSimulator = "ANY_WATCHOS_SIMULATOR" } - public enum Platform: String, Codable, CaseIterable { + public enum Platform: String, Sendable, Codable, CaseIterable { case iOS = "IOS" case macOS = "MACOS" case tvOS = "TVOS" @@ -97,7 +97,7 @@ public struct CiAction: Codable { Full documentation: */ - public struct TestConfiguration: Codable { + public struct TestConfiguration: Codable, Sendable { /// A string that describes whether the test action uses the scheme’s default tests or a specific test plan. public var kind: Kind? /// A list of destination information for the test configuration. @@ -128,7 +128,7 @@ public struct CiAction: Codable { try container.encodeIfPresent(testPlanName, forKey: "testPlanName") } - public enum Kind: String, Codable, CaseIterable { + public enum Kind: String, Sendable, Codable, CaseIterable { case specificTestPlans = "SPECIFIC_TEST_PLANS" case useSchemeSettings = "USE_SCHEME_SETTINGS" } diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiActionType.swift b/Sources/Bagbutik-Models/XcodeCloud/CiActionType.swift index a83f885c7..47047232a 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiActionType.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiActionType.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum CiActionType: String, Codable, CaseIterable { +public enum CiActionType: String, Sendable, Codable, CaseIterable { /// The action is an analyze action. case analyze = "ANALYZE" /// The action is an archive action. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiArtifact.swift b/Sources/Bagbutik-Models/XcodeCloud/CiArtifact.swift index d69bd0f93..9f6c79c81 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiArtifact.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiArtifact.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiArtifact: Codable, Identifiable { +public struct CiArtifact: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an Artifacts resource. public let id: String /// The navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct CiArtifact: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The URL you use to download the Xcode Cloud build artifact. public var downloadUrl: String? /// The artifact’s filename as a string. @@ -89,7 +89,7 @@ public struct CiArtifact: Codable, Identifiable { try container.encodeIfPresent(fileType, forKey: "fileType") } - public enum FileType: String, Codable, CaseIterable { + public enum FileType: String, Sendable, Codable, CaseIterable { case archive = "ARCHIVE" case archiveExport = "ARCHIVE_EXPORT" case logBundle = "LOG_BUNDLE" diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiArtifactResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiArtifactResponse.swift index 37333592f..617713139 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiArtifactResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiArtifactResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiArtifactResponse: Codable { +public struct CiArtifactResponse: Codable, Sendable { /// The resource data. public let data: CiArtifact /// The navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiArtifactsResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiArtifactsResponse.swift index 687df278a..a7889fd6e 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiArtifactsResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiArtifactsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiArtifactsResponse: Codable, PagedResponse { +public struct CiArtifactsResponse: Codable, Sendable, PagedResponse { public typealias Data = CiArtifact /// The resource data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiBranchPatterns.swift b/Sources/Bagbutik-Models/XcodeCloud/CiBranchPatterns.swift index c342bea4c..d4b1b1bc3 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiBranchPatterns.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiBranchPatterns.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiBranchPatterns: Codable { +public struct CiBranchPatterns: Codable, Sendable { /// ​A Boolean value that indicates whether a start condition’s settings apply to all branches. If `true`, the `patterns` attribute isn’t expected. If `false`, the `patterns` attribute is required. public var isAllMatch: Bool? /// The list of case-sensitive patterns Xcode Cloud uses to determine if a change meets branch names you configure for a workflow’s start condition. @@ -40,7 +40,7 @@ public struct CiBranchPatterns: Codable { Full documentation: */ - public struct Patterns: Codable { + public struct Patterns: Codable, Sendable { /// A Boolean value that indicates whether the pattern matches the start of a branch name, or the exact branch name. public var isPrefix: Bool? /// A case-sensitive string. If the string is a prefix pattern, Xcode Cloud starts a build when the changed branch name starts with this string. Otherwise, Xcode Cloud starts a build when the changed branch name exactly matches this string. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiBranchStartCondition.swift b/Sources/Bagbutik-Models/XcodeCloud/CiBranchStartCondition.swift index d5c0e7384..f7b841990 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiBranchStartCondition.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiBranchStartCondition.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiBranchStartCondition: Codable { +public struct CiBranchStartCondition: Codable, Sendable { /// A Boolean value that indicates whether Xcode Cloud automatically cancels or skips builds. public var autoCancel: Bool? /// Settings Xcode Cloud uses to determine whether a change to a branch should start a new build or not. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiBuildAction.swift b/Sources/Bagbutik-Models/XcodeCloud/CiBuildAction.swift index 07a0900ff..3eb1c025a 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiBuildAction.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiBuildAction.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiBuildAction: Codable, Identifiable { +public struct CiBuildAction: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Build Actions resource. public let id: String /// The navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct CiBuildAction: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The type of the build action. public var actionType: CiActionType? /// The status of the action. @@ -127,7 +127,7 @@ public struct CiBuildAction: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The data and links that describe the relationship between the Build Actions and the Build Runs resources. public var buildRun: BuildRun? @@ -152,7 +152,7 @@ public struct CiBuildAction: Codable, Identifiable { Full documentation: */ - public struct BuildRun: Codable { + public struct BuildRun: Codable, Sendable { /// The ID and type of the related Build Runs resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -184,7 +184,7 @@ public struct CiBuildAction: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Build Runs resource. public let id: String /// The resource type. @@ -216,7 +216,7 @@ public struct CiBuildAction: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiBuildActionResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiBuildActionResponse.swift index 3ca304768..7ad18f029 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiBuildActionResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiBuildActionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiBuildActionResponse: Codable { +public struct CiBuildActionResponse: Codable, Sendable { /// The resource data. public let data: CiBuildAction /// The requested relationship data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiBuildActionsResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiBuildActionsResponse.swift index 3942cd679..270de8d42 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiBuildActionsResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiBuildActionsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiBuildActionsResponse: Codable, PagedResponse { +public struct CiBuildActionsResponse: Codable, Sendable, PagedResponse { public typealias Data = CiBuildAction /// The resource data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiBuildRun.swift b/Sources/Bagbutik-Models/XcodeCloud/CiBuildRun.swift index f52b91413..1b70f055d 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiBuildRun.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiBuildRun.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiBuildRun: Codable, Identifiable { +public struct CiBuildRun: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Build Runs resource. public let id: String /// The navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A string that indicates the reason for a canceled build. public var cancelReason: CancelReason? /// A string that indicates the status of a completed build. @@ -143,7 +143,7 @@ public struct CiBuildRun: Codable, Identifiable { try container.encodeIfPresent(startedDate, forKey: "startedDate") } - public enum CancelReason: String, Codable, CaseIterable { + public enum CancelReason: String, Sendable, Codable, CaseIterable { case automaticallyByNewerBuild = "AUTOMATICALLY_BY_NEWER_BUILD" case manuallyByUser = "MANUALLY_BY_USER" } @@ -155,7 +155,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct DestinationCommit: Codable { + public struct DestinationCommit: Codable, Sendable { /// The author of the commit. public var author: CiGitUser? /// The commit hash. @@ -206,7 +206,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct SourceCommit: Codable { + public struct SourceCommit: Codable, Sendable { /// The author of the commit. public var author: CiGitUser? /// The commit hash. @@ -250,7 +250,7 @@ public struct CiBuildRun: Codable, Identifiable { } } - public enum StartReason: String, Codable, CaseIterable { + public enum StartReason: String, Sendable, Codable, CaseIterable { case gitRefChange = "GIT_REF_CHANGE" case manual = "MANUAL" case manualRebuild = "MANUAL_REBUILD" @@ -267,7 +267,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The data and links that describe the relationship between the Build Runs and the Builds resources. public var builds: Builds? /// The data and links that describe the relationship between the Build Runs resource and the Git References resource that represents the destination branch. @@ -323,7 +323,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Builds: Codable { + public struct Builds: Codable, Sendable { /// The ID and type of the related Builds resource. @NullCodable public var data: [Data]? /// The navigational links that include the self-link. @@ -361,7 +361,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Builds resource. public let id: String /// The resource type. @@ -393,7 +393,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -427,7 +427,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct DestinationBranch: Codable { + public struct DestinationBranch: Codable, Sendable { /// The ID of the related Git References resource that represents the destination branch. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -459,7 +459,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Git References resource that represents the destination branch. public let id: String /// The resource type. @@ -491,7 +491,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -525,7 +525,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Product: Codable { + public struct Product: Codable, Sendable { /// The ID and type of the related Products resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -557,7 +557,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Products resource. public let id: String /// The resource type. @@ -589,7 +589,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -623,7 +623,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct PullRequest: Codable, RequestBody { + public struct PullRequest: Codable, Sendable, RequestBody { /// The ID and type of the related Pull Requests resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -655,7 +655,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Pull Requests resource. public let id: String /// The resource type. @@ -687,7 +687,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -721,7 +721,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct SourceBranchOrTag: Codable { + public struct SourceBranchOrTag: Codable, Sendable { /// The ID and type of the related Git References resource that represents the source branch or tag. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -753,7 +753,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Git References resource that represents the source branch or tag. public let id: String /// The resource type. @@ -785,7 +785,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -819,7 +819,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Workflow: Codable { + public struct Workflow: Codable, Sendable { /// The ID and type of the related Workflows resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -851,7 +851,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Workflows resource. public let id: String /// The resource type. @@ -883,7 +883,7 @@ public struct CiBuildRun: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunCreateRequest.swift b/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunCreateRequest.swift index c2aff5416..0035cd0b6 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunCreateRequest.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiBuildRunCreateRequest: Codable, RequestBody { +public struct CiBuildRunCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "ciBuildRuns" } /// The attributes that describe the request that creates a Build Runs resource. @@ -71,7 +71,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// A Boolean value that indicates whether Xcode Cloud should perform a clean build. public var clean: Bool? @@ -97,7 +97,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Build Runs resource. public var buildRun: BuildRun? /// The related Pull Requests resource. @@ -141,7 +141,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct BuildRun: Codable { + public struct BuildRun: Codable, Sendable { /// The ID and type of the related Build Runs resource. @NullCodable public var data: Data? @@ -166,7 +166,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Build Runs resource. public let id: String /// The resource type. @@ -199,7 +199,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct PullRequest: Codable, RequestBody { + public struct PullRequest: Codable, Sendable, RequestBody { /// The ID and type of the related Pull Requests resource. @NullCodable public var data: Data? @@ -224,7 +224,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Pull Requests resource. public let id: String /// The resource type. @@ -257,7 +257,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct SourceBranchOrTag: Codable { + public struct SourceBranchOrTag: Codable, Sendable { /// The ID and type of the related Git References resource that represents the source branch or tag. @NullCodable public var data: Data? @@ -282,7 +282,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Git References resource that represents the source branch or tag. public let id: String /// The resource type. @@ -315,7 +315,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Workflow: Codable { + public struct Workflow: Codable, Sendable { /// The ID and type of the related Workflows resource. @NullCodable public var data: Data? @@ -340,7 +340,7 @@ public struct CiBuildRunCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Workflows resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunResponse.swift index 79f11d8ca..6ad724afa 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiBuildRunResponse: Codable { +public struct CiBuildRunResponse: Codable, Sendable { /// The resource data. public let data: CiBuildRun /// The requested relationship data. @@ -86,7 +86,7 @@ public struct CiBuildRunResponse: Codable { }.first { $0.id == data.relationships?.workflow?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case build(Build) case ciProduct(CiProduct) case ciWorkflow(CiWorkflow) diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunsResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunsResponse.swift index beff343a1..d30edf9c7 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunsResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiBuildRunsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiBuildRunsResponse: Codable, PagedResponse { +public struct CiBuildRunsResponse: Codable, Sendable, PagedResponse { public typealias Data = CiBuildRun /// The resource data. @@ -94,7 +94,7 @@ public struct CiBuildRunsResponse: Codable, PagedResponse { }.first { $0.id == ciBuildRun.relationships?.workflow?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case build(Build) case ciProduct(CiProduct) case ciWorkflow(CiWorkflow) diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiCompletionStatus.swift b/Sources/Bagbutik-Models/XcodeCloud/CiCompletionStatus.swift index b4771f2d4..d7feb23b3 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiCompletionStatus.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiCompletionStatus.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum CiCompletionStatus: String, Codable, CaseIterable { +public enum CiCompletionStatus: String, Sendable, Codable, CaseIterable { /// Xcode Cloud canceled the build because you manually canceled an ongoing build or because you enabled the Auto-cancel Builds setting for a workflow. For more information about the Auto-cancel Builds setting, see [Xcode Cloud workflow reference](https://developer.apple.com/documentation/xcode/xcode-cloud-workflow-reference). case canceled = "CANCELED" /// Xcode Cloud encountered an internal error when it performed the build. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiExecutionProgress.swift b/Sources/Bagbutik-Models/XcodeCloud/CiExecutionProgress.swift index da47836ab..cc469707a 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiExecutionProgress.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiExecutionProgress.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum CiExecutionProgress: String, Codable, CaseIterable { +public enum CiExecutionProgress: String, Sendable, Codable, CaseIterable { /// Xcode Cloud completed the build. case complete = "COMPLETE" /// Xcode Cloud hasn’t started the build. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiFilesAndFoldersRule.swift b/Sources/Bagbutik-Models/XcodeCloud/CiFilesAndFoldersRule.swift index ca3c6ca7c..6d8ff82d7 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiFilesAndFoldersRule.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiFilesAndFoldersRule.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiFilesAndFoldersRule: Codable { +public struct CiFilesAndFoldersRule: Codable, Sendable { /// Directory and file information Xcode Cloud uses to determine if a change to a file or directory matches a custom start condition. public var matchers: [CiStartConditionFileMatcher]? /// A string that indicates whether a workflow’s start condition’s Files and Folders setting should start a new build or not for a change. @@ -33,7 +33,7 @@ public struct CiFilesAndFoldersRule: Codable { try container.encodeIfPresent(mode, forKey: "mode") } - public enum Mode: String, Codable, CaseIterable { + public enum Mode: String, Sendable, Codable, CaseIterable { case doNotStartIfAllFilesMatch = "DO_NOT_START_IF_ALL_FILES_MATCH" case startIfAnyFileMatches = "START_IF_ANY_FILE_MATCHES" } diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiGitRefKind.swift b/Sources/Bagbutik-Models/XcodeCloud/CiGitRefKind.swift index 7a95456d5..54c5928e6 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiGitRefKind.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiGitRefKind.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum CiGitRefKind: String, Codable, CaseIterable { +public enum CiGitRefKind: String, Sendable, Codable, CaseIterable { /// The Git reference represents a branch. case branch = "BRANCH" /// The Git reference represents a tag. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiGitUser.swift b/Sources/Bagbutik-Models/XcodeCloud/CiGitUser.swift index 3f92682bc..338b4d03f 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiGitUser.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiGitUser.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiGitUser: Codable { +public struct CiGitUser: Codable, Sendable { /// The URL to the Git user’s avatar image. public var avatarUrl: String? /// The name of the Git user. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiIssue.swift b/Sources/Bagbutik-Models/XcodeCloud/CiIssue.swift index 69b5b0922..3df7a42eb 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiIssue.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiIssue.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiIssue: Codable, Identifiable { +public struct CiIssue: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an Issues resource. public let id: String /// The navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct CiIssue: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// ​A string representing the issue’s category; for example, the name of the build phase where the issue occurred. public var category: String? /// The file and line number where Xcode Cloud encountered an issue. @@ -89,7 +89,7 @@ public struct CiIssue: Codable, Identifiable { try container.encodeIfPresent(message, forKey: "message") } - public enum IssueType: String, Codable, CaseIterable { + public enum IssueType: String, Sendable, Codable, CaseIterable { case analyzerWarning = "ANALYZER_WARNING" case error = "ERROR" case testFailure = "TEST_FAILURE" diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiIssueCounts.swift b/Sources/Bagbutik-Models/XcodeCloud/CiIssueCounts.swift index 28e8f0ee2..1a4fc0029 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiIssueCounts.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiIssueCounts.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiIssueCounts: Codable { +public struct CiIssueCounts: Codable, Sendable { /// The number of analyzer warnings. public var analyzerWarnings: Int? /// The number of errors. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiIssueResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiIssueResponse.swift index 5a3cdfebc..63e912c00 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiIssueResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiIssueResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiIssueResponse: Codable { +public struct CiIssueResponse: Codable, Sendable { /// The resource data. public let data: CiIssue /// The navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiIssuesResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiIssuesResponse.swift index 30bea234f..47ece4ad9 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiIssuesResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiIssuesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiIssuesResponse: Codable, PagedResponse { +public struct CiIssuesResponse: Codable, Sendable, PagedResponse { public typealias Data = CiIssue /// The resource data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersion.swift b/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersion.swift index 86225b9b3..7f009b661 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersion.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersion.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiMacOsVersion: Codable, Identifiable { +public struct CiMacOsVersion: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a macOS Versions resource. public let id: String /// The navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct CiMacOsVersion: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The name of the macOS version. public var name: String? /// The macOS version of the simulated environment. @@ -91,7 +91,7 @@ public struct CiMacOsVersion: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The macOS version’s related Xcode version. public var xcodeVersions: XcodeVersions? @@ -116,7 +116,7 @@ public struct CiMacOsVersion: Codable, Identifiable { Full documentation: */ - public struct XcodeVersions: Codable { + public struct XcodeVersions: Codable, Sendable { /// The ID and type of the related Xcode Versions resource. @NullCodable public var data: [Data]? /// The navigational links that include the self-link. @@ -154,7 +154,7 @@ public struct CiMacOsVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Xcode Versions resource. public let id: String /// The resource type. @@ -186,7 +186,7 @@ public struct CiMacOsVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersionResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersionResponse.swift index 3746a05f1..74343b10b 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersionResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiMacOsVersionResponse: Codable { +public struct CiMacOsVersionResponse: Codable, Sendable { /// The resource data. public let data: CiMacOsVersion /// The requested relationship data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersionsResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersionsResponse.swift index 0a6c00004..eebc105fc 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersionsResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiMacOsVersionsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiMacOsVersionsResponse: Codable, PagedResponse { +public struct CiMacOsVersionsResponse: Codable, Sendable, PagedResponse { public typealias Data = CiMacOsVersion /// The resource data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiManualBranchStartCondition.swift b/Sources/Bagbutik-Models/XcodeCloud/CiManualBranchStartCondition.swift index d0ab223dd..8db65b518 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiManualBranchStartCondition.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiManualBranchStartCondition.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct CiManualBranchStartCondition: Codable { +public struct CiManualBranchStartCondition: Codable, Sendable { public var source: CiBranchPatterns? public init(source: CiBranchPatterns? = nil) { diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiManualPullRequestStartCondition.swift b/Sources/Bagbutik-Models/XcodeCloud/CiManualPullRequestStartCondition.swift index 115c6cbe8..696fca505 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiManualPullRequestStartCondition.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiManualPullRequestStartCondition.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct CiManualPullRequestStartCondition: Codable { +public struct CiManualPullRequestStartCondition: Codable, Sendable { public var destination: CiBranchPatterns? public var source: CiBranchPatterns? diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiManualTagStartCondition.swift b/Sources/Bagbutik-Models/XcodeCloud/CiManualTagStartCondition.swift index 02d6b48f5..27bda887c 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiManualTagStartCondition.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiManualTagStartCondition.swift @@ -1,7 +1,7 @@ import Bagbutik_Core import Foundation -public struct CiManualTagStartCondition: Codable { +public struct CiManualTagStartCondition: Codable, Sendable { public var source: CiTagPatterns? public init(source: CiTagPatterns? = nil) { diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiProduct.swift b/Sources/Bagbutik-Models/XcodeCloud/CiProduct.swift index 62cabb411..227208b00 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiProduct.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiProduct.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiProduct: Codable, Identifiable { +public struct CiProduct: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Products resource. public let id: String /// The navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The date when you created the Xcode Cloud product. public var createdDate: Date? /// The name of the Xcode Cloud product. @@ -89,7 +89,7 @@ public struct CiProduct: Codable, Identifiable { try container.encodeIfPresent(productType, forKey: "productType") } - public enum ProductType: String, ParameterValue, Codable, CaseIterable { + public enum ProductType: String, Sendable, ParameterValue, Codable, CaseIterable { case app = "APP" case framework = "FRAMEWORK" } @@ -102,7 +102,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Apps resource. public var app: App? /// The related bundle ID. @@ -140,7 +140,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct App: Codable { + public struct App: Codable, Sendable { /// The ID and type of the related Apps resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -172,7 +172,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Apps resource. public let id: String /// The resource type. @@ -204,7 +204,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -238,7 +238,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct BundleId: Codable { + public struct BundleId: Codable, Sendable { /// The ID and type of the related Bundle IDs resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -270,7 +270,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Bundle IDs resource. public let id: String /// The resource type. @@ -302,7 +302,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -336,7 +336,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct PrimaryRepositories: Codable { + public struct PrimaryRepositories: Codable, Sendable { /// The ID and type of the related Repositories resource that represents the primary repository. @NullCodable public var data: [Data]? /// The navigational links that include the self-link. @@ -374,7 +374,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Repositories resource that represents the primary repository. public let id: String /// The resource type. @@ -406,7 +406,7 @@ public struct CiProduct: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiProductResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiProductResponse.swift index 8397645fe..aacb1112d 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiProductResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiProductResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiProductResponse: Codable { +public struct CiProductResponse: Codable, Sendable { /// The resource data. public let data: CiProduct /// The requested relationship data. @@ -65,7 +65,7 @@ public struct CiProductResponse: Codable { return primaryRepositories } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case bundleId(BundleId) case scmRepository(ScmRepository) diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiProductsResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiProductsResponse.swift index 7fb4ead79..92342e72b 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiProductsResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiProductsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiProductsResponse: Codable, PagedResponse { +public struct CiProductsResponse: Codable, Sendable, PagedResponse { public typealias Data = CiProduct /// The resource data. @@ -73,7 +73,7 @@ public struct CiProductsResponse: Codable, PagedResponse { return primaryRepositories } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case bundleId(BundleId) case scmRepository(ScmRepository) diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiPullRequestStartCondition.swift b/Sources/Bagbutik-Models/XcodeCloud/CiPullRequestStartCondition.swift index d478efe02..295dcf4a6 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiPullRequestStartCondition.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiPullRequestStartCondition.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiPullRequestStartCondition: Codable { +public struct CiPullRequestStartCondition: Codable, Sendable { /// A Boolean value that indicates whether Xcode Cloud automatically cancels or skips builds. public var autoCancel: Bool? /// The destination branch name and custom patterns you configure for a workflow that starts a new build for changes to a pull request. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiScheduledStartCondition.swift b/Sources/Bagbutik-Models/XcodeCloud/CiScheduledStartCondition.swift index c57438d7b..59d10744e 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiScheduledStartCondition.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiScheduledStartCondition.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiScheduledStartCondition: Codable { +public struct CiScheduledStartCondition: Codable, Sendable { /// The schedule information you configure for a workflow that starts a new build based on a schedule. public var schedule: Schedule? /// The source branch name and custom patterns you configure for a workflow that starts a new build on a schedule. @@ -40,7 +40,7 @@ public struct CiScheduledStartCondition: Codable { Full documentation: */ - public struct Schedule: Codable { + public struct Schedule: Codable, Sendable { /// A list of days you configure for the start condition that starts a new build on a schedule. public var days: [Days]? /// A string indicating the frequency of the start condition that starts a new build on a schedule. @@ -83,7 +83,7 @@ public struct CiScheduledStartCondition: Codable { try container.encodeIfPresent(timezone, forKey: "timezone") } - public enum Days: String, Codable, CaseIterable { + public enum Days: String, Sendable, Codable, CaseIterable { case friday = "FRIDAY" case monday = "MONDAY" case saturday = "SATURDAY" @@ -93,7 +93,7 @@ public struct CiScheduledStartCondition: Codable { case wednesday = "WEDNESDAY" } - public enum Frequency: String, Codable, CaseIterable { + public enum Frequency: String, Sendable, Codable, CaseIterable { case daily = "DAILY" case hourly = "HOURLY" case weekly = "WEEKLY" diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiStartConditionFileMatcher.swift b/Sources/Bagbutik-Models/XcodeCloud/CiStartConditionFileMatcher.swift index 9a96e69e6..be7b088c4 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiStartConditionFileMatcher.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiStartConditionFileMatcher.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiStartConditionFileMatcher: Codable { +public struct CiStartConditionFileMatcher: Codable, Sendable { /// The directory you configure for a custom start condition’s Files and Folders setting. public var directory: String? /// The file extension you configure for a custom start condition’s Files and Folders setting. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiTagPatterns.swift b/Sources/Bagbutik-Models/XcodeCloud/CiTagPatterns.swift index 6e1f1af76..982ec835d 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiTagPatterns.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiTagPatterns.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiTagPatterns: Codable { +public struct CiTagPatterns: Codable, Sendable { /// ​A Boolean value that indicates whether a start condition’s settings apply to all tags. If `true`, the `patterns` attribute isn’t expected. If `false`, the `patterns` attribute is required. public var isAllMatch: Bool? /// The list of case-sensitive patterns Xcode Cloud uses to determine if a change meets tag names you configure for a workflow’s start condition. @@ -40,7 +40,7 @@ public struct CiTagPatterns: Codable { Full documentation: */ - public struct Patterns: Codable { + public struct Patterns: Codable, Sendable { /// A Boolean value that indicates whether the pattern matches the start of a tag name, or the exact tag name. public var isPrefix: Bool? /// A case-sensitive string. If the string is a prefix pattern, Xcode Cloud starts a build when the changed tag name starts with this string. Otherwise, Xcode Cloud starts a build when the changed tag name exactly matches this string. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiTagStartCondition.swift b/Sources/Bagbutik-Models/XcodeCloud/CiTagStartCondition.swift index be722418b..ac1823400 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiTagStartCondition.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiTagStartCondition.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiTagStartCondition: Codable { +public struct CiTagStartCondition: Codable, Sendable { /// A Boolean value that indicates whether Xcode Cloud automatically cancels or skips builds. public var autoCancel: Bool? /// Settings Xcode Cloud uses to determine whether a change to a tag should start a new build or not. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiTestDestination.swift b/Sources/Bagbutik-Models/XcodeCloud/CiTestDestination.swift index 6ec74d39c..356e6c6be 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiTestDestination.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiTestDestination.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiTestDestination: Codable { +public struct CiTestDestination: Codable, Sendable { /// A string that uniquely identifies the simulated device Xcode Cloud uses for a test action, for example, `com.apple.CoreSimulator.SimDeviceType.iPhone-12`. public var deviceTypeIdentifier: String? /// The display name of the simulated device that Xcode Cloud uses for a test action, for example, iPhone 12. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiTestDestinationKind.swift b/Sources/Bagbutik-Models/XcodeCloud/CiTestDestinationKind.swift index e35397643..12ed7c285 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiTestDestinationKind.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiTestDestinationKind.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum CiTestDestinationKind: String, Codable, CaseIterable { +public enum CiTestDestinationKind: String, Sendable, Codable, CaseIterable { /// The test destination is a Mac. case mac = "MAC" /// The test destination is a simulated device. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiTestResult.swift b/Sources/Bagbutik-Models/XcodeCloud/CiTestResult.swift index bcc70d021..b308b2ac0 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiTestResult.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiTestResult.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiTestResult: Codable, Identifiable { +public struct CiTestResult: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Test Results resource. public let id: String /// The navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct CiTestResult: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The name of the class that contained the tests Xcode Cloud performed. public var className: String? /// Information about the test results for a specific test destination. @@ -108,7 +108,7 @@ public struct CiTestResult: Codable, Identifiable { Full documentation: */ - public struct DestinationTestResults: Codable { + public struct DestinationTestResults: Codable, Sendable { /// The name of the simulated device used for tests. public var deviceName: String? /// The time it took to perform a test on a specific simulated device. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiTestResultResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiTestResultResponse.swift index ac2f13198..c760b407c 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiTestResultResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiTestResultResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiTestResultResponse: Codable { +public struct CiTestResultResponse: Codable, Sendable { /// The resource data. public let data: CiTestResult /// The navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiTestResultsResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiTestResultsResponse.swift index 8e11ea089..6416198d3 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiTestResultsResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiTestResultsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiTestResultsResponse: Codable, PagedResponse { +public struct CiTestResultsResponse: Codable, Sendable, PagedResponse { public typealias Data = CiTestResult /// The resource data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiTestStatus.swift b/Sources/Bagbutik-Models/XcodeCloud/CiTestStatus.swift index 51c1f8696..3ac36248f 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiTestStatus.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiTestStatus.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public enum CiTestStatus: String, Codable, CaseIterable { +public enum CiTestStatus: String, Sendable, Codable, CaseIterable { /// Tests failed that you marked as expected to fail with [XCTExpectFailure](https://developer.apple.com/documentation/xctest/3726077-xctexpectfailure). case expectedFailure = "EXPECTED_FAILURE" /// The tests failed. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiWorkflow.swift b/Sources/Bagbutik-Models/XcodeCloud/CiWorkflow.swift index eb3242e3a..81e125b2d 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiWorkflow.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiWorkflow.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiWorkflow: Codable, Identifiable { +public struct CiWorkflow: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Workflows resource. public let id: String /// The navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The actions that are part of the workflow. public var actions: [CiAction]? /// The workflow’s start condition that starts new builds for changes to a branch. @@ -166,7 +166,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related macOS Versions resource. public var macOsVersion: MacOsVersion? /// The related Products resource. @@ -210,7 +210,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct MacOsVersion: Codable { + public struct MacOsVersion: Codable, Sendable { /// The ID and type of the related macOS Versions resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -242,7 +242,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related macOS Versions resource. public let id: String /// The resource type. @@ -274,7 +274,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -308,7 +308,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Product: Codable { + public struct Product: Codable, Sendable { /// The ID and type of the related Products resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -340,7 +340,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Products resource. public let id: String /// The resource type. @@ -372,7 +372,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -406,7 +406,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Repository: Codable { + public struct Repository: Codable, Sendable { /// The ID and type of the related Repositories resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -438,7 +438,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Repositories resource. public let id: String /// The resource type. @@ -470,7 +470,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -504,7 +504,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct XcodeVersion: Codable { + public struct XcodeVersion: Codable, Sendable { /// The ID and type of the related Xcode Versions resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -536,7 +536,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Xcode Versions resource. public let id: String /// The resource type. @@ -568,7 +568,7 @@ public struct CiWorkflow: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowCreateRequest.swift b/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowCreateRequest.swift index 974595ae4..acae60ed8 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowCreateRequest.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowCreateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiWorkflowCreateRequest: Codable, RequestBody { +public struct CiWorkflowCreateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable { + public struct Data: Codable, Sendable { /// The resource type. public var type: String { "ciWorkflows" } /// The attributes that describe the request that creates a Workflows resource. @@ -71,7 +71,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The workflow’s actions. public let actions: [CiAction] /// A start condition that starts new builds for changes to a branch. @@ -173,7 +173,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related macOS Versions resource. public let macOsVersion: MacOsVersion /// The related Products resource. @@ -217,7 +217,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct MacOsVersion: Codable { + public struct MacOsVersion: Codable, Sendable { /// The ID and type of the related macOS Versions resource. public let data: Data @@ -242,7 +242,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related macOS Versions resource. public let id: String /// The resource type. @@ -275,7 +275,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Product: Codable { + public struct Product: Codable, Sendable { /// The ID and type of the related Products resource. public let data: Data @@ -300,7 +300,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Products resource. public let id: String /// The resource type. @@ -333,7 +333,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Repository: Codable { + public struct Repository: Codable, Sendable { /// The ID and type of the related Repositories resource. public let data: Data @@ -358,7 +358,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Repositories resource. public let id: String /// The resource type. @@ -391,7 +391,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct XcodeVersion: Codable { + public struct XcodeVersion: Codable, Sendable { /// The ID and type of the related Xcode Versions resource. public let data: Data @@ -416,7 +416,7 @@ public struct CiWorkflowCreateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Xcode Versions resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowResponse.swift index cd78c686d..2112d7afc 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiWorkflowResponse: Codable { +public struct CiWorkflowResponse: Codable, Sendable { /// The resource data. public let data: CiWorkflow /// The requested relationship data. @@ -67,7 +67,7 @@ public struct CiWorkflowResponse: Codable { }.first { $0.id == data.relationships?.xcodeVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case ciMacOsVersion(CiMacOsVersion) case ciProduct(CiProduct) case ciXcodeVersion(CiXcodeVersion) diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowUpdateRequest.swift b/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowUpdateRequest.swift index e1880b261..6cb653c54 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowUpdateRequest.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowUpdateRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiWorkflowUpdateRequest: Codable, RequestBody { +public struct CiWorkflowUpdateRequest: Codable, Sendable, RequestBody { /// The resource data. public let data: Data @@ -33,7 +33,7 @@ public struct CiWorkflowUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the request. public let id: String /// The resource type. @@ -77,7 +77,7 @@ public struct CiWorkflowUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The workflow’s actions. public var actions: [CiAction]? /// The workflow’s start condition that starts new builds for changes to a branch. @@ -179,7 +179,7 @@ public struct CiWorkflowUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related macOS Versions resource. public var macOsVersion: MacOsVersion? /// The related Xcode Versions resource. @@ -211,7 +211,7 @@ public struct CiWorkflowUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct MacOsVersion: Codable { + public struct MacOsVersion: Codable, Sendable { /// The ID and type of the related macOS Versions resource. @NullCodable public var data: Data? @@ -236,7 +236,7 @@ public struct CiWorkflowUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related macOS Versions resource. public let id: String /// The resource type. @@ -269,7 +269,7 @@ public struct CiWorkflowUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct XcodeVersion: Codable { + public struct XcodeVersion: Codable, Sendable { /// The ID and type of the related Xcode Versions resource. @NullCodable public var data: Data? @@ -294,7 +294,7 @@ public struct CiWorkflowUpdateRequest: Codable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Xcode Versions resource. public let id: String /// The resource type. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowsResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowsResponse.swift index e6fb712cc..702ae562a 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowsResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiWorkflowsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiWorkflowsResponse: Codable, PagedResponse { +public struct CiWorkflowsResponse: Codable, Sendable, PagedResponse { public typealias Data = CiWorkflow /// The resource data. @@ -75,7 +75,7 @@ public struct CiWorkflowsResponse: Codable, PagedResponse { }.first { $0.id == ciWorkflow.relationships?.xcodeVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case ciMacOsVersion(CiMacOsVersion) case ciProduct(CiProduct) case ciXcodeVersion(CiXcodeVersion) diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersion.swift b/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersion.swift index 685811bcc..294de7384 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersion.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersion.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiXcodeVersion: Codable, Identifiable { +public struct CiXcodeVersion: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies an Xcode Versions resource. public let id: String /// The navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct CiXcodeVersion: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The name of the Xcode version. public var name: String? /// A list of the Xcode version’s available test destinations. @@ -96,7 +96,7 @@ public struct CiXcodeVersion: Codable, Identifiable { Full documentation: */ - public struct TestDestinations: Codable { + public struct TestDestinations: Codable, Sendable { /// A list of runtimes available for the Xcode version. public var availableRuntimes: [AvailableRuntimes]? /// A string that uniquely identifies the simulated device Xcode Cloud uses for a test action; for example, `com.apple.CoreSimulator.SimDeviceType.iPhone-12`. @@ -140,7 +140,7 @@ public struct CiXcodeVersion: Codable, Identifiable { Full documentation: */ - public struct AvailableRuntimes: Codable { + public struct AvailableRuntimes: Codable, Sendable { /// A string that identifies the simulated environment Xcode Cloud uses for a test action. public var runtimeIdentifier: String? /// The name of the operating system of the simulated environment Xcode Cloud uses. @@ -175,7 +175,7 @@ public struct CiXcodeVersion: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related macOS Versions resource. public var macOsVersions: MacOsVersions? @@ -200,7 +200,7 @@ public struct CiXcodeVersion: Codable, Identifiable { Full documentation: */ - public struct MacOsVersions: Codable { + public struct MacOsVersions: Codable, Sendable { /// The ID and type of the related macOS Versions resource. @NullCodable public var data: [Data]? /// The navigational links that include the self-link. @@ -238,7 +238,7 @@ public struct CiXcodeVersion: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related macOS Versions resource. public let id: String /// The resource type. @@ -270,7 +270,7 @@ public struct CiXcodeVersion: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersionResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersionResponse.swift index 9be4bbef7..39c839163 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersionResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersionResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiXcodeVersionResponse: Codable { +public struct CiXcodeVersionResponse: Codable, Sendable { /// The resource data. public let data: CiXcodeVersion /// The requested relationship data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersionsResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersionsResponse.swift index fa6caae53..b7cdb8ee8 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersionsResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/CiXcodeVersionsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct CiXcodeVersionsResponse: Codable, PagedResponse { +public struct CiXcodeVersionsResponse: Codable, Sendable, PagedResponse { public typealias Data = CiXcodeVersion /// The resource data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/FileLocation.swift b/Sources/Bagbutik-Models/XcodeCloud/FileLocation.swift index 935b43f1d..e09351bd2 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/FileLocation.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/FileLocation.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct FileLocation: Codable { +public struct FileLocation: Codable, Sendable { /// The line number of a file that contains code. public var lineNumber: Int? /// The path to the file that caused an issue. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmGitReference.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmGitReference.swift index 2aca6efa0..1ffa920b7 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmGitReference.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmGitReference.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmGitReference: Codable, Identifiable { +public struct ScmGitReference: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Git References resource. public let id: String /// The navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct ScmGitReference: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The canonical name of the Git reference. public var canonicalName: String? /// A Boolean value that indicates whether the Git reference was deleted. @@ -103,7 +103,7 @@ public struct ScmGitReference: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Repositories resource. public var repository: Repository? @@ -128,7 +128,7 @@ public struct ScmGitReference: Codable, Identifiable { Full documentation: */ - public struct Repository: Codable { + public struct Repository: Codable, Sendable { /// The ID and type of the related Repositories resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -160,7 +160,7 @@ public struct ScmGitReference: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Repositories resource. public let id: String /// The resource type. @@ -192,7 +192,7 @@ public struct ScmGitReference: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmGitReferenceResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmGitReferenceResponse.swift index 016fc1d52..041ee5b33 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmGitReferenceResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmGitReferenceResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmGitReferenceResponse: Codable { +public struct ScmGitReferenceResponse: Codable, Sendable { /// The resource data. public let data: ScmGitReference /// The requested relationship data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmGitReferencesResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmGitReferencesResponse.swift index d0fa501fd..fe2e0e208 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmGitReferencesResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmGitReferencesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmGitReferencesResponse: Codable, PagedResponse { +public struct ScmGitReferencesResponse: Codable, Sendable, PagedResponse { public typealias Data = ScmGitReference /// The resource data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmProvider.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmProvider.swift index 38688534e..ed7568121 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmProvider.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmProvider.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmProvider: Codable, Identifiable { +public struct ScmProvider: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Providers resource. public let id: String /// The navigational links that include the self-link. @@ -52,7 +52,7 @@ public struct ScmProvider: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The source code management provider’s type. public var scmProviderType: ScmProviderType? /// The URL of the source code management provider. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmProviderResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmProviderResponse.swift index fecd8c974..df8de5c0a 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmProviderResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmProviderResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmProviderResponse: Codable { +public struct ScmProviderResponse: Codable, Sendable { /// The resource data. public let data: ScmProvider /// The navigational links that include the self-link. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmProviderType.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmProviderType.swift index a98b2afb1..21cdc1367 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmProviderType.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmProviderType.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmProviderType: Codable { +public struct ScmProviderType: Codable, Sendable { /// The source code management provider’s display name; for example, `Bitbucket Server`. public var displayName: String? /// A Boolean value that indicates whether it’s a self-hosted source code management provider. @@ -39,7 +39,7 @@ public struct ScmProviderType: Codable { try container.encodeIfPresent(kind, forKey: "kind") } - public enum Kind: String, Codable, CaseIterable { + public enum Kind: String, Sendable, Codable, CaseIterable { case bitbucketCloud = "BITBUCKET_CLOUD" case bitbucketServer = "BITBUCKET_SERVER" case githubCloud = "GITHUB_CLOUD" diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmProvidersResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmProvidersResponse.swift index cb7846b19..998c5ba23 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmProvidersResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmProvidersResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmProvidersResponse: Codable, PagedResponse { +public struct ScmProvidersResponse: Codable, Sendable, PagedResponse { public typealias Data = ScmProvider /// The resource data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequest.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequest.swift index 95e36f5f7..3386b2eda 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequest.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequest.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmPullRequest: Codable, Identifiable, RequestBody { +public struct ScmPullRequest: Codable, Sendable, Identifiable, RequestBody { /// The opaque resource ID that uniquely identifies a Pull Request resource. public let id: String /// The navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct ScmPullRequest: Codable, Identifiable, RequestBody { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The name of the pull request’s destination branch. public var destinationBranchName: String? /// The name of the pull request’s destination repository. If the pull request is not for a fork, this is the same value as the source repository name. @@ -145,7 +145,7 @@ public struct ScmPullRequest: Codable, Identifiable, RequestBody { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The related Repositories resource. public var repository: Repository? @@ -170,7 +170,7 @@ public struct ScmPullRequest: Codable, Identifiable, RequestBody { Full documentation: */ - public struct Repository: Codable { + public struct Repository: Codable, Sendable { /// The ID and type of the related Repositories resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -202,7 +202,7 @@ public struct ScmPullRequest: Codable, Identifiable, RequestBody { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Repositories resource. public let id: String /// The resource type. @@ -234,7 +234,7 @@ public struct ScmPullRequest: Codable, Identifiable, RequestBody { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequestResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequestResponse.swift index 125377265..458896ae9 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequestResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequestResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmPullRequestResponse: Codable { +public struct ScmPullRequestResponse: Codable, Sendable { /// The resource data. public let data: ScmPullRequest /// The requested relationship data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequestsResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequestsResponse.swift index 24aecdb9e..55c3d2eae 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequestsResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmPullRequestsResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmPullRequestsResponse: Codable, PagedResponse { +public struct ScmPullRequestsResponse: Codable, Sendable, PagedResponse { public typealias Data = ScmPullRequest /// The resource data. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmRepositoriesResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmRepositoriesResponse.swift index 056f3adfd..aa4eda458 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmRepositoriesResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmRepositoriesResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmRepositoriesResponse: Codable, PagedResponse { +public struct ScmRepositoriesResponse: Codable, Sendable, PagedResponse { public typealias Data = ScmRepository /// The resource data. @@ -61,7 +61,7 @@ public struct ScmRepositoriesResponse: Codable, PagedResponse { }.first { $0.id == scmRepository.relationships?.scmProvider?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case scmGitReference(ScmGitReference) case scmProvider(ScmProvider) diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmRepository.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmRepository.swift index 99835e555..2f906d9bc 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmRepository.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmRepository.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmRepository: Codable, Identifiable { +public struct ScmRepository: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies a Repositories resource. public let id: String /// The navigational links that include the self-link. @@ -58,7 +58,7 @@ public struct ScmRepository: Codable, Identifiable { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The Git repository’s URL for cloning it using HTTP. public var httpCloneUrl: String? /// The date and time when Xcode Cloud last accessed the repository. @@ -109,7 +109,7 @@ public struct ScmRepository: Codable, Identifiable { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { /// The Git repository’s default branch. public var defaultBranch: DefaultBranch? /// The related Providers resource. @@ -141,7 +141,7 @@ public struct ScmRepository: Codable, Identifiable { Full documentation: */ - public struct DefaultBranch: Codable { + public struct DefaultBranch: Codable, Sendable { /// The ID and type of the related Git References resource that represents the default branch. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -173,7 +173,7 @@ public struct ScmRepository: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Git References resource that represents the default branch. public let id: String /// The resource type. @@ -205,7 +205,7 @@ public struct ScmRepository: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. @@ -239,7 +239,7 @@ public struct ScmRepository: Codable, Identifiable { Full documentation: */ - public struct ScmProvider: Codable { + public struct ScmProvider: Codable, Sendable { /// The ID and type of the related Providers resource. @NullCodable public var data: Data? /// The navigational links that include the self-link. @@ -271,7 +271,7 @@ public struct ScmRepository: Codable, Identifiable { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { /// The opaque resource ID that uniquely identifies the related Providers resource. public let id: String /// The resource type. @@ -303,7 +303,7 @@ public struct ScmRepository: Codable, Identifiable { Full documentation: */ - public struct Links: Codable { + public struct Links: Codable, Sendable { /// The link to related data. public var related: String? /// The link to the resource. diff --git a/Sources/Bagbutik-Models/XcodeCloud/ScmRepositoryResponse.swift b/Sources/Bagbutik-Models/XcodeCloud/ScmRepositoryResponse.swift index f3123eeee..4255c26a8 100644 --- a/Sources/Bagbutik-Models/XcodeCloud/ScmRepositoryResponse.swift +++ b/Sources/Bagbutik-Models/XcodeCloud/ScmRepositoryResponse.swift @@ -8,7 +8,7 @@ import Foundation Full documentation: */ -public struct ScmRepositoryResponse: Codable { +public struct ScmRepositoryResponse: Codable, Sendable { /// The resource data. public let data: ScmRepository /// The requested relationship data. @@ -53,7 +53,7 @@ public struct ScmRepositoryResponse: Codable { }.first { $0.id == data.relationships?.scmProvider?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case scmGitReference(ScmGitReference) case scmProvider(ScmProvider) diff --git a/Sources/Bagbutik-Provisioning/BundleId/GetBundleIdV1.swift b/Sources/Bagbutik-Provisioning/BundleId/GetBundleIdV1.swift index 10c313272..8178ddf3e 100644 --- a/Sources/Bagbutik-Provisioning/BundleId/GetBundleIdV1.swift +++ b/Sources/Bagbutik-Provisioning/BundleId/GetBundleIdV1.swift @@ -40,7 +40,7 @@ public enum GetBundleIdV1 { /// The fields to include for returned resources of type profiles case profiles([Profiles]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -86,13 +86,13 @@ public enum GetBundleIdV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BundleIdCapabilities: String, ParameterValue, Codable, CaseIterable { + public enum BundleIdCapabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case bundleId case capabilityType case settings } - public enum BundleIds: String, ParameterValue, Codable, CaseIterable { + public enum BundleIds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case bundleIdCapabilities case identifier @@ -102,7 +102,7 @@ public enum GetBundleIdV1 { case seedId } - public enum Profiles: String, ParameterValue, Codable, CaseIterable { + public enum Profiles: String, Sendable, ParameterValue, Codable, CaseIterable { case bundleId case certificates case createdDate diff --git a/Sources/Bagbutik-Provisioning/BundleId/ListBundleIdsV1.swift b/Sources/Bagbutik-Provisioning/BundleId/ListBundleIdsV1.swift index 2a3467d53..e07704597 100644 --- a/Sources/Bagbutik-Provisioning/BundleId/ListBundleIdsV1.swift +++ b/Sources/Bagbutik-Provisioning/BundleId/ListBundleIdsV1.swift @@ -44,7 +44,7 @@ public enum ListBundleIdsV1 { /// The fields to include for returned resources of type profiles case profiles([Profiles]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -90,13 +90,13 @@ public enum ListBundleIdsV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BundleIdCapabilities: String, ParameterValue, Codable, CaseIterable { + public enum BundleIdCapabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case bundleId case capabilityType case settings } - public enum BundleIds: String, ParameterValue, Codable, CaseIterable { + public enum BundleIds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case bundleIdCapabilities case identifier @@ -106,7 +106,7 @@ public enum ListBundleIdsV1 { case seedId } - public enum Profiles: String, ParameterValue, Codable, CaseIterable { + public enum Profiles: String, Sendable, ParameterValue, Codable, CaseIterable { case bundleId case certificates case createdDate diff --git a/Sources/Bagbutik-Provisioning/BundleId/Relationships/GetAppForBundleIdV1.swift b/Sources/Bagbutik-Provisioning/BundleId/Relationships/GetAppForBundleIdV1.swift index ea80ef635..7ac1571f4 100644 --- a/Sources/Bagbutik-Provisioning/BundleId/Relationships/GetAppForBundleIdV1.swift +++ b/Sources/Bagbutik-Provisioning/BundleId/Relationships/GetAppForBundleIdV1.swift @@ -27,7 +27,7 @@ public enum GetAppForBundleIdV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-Provisioning/BundleId/Relationships/ListBundleIdCapabilitiesForBundleIdV1.swift b/Sources/Bagbutik-Provisioning/BundleId/Relationships/ListBundleIdCapabilitiesForBundleIdV1.swift index b490db93c..2d2b75f3a 100644 --- a/Sources/Bagbutik-Provisioning/BundleId/Relationships/ListBundleIdCapabilitiesForBundleIdV1.swift +++ b/Sources/Bagbutik-Provisioning/BundleId/Relationships/ListBundleIdCapabilitiesForBundleIdV1.swift @@ -31,7 +31,7 @@ public enum ListBundleIdCapabilitiesForBundleIdV1 { /// The fields to include for returned resources of type bundleIdCapabilities case bundleIdCapabilities([BundleIdCapabilities]) - public enum BundleIdCapabilities: String, ParameterValue, Codable, CaseIterable { + public enum BundleIdCapabilities: String, Sendable, ParameterValue, Codable, CaseIterable { case bundleId case capabilityType case settings diff --git a/Sources/Bagbutik-Provisioning/BundleId/Relationships/ListProfilesForBundleIdV1.swift b/Sources/Bagbutik-Provisioning/BundleId/Relationships/ListProfilesForBundleIdV1.swift index 99cc46a22..533b9aa38 100644 --- a/Sources/Bagbutik-Provisioning/BundleId/Relationships/ListProfilesForBundleIdV1.swift +++ b/Sources/Bagbutik-Provisioning/BundleId/Relationships/ListProfilesForBundleIdV1.swift @@ -31,7 +31,7 @@ public enum ListProfilesForBundleIdV1 { /// The fields to include for returned resources of type profiles case profiles([Profiles]) - public enum Profiles: String, ParameterValue, Codable, CaseIterable { + public enum Profiles: String, Sendable, ParameterValue, Codable, CaseIterable { case bundleId case certificates case createdDate diff --git a/Sources/Bagbutik-Provisioning/Certificate/GetCertificateV1.swift b/Sources/Bagbutik-Provisioning/Certificate/GetCertificateV1.swift index 28cfc5656..c423aa08d 100644 --- a/Sources/Bagbutik-Provisioning/Certificate/GetCertificateV1.swift +++ b/Sources/Bagbutik-Provisioning/Certificate/GetCertificateV1.swift @@ -28,7 +28,7 @@ public enum GetCertificateV1 { /// The fields to include for returned resources of type certificates case certificates([Certificates]) - public enum Certificates: String, ParameterValue, Codable, CaseIterable { + public enum Certificates: String, Sendable, ParameterValue, Codable, CaseIterable { case certificateContent case certificateType case csrContent diff --git a/Sources/Bagbutik-Provisioning/Certificate/ListCertificatesV1.swift b/Sources/Bagbutik-Provisioning/Certificate/ListCertificatesV1.swift index 4b1d44318..5bf4d1567 100644 --- a/Sources/Bagbutik-Provisioning/Certificate/ListCertificatesV1.swift +++ b/Sources/Bagbutik-Provisioning/Certificate/ListCertificatesV1.swift @@ -35,7 +35,7 @@ public enum ListCertificatesV1 { /// The fields to include for returned resources of type certificates case certificates([Certificates]) - public enum Certificates: String, ParameterValue, Codable, CaseIterable { + public enum Certificates: String, Sendable, ParameterValue, Codable, CaseIterable { case certificateContent case certificateType case csrContent diff --git a/Sources/Bagbutik-Provisioning/Device/GetDeviceV1.swift b/Sources/Bagbutik-Provisioning/Device/GetDeviceV1.swift index d1027af73..18b45b3a2 100644 --- a/Sources/Bagbutik-Provisioning/Device/GetDeviceV1.swift +++ b/Sources/Bagbutik-Provisioning/Device/GetDeviceV1.swift @@ -28,7 +28,7 @@ public enum GetDeviceV1 { /// The fields to include for returned resources of type devices case devices([Devices]) - public enum Devices: String, ParameterValue, Codable, CaseIterable { + public enum Devices: String, Sendable, ParameterValue, Codable, CaseIterable { case addedDate case deviceClass case model diff --git a/Sources/Bagbutik-Provisioning/Device/ListDevicesV1.swift b/Sources/Bagbutik-Provisioning/Device/ListDevicesV1.swift index f9fe3bc72..c93756294 100644 --- a/Sources/Bagbutik-Provisioning/Device/ListDevicesV1.swift +++ b/Sources/Bagbutik-Provisioning/Device/ListDevicesV1.swift @@ -35,7 +35,7 @@ public enum ListDevicesV1 { /// The fields to include for returned resources of type devices case devices([Devices]) - public enum Devices: String, ParameterValue, Codable, CaseIterable { + public enum Devices: String, Sendable, ParameterValue, Codable, CaseIterable { case addedDate case deviceClass case model diff --git a/Sources/Bagbutik-Provisioning/Profile/GetProfileV1.swift b/Sources/Bagbutik-Provisioning/Profile/GetProfileV1.swift index ff5b9c5bd..bac52d0dc 100644 --- a/Sources/Bagbutik-Provisioning/Profile/GetProfileV1.swift +++ b/Sources/Bagbutik-Provisioning/Profile/GetProfileV1.swift @@ -40,7 +40,7 @@ public enum GetProfileV1 { /// The fields to include for returned resources of type profiles case profiles([Profiles]) - public enum BundleIds: String, ParameterValue, Codable, CaseIterable { + public enum BundleIds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case bundleIdCapabilities case identifier @@ -50,7 +50,7 @@ public enum GetProfileV1 { case seedId } - public enum Certificates: String, ParameterValue, Codable, CaseIterable { + public enum Certificates: String, Sendable, ParameterValue, Codable, CaseIterable { case certificateContent case certificateType case csrContent @@ -61,7 +61,7 @@ public enum GetProfileV1 { case serialNumber } - public enum Devices: String, ParameterValue, Codable, CaseIterable { + public enum Devices: String, Sendable, ParameterValue, Codable, CaseIterable { case addedDate case deviceClass case model @@ -71,7 +71,7 @@ public enum GetProfileV1 { case udid } - public enum Profiles: String, ParameterValue, Codable, CaseIterable { + public enum Profiles: String, Sendable, ParameterValue, Codable, CaseIterable { case bundleId case certificates case createdDate diff --git a/Sources/Bagbutik-Provisioning/Profile/ListProfilesV1.swift b/Sources/Bagbutik-Provisioning/Profile/ListProfilesV1.swift index 0960151b9..aa16f8f12 100644 --- a/Sources/Bagbutik-Provisioning/Profile/ListProfilesV1.swift +++ b/Sources/Bagbutik-Provisioning/Profile/ListProfilesV1.swift @@ -44,7 +44,7 @@ public enum ListProfilesV1 { /// The fields to include for returned resources of type profiles case profiles([Profiles]) - public enum BundleIds: String, ParameterValue, Codable, CaseIterable { + public enum BundleIds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case bundleIdCapabilities case identifier @@ -54,7 +54,7 @@ public enum ListProfilesV1 { case seedId } - public enum Certificates: String, ParameterValue, Codable, CaseIterable { + public enum Certificates: String, Sendable, ParameterValue, Codable, CaseIterable { case certificateContent case certificateType case csrContent @@ -65,7 +65,7 @@ public enum ListProfilesV1 { case serialNumber } - public enum Devices: String, ParameterValue, Codable, CaseIterable { + public enum Devices: String, Sendable, ParameterValue, Codable, CaseIterable { case addedDate case deviceClass case model @@ -75,7 +75,7 @@ public enum ListProfilesV1 { case udid } - public enum Profiles: String, ParameterValue, Codable, CaseIterable { + public enum Profiles: String, Sendable, ParameterValue, Codable, CaseIterable { case bundleId case certificates case createdDate diff --git a/Sources/Bagbutik-Provisioning/Profile/Relationships/GetBundleIdForProfileV1.swift b/Sources/Bagbutik-Provisioning/Profile/Relationships/GetBundleIdForProfileV1.swift index fd80b4c91..760c01e75 100644 --- a/Sources/Bagbutik-Provisioning/Profile/Relationships/GetBundleIdForProfileV1.swift +++ b/Sources/Bagbutik-Provisioning/Profile/Relationships/GetBundleIdForProfileV1.swift @@ -28,7 +28,7 @@ public enum GetBundleIdForProfileV1 { /// The fields to include for returned resources of type bundleIds case bundleIds([BundleIds]) - public enum BundleIds: String, ParameterValue, Codable, CaseIterable { + public enum BundleIds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case bundleIdCapabilities case identifier diff --git a/Sources/Bagbutik-Provisioning/Profile/Relationships/ListCertificatesForProfileV1.swift b/Sources/Bagbutik-Provisioning/Profile/Relationships/ListCertificatesForProfileV1.swift index f4d5b6261..bbc803412 100644 --- a/Sources/Bagbutik-Provisioning/Profile/Relationships/ListCertificatesForProfileV1.swift +++ b/Sources/Bagbutik-Provisioning/Profile/Relationships/ListCertificatesForProfileV1.swift @@ -31,7 +31,7 @@ public enum ListCertificatesForProfileV1 { /// The fields to include for returned resources of type certificates case certificates([Certificates]) - public enum Certificates: String, ParameterValue, Codable, CaseIterable { + public enum Certificates: String, Sendable, ParameterValue, Codable, CaseIterable { case certificateContent case certificateType case csrContent diff --git a/Sources/Bagbutik-Provisioning/Profile/Relationships/ListDevicesForProfileV1.swift b/Sources/Bagbutik-Provisioning/Profile/Relationships/ListDevicesForProfileV1.swift index c739e26c4..cadc69bd5 100644 --- a/Sources/Bagbutik-Provisioning/Profile/Relationships/ListDevicesForProfileV1.swift +++ b/Sources/Bagbutik-Provisioning/Profile/Relationships/ListDevicesForProfileV1.swift @@ -31,7 +31,7 @@ public enum ListDevicesForProfileV1 { /// The fields to include for returned resources of type devices case devices([Devices]) - public enum Devices: String, ParameterValue, Codable, CaseIterable { + public enum Devices: String, Sendable, ParameterValue, Codable, CaseIterable { case addedDate case deviceClass case model diff --git a/Sources/Bagbutik-Reporting/AnalyticsReport/GetAnalyticsReportV1.swift b/Sources/Bagbutik-Reporting/AnalyticsReport/GetAnalyticsReportV1.swift index 48599488c..9408ef660 100644 --- a/Sources/Bagbutik-Reporting/AnalyticsReport/GetAnalyticsReportV1.swift +++ b/Sources/Bagbutik-Reporting/AnalyticsReport/GetAnalyticsReportV1.swift @@ -30,13 +30,13 @@ public enum GetAnalyticsReportV1 { /// The fields to include for returned resources of type analyticsReports case analyticsReports([AnalyticsReports]) - public enum AnalyticsReportInstances: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReportInstances: String, Sendable, ParameterValue, Codable, CaseIterable { case granularity case processingDate case segments } - public enum AnalyticsReports: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReports: String, Sendable, ParameterValue, Codable, CaseIterable { case category case instances case name diff --git a/Sources/Bagbutik-Reporting/AnalyticsReport/Relationships/ListInstancesForAnalyticsReportV1.swift b/Sources/Bagbutik-Reporting/AnalyticsReport/Relationships/ListInstancesForAnalyticsReportV1.swift index 0d05e774b..886c7effa 100644 --- a/Sources/Bagbutik-Reporting/AnalyticsReport/Relationships/ListInstancesForAnalyticsReportV1.swift +++ b/Sources/Bagbutik-Reporting/AnalyticsReport/Relationships/ListInstancesForAnalyticsReportV1.swift @@ -34,7 +34,7 @@ public enum ListInstancesForAnalyticsReportV1 { /// The fields to include for returned resources of type analyticsReportInstances case analyticsReportInstances([AnalyticsReportInstances]) - public enum AnalyticsReportInstances: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReportInstances: String, Sendable, ParameterValue, Codable, CaseIterable { case granularity case processingDate case segments @@ -50,7 +50,7 @@ public enum ListInstancesForAnalyticsReportV1 { /// Filter by attribute 'processingDate' case processingDate([String]) - public enum Granularity: String, ParameterValue, Codable, CaseIterable { + public enum Granularity: String, Sendable, ParameterValue, Codable, CaseIterable { case daily = "DAILY" case monthly = "MONTHLY" case weekly = "WEEKLY" diff --git a/Sources/Bagbutik-Reporting/AnalyticsReportInstance/GetAnalyticsReportInstanceV1.swift b/Sources/Bagbutik-Reporting/AnalyticsReportInstance/GetAnalyticsReportInstanceV1.swift index 37ae91682..7eae41dba 100644 --- a/Sources/Bagbutik-Reporting/AnalyticsReportInstance/GetAnalyticsReportInstanceV1.swift +++ b/Sources/Bagbutik-Reporting/AnalyticsReportInstance/GetAnalyticsReportInstanceV1.swift @@ -30,13 +30,13 @@ public enum GetAnalyticsReportInstanceV1 { /// The fields to include for returned resources of type analyticsReportSegments case analyticsReportSegments([AnalyticsReportSegments]) - public enum AnalyticsReportInstances: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReportInstances: String, Sendable, ParameterValue, Codable, CaseIterable { case granularity case processingDate case segments } - public enum AnalyticsReportSegments: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReportSegments: String, Sendable, ParameterValue, Codable, CaseIterable { case checksum case sizeInBytes case url diff --git a/Sources/Bagbutik-Reporting/AnalyticsReportInstance/Relationships/ListSegmentsForAnalyticsReportInstanceV1.swift b/Sources/Bagbutik-Reporting/AnalyticsReportInstance/Relationships/ListSegmentsForAnalyticsReportInstanceV1.swift index 8201f0b96..1ad35ea5b 100644 --- a/Sources/Bagbutik-Reporting/AnalyticsReportInstance/Relationships/ListSegmentsForAnalyticsReportInstanceV1.swift +++ b/Sources/Bagbutik-Reporting/AnalyticsReportInstance/Relationships/ListSegmentsForAnalyticsReportInstanceV1.swift @@ -31,7 +31,7 @@ public enum ListSegmentsForAnalyticsReportInstanceV1 { /// The fields to include for returned resources of type analyticsReportSegments case analyticsReportSegments([AnalyticsReportSegments]) - public enum AnalyticsReportSegments: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReportSegments: String, Sendable, ParameterValue, Codable, CaseIterable { case checksum case sizeInBytes case url diff --git a/Sources/Bagbutik-Reporting/AnalyticsReportRequest/GetAnalyticsReportRequestV1.swift b/Sources/Bagbutik-Reporting/AnalyticsReportRequest/GetAnalyticsReportRequestV1.swift index aafbb07a6..af8b691f5 100644 --- a/Sources/Bagbutik-Reporting/AnalyticsReportRequest/GetAnalyticsReportRequestV1.swift +++ b/Sources/Bagbutik-Reporting/AnalyticsReportRequest/GetAnalyticsReportRequestV1.swift @@ -36,14 +36,14 @@ public enum GetAnalyticsReportRequestV1 { /// The fields to include for returned resources of type analyticsReports case analyticsReports([AnalyticsReports]) - public enum AnalyticsReportRequests: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReportRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case accessType case app case reports case stoppedDueToInactivity } - public enum AnalyticsReports: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReports: String, Sendable, ParameterValue, Codable, CaseIterable { case category case instances case name diff --git a/Sources/Bagbutik-Reporting/AnalyticsReportRequest/Relationships/ListReportsForAnalyticsReportRequestV1.swift b/Sources/Bagbutik-Reporting/AnalyticsReportRequest/Relationships/ListReportsForAnalyticsReportRequestV1.swift index ad4bd8550..85e4d8b19 100644 --- a/Sources/Bagbutik-Reporting/AnalyticsReportRequest/Relationships/ListReportsForAnalyticsReportRequestV1.swift +++ b/Sources/Bagbutik-Reporting/AnalyticsReportRequest/Relationships/ListReportsForAnalyticsReportRequestV1.swift @@ -34,7 +34,7 @@ public enum ListReportsForAnalyticsReportRequestV1 { /// The fields to include for returned resources of type analyticsReports case analyticsReports([AnalyticsReports]) - public enum AnalyticsReports: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReports: String, Sendable, ParameterValue, Codable, CaseIterable { case category case instances case name @@ -50,7 +50,7 @@ public enum ListReportsForAnalyticsReportRequestV1 { /// Filter by attribute 'name' case name([String]) - public enum Category: String, ParameterValue, Codable, CaseIterable { + public enum Category: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreEngagement = "APP_STORE_ENGAGEMENT" case appUsage = "APP_USAGE" case commerce = "COMMERCE" diff --git a/Sources/Bagbutik-Reporting/AnalyticsReportSegment/GetAnalyticsReportSegmentV1.swift b/Sources/Bagbutik-Reporting/AnalyticsReportSegment/GetAnalyticsReportSegmentV1.swift index e931ec4ec..9f5218da4 100644 --- a/Sources/Bagbutik-Reporting/AnalyticsReportSegment/GetAnalyticsReportSegmentV1.swift +++ b/Sources/Bagbutik-Reporting/AnalyticsReportSegment/GetAnalyticsReportSegmentV1.swift @@ -30,7 +30,7 @@ public enum GetAnalyticsReportSegmentV1 { /// The fields to include for returned resources of type analyticsReportSegments case analyticsReportSegments([AnalyticsReportSegments]) - public enum AnalyticsReportSegments: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReportSegments: String, Sendable, ParameterValue, Codable, CaseIterable { case checksum case sizeInBytes case url diff --git a/Sources/Bagbutik-Reporting/App/Relationships/ListAnalyticsReportRequestsForAppV1.swift b/Sources/Bagbutik-Reporting/App/Relationships/ListAnalyticsReportRequestsForAppV1.swift index 0201e7578..5e6850636 100644 --- a/Sources/Bagbutik-Reporting/App/Relationships/ListAnalyticsReportRequestsForAppV1.swift +++ b/Sources/Bagbutik-Reporting/App/Relationships/ListAnalyticsReportRequestsForAppV1.swift @@ -39,14 +39,14 @@ public enum ListAnalyticsReportRequestsForAppV1 { /// The fields to include for returned resources of type analyticsReports case analyticsReports([AnalyticsReports]) - public enum AnalyticsReportRequests: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReportRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case accessType case app case reports case stoppedDueToInactivity } - public enum AnalyticsReports: String, ParameterValue, Codable, CaseIterable { + public enum AnalyticsReports: String, Sendable, ParameterValue, Codable, CaseIterable { case category case instances case name @@ -60,7 +60,7 @@ public enum ListAnalyticsReportRequestsForAppV1 { /// Filter by attribute 'accessType' case accessType([AccessType]) - public enum AccessType: String, ParameterValue, Codable, CaseIterable { + public enum AccessType: String, Sendable, ParameterValue, Codable, CaseIterable { case oneTimeSnapshot = "ONE_TIME_SNAPSHOT" case ongoing = "ONGOING" } diff --git a/Sources/Bagbutik-Reporting/App/Relationships/ListPerfPowerMetricsForAppV1.swift b/Sources/Bagbutik-Reporting/App/Relationships/ListPerfPowerMetricsForAppV1.swift index 387bc0710..c18d62d2e 100644 --- a/Sources/Bagbutik-Reporting/App/Relationships/ListPerfPowerMetricsForAppV1.swift +++ b/Sources/Bagbutik-Reporting/App/Relationships/ListPerfPowerMetricsForAppV1.swift @@ -34,7 +34,7 @@ public enum ListPerfPowerMetricsForAppV1 { /// Filter by attribute 'platform' case platform([Platform]) - public enum MetricType: String, ParameterValue, Codable, CaseIterable { + public enum MetricType: String, Sendable, ParameterValue, Codable, CaseIterable { case animation = "ANIMATION" case battery = "BATTERY" case disk = "DISK" @@ -44,7 +44,7 @@ public enum ListPerfPowerMetricsForAppV1 { case termination = "TERMINATION" } - public enum Platform: String, ParameterValue, Codable, CaseIterable { + public enum Platform: String, Sendable, ParameterValue, Codable, CaseIterable { case iOS = "IOS" } } diff --git a/Sources/Bagbutik-Reporting/Build/Relationships/ListDiagnosticSignaturesForBuildV1.swift b/Sources/Bagbutik-Reporting/Build/Relationships/ListDiagnosticSignaturesForBuildV1.swift index 2847fe325..9216e75d7 100644 --- a/Sources/Bagbutik-Reporting/Build/Relationships/ListDiagnosticSignaturesForBuildV1.swift +++ b/Sources/Bagbutik-Reporting/Build/Relationships/ListDiagnosticSignaturesForBuildV1.swift @@ -36,7 +36,7 @@ public enum ListDiagnosticSignaturesForBuildV1 { /// The fields to include for returned resources of type diagnosticSignatures case diagnosticSignatures([DiagnosticSignatures]) - public enum DiagnosticSignatures: String, ParameterValue, Codable, CaseIterable { + public enum DiagnosticSignatures: String, Sendable, ParameterValue, Codable, CaseIterable { case diagnosticType case insight case logs @@ -52,7 +52,7 @@ public enum ListDiagnosticSignaturesForBuildV1 { /// Filter by attribute 'diagnosticType' case diagnosticType([DiagnosticType]) - public enum DiagnosticType: String, ParameterValue, Codable, CaseIterable { + public enum DiagnosticType: String, Sendable, ParameterValue, Codable, CaseIterable { case diskWrites = "DISK_WRITES" case hangs = "HANGS" case launches = "LAUNCHES" diff --git a/Sources/Bagbutik-Reporting/Build/Relationships/ListPerfPowerMetricsForBuildV1.swift b/Sources/Bagbutik-Reporting/Build/Relationships/ListPerfPowerMetricsForBuildV1.swift index c2b4120ac..f7979f93f 100644 --- a/Sources/Bagbutik-Reporting/Build/Relationships/ListPerfPowerMetricsForBuildV1.swift +++ b/Sources/Bagbutik-Reporting/Build/Relationships/ListPerfPowerMetricsForBuildV1.swift @@ -34,7 +34,7 @@ public enum ListPerfPowerMetricsForBuildV1 { /// Filter by attribute 'platform' case platform([Platform]) - public enum MetricType: String, ParameterValue, Codable, CaseIterable { + public enum MetricType: String, Sendable, ParameterValue, Codable, CaseIterable { case animation = "ANIMATION" case battery = "BATTERY" case disk = "DISK" @@ -44,7 +44,7 @@ public enum ListPerfPowerMetricsForBuildV1 { case termination = "TERMINATION" } - public enum Platform: String, ParameterValue, Codable, CaseIterable { + public enum Platform: String, Sendable, ParameterValue, Codable, CaseIterable { case iOS = "IOS" } } diff --git a/Sources/Bagbutik-Reporting/FinanceReport/GetFinanceReportsV1.swift b/Sources/Bagbutik-Reporting/FinanceReport/GetFinanceReportsV1.swift index 7fa75ebf7..361c5b281 100644 --- a/Sources/Bagbutik-Reporting/FinanceReport/GetFinanceReportsV1.swift +++ b/Sources/Bagbutik-Reporting/FinanceReport/GetFinanceReportsV1.swift @@ -35,7 +35,7 @@ public enum GetFinanceReportsV1 { /// Filter by attribute 'vendorNumber' case vendorNumber([String]) - public enum ReportType: String, ParameterValue, Codable, CaseIterable { + public enum ReportType: String, Sendable, ParameterValue, Codable, CaseIterable { case financeDetail = "FINANCE_DETAIL" case financial = "FINANCIAL" } diff --git a/Sources/Bagbutik-Reporting/SalesReport/GetSalesReportsV1.swift b/Sources/Bagbutik-Reporting/SalesReport/GetSalesReportsV1.swift index 17b296676..a7a2fb40d 100644 --- a/Sources/Bagbutik-Reporting/SalesReport/GetSalesReportsV1.swift +++ b/Sources/Bagbutik-Reporting/SalesReport/GetSalesReportsV1.swift @@ -39,14 +39,14 @@ public enum GetSalesReportsV1 { /// Filter by attribute 'version' case version([String]) - public enum Frequency: String, ParameterValue, Codable, CaseIterable { + public enum Frequency: String, Sendable, ParameterValue, Codable, CaseIterable { case daily = "DAILY" case monthly = "MONTHLY" case weekly = "WEEKLY" case yearly = "YEARLY" } - public enum ReportSubType: String, ParameterValue, Codable, CaseIterable { + public enum ReportSubType: String, Sendable, ParameterValue, Codable, CaseIterable { case detailed = "DETAILED" case summary = "SUMMARY" case summaryChannel = "SUMMARY_CHANNEL" @@ -54,7 +54,7 @@ public enum GetSalesReportsV1 { case summaryTerritory = "SUMMARY_TERRITORY" } - public enum ReportType: String, ParameterValue, Codable, CaseIterable { + public enum ReportType: String, Sendable, ParameterValue, Codable, CaseIterable { case firstAnnual = "FIRST_ANNUAL" case installs = "INSTALLS" case newsstand = "NEWSSTAND" diff --git a/Sources/Bagbutik-TestFlight/App/Relationships/GetMetricsForBetaTesterUsageInAppV1.swift b/Sources/Bagbutik-TestFlight/App/Relationships/GetMetricsForBetaTesterUsageInAppV1.swift index e2300a1f6..130afd7d7 100644 --- a/Sources/Bagbutik-TestFlight/App/Relationships/GetMetricsForBetaTesterUsageInAppV1.swift +++ b/Sources/Bagbutik-TestFlight/App/Relationships/GetMetricsForBetaTesterUsageInAppV1.swift @@ -43,14 +43,14 @@ public enum GetMetricsForBetaTesterUsageInAppV1 { /** The dimension by which to group the results */ - public enum GroupBy: String, ParameterValue, Codable, CaseIterable { + public enum GroupBy: String, Sendable, ParameterValue, Codable, CaseIterable { case betaTesters } /** The duration of the reporting period */ - public enum Period: String, ParameterValue, Codable, CaseIterable { + public enum Period: String, Sendable, ParameterValue, Codable, CaseIterable { case P30D case P365D case P7D diff --git a/Sources/Bagbutik-TestFlight/BetaAppClipInvocation/GetBetaAppClipInvocationV1.swift b/Sources/Bagbutik-TestFlight/BetaAppClipInvocation/GetBetaAppClipInvocationV1.swift index 6da20f262..e25d8d601 100644 --- a/Sources/Bagbutik-TestFlight/BetaAppClipInvocation/GetBetaAppClipInvocationV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaAppClipInvocation/GetBetaAppClipInvocationV1.swift @@ -34,7 +34,7 @@ public enum GetBetaAppClipInvocationV1 { /// The fields to include for returned resources of type betaAppClipInvocations case betaAppClipInvocations([BetaAppClipInvocations]) - public enum BetaAppClipInvocations: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppClipInvocations: String, Sendable, ParameterValue, Codable, CaseIterable { case betaAppClipInvocationLocalizations case buildBundle case url diff --git a/Sources/Bagbutik-TestFlight/BetaAppLocalization/GetBetaAppLocalizationV1.swift b/Sources/Bagbutik-TestFlight/BetaAppLocalization/GetBetaAppLocalizationV1.swift index be6d10886..0279f3dcd 100644 --- a/Sources/Bagbutik-TestFlight/BetaAppLocalization/GetBetaAppLocalizationV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaAppLocalization/GetBetaAppLocalizationV1.swift @@ -33,7 +33,7 @@ public enum GetBetaAppLocalizationV1 { /// The fields to include for returned resources of type betaAppLocalizations case betaAppLocalizations([BetaAppLocalizations]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -79,7 +79,7 @@ public enum GetBetaAppLocalizationV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaAppLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case description case feedbackEmail diff --git a/Sources/Bagbutik-TestFlight/BetaAppLocalization/ListBetaAppLocalizationsV1.swift b/Sources/Bagbutik-TestFlight/BetaAppLocalization/ListBetaAppLocalizationsV1.swift index d55542c6e..47c61b647 100644 --- a/Sources/Bagbutik-TestFlight/BetaAppLocalization/ListBetaAppLocalizationsV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaAppLocalization/ListBetaAppLocalizationsV1.swift @@ -37,7 +37,7 @@ public enum ListBetaAppLocalizationsV1 { /// The fields to include for returned resources of type betaAppLocalizations case betaAppLocalizations([BetaAppLocalizations]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -83,7 +83,7 @@ public enum ListBetaAppLocalizationsV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaAppLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case description case feedbackEmail diff --git a/Sources/Bagbutik-TestFlight/BetaAppLocalization/Relationships/GetAppForBetaAppLocalizationV1.swift b/Sources/Bagbutik-TestFlight/BetaAppLocalization/Relationships/GetAppForBetaAppLocalizationV1.swift index d023b3a98..5a908a169 100644 --- a/Sources/Bagbutik-TestFlight/BetaAppLocalization/Relationships/GetAppForBetaAppLocalizationV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaAppLocalization/Relationships/GetAppForBetaAppLocalizationV1.swift @@ -28,7 +28,7 @@ public enum GetAppForBetaAppLocalizationV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/GetBetaAppReviewDetailV1.swift b/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/GetBetaAppReviewDetailV1.swift index e1daeac0c..ffeaab73d 100644 --- a/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/GetBetaAppReviewDetailV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/GetBetaAppReviewDetailV1.swift @@ -33,7 +33,7 @@ public enum GetBetaAppReviewDetailV1 { /// The fields to include for returned resources of type betaAppReviewDetails case betaAppReviewDetails([BetaAppReviewDetails]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -79,7 +79,7 @@ public enum GetBetaAppReviewDetailV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaAppReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case app case contactEmail case contactFirstName diff --git a/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/ListBetaAppReviewDetailsV1.swift b/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/ListBetaAppReviewDetailsV1.swift index c5e042952..ed4449de6 100644 --- a/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/ListBetaAppReviewDetailsV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/ListBetaAppReviewDetailsV1.swift @@ -37,7 +37,7 @@ public enum ListBetaAppReviewDetailsV1 { /// The fields to include for returned resources of type betaAppReviewDetails case betaAppReviewDetails([BetaAppReviewDetails]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -83,7 +83,7 @@ public enum ListBetaAppReviewDetailsV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaAppReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case app case contactEmail case contactFirstName diff --git a/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/Relationships/GetAppForBetaAppReviewDetailV1.swift b/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/Relationships/GetAppForBetaAppReviewDetailV1.swift index b701e9a1d..a2e91ee05 100644 --- a/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/Relationships/GetAppForBetaAppReviewDetailV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaAppReviewDetail/Relationships/GetAppForBetaAppReviewDetailV1.swift @@ -28,7 +28,7 @@ public enum GetAppForBetaAppReviewDetailV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/GetBetaAppReviewSubmissionV1.swift b/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/GetBetaAppReviewSubmissionV1.swift index 6eecd6dc7..2a99b2378 100644 --- a/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/GetBetaAppReviewSubmissionV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/GetBetaAppReviewSubmissionV1.swift @@ -33,13 +33,13 @@ public enum GetBetaAppReviewSubmissionV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum BetaAppReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case betaReviewState case build case submittedDate } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/ListBetaAppReviewSubmissionsV1.swift b/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/ListBetaAppReviewSubmissionsV1.swift index 358f2e0f3..d1b3632c2 100644 --- a/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/ListBetaAppReviewSubmissionsV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/ListBetaAppReviewSubmissionsV1.swift @@ -37,13 +37,13 @@ public enum ListBetaAppReviewSubmissionsV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum BetaAppReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case betaReviewState case build case submittedDate } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/Relationships/GetBuildForBetaAppReviewSubmissionV1.swift b/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/Relationships/GetBuildForBetaAppReviewSubmissionV1.swift index a9caa760a..8ba60bd5e 100644 --- a/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/Relationships/GetBuildForBetaAppReviewSubmissionV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaAppReviewSubmission/Relationships/GetBuildForBetaAppReviewSubmissionV1.swift @@ -28,7 +28,7 @@ public enum GetBuildForBetaAppReviewSubmissionV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaBuildLocalization/GetBetaBuildLocalizationV1.swift b/Sources/Bagbutik-TestFlight/BetaBuildLocalization/GetBetaBuildLocalizationV1.swift index 3307e2549..39ad2a5d5 100644 --- a/Sources/Bagbutik-TestFlight/BetaBuildLocalization/GetBetaBuildLocalizationV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaBuildLocalization/GetBetaBuildLocalizationV1.swift @@ -33,13 +33,13 @@ public enum GetBetaBuildLocalizationV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum BetaBuildLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaBuildLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case build case locale case whatsNew } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaBuildLocalization/ListBetaBuildLocalizationsV1.swift b/Sources/Bagbutik-TestFlight/BetaBuildLocalization/ListBetaBuildLocalizationsV1.swift index cc5ea8fe7..acf290020 100644 --- a/Sources/Bagbutik-TestFlight/BetaBuildLocalization/ListBetaBuildLocalizationsV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaBuildLocalization/ListBetaBuildLocalizationsV1.swift @@ -37,13 +37,13 @@ public enum ListBetaBuildLocalizationsV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum BetaBuildLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaBuildLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case build case locale case whatsNew } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaBuildLocalization/Relationships/GetBuildForBetaBuildLocalizationV1.swift b/Sources/Bagbutik-TestFlight/BetaBuildLocalization/Relationships/GetBuildForBetaBuildLocalizationV1.swift index 081063766..91be8e4b9 100644 --- a/Sources/Bagbutik-TestFlight/BetaBuildLocalization/Relationships/GetBuildForBetaBuildLocalizationV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaBuildLocalization/Relationships/GetBuildForBetaBuildLocalizationV1.swift @@ -28,7 +28,7 @@ public enum GetBuildForBetaBuildLocalizationV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaGroup/GetBetaGroupV1.swift b/Sources/Bagbutik-TestFlight/BetaGroup/GetBetaGroupV1.swift index 8a4df90e4..7369bf449 100644 --- a/Sources/Bagbutik-TestFlight/BetaGroup/GetBetaGroupV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaGroup/GetBetaGroupV1.swift @@ -40,7 +40,7 @@ public enum GetBetaGroupV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -86,7 +86,7 @@ public enum GetBetaGroupV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaGroups: String, ParameterValue, Codable, CaseIterable { + public enum BetaGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case betaTesters case builds @@ -103,7 +103,7 @@ public enum GetBetaGroupV1 { case publicLinkLimitEnabled } - public enum BetaTesters: String, ParameterValue, Codable, CaseIterable { + public enum BetaTesters: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case betaGroups case builds @@ -114,7 +114,7 @@ public enum GetBetaGroupV1 { case state } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaGroup/ListBetaGroupsV1.swift b/Sources/Bagbutik-TestFlight/BetaGroup/ListBetaGroupsV1.swift index c4f9166bc..3934b58db 100644 --- a/Sources/Bagbutik-TestFlight/BetaGroup/ListBetaGroupsV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaGroup/ListBetaGroupsV1.swift @@ -44,7 +44,7 @@ public enum ListBetaGroupsV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -90,7 +90,7 @@ public enum ListBetaGroupsV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaGroups: String, ParameterValue, Codable, CaseIterable { + public enum BetaGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case betaTesters case builds @@ -107,7 +107,7 @@ public enum ListBetaGroupsV1 { case publicLinkLimitEnabled } - public enum BetaTesters: String, ParameterValue, Codable, CaseIterable { + public enum BetaTesters: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case betaGroups case builds @@ -118,7 +118,7 @@ public enum ListBetaGroupsV1 { case state } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/GetAppForBetaGroupV1.swift b/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/GetAppForBetaGroupV1.swift index 7e3bd824d..b898754aa 100644 --- a/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/GetAppForBetaGroupV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/GetAppForBetaGroupV1.swift @@ -28,7 +28,7 @@ public enum GetAppForBetaGroupV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/GetMetricsForBetaTesterUsageInBetaGroupV1.swift b/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/GetMetricsForBetaTesterUsageInBetaGroupV1.swift index 5c2bdb372..b1abd9038 100644 --- a/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/GetMetricsForBetaTesterUsageInBetaGroupV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/GetMetricsForBetaTesterUsageInBetaGroupV1.swift @@ -43,14 +43,14 @@ public enum GetMetricsForBetaTesterUsageInBetaGroupV1 { /** The dimension by which to group the results */ - public enum GroupBy: String, ParameterValue, Codable, CaseIterable { + public enum GroupBy: String, Sendable, ParameterValue, Codable, CaseIterable { case betaTesters } /** The duration of the reporting period */ - public enum Period: String, ParameterValue, Codable, CaseIterable { + public enum Period: String, Sendable, ParameterValue, Codable, CaseIterable { case P30D case P365D case P7D diff --git a/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/ListBetaTestersForBetaGroupV1.swift b/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/ListBetaTestersForBetaGroupV1.swift index ec723aad1..8ddaa75f5 100644 --- a/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/ListBetaTestersForBetaGroupV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/ListBetaTestersForBetaGroupV1.swift @@ -31,7 +31,7 @@ public enum ListBetaTestersForBetaGroupV1 { /// The fields to include for returned resources of type betaTesters case betaTesters([BetaTesters]) - public enum BetaTesters: String, ParameterValue, Codable, CaseIterable { + public enum BetaTesters: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case betaGroups case builds diff --git a/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/ListBuildsForBetaGroupV1.swift b/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/ListBuildsForBetaGroupV1.swift index 13647f13f..b6b3f9a0b 100644 --- a/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/ListBuildsForBetaGroupV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaGroup/Relationships/ListBuildsForBetaGroupV1.swift @@ -31,7 +31,7 @@ public enum ListBuildsForBetaGroupV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/GetBetaLicenseAgreementV1.swift b/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/GetBetaLicenseAgreementV1.swift index e4b72687c..2b080decc 100644 --- a/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/GetBetaLicenseAgreementV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/GetBetaLicenseAgreementV1.swift @@ -33,7 +33,7 @@ public enum GetBetaLicenseAgreementV1 { /// The fields to include for returned resources of type betaLicenseAgreements case betaLicenseAgreements([BetaLicenseAgreements]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -79,7 +79,7 @@ public enum GetBetaLicenseAgreementV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum BetaLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app } diff --git a/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/ListBetaLicenseAgreementsV1.swift b/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/ListBetaLicenseAgreementsV1.swift index 2754ae8c5..019ff60da 100644 --- a/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/ListBetaLicenseAgreementsV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/ListBetaLicenseAgreementsV1.swift @@ -37,7 +37,7 @@ public enum ListBetaLicenseAgreementsV1 { /// The fields to include for returned resources of type betaLicenseAgreements case betaLicenseAgreements([BetaLicenseAgreements]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -83,7 +83,7 @@ public enum ListBetaLicenseAgreementsV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum BetaLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app } diff --git a/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/Relationships/GetAppForBetaLicenseAgreementV1.swift b/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/Relationships/GetAppForBetaLicenseAgreementV1.swift index dec83fa79..6e4df4e92 100644 --- a/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/Relationships/GetAppForBetaLicenseAgreementV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaLicenseAgreement/Relationships/GetAppForBetaLicenseAgreementV1.swift @@ -28,7 +28,7 @@ public enum GetAppForBetaLicenseAgreementV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-TestFlight/BetaTester/GetBetaTesterV1.swift b/Sources/Bagbutik-TestFlight/BetaTester/GetBetaTesterV1.swift index 57e40c84e..d1b8ab5e9 100644 --- a/Sources/Bagbutik-TestFlight/BetaTester/GetBetaTesterV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaTester/GetBetaTesterV1.swift @@ -40,7 +40,7 @@ public enum GetBetaTesterV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -86,7 +86,7 @@ public enum GetBetaTesterV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaGroups: String, ParameterValue, Codable, CaseIterable { + public enum BetaGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case betaTesters case builds @@ -103,7 +103,7 @@ public enum GetBetaTesterV1 { case publicLinkLimitEnabled } - public enum BetaTesters: String, ParameterValue, Codable, CaseIterable { + public enum BetaTesters: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case betaGroups case builds @@ -114,7 +114,7 @@ public enum GetBetaTesterV1 { case state } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaTester/ListBetaTestersV1.swift b/Sources/Bagbutik-TestFlight/BetaTester/ListBetaTestersV1.swift index 742967d51..2601d40e1 100644 --- a/Sources/Bagbutik-TestFlight/BetaTester/ListBetaTestersV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaTester/ListBetaTestersV1.swift @@ -44,7 +44,7 @@ public enum ListBetaTestersV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -90,7 +90,7 @@ public enum ListBetaTestersV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaGroups: String, ParameterValue, Codable, CaseIterable { + public enum BetaGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case betaTesters case builds @@ -107,7 +107,7 @@ public enum ListBetaTestersV1 { case publicLinkLimitEnabled } - public enum BetaTesters: String, ParameterValue, Codable, CaseIterable { + public enum BetaTesters: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case betaGroups case builds @@ -118,7 +118,7 @@ public enum ListBetaTestersV1 { case state } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BetaTester/Relationships/GetMetricsForBetaTesterUsageInBetaTesterV1.swift b/Sources/Bagbutik-TestFlight/BetaTester/Relationships/GetMetricsForBetaTesterUsageInBetaTesterV1.swift index 6714eb390..d930ca208 100644 --- a/Sources/Bagbutik-TestFlight/BetaTester/Relationships/GetMetricsForBetaTesterUsageInBetaTesterV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaTester/Relationships/GetMetricsForBetaTesterUsageInBetaTesterV1.swift @@ -42,7 +42,7 @@ public enum GetMetricsForBetaTesterUsageInBetaTesterV1 { /** The duration of the reporting period */ - public enum Period: String, ParameterValue, Codable, CaseIterable { + public enum Period: String, Sendable, ParameterValue, Codable, CaseIterable { case P30D case P365D case P7D diff --git a/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListAppsForBetaTesterV1.swift b/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListAppsForBetaTesterV1.swift index 9e8212b58..fce8e8c8c 100644 --- a/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListAppsForBetaTesterV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListAppsForBetaTesterV1.swift @@ -31,7 +31,7 @@ public enum ListAppsForBetaTesterV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListBetaGroupsForBetaTesterV1.swift b/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListBetaGroupsForBetaTesterV1.swift index 7ca0c4637..ad158c15e 100644 --- a/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListBetaGroupsForBetaTesterV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListBetaGroupsForBetaTesterV1.swift @@ -31,7 +31,7 @@ public enum ListBetaGroupsForBetaTesterV1 { /// The fields to include for returned resources of type betaGroups case betaGroups([BetaGroups]) - public enum BetaGroups: String, ParameterValue, Codable, CaseIterable { + public enum BetaGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case betaTesters case builds diff --git a/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListBuildsForBetaTesterV1.swift b/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListBuildsForBetaTesterV1.swift index 9d7221924..07930d43e 100644 --- a/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListBuildsForBetaTesterV1.swift +++ b/Sources/Bagbutik-TestFlight/BetaTester/Relationships/ListBuildsForBetaTesterV1.swift @@ -31,7 +31,7 @@ public enum ListBuildsForBetaTesterV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/Build/GetBuildV1.swift b/Sources/Bagbutik-TestFlight/Build/GetBuildV1.swift index 34f4669a3..c6a024c46 100644 --- a/Sources/Bagbutik-TestFlight/Build/GetBuildV1.swift +++ b/Sources/Bagbutik-TestFlight/Build/GetBuildV1.swift @@ -56,7 +56,7 @@ public enum GetBuildV1 { /// The fields to include for returned resources of type preReleaseVersions case preReleaseVersions([PreReleaseVersions]) - public enum AppEncryptionDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appDescription case appEncryptionDeclarationDocument @@ -76,7 +76,7 @@ public enum GetBuildV1 { case usesEncryption } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -102,7 +102,7 @@ public enum GetBuildV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -148,19 +148,19 @@ public enum GetBuildV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaAppReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case betaReviewState case build case submittedDate } - public enum BetaBuildLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaBuildLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case build case locale case whatsNew } - public enum BetaTesters: String, ParameterValue, Codable, CaseIterable { + public enum BetaTesters: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case betaGroups case builds @@ -171,20 +171,20 @@ public enum GetBuildV1 { case state } - public enum BuildBetaDetails: String, ParameterValue, Codable, CaseIterable { + public enum BuildBetaDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case autoNotifyEnabled case build case externalBuildState case internalBuildState } - public enum BuildIcons: String, ParameterValue, Codable, CaseIterable { + public enum BuildIcons: String, Sendable, ParameterValue, Codable, CaseIterable { case iconAsset case iconType case name } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -211,7 +211,7 @@ public enum GetBuildV1 { case version } - public enum DiagnosticSignatures: String, ParameterValue, Codable, CaseIterable { + public enum DiagnosticSignatures: String, Sendable, ParameterValue, Codable, CaseIterable { case diagnosticType case insight case logs @@ -219,13 +219,13 @@ public enum GetBuildV1 { case weight } - public enum PerfPowerMetrics: String, ParameterValue, Codable, CaseIterable { + public enum PerfPowerMetrics: String, Sendable, ParameterValue, Codable, CaseIterable { case deviceType case metricType case platform } - public enum PreReleaseVersions: String, ParameterValue, Codable, CaseIterable { + public enum PreReleaseVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case builds case platform diff --git a/Sources/Bagbutik-TestFlight/Build/ListBuildsV1.swift b/Sources/Bagbutik-TestFlight/Build/ListBuildsV1.swift index 34c22220a..9b90a7dac 100644 --- a/Sources/Bagbutik-TestFlight/Build/ListBuildsV1.swift +++ b/Sources/Bagbutik-TestFlight/Build/ListBuildsV1.swift @@ -60,7 +60,7 @@ public enum ListBuildsV1 { /// The fields to include for returned resources of type preReleaseVersions case preReleaseVersions([PreReleaseVersions]) - public enum AppEncryptionDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appDescription case appEncryptionDeclarationDocument @@ -80,7 +80,7 @@ public enum ListBuildsV1 { case usesEncryption } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -106,7 +106,7 @@ public enum ListBuildsV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -152,19 +152,19 @@ public enum ListBuildsV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaAppReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case betaReviewState case build case submittedDate } - public enum BetaBuildLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaBuildLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case build case locale case whatsNew } - public enum BetaTesters: String, ParameterValue, Codable, CaseIterable { + public enum BetaTesters: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case betaGroups case builds @@ -175,20 +175,20 @@ public enum ListBuildsV1 { case state } - public enum BuildBetaDetails: String, ParameterValue, Codable, CaseIterable { + public enum BuildBetaDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case autoNotifyEnabled case build case externalBuildState case internalBuildState } - public enum BuildIcons: String, ParameterValue, Codable, CaseIterable { + public enum BuildIcons: String, Sendable, ParameterValue, Codable, CaseIterable { case iconAsset case iconType case name } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -215,7 +215,7 @@ public enum ListBuildsV1 { case version } - public enum DiagnosticSignatures: String, ParameterValue, Codable, CaseIterable { + public enum DiagnosticSignatures: String, Sendable, ParameterValue, Codable, CaseIterable { case diagnosticType case insight case logs @@ -223,13 +223,13 @@ public enum ListBuildsV1 { case weight } - public enum PerfPowerMetrics: String, ParameterValue, Codable, CaseIterable { + public enum PerfPowerMetrics: String, Sendable, ParameterValue, Codable, CaseIterable { case deviceType case metricType case platform } - public enum PreReleaseVersions: String, ParameterValue, Codable, CaseIterable { + public enum PreReleaseVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case builds case platform diff --git a/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppEncryptionDeclarationForBuildV1.swift b/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppEncryptionDeclarationForBuildV1.swift index c2d2570be..df7ce5d78 100644 --- a/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppEncryptionDeclarationForBuildV1.swift +++ b/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppEncryptionDeclarationForBuildV1.swift @@ -28,7 +28,7 @@ public enum GetAppEncryptionDeclarationForBuildV1 { /// The fields to include for returned resources of type appEncryptionDeclarations case appEncryptionDeclarations([AppEncryptionDeclarations]) - public enum AppEncryptionDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appDescription case appEncryptionDeclarationDocument diff --git a/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppForBuildV1.swift b/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppForBuildV1.swift index 644826864..aeef164f1 100644 --- a/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppForBuildV1.swift +++ b/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppForBuildV1.swift @@ -28,7 +28,7 @@ public enum GetAppForBuildV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppStoreVersionForBuildV1.swift b/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppStoreVersionForBuildV1.swift index eafdab3dd..d2071f91e 100644 --- a/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppStoreVersionForBuildV1.swift +++ b/Sources/Bagbutik-TestFlight/Build/Relationships/GetAppStoreVersionForBuildV1.swift @@ -56,7 +56,7 @@ public enum GetAppStoreVersionForBuildV1 { /// The fields to include for returned resources of type routingAppCoverages case routingAppCoverages([RoutingAppCoverages]) - public enum AgeRatingDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AgeRatingDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingOverride case alcoholTobaccoOrDrugUseOrReferences case contests @@ -77,12 +77,12 @@ public enum GetAppStoreVersionForBuildV1 { case violenceRealisticProlongedGraphicOrSadistic } - public enum AlternativeDistributionPackages: String, ParameterValue, Codable, CaseIterable { + public enum AlternativeDistributionPackages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case versions } - public enum AppClipDefaultExperiences: String, ParameterValue, Codable, CaseIterable { + public enum AppClipDefaultExperiences: String, Sendable, ParameterValue, Codable, CaseIterable { case action case appClip case appClipAppStoreReviewDetail @@ -91,7 +91,7 @@ public enum GetAppStoreVersionForBuildV1 { case releaseWithAppStoreVersion } - public enum AppStoreReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreReviewAttachments case appStoreVersion case contactEmail @@ -104,7 +104,7 @@ public enum GetAppStoreVersionForBuildV1 { case notes } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersion case appStoreVersionExperimentTreatments @@ -120,7 +120,7 @@ public enum GetAppStoreVersionForBuildV1 { case trafficProportion } - public enum AppStoreVersionLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case appPreviewSets case appScreenshotSets case appStoreVersion @@ -133,7 +133,7 @@ public enum GetAppStoreVersionForBuildV1 { case whatsNew } - public enum AppStoreVersionPhasedReleases: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionPhasedReleases: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case currentDayNumber case phasedReleaseState @@ -141,11 +141,11 @@ public enum GetAppStoreVersionForBuildV1 { case totalPauseDuration } - public enum AppStoreVersionSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -171,7 +171,7 @@ public enum GetAppStoreVersionForBuildV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -217,7 +217,7 @@ public enum GetAppStoreVersionForBuildV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -244,7 +244,7 @@ public enum GetAppStoreVersionForBuildV1 { case version } - public enum RoutingAppCoverages: String, ParameterValue, Codable, CaseIterable { + public enum RoutingAppCoverages: String, Sendable, ParameterValue, Codable, CaseIterable { case appStoreVersion case assetDeliveryState case fileName diff --git a/Sources/Bagbutik-TestFlight/Build/Relationships/GetBetaAppReviewSubmissionForBuildV1.swift b/Sources/Bagbutik-TestFlight/Build/Relationships/GetBetaAppReviewSubmissionForBuildV1.swift index a107a6aca..a0510d2ae 100644 --- a/Sources/Bagbutik-TestFlight/Build/Relationships/GetBetaAppReviewSubmissionForBuildV1.swift +++ b/Sources/Bagbutik-TestFlight/Build/Relationships/GetBetaAppReviewSubmissionForBuildV1.swift @@ -28,7 +28,7 @@ public enum GetBetaAppReviewSubmissionForBuildV1 { /// The fields to include for returned resources of type betaAppReviewSubmissions case betaAppReviewSubmissions([BetaAppReviewSubmissions]) - public enum BetaAppReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case betaReviewState case build case submittedDate diff --git a/Sources/Bagbutik-TestFlight/Build/Relationships/GetBuildBetaDetailForBuildV1.swift b/Sources/Bagbutik-TestFlight/Build/Relationships/GetBuildBetaDetailForBuildV1.swift index 3aad5dd9d..073732d2b 100644 --- a/Sources/Bagbutik-TestFlight/Build/Relationships/GetBuildBetaDetailForBuildV1.swift +++ b/Sources/Bagbutik-TestFlight/Build/Relationships/GetBuildBetaDetailForBuildV1.swift @@ -33,14 +33,14 @@ public enum GetBuildBetaDetailForBuildV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum BuildBetaDetails: String, ParameterValue, Codable, CaseIterable { + public enum BuildBetaDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case autoNotifyEnabled case build case externalBuildState case internalBuildState } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/Build/Relationships/GetPreReleaseVersionForBuildV1.swift b/Sources/Bagbutik-TestFlight/Build/Relationships/GetPreReleaseVersionForBuildV1.swift index da276581c..08a49263b 100644 --- a/Sources/Bagbutik-TestFlight/Build/Relationships/GetPreReleaseVersionForBuildV1.swift +++ b/Sources/Bagbutik-TestFlight/Build/Relationships/GetPreReleaseVersionForBuildV1.swift @@ -28,7 +28,7 @@ public enum GetPreReleaseVersionForBuildV1 { /// The fields to include for returned resources of type preReleaseVersions case preReleaseVersions([PreReleaseVersions]) - public enum PreReleaseVersions: String, ParameterValue, Codable, CaseIterable { + public enum PreReleaseVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case builds case platform diff --git a/Sources/Bagbutik-TestFlight/Build/Relationships/ListBetaBuildLocalizationsForBuildV1.swift b/Sources/Bagbutik-TestFlight/Build/Relationships/ListBetaBuildLocalizationsForBuildV1.swift index f9fced0ee..8d20d5afb 100644 --- a/Sources/Bagbutik-TestFlight/Build/Relationships/ListBetaBuildLocalizationsForBuildV1.swift +++ b/Sources/Bagbutik-TestFlight/Build/Relationships/ListBetaBuildLocalizationsForBuildV1.swift @@ -31,7 +31,7 @@ public enum ListBetaBuildLocalizationsForBuildV1 { /// The fields to include for returned resources of type betaBuildLocalizations case betaBuildLocalizations([BetaBuildLocalizations]) - public enum BetaBuildLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaBuildLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case build case locale case whatsNew diff --git a/Sources/Bagbutik-TestFlight/Build/Relationships/ListIndividualTestersForBuildV1.swift b/Sources/Bagbutik-TestFlight/Build/Relationships/ListIndividualTestersForBuildV1.swift index c8fb6d001..cc2a60ad2 100644 --- a/Sources/Bagbutik-TestFlight/Build/Relationships/ListIndividualTestersForBuildV1.swift +++ b/Sources/Bagbutik-TestFlight/Build/Relationships/ListIndividualTestersForBuildV1.swift @@ -31,7 +31,7 @@ public enum ListIndividualTestersForBuildV1 { /// The fields to include for returned resources of type betaTesters case betaTesters([BetaTesters]) - public enum BetaTesters: String, ParameterValue, Codable, CaseIterable { + public enum BetaTesters: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case betaGroups case builds diff --git a/Sources/Bagbutik-TestFlight/BuildBetaDetail/GetBuildBetaDetailV1.swift b/Sources/Bagbutik-TestFlight/BuildBetaDetail/GetBuildBetaDetailV1.swift index 247d38962..c4611f53d 100644 --- a/Sources/Bagbutik-TestFlight/BuildBetaDetail/GetBuildBetaDetailV1.swift +++ b/Sources/Bagbutik-TestFlight/BuildBetaDetail/GetBuildBetaDetailV1.swift @@ -33,14 +33,14 @@ public enum GetBuildBetaDetailV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum BuildBetaDetails: String, ParameterValue, Codable, CaseIterable { + public enum BuildBetaDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case autoNotifyEnabled case build case externalBuildState case internalBuildState } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BuildBetaDetail/ListBuildBetaDetailsV1.swift b/Sources/Bagbutik-TestFlight/BuildBetaDetail/ListBuildBetaDetailsV1.swift index 135a2e71a..1005e8d6c 100644 --- a/Sources/Bagbutik-TestFlight/BuildBetaDetail/ListBuildBetaDetailsV1.swift +++ b/Sources/Bagbutik-TestFlight/BuildBetaDetail/ListBuildBetaDetailsV1.swift @@ -37,14 +37,14 @@ public enum ListBuildBetaDetailsV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum BuildBetaDetails: String, ParameterValue, Codable, CaseIterable { + public enum BuildBetaDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case autoNotifyEnabled case build case externalBuildState case internalBuildState } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/BuildBetaDetail/Relationships/GetBuildForBuildBetaDetailV1.swift b/Sources/Bagbutik-TestFlight/BuildBetaDetail/Relationships/GetBuildForBuildBetaDetailV1.swift index 6854c60c2..ac53bdeff 100644 --- a/Sources/Bagbutik-TestFlight/BuildBetaDetail/Relationships/GetBuildForBuildBetaDetailV1.swift +++ b/Sources/Bagbutik-TestFlight/BuildBetaDetail/Relationships/GetBuildForBuildBetaDetailV1.swift @@ -28,7 +28,7 @@ public enum GetBuildForBuildBetaDetailV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-TestFlight/PreReleaseVersion/GetPreReleaseVersionV1.swift b/Sources/Bagbutik-TestFlight/PreReleaseVersion/GetPreReleaseVersionV1.swift index d188db2db..ef08e37bd 100644 --- a/Sources/Bagbutik-TestFlight/PreReleaseVersion/GetPreReleaseVersionV1.swift +++ b/Sources/Bagbutik-TestFlight/PreReleaseVersion/GetPreReleaseVersionV1.swift @@ -38,7 +38,7 @@ public enum GetPreReleaseVersionV1 { /// The fields to include for returned resources of type preReleaseVersions case preReleaseVersions([PreReleaseVersions]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -84,7 +84,7 @@ public enum GetPreReleaseVersionV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -111,7 +111,7 @@ public enum GetPreReleaseVersionV1 { case version } - public enum PreReleaseVersions: String, ParameterValue, Codable, CaseIterable { + public enum PreReleaseVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case builds case platform diff --git a/Sources/Bagbutik-TestFlight/PreReleaseVersion/ListPreReleaseVersionsV1.swift b/Sources/Bagbutik-TestFlight/PreReleaseVersion/ListPreReleaseVersionsV1.swift index 6c87dd099..6ff03869e 100644 --- a/Sources/Bagbutik-TestFlight/PreReleaseVersion/ListPreReleaseVersionsV1.swift +++ b/Sources/Bagbutik-TestFlight/PreReleaseVersion/ListPreReleaseVersionsV1.swift @@ -42,7 +42,7 @@ public enum ListPreReleaseVersionsV1 { /// The fields to include for returned resources of type preReleaseVersions case preReleaseVersions([PreReleaseVersions]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -88,7 +88,7 @@ public enum ListPreReleaseVersionsV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -115,7 +115,7 @@ public enum ListPreReleaseVersionsV1 { case version } - public enum PreReleaseVersions: String, ParameterValue, Codable, CaseIterable { + public enum PreReleaseVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case builds case platform @@ -142,7 +142,7 @@ public enum ListPreReleaseVersionsV1 { /// Filter by attribute 'version' case version([String]) - public enum BuildsProcessingState: String, ParameterValue, Codable, CaseIterable { + public enum BuildsProcessingState: String, Sendable, ParameterValue, Codable, CaseIterable { case failed = "FAILED" case invalid = "INVALID" case processing = "PROCESSING" diff --git a/Sources/Bagbutik-TestFlight/PreReleaseVersion/Relationships/GetAppForPreReleaseVersionV1.swift b/Sources/Bagbutik-TestFlight/PreReleaseVersion/Relationships/GetAppForPreReleaseVersionV1.swift index 43e4548ff..e62aaabe7 100644 --- a/Sources/Bagbutik-TestFlight/PreReleaseVersion/Relationships/GetAppForPreReleaseVersionV1.swift +++ b/Sources/Bagbutik-TestFlight/PreReleaseVersion/Relationships/GetAppForPreReleaseVersionV1.swift @@ -28,7 +28,7 @@ public enum GetAppForPreReleaseVersionV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-TestFlight/PreReleaseVersion/Relationships/ListBuildsForPreReleaseVersionV1.swift b/Sources/Bagbutik-TestFlight/PreReleaseVersion/Relationships/ListBuildsForPreReleaseVersionV1.swift index 2bfbc570c..284eecd21 100644 --- a/Sources/Bagbutik-TestFlight/PreReleaseVersion/Relationships/ListBuildsForPreReleaseVersionV1.swift +++ b/Sources/Bagbutik-TestFlight/PreReleaseVersion/Relationships/ListBuildsForPreReleaseVersionV1.swift @@ -31,7 +31,7 @@ public enum ListBuildsForPreReleaseVersionV1 { /// The fields to include for returned resources of type builds case builds([Builds]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion diff --git a/Sources/Bagbutik-Users/User/GetUserV1.swift b/Sources/Bagbutik-Users/User/GetUserV1.swift index 1b199eb98..af89933aa 100644 --- a/Sources/Bagbutik-Users/User/GetUserV1.swift +++ b/Sources/Bagbutik-Users/User/GetUserV1.swift @@ -36,7 +36,7 @@ public enum GetUserV1 { /// The fields to include for returned resources of type users case users([Users]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -82,7 +82,7 @@ public enum GetUserV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Users: String, ParameterValue, Codable, CaseIterable { + public enum Users: String, Sendable, ParameterValue, Codable, CaseIterable { case allAppsVisible case firstName case lastName diff --git a/Sources/Bagbutik-Users/User/ListUsersV1.swift b/Sources/Bagbutik-Users/User/ListUsersV1.swift index 5cafb24be..585f48b90 100644 --- a/Sources/Bagbutik-Users/User/ListUsersV1.swift +++ b/Sources/Bagbutik-Users/User/ListUsersV1.swift @@ -40,7 +40,7 @@ public enum ListUsersV1 { /// The fields to include for returned resources of type users case users([Users]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -86,7 +86,7 @@ public enum ListUsersV1 { case subscriptionStatusUrlVersionForSandbox } - public enum Users: String, ParameterValue, Codable, CaseIterable { + public enum Users: String, Sendable, ParameterValue, Codable, CaseIterable { case allAppsVisible case firstName case lastName diff --git a/Sources/Bagbutik-Users/User/Relationships/ListVisibleAppsForUserV1.swift b/Sources/Bagbutik-Users/User/Relationships/ListVisibleAppsForUserV1.swift index df7b303bc..47e07fbf6 100644 --- a/Sources/Bagbutik-Users/User/Relationships/ListVisibleAppsForUserV1.swift +++ b/Sources/Bagbutik-Users/User/Relationships/ListVisibleAppsForUserV1.swift @@ -31,7 +31,7 @@ public enum ListVisibleAppsForUserV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-Users/UserInvitation/GetUserInvitationV1.swift b/Sources/Bagbutik-Users/UserInvitation/GetUserInvitationV1.swift index 442a89a03..c4e7a061e 100644 --- a/Sources/Bagbutik-Users/UserInvitation/GetUserInvitationV1.swift +++ b/Sources/Bagbutik-Users/UserInvitation/GetUserInvitationV1.swift @@ -36,7 +36,7 @@ public enum GetUserInvitationV1 { /// The fields to include for returned resources of type userInvitations case userInvitations([UserInvitations]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -82,7 +82,7 @@ public enum GetUserInvitationV1 { case subscriptionStatusUrlVersionForSandbox } - public enum UserInvitations: String, ParameterValue, Codable, CaseIterable { + public enum UserInvitations: String, Sendable, ParameterValue, Codable, CaseIterable { case allAppsVisible case email case expirationDate diff --git a/Sources/Bagbutik-Users/UserInvitation/ListUserInvitationsV1.swift b/Sources/Bagbutik-Users/UserInvitation/ListUserInvitationsV1.swift index 188db87d0..45ceefbc0 100644 --- a/Sources/Bagbutik-Users/UserInvitation/ListUserInvitationsV1.swift +++ b/Sources/Bagbutik-Users/UserInvitation/ListUserInvitationsV1.swift @@ -40,7 +40,7 @@ public enum ListUserInvitationsV1 { /// The fields to include for returned resources of type userInvitations case userInvitations([UserInvitations]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -86,7 +86,7 @@ public enum ListUserInvitationsV1 { case subscriptionStatusUrlVersionForSandbox } - public enum UserInvitations: String, ParameterValue, Codable, CaseIterable { + public enum UserInvitations: String, Sendable, ParameterValue, Codable, CaseIterable { case allAppsVisible case email case expirationDate diff --git a/Sources/Bagbutik-Users/UserInvitation/Relationships/ListVisibleAppsForUserInvitationV1.swift b/Sources/Bagbutik-Users/UserInvitation/Relationships/ListVisibleAppsForUserInvitationV1.swift index 503b28afe..be0ccb8be 100644 --- a/Sources/Bagbutik-Users/UserInvitation/Relationships/ListVisibleAppsForUserInvitationV1.swift +++ b/Sources/Bagbutik-Users/UserInvitation/Relationships/ListVisibleAppsForUserInvitationV1.swift @@ -31,7 +31,7 @@ public enum ListVisibleAppsForUserInvitationV1 { /// The fields to include for returned resources of type apps case apps([Apps]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability diff --git a/Sources/Bagbutik-XcodeCloud/App/Relationships/GetCiProductForAppV1.swift b/Sources/Bagbutik-XcodeCloud/App/Relationships/GetCiProductForAppV1.swift index 913716401..02fc6b1b3 100644 --- a/Sources/Bagbutik-XcodeCloud/App/Relationships/GetCiProductForAppV1.swift +++ b/Sources/Bagbutik-XcodeCloud/App/Relationships/GetCiProductForAppV1.swift @@ -42,7 +42,7 @@ public enum GetCiProductForAppV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -88,7 +88,7 @@ public enum GetCiProductForAppV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BundleIds: String, ParameterValue, Codable, CaseIterable { + public enum BundleIds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case bundleIdCapabilities case identifier @@ -98,7 +98,7 @@ public enum GetCiProductForAppV1 { case seedId } - public enum CiProducts: String, ParameterValue, Codable, CaseIterable { + public enum CiProducts: String, Sendable, ParameterValue, Codable, CaseIterable { case additionalRepositories case app case buildRuns @@ -110,7 +110,7 @@ public enum GetCiProductForAppV1 { case workflows } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/CiArtifact/GetCiArtifactV1.swift b/Sources/Bagbutik-XcodeCloud/CiArtifact/GetCiArtifactV1.swift index 85ca759d5..a793bd474 100644 --- a/Sources/Bagbutik-XcodeCloud/CiArtifact/GetCiArtifactV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiArtifact/GetCiArtifactV1.swift @@ -30,7 +30,7 @@ public enum GetCiArtifactV1 { /// The fields to include for returned resources of type ciArtifacts case ciArtifacts([CiArtifacts]) - public enum CiArtifacts: String, ParameterValue, Codable, CaseIterable { + public enum CiArtifacts: String, Sendable, ParameterValue, Codable, CaseIterable { case downloadUrl case fileName case fileSize diff --git a/Sources/Bagbutik-XcodeCloud/CiBuildAction/GetCiBuildActionV1.swift b/Sources/Bagbutik-XcodeCloud/CiBuildAction/GetCiBuildActionV1.swift index 80fe0a74a..3b7905887 100644 --- a/Sources/Bagbutik-XcodeCloud/CiBuildAction/GetCiBuildActionV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiBuildAction/GetCiBuildActionV1.swift @@ -41,14 +41,14 @@ public enum GetCiBuildActionV1 { /// The fields to include for returned resources of type ciTestResults case ciTestResults([CiTestResults]) - public enum CiArtifacts: String, ParameterValue, Codable, CaseIterable { + public enum CiArtifacts: String, Sendable, ParameterValue, Codable, CaseIterable { case downloadUrl case fileName case fileSize case fileType } - public enum CiBuildActions: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildActions: String, Sendable, ParameterValue, Codable, CaseIterable { case actionType case artifacts case buildRun @@ -63,7 +63,7 @@ public enum GetCiBuildActionV1 { case testResults } - public enum CiBuildRuns: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildRuns: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case buildRun case builds @@ -87,14 +87,14 @@ public enum GetCiBuildActionV1 { case workflow } - public enum CiIssues: String, ParameterValue, Codable, CaseIterable { + public enum CiIssues: String, Sendable, ParameterValue, Codable, CaseIterable { case category case fileSource case issueType case message } - public enum CiTestResults: String, ParameterValue, Codable, CaseIterable { + public enum CiTestResults: String, Sendable, ParameterValue, Codable, CaseIterable { case className case destinationTestResults case fileSource diff --git a/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/GetBuildRunForCiBuildActionV1.swift b/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/GetBuildRunForCiBuildActionV1.swift index dcf90b235..c9976615f 100644 --- a/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/GetBuildRunForCiBuildActionV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/GetBuildRunForCiBuildActionV1.swift @@ -46,7 +46,7 @@ public enum GetBuildRunForCiBuildActionV1 { /// The fields to include for returned resources of type scmPullRequests case scmPullRequests([ScmPullRequests]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -73,7 +73,7 @@ public enum GetBuildRunForCiBuildActionV1 { case version } - public enum CiBuildRuns: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildRuns: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case buildRun case builds @@ -97,7 +97,7 @@ public enum GetBuildRunForCiBuildActionV1 { case workflow } - public enum CiProducts: String, ParameterValue, Codable, CaseIterable { + public enum CiProducts: String, Sendable, ParameterValue, Codable, CaseIterable { case additionalRepositories case app case buildRuns @@ -109,7 +109,7 @@ public enum GetBuildRunForCiBuildActionV1 { case workflows } - public enum CiWorkflows: String, ParameterValue, Codable, CaseIterable { + public enum CiWorkflows: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case branchStartCondition case buildRuns @@ -132,7 +132,7 @@ public enum GetBuildRunForCiBuildActionV1 { case xcodeVersion } - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind @@ -140,7 +140,7 @@ public enum GetBuildRunForCiBuildActionV1 { case repository } - public enum ScmPullRequests: String, ParameterValue, Codable, CaseIterable { + public enum ScmPullRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case destinationBranchName case destinationRepositoryName case destinationRepositoryOwner diff --git a/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListArtifactsForCiBuildActionV1.swift b/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListArtifactsForCiBuildActionV1.swift index a477b5512..c36e8ddbe 100644 --- a/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListArtifactsForCiBuildActionV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListArtifactsForCiBuildActionV1.swift @@ -31,7 +31,7 @@ public enum ListArtifactsForCiBuildActionV1 { /// The fields to include for returned resources of type ciArtifacts case ciArtifacts([CiArtifacts]) - public enum CiArtifacts: String, ParameterValue, Codable, CaseIterable { + public enum CiArtifacts: String, Sendable, ParameterValue, Codable, CaseIterable { case downloadUrl case fileName case fileSize diff --git a/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListIssuesForCiBuildActionV1.swift b/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListIssuesForCiBuildActionV1.swift index 903af547a..e13a0cdab 100644 --- a/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListIssuesForCiBuildActionV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListIssuesForCiBuildActionV1.swift @@ -33,7 +33,7 @@ public enum ListIssuesForCiBuildActionV1 { /// The fields to include for returned resources of type ciIssues case ciIssues([CiIssues]) - public enum CiIssues: String, ParameterValue, Codable, CaseIterable { + public enum CiIssues: String, Sendable, ParameterValue, Codable, CaseIterable { case category case fileSource case issueType diff --git a/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListTestResultsForCiBuildActionV1.swift b/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListTestResultsForCiBuildActionV1.swift index acda79866..395c1a91c 100644 --- a/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListTestResultsForCiBuildActionV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiBuildAction/Relationships/ListTestResultsForCiBuildActionV1.swift @@ -33,7 +33,7 @@ public enum ListTestResultsForCiBuildActionV1 { /// The fields to include for returned resources of type ciTestResults case ciTestResults([CiTestResults]) - public enum CiTestResults: String, ParameterValue, Codable, CaseIterable { + public enum CiTestResults: String, Sendable, ParameterValue, Codable, CaseIterable { case className case destinationTestResults case fileSource diff --git a/Sources/Bagbutik-XcodeCloud/CiBuildRun/GetCiBuildRunV1.swift b/Sources/Bagbutik-XcodeCloud/CiBuildRun/GetCiBuildRunV1.swift index 3b30bc072..8181c378d 100644 --- a/Sources/Bagbutik-XcodeCloud/CiBuildRun/GetCiBuildRunV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiBuildRun/GetCiBuildRunV1.swift @@ -40,7 +40,7 @@ public enum GetCiBuildRunV1 { /// The fields to include for returned resources of type ciBuildRuns case ciBuildRuns([CiBuildRuns]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -67,7 +67,7 @@ public enum GetCiBuildRunV1 { case version } - public enum CiBuildActions: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildActions: String, Sendable, ParameterValue, Codable, CaseIterable { case actionType case artifacts case buildRun @@ -82,7 +82,7 @@ public enum GetCiBuildRunV1 { case testResults } - public enum CiBuildRuns: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildRuns: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case buildRun case builds diff --git a/Sources/Bagbutik-XcodeCloud/CiBuildRun/Relationships/ListActionsForCiBuildRunV1.swift b/Sources/Bagbutik-XcodeCloud/CiBuildRun/Relationships/ListActionsForCiBuildRunV1.swift index db57d6443..e7067fac6 100644 --- a/Sources/Bagbutik-XcodeCloud/CiBuildRun/Relationships/ListActionsForCiBuildRunV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiBuildRun/Relationships/ListActionsForCiBuildRunV1.swift @@ -38,7 +38,7 @@ public enum ListActionsForCiBuildRunV1 { /// The fields to include for returned resources of type ciBuildRuns case ciBuildRuns([CiBuildRuns]) - public enum CiBuildActions: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildActions: String, Sendable, ParameterValue, Codable, CaseIterable { case actionType case artifacts case buildRun @@ -53,7 +53,7 @@ public enum ListActionsForCiBuildRunV1 { case testResults } - public enum CiBuildRuns: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildRuns: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case buildRun case builds diff --git a/Sources/Bagbutik-XcodeCloud/CiBuildRun/Relationships/ListBuildsForCiBuildRunV1.swift b/Sources/Bagbutik-XcodeCloud/CiBuildRun/Relationships/ListBuildsForCiBuildRunV1.swift index b5c9a94c5..a3033c0fe 100644 --- a/Sources/Bagbutik-XcodeCloud/CiBuildRun/Relationships/ListBuildsForCiBuildRunV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiBuildRun/Relationships/ListBuildsForCiBuildRunV1.swift @@ -62,7 +62,7 @@ public enum ListBuildsForCiBuildRunV1 { /// The fields to include for returned resources of type preReleaseVersions case preReleaseVersions([PreReleaseVersions]) - public enum AppEncryptionDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appDescription case appEncryptionDeclarationDocument @@ -82,7 +82,7 @@ public enum ListBuildsForCiBuildRunV1 { case usesEncryption } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -108,7 +108,7 @@ public enum ListBuildsForCiBuildRunV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -154,19 +154,19 @@ public enum ListBuildsForCiBuildRunV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaAppReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case betaReviewState case build case submittedDate } - public enum BetaBuildLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaBuildLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case build case locale case whatsNew } - public enum BetaGroups: String, ParameterValue, Codable, CaseIterable { + public enum BetaGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case betaTesters case builds @@ -183,7 +183,7 @@ public enum ListBuildsForCiBuildRunV1 { case publicLinkLimitEnabled } - public enum BetaTesters: String, ParameterValue, Codable, CaseIterable { + public enum BetaTesters: String, Sendable, ParameterValue, Codable, CaseIterable { case apps case betaGroups case builds @@ -194,14 +194,14 @@ public enum ListBuildsForCiBuildRunV1 { case state } - public enum BuildBetaDetails: String, ParameterValue, Codable, CaseIterable { + public enum BuildBetaDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case autoNotifyEnabled case build case externalBuildState case internalBuildState } - public enum BuildBundles: String, ParameterValue, Codable, CaseIterable { + public enum BuildBundles: String, Sendable, ParameterValue, Codable, CaseIterable { case appClipDomainCacheStatus case appClipDomainDebugStatus case betaAppClipInvocations @@ -225,13 +225,13 @@ public enum ListBuildsForCiBuildRunV1 { case usesLocationServices } - public enum BuildIcons: String, ParameterValue, Codable, CaseIterable { + public enum BuildIcons: String, Sendable, ParameterValue, Codable, CaseIterable { case iconAsset case iconType case name } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -258,7 +258,7 @@ public enum ListBuildsForCiBuildRunV1 { case version } - public enum PreReleaseVersions: String, ParameterValue, Codable, CaseIterable { + public enum PreReleaseVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case builds case platform @@ -297,7 +297,7 @@ public enum ListBuildsForCiBuildRunV1 { /// Filter by attribute 'version' case version([String]) - public enum ProcessingState: String, ParameterValue, Codable, CaseIterable { + public enum ProcessingState: String, Sendable, ParameterValue, Codable, CaseIterable { case failed = "FAILED" case invalid = "INVALID" case processing = "PROCESSING" diff --git a/Sources/Bagbutik-XcodeCloud/CiIssue/GetCiIssueV1.swift b/Sources/Bagbutik-XcodeCloud/CiIssue/GetCiIssueV1.swift index 9abfdca50..e15ad7af8 100644 --- a/Sources/Bagbutik-XcodeCloud/CiIssue/GetCiIssueV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiIssue/GetCiIssueV1.swift @@ -30,7 +30,7 @@ public enum GetCiIssueV1 { /// The fields to include for returned resources of type ciIssues case ciIssues([CiIssues]) - public enum CiIssues: String, ParameterValue, Codable, CaseIterable { + public enum CiIssues: String, Sendable, ParameterValue, Codable, CaseIterable { case category case fileSource case issueType diff --git a/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/GetCiMacOsVersionV1.swift b/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/GetCiMacOsVersionV1.swift index 567828008..4e8068a09 100644 --- a/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/GetCiMacOsVersionV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/GetCiMacOsVersionV1.swift @@ -38,13 +38,13 @@ public enum GetCiMacOsVersionV1 { /// The fields to include for returned resources of type ciXcodeVersions case ciXcodeVersions([CiXcodeVersions]) - public enum CiMacOsVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiMacOsVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case name case version case xcodeVersions } - public enum CiXcodeVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiXcodeVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case macOsVersions case name case testDestinations diff --git a/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/ListCiMacOsVersionsV1.swift b/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/ListCiMacOsVersionsV1.swift index 054df867f..a30477ad9 100644 --- a/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/ListCiMacOsVersionsV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/ListCiMacOsVersionsV1.swift @@ -36,13 +36,13 @@ public enum ListCiMacOsVersionsV1 { /// The fields to include for returned resources of type ciXcodeVersions case ciXcodeVersions([CiXcodeVersions]) - public enum CiMacOsVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiMacOsVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case name case version case xcodeVersions } - public enum CiXcodeVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiXcodeVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case macOsVersions case name case testDestinations diff --git a/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/Relationships/ListXcodeVersionsForCiMacOsVersionV1.swift b/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/Relationships/ListXcodeVersionsForCiMacOsVersionV1.swift index e6849579f..2bf6962a5 100644 --- a/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/Relationships/ListXcodeVersionsForCiMacOsVersionV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiMacOsVersion/Relationships/ListXcodeVersionsForCiMacOsVersionV1.swift @@ -38,13 +38,13 @@ public enum ListXcodeVersionsForCiMacOsVersionV1 { /// The fields to include for returned resources of type ciXcodeVersions case ciXcodeVersions([CiXcodeVersions]) - public enum CiMacOsVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiMacOsVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case name case version case xcodeVersions } - public enum CiXcodeVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiXcodeVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case macOsVersions case name case testDestinations diff --git a/Sources/Bagbutik-XcodeCloud/CiProduct/GetCiProductV1.swift b/Sources/Bagbutik-XcodeCloud/CiProduct/GetCiProductV1.swift index 8683868a2..0b889a749 100644 --- a/Sources/Bagbutik-XcodeCloud/CiProduct/GetCiProductV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiProduct/GetCiProductV1.swift @@ -44,7 +44,7 @@ public enum GetCiProductV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -90,7 +90,7 @@ public enum GetCiProductV1 { case subscriptionStatusUrlVersionForSandbox } - public enum CiBuildRuns: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildRuns: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case buildRun case builds @@ -114,7 +114,7 @@ public enum GetCiProductV1 { case workflow } - public enum CiProducts: String, ParameterValue, Codable, CaseIterable { + public enum CiProducts: String, Sendable, ParameterValue, Codable, CaseIterable { case additionalRepositories case app case buildRuns @@ -126,7 +126,7 @@ public enum GetCiProductV1 { case workflows } - public enum CiWorkflows: String, ParameterValue, Codable, CaseIterable { + public enum CiWorkflows: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case branchStartCondition case buildRuns @@ -149,7 +149,7 @@ public enum GetCiProductV1 { case xcodeVersion } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/CiProduct/ListCiProductsV1.swift b/Sources/Bagbutik-XcodeCloud/CiProduct/ListCiProductsV1.swift index d31f31b96..7cb03e0f4 100644 --- a/Sources/Bagbutik-XcodeCloud/CiProduct/ListCiProductsV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiProduct/ListCiProductsV1.swift @@ -45,7 +45,7 @@ public enum ListCiProductsV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -91,7 +91,7 @@ public enum ListCiProductsV1 { case subscriptionStatusUrlVersionForSandbox } - public enum CiBuildRuns: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildRuns: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case buildRun case builds @@ -115,7 +115,7 @@ public enum ListCiProductsV1 { case workflow } - public enum CiProducts: String, ParameterValue, Codable, CaseIterable { + public enum CiProducts: String, Sendable, ParameterValue, Codable, CaseIterable { case additionalRepositories case app case buildRuns @@ -127,7 +127,7 @@ public enum ListCiProductsV1 { case workflows } - public enum CiWorkflows: String, ParameterValue, Codable, CaseIterable { + public enum CiWorkflows: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case branchStartCondition case buildRuns @@ -150,7 +150,7 @@ public enum ListCiProductsV1 { case xcodeVersion } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/GetAppForCiProductV1.swift b/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/GetAppForCiProductV1.swift index ae3b6d012..ab70fccf3 100644 --- a/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/GetAppForCiProductV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/GetAppForCiProductV1.swift @@ -80,14 +80,14 @@ public enum GetAppForCiProductV1 { /// The fields to include for returned resources of type subscriptionGroups case subscriptionGroups([SubscriptionGroups]) - public enum AppClips: String, ParameterValue, Codable, CaseIterable { + public enum AppClips: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appClipAdvancedExperiences case appClipDefaultExperiences case bundleId } - public enum AppCustomProductPages: String, ParameterValue, Codable, CaseIterable { + public enum AppCustomProductPages: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appCustomProductPageVersions case appStoreVersionTemplate @@ -97,7 +97,7 @@ public enum GetAppForCiProductV1 { case visible } - public enum AppEncryptionDeclarations: String, ParameterValue, Codable, CaseIterable { + public enum AppEncryptionDeclarations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appDescription case appEncryptionDeclarationDocument @@ -117,7 +117,7 @@ public enum GetAppForCiProductV1 { case usesEncryption } - public enum AppEvents: String, ParameterValue, Codable, CaseIterable { + public enum AppEvents: String, Sendable, ParameterValue, Codable, CaseIterable { case app case archivedTerritorySchedules case badge @@ -132,7 +132,7 @@ public enum GetAppForCiProductV1 { case territorySchedules } - public enum AppInfos: String, ParameterValue, Codable, CaseIterable { + public enum AppInfos: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case app case appInfoLocalizations @@ -150,13 +150,13 @@ public enum GetAppForCiProductV1 { case state } - public enum AppPreOrders: String, ParameterValue, Codable, CaseIterable { + public enum AppPreOrders: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appReleaseDate case preOrderAvailableDate } - public enum AppStoreVersionExperiments: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersionExperiments: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionExperimentTreatments case controlVersions @@ -171,7 +171,7 @@ public enum GetAppForCiProductV1 { case trafficProportion } - public enum AppStoreVersions: String, ParameterValue, Codable, CaseIterable { + public enum AppStoreVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case ageRatingDeclaration case alternativeDistributionPackage case app @@ -197,7 +197,7 @@ public enum GetAppForCiProductV1 { case versionString } - public enum Apps: String, ParameterValue, Codable, CaseIterable { + public enum Apps: String, Sendable, ParameterValue, Codable, CaseIterable { case alternativeDistributionKey case analyticsReportRequests case appAvailability @@ -243,7 +243,7 @@ public enum GetAppForCiProductV1 { case subscriptionStatusUrlVersionForSandbox } - public enum BetaAppLocalizations: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppLocalizations: String, Sendable, ParameterValue, Codable, CaseIterable { case app case description case feedbackEmail @@ -253,7 +253,7 @@ public enum GetAppForCiProductV1 { case tvOsPrivacyPolicy } - public enum BetaAppReviewDetails: String, ParameterValue, Codable, CaseIterable { + public enum BetaAppReviewDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case app case contactEmail case contactFirstName @@ -265,7 +265,7 @@ public enum GetAppForCiProductV1 { case notes } - public enum BetaGroups: String, ParameterValue, Codable, CaseIterable { + public enum BetaGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case betaTesters case builds @@ -282,12 +282,12 @@ public enum GetAppForCiProductV1 { case publicLinkLimitEnabled } - public enum BetaLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum BetaLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app } - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -314,7 +314,7 @@ public enum GetAppForCiProductV1 { case version } - public enum CiProducts: String, ParameterValue, Codable, CaseIterable { + public enum CiProducts: String, Sendable, ParameterValue, Codable, CaseIterable { case additionalRepositories case app case buildRuns @@ -326,13 +326,13 @@ public enum GetAppForCiProductV1 { case workflows } - public enum EndUserLicenseAgreements: String, ParameterValue, Codable, CaseIterable { + public enum EndUserLicenseAgreements: String, Sendable, ParameterValue, Codable, CaseIterable { case agreementText case app case territories } - public enum GameCenterDetails: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterDetails: String, Sendable, ParameterValue, Codable, CaseIterable { case achievementReleases case app case arcadeEnabled @@ -348,7 +348,7 @@ public enum GetAppForCiProductV1 { case leaderboardSetReleases } - public enum GameCenterEnabledVersions: String, ParameterValue, Codable, CaseIterable { + public enum GameCenterEnabledVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case compatibleVersions case iconAsset @@ -356,7 +356,7 @@ public enum GetAppForCiProductV1 { case versionString } - public enum InAppPurchases: String, ParameterValue, Codable, CaseIterable { + public enum InAppPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreReviewScreenshot case apps @@ -376,14 +376,14 @@ public enum GetAppForCiProductV1 { case state } - public enum PreReleaseVersions: String, ParameterValue, Codable, CaseIterable { + public enum PreReleaseVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case builds case platform case version } - public enum PromotedPurchases: String, ParameterValue, Codable, CaseIterable { + public enum PromotedPurchases: String, Sendable, ParameterValue, Codable, CaseIterable { case app case enabled case inAppPurchaseV2 @@ -393,7 +393,7 @@ public enum GetAppForCiProductV1 { case visibleForAllUsers } - public enum ReviewSubmissions: String, ParameterValue, Codable, CaseIterable { + public enum ReviewSubmissions: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appStoreVersionForReview case canceled @@ -406,14 +406,14 @@ public enum GetAppForCiProductV1 { case submittedDate } - public enum SubscriptionGracePeriods: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGracePeriods: String, Sendable, ParameterValue, Codable, CaseIterable { case duration case optIn case renewalType case sandboxOptIn } - public enum SubscriptionGroups: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionGroups: String, Sendable, ParameterValue, Codable, CaseIterable { case app case referenceName case subscriptionGroupLocalizations diff --git a/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListAdditionalRepositoriesForCiProductV1.swift b/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListAdditionalRepositoriesForCiProductV1.swift index b5c9808db..9f2658f13 100644 --- a/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListAdditionalRepositoriesForCiProductV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListAdditionalRepositoriesForCiProductV1.swift @@ -41,7 +41,7 @@ public enum ListAdditionalRepositoriesForCiProductV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind @@ -49,13 +49,13 @@ public enum ListAdditionalRepositoriesForCiProductV1 { case repository } - public enum ScmProviders: String, ParameterValue, Codable, CaseIterable { + public enum ScmProviders: String, Sendable, ParameterValue, Codable, CaseIterable { case repositories case scmProviderType case url } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListBuildRunsForCiProductV1.swift b/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListBuildRunsForCiProductV1.swift index 133c029ff..93a648e58 100644 --- a/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListBuildRunsForCiProductV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListBuildRunsForCiProductV1.swift @@ -50,7 +50,7 @@ public enum ListBuildRunsForCiProductV1 { /// The fields to include for returned resources of type scmPullRequests case scmPullRequests([ScmPullRequests]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -77,7 +77,7 @@ public enum ListBuildRunsForCiProductV1 { case version } - public enum CiBuildRuns: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildRuns: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case buildRun case builds @@ -101,7 +101,7 @@ public enum ListBuildRunsForCiProductV1 { case workflow } - public enum CiProducts: String, ParameterValue, Codable, CaseIterable { + public enum CiProducts: String, Sendable, ParameterValue, Codable, CaseIterable { case additionalRepositories case app case buildRuns @@ -113,7 +113,7 @@ public enum ListBuildRunsForCiProductV1 { case workflows } - public enum CiWorkflows: String, ParameterValue, Codable, CaseIterable { + public enum CiWorkflows: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case branchStartCondition case buildRuns @@ -136,7 +136,7 @@ public enum ListBuildRunsForCiProductV1 { case xcodeVersion } - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind @@ -144,7 +144,7 @@ public enum ListBuildRunsForCiProductV1 { case repository } - public enum ScmPullRequests: String, ParameterValue, Codable, CaseIterable { + public enum ScmPullRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case destinationBranchName case destinationRepositoryName case destinationRepositoryOwner diff --git a/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListPrimaryRepositoriesForCiProductV1.swift b/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListPrimaryRepositoriesForCiProductV1.swift index 754f13701..5ad08c2eb 100644 --- a/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListPrimaryRepositoriesForCiProductV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListPrimaryRepositoriesForCiProductV1.swift @@ -41,7 +41,7 @@ public enum ListPrimaryRepositoriesForCiProductV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind @@ -49,13 +49,13 @@ public enum ListPrimaryRepositoriesForCiProductV1 { case repository } - public enum ScmProviders: String, ParameterValue, Codable, CaseIterable { + public enum ScmProviders: String, Sendable, ParameterValue, Codable, CaseIterable { case repositories case scmProviderType case url } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListWorkflowsForCiProductV1.swift b/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListWorkflowsForCiProductV1.swift index 4be828de0..957ffd7b5 100644 --- a/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListWorkflowsForCiProductV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiProduct/Relationships/ListWorkflowsForCiProductV1.swift @@ -42,13 +42,13 @@ public enum ListWorkflowsForCiProductV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum CiMacOsVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiMacOsVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case name case version case xcodeVersions } - public enum CiProducts: String, ParameterValue, Codable, CaseIterable { + public enum CiProducts: String, Sendable, ParameterValue, Codable, CaseIterable { case additionalRepositories case app case buildRuns @@ -60,7 +60,7 @@ public enum ListWorkflowsForCiProductV1 { case workflows } - public enum CiWorkflows: String, ParameterValue, Codable, CaseIterable { + public enum CiWorkflows: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case branchStartCondition case buildRuns @@ -83,14 +83,14 @@ public enum ListWorkflowsForCiProductV1 { case xcodeVersion } - public enum CiXcodeVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiXcodeVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case macOsVersions case name case testDestinations case version } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/CiTestResult/GetCiTestResultV1.swift b/Sources/Bagbutik-XcodeCloud/CiTestResult/GetCiTestResultV1.swift index c793fcd55..e49ae6fbc 100644 --- a/Sources/Bagbutik-XcodeCloud/CiTestResult/GetCiTestResultV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiTestResult/GetCiTestResultV1.swift @@ -30,7 +30,7 @@ public enum GetCiTestResultV1 { /// The fields to include for returned resources of type ciTestResults case ciTestResults([CiTestResults]) - public enum CiTestResults: String, ParameterValue, Codable, CaseIterable { + public enum CiTestResults: String, Sendable, ParameterValue, Codable, CaseIterable { case className case destinationTestResults case fileSource diff --git a/Sources/Bagbutik-XcodeCloud/CiWorkflow/GetCiWorkflowV1.swift b/Sources/Bagbutik-XcodeCloud/CiWorkflow/GetCiWorkflowV1.swift index bd2320a70..5559b9bc3 100644 --- a/Sources/Bagbutik-XcodeCloud/CiWorkflow/GetCiWorkflowV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiWorkflow/GetCiWorkflowV1.swift @@ -37,7 +37,7 @@ public enum GetCiWorkflowV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum CiBuildRuns: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildRuns: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case buildRun case builds @@ -61,7 +61,7 @@ public enum GetCiWorkflowV1 { case workflow } - public enum CiWorkflows: String, ParameterValue, Codable, CaseIterable { + public enum CiWorkflows: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case branchStartCondition case buildRuns @@ -84,7 +84,7 @@ public enum GetCiWorkflowV1 { case xcodeVersion } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/CiWorkflow/Relationships/GetRepositoryForCiWorkflowV1.swift b/Sources/Bagbutik-XcodeCloud/CiWorkflow/Relationships/GetRepositoryForCiWorkflowV1.swift index 08f285e7b..d9ebccd23 100644 --- a/Sources/Bagbutik-XcodeCloud/CiWorkflow/Relationships/GetRepositoryForCiWorkflowV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiWorkflow/Relationships/GetRepositoryForCiWorkflowV1.swift @@ -37,7 +37,7 @@ public enum GetRepositoryForCiWorkflowV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind @@ -45,13 +45,13 @@ public enum GetRepositoryForCiWorkflowV1 { case repository } - public enum ScmProviders: String, ParameterValue, Codable, CaseIterable { + public enum ScmProviders: String, Sendable, ParameterValue, Codable, CaseIterable { case repositories case scmProviderType case url } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/CiWorkflow/Relationships/ListBuildRunsForCiWorkflowV1.swift b/Sources/Bagbutik-XcodeCloud/CiWorkflow/Relationships/ListBuildRunsForCiWorkflowV1.swift index 48e60a7e8..69f9b06fe 100644 --- a/Sources/Bagbutik-XcodeCloud/CiWorkflow/Relationships/ListBuildRunsForCiWorkflowV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiWorkflow/Relationships/ListBuildRunsForCiWorkflowV1.swift @@ -50,7 +50,7 @@ public enum ListBuildRunsForCiWorkflowV1 { /// The fields to include for returned resources of type scmPullRequests case scmPullRequests([ScmPullRequests]) - public enum Builds: String, ParameterValue, Codable, CaseIterable { + public enum Builds: String, Sendable, ParameterValue, Codable, CaseIterable { case app case appEncryptionDeclaration case appStoreVersion @@ -77,7 +77,7 @@ public enum ListBuildRunsForCiWorkflowV1 { case version } - public enum CiBuildRuns: String, ParameterValue, Codable, CaseIterable { + public enum CiBuildRuns: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case buildRun case builds @@ -101,7 +101,7 @@ public enum ListBuildRunsForCiWorkflowV1 { case workflow } - public enum CiProducts: String, ParameterValue, Codable, CaseIterable { + public enum CiProducts: String, Sendable, ParameterValue, Codable, CaseIterable { case additionalRepositories case app case buildRuns @@ -113,7 +113,7 @@ public enum ListBuildRunsForCiWorkflowV1 { case workflows } - public enum CiWorkflows: String, ParameterValue, Codable, CaseIterable { + public enum CiWorkflows: String, Sendable, ParameterValue, Codable, CaseIterable { case actions case branchStartCondition case buildRuns @@ -136,7 +136,7 @@ public enum ListBuildRunsForCiWorkflowV1 { case xcodeVersion } - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind @@ -144,7 +144,7 @@ public enum ListBuildRunsForCiWorkflowV1 { case repository } - public enum ScmPullRequests: String, ParameterValue, Codable, CaseIterable { + public enum ScmPullRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case destinationBranchName case destinationRepositoryName case destinationRepositoryOwner diff --git a/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/GetCiXcodeVersionV1.swift b/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/GetCiXcodeVersionV1.swift index 5beb46833..b8856f5ae 100644 --- a/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/GetCiXcodeVersionV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/GetCiXcodeVersionV1.swift @@ -38,13 +38,13 @@ public enum GetCiXcodeVersionV1 { /// The fields to include for returned resources of type ciXcodeVersions case ciXcodeVersions([CiXcodeVersions]) - public enum CiMacOsVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiMacOsVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case name case version case xcodeVersions } - public enum CiXcodeVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiXcodeVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case macOsVersions case name case testDestinations diff --git a/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/ListCiXcodeVersionsV1.swift b/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/ListCiXcodeVersionsV1.swift index cf8264981..432fc1d7f 100644 --- a/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/ListCiXcodeVersionsV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/ListCiXcodeVersionsV1.swift @@ -36,13 +36,13 @@ public enum ListCiXcodeVersionsV1 { /// The fields to include for returned resources of type ciXcodeVersions case ciXcodeVersions([CiXcodeVersions]) - public enum CiMacOsVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiMacOsVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case name case version case xcodeVersions } - public enum CiXcodeVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiXcodeVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case macOsVersions case name case testDestinations diff --git a/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/Relationships/ListMacOsVersionsForCiXcodeVersionV1.swift b/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/Relationships/ListMacOsVersionsForCiXcodeVersionV1.swift index 159fc7b4c..0e8d8a501 100644 --- a/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/Relationships/ListMacOsVersionsForCiXcodeVersionV1.swift +++ b/Sources/Bagbutik-XcodeCloud/CiXcodeVersion/Relationships/ListMacOsVersionsForCiXcodeVersionV1.swift @@ -38,13 +38,13 @@ public enum ListMacOsVersionsForCiXcodeVersionV1 { /// The fields to include for returned resources of type ciXcodeVersions case ciXcodeVersions([CiXcodeVersions]) - public enum CiMacOsVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiMacOsVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case name case version case xcodeVersions } - public enum CiXcodeVersions: String, ParameterValue, Codable, CaseIterable { + public enum CiXcodeVersions: String, Sendable, ParameterValue, Codable, CaseIterable { case macOsVersions case name case testDestinations diff --git a/Sources/Bagbutik-XcodeCloud/ScmGitReference/GetScmGitReferenceV1.swift b/Sources/Bagbutik-XcodeCloud/ScmGitReference/GetScmGitReferenceV1.swift index 5017daed7..236050a90 100644 --- a/Sources/Bagbutik-XcodeCloud/ScmGitReference/GetScmGitReferenceV1.swift +++ b/Sources/Bagbutik-XcodeCloud/ScmGitReference/GetScmGitReferenceV1.swift @@ -31,7 +31,7 @@ public enum GetScmGitReferenceV1 { /// The fields to include for returned resources of type scmGitReferences case scmGitReferences([ScmGitReferences]) - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind diff --git a/Sources/Bagbutik-XcodeCloud/ScmProvider/GetScmProviderV1.swift b/Sources/Bagbutik-XcodeCloud/ScmProvider/GetScmProviderV1.swift index 54eee77c6..92a8fdb13 100644 --- a/Sources/Bagbutik-XcodeCloud/ScmProvider/GetScmProviderV1.swift +++ b/Sources/Bagbutik-XcodeCloud/ScmProvider/GetScmProviderV1.swift @@ -32,13 +32,13 @@ public enum GetScmProviderV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum ScmProviders: String, ParameterValue, Codable, CaseIterable { + public enum ScmProviders: String, Sendable, ParameterValue, Codable, CaseIterable { case repositories case scmProviderType case url } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/ScmProvider/ListScmProvidersV1.swift b/Sources/Bagbutik-XcodeCloud/ScmProvider/ListScmProvidersV1.swift index 6ee1ae4ea..c7bb8cf08 100644 --- a/Sources/Bagbutik-XcodeCloud/ScmProvider/ListScmProvidersV1.swift +++ b/Sources/Bagbutik-XcodeCloud/ScmProvider/ListScmProvidersV1.swift @@ -31,13 +31,13 @@ public enum ListScmProvidersV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum ScmProviders: String, ParameterValue, Codable, CaseIterable { + public enum ScmProviders: String, Sendable, ParameterValue, Codable, CaseIterable { case repositories case scmProviderType case url } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/ScmProvider/Relationships/ListRepositoriesForScmProviderV1.swift b/Sources/Bagbutik-XcodeCloud/ScmProvider/Relationships/ListRepositoriesForScmProviderV1.swift index 67c88b231..cefcbd496 100644 --- a/Sources/Bagbutik-XcodeCloud/ScmProvider/Relationships/ListRepositoriesForScmProviderV1.swift +++ b/Sources/Bagbutik-XcodeCloud/ScmProvider/Relationships/ListRepositoriesForScmProviderV1.swift @@ -41,7 +41,7 @@ public enum ListRepositoriesForScmProviderV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind @@ -49,13 +49,13 @@ public enum ListRepositoriesForScmProviderV1 { case repository } - public enum ScmProviders: String, ParameterValue, Codable, CaseIterable { + public enum ScmProviders: String, Sendable, ParameterValue, Codable, CaseIterable { case repositories case scmProviderType case url } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/ScmPullRequest/GetScmPullRequestV1.swift b/Sources/Bagbutik-XcodeCloud/ScmPullRequest/GetScmPullRequestV1.swift index 5df9841b7..7f3bcc8fc 100644 --- a/Sources/Bagbutik-XcodeCloud/ScmPullRequest/GetScmPullRequestV1.swift +++ b/Sources/Bagbutik-XcodeCloud/ScmPullRequest/GetScmPullRequestV1.swift @@ -33,7 +33,7 @@ public enum GetScmPullRequestV1 { /// The fields to include for returned resources of type scmPullRequests case scmPullRequests([ScmPullRequests]) - public enum ScmPullRequests: String, ParameterValue, Codable, CaseIterable { + public enum ScmPullRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case destinationBranchName case destinationRepositoryName case destinationRepositoryOwner diff --git a/Sources/Bagbutik-XcodeCloud/ScmRepository/GetScmRepositoryV1.swift b/Sources/Bagbutik-XcodeCloud/ScmRepository/GetScmRepositoryV1.swift index 4b1fabb5d..6817febb1 100644 --- a/Sources/Bagbutik-XcodeCloud/ScmRepository/GetScmRepositoryV1.swift +++ b/Sources/Bagbutik-XcodeCloud/ScmRepository/GetScmRepositoryV1.swift @@ -37,7 +37,7 @@ public enum GetScmRepositoryV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind @@ -45,7 +45,7 @@ public enum GetScmRepositoryV1 { case repository } - public enum ScmPullRequests: String, ParameterValue, Codable, CaseIterable { + public enum ScmPullRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case destinationBranchName case destinationRepositoryName case destinationRepositoryOwner @@ -60,7 +60,7 @@ public enum GetScmRepositoryV1 { case webUrl } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/ScmRepository/ListScmRepositoriesV1.swift b/Sources/Bagbutik-XcodeCloud/ScmRepository/ListScmRepositoriesV1.swift index 8c6ad9680..952f4093d 100644 --- a/Sources/Bagbutik-XcodeCloud/ScmRepository/ListScmRepositoriesV1.swift +++ b/Sources/Bagbutik-XcodeCloud/ScmRepository/ListScmRepositoriesV1.swift @@ -39,7 +39,7 @@ public enum ListScmRepositoriesV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind @@ -47,7 +47,7 @@ public enum ListScmRepositoriesV1 { case repository } - public enum ScmPullRequests: String, ParameterValue, Codable, CaseIterable { + public enum ScmPullRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case destinationBranchName case destinationRepositoryName case destinationRepositoryOwner @@ -62,7 +62,7 @@ public enum ListScmRepositoriesV1 { case webUrl } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/ScmRepository/Relationships/ListGitReferencesForScmRepositoryV1.swift b/Sources/Bagbutik-XcodeCloud/ScmRepository/Relationships/ListGitReferencesForScmRepositoryV1.swift index eefd6d8ce..3146bb2dd 100644 --- a/Sources/Bagbutik-XcodeCloud/ScmRepository/Relationships/ListGitReferencesForScmRepositoryV1.swift +++ b/Sources/Bagbutik-XcodeCloud/ScmRepository/Relationships/ListGitReferencesForScmRepositoryV1.swift @@ -36,7 +36,7 @@ public enum ListGitReferencesForScmRepositoryV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum ScmGitReferences: String, ParameterValue, Codable, CaseIterable { + public enum ScmGitReferences: String, Sendable, ParameterValue, Codable, CaseIterable { case canonicalName case isDeleted case kind @@ -44,7 +44,7 @@ public enum ListGitReferencesForScmRepositoryV1 { case repository } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/Bagbutik-XcodeCloud/ScmRepository/Relationships/ListPullRequestsForScmRepositoryV1.swift b/Sources/Bagbutik-XcodeCloud/ScmRepository/Relationships/ListPullRequestsForScmRepositoryV1.swift index 736fe49f7..d43110946 100644 --- a/Sources/Bagbutik-XcodeCloud/ScmRepository/Relationships/ListPullRequestsForScmRepositoryV1.swift +++ b/Sources/Bagbutik-XcodeCloud/ScmRepository/Relationships/ListPullRequestsForScmRepositoryV1.swift @@ -36,7 +36,7 @@ public enum ListPullRequestsForScmRepositoryV1 { /// The fields to include for returned resources of type scmRepositories case scmRepositories([ScmRepositories]) - public enum ScmPullRequests: String, ParameterValue, Codable, CaseIterable { + public enum ScmPullRequests: String, Sendable, ParameterValue, Codable, CaseIterable { case destinationBranchName case destinationRepositoryName case destinationRepositoryOwner @@ -51,7 +51,7 @@ public enum ListPullRequestsForScmRepositoryV1 { case webUrl } - public enum ScmRepositories: String, ParameterValue, Codable, CaseIterable { + public enum ScmRepositories: String, Sendable, ParameterValue, Codable, CaseIterable { case defaultBranch case gitReferences case httpCloneUrl diff --git a/Sources/BagbutikGenerator/Renderers/EnumSchemaRenderer.swift b/Sources/BagbutikGenerator/Renderers/EnumSchemaRenderer.swift index e1a715e13..0f2a2f066 100644 --- a/Sources/BagbutikGenerator/Renderers/EnumSchemaRenderer.swift +++ b/Sources/BagbutikGenerator/Renderers/EnumSchemaRenderer.swift @@ -28,7 +28,7 @@ public class EnumSchemaRenderer: Renderer { } + "\n" } let protocols = enumSchema.additionalProtocols - .union(["Codable", "CaseIterable"]) + .union(["Codable", "CaseIterable", "Sendable"]) .sorted() .reversed() .joined(separator: ", ") diff --git a/Sources/BagbutikGenerator/Renderers/ObjectSchemaRenderer.swift b/Sources/BagbutikGenerator/Renderers/ObjectSchemaRenderer.swift index d5e1f20fc..183f98939 100644 --- a/Sources/BagbutikGenerator/Renderers/ObjectSchemaRenderer.swift +++ b/Sources/BagbutikGenerator/Renderers/ObjectSchemaRenderer.swift @@ -30,7 +30,7 @@ public class ObjectSchemaRenderer: Renderer { return documentationContent.joined(separator: "\n\n") } + "\n" } - var protocols = ["Codable"] + var protocols = ["Codable", "Sendable"] if objectSchema.properties.keys.contains("id") { protocols.append("Identifiable") } diff --git a/Sources/BagbutikGenerator/Renderers/OneOfSchemaRenderer.swift b/Sources/BagbutikGenerator/Renderers/OneOfSchemaRenderer.swift index c525fca6e..b53fc4bb8 100644 --- a/Sources/BagbutikGenerator/Renderers/OneOfSchemaRenderer.swift +++ b/Sources/BagbutikGenerator/Renderers/OneOfSchemaRenderer.swift @@ -67,7 +67,7 @@ public class OneOfSchemaRenderer: Renderer { if !renderedSubSchemas.isEmpty { rendered += "\n\n" + renderedSubSchemas.joined(separator: "\n\n") } - let protocols = ["Codable"] + oneOfSchema.additionalProtocols + let protocols = ["Codable", "Sendable"] + oneOfSchema.additionalProtocols rendered = renderEnum(named: name, protocols: protocols, diff --git a/Sources/BagbutikSpecDecoder/Spec.swift b/Sources/BagbutikSpecDecoder/Spec.swift index c3e3a6c9a..8e9a704f6 100644 --- a/Sources/BagbutikSpecDecoder/Spec.swift +++ b/Sources/BagbutikSpecDecoder/Spec.swift @@ -194,7 +194,7 @@ public struct Spec: Decodable { patchedSchemas.append(.enum(certificateTypeSchema)) } - // Fix up the names of the sub schemas of ErrorResponse.Errors and add Sendable to types needing it + // Fix up the names of the sub schemas of ErrorResponse.Errors guard case .object(var errorResponseSchema) = components.schemas["ErrorResponse"], let errorsProperty = errorResponseSchema.properties["errors"], case .arrayOfSubSchema(var errorSchema) = errorsProperty.type, @@ -207,9 +207,7 @@ public struct Spec: Decodable { } sourceOneOfSchema.options[pointerIndex] = .schemaRef("JsonPointer") sourceOneOfSchema.options[parameterIndex] = .schemaRef("Parameter") - sourceOneOfSchema.additionalProtocols.insert("Sendable") sourceProperty.type = .oneOf(name: sourcePropertyName, schema: sourceOneOfSchema) - errorSchema.additionalProtocols.insert("Sendable") errorSchema.properties["source"] = sourceProperty // Mark `detail` as optional on ErrorResponse.Errors @@ -228,8 +226,7 @@ public struct Spec: Decodable { properties: [ "associatedErrors": .init(type: .dictionary(.arrayOfSchemaRef("Errors"))), "additionalProperties": metaProperty - ], - additionalProtocols: ["Sendable"]))) // The `Sendable` conformance is always needed + ]))) } errorResponseSchema.additionalProtocols.insert("Error") @@ -237,20 +234,6 @@ public struct Spec: Decodable { components.schemas["ErrorResponse"] = .object(errorResponseSchema) patchedSchemas.append(.object(errorResponseSchema)) - if case .object(var errorSourcePointerSchema) = components.schemas["ErrorSourcePointer"] { - errorSourcePointerSchema.additionalProtocols.insert("Sendable") - components.schemas["ErrorSourcePointer"] = .object(errorSourcePointerSchema) - } - if case .object(var errorSourceParameterSchema) = components.schemas["ErrorSourceParameter"] { - errorSourceParameterSchema.additionalProtocols.insert("Sendable") - components.schemas["ErrorSourceParameter"] = .object(errorSourceParameterSchema) - } - if case .object(var errorLinksSchema) = components.schemas["ErrorLinks"] { - errorLinksSchema.additionalProtocols.insert("Sendable") - errorLinksSchema.properties = errorLinksSchema.properties.mapValues(addSendableToPropertySubSchemas) - components.schemas["ErrorLinks"] = .object(errorLinksSchema) - } - // Marks the `kidsAgeBand` property on `AgeRatingDeclarationUpdateRequest.Data.Attributes` as clearable. // Apple's OpenAPI spec has no information about how to clear a value in an update request. // To tell Apple to clear a value, it has to be `null`, but properties with `null` values normally get omitted. @@ -282,44 +265,6 @@ public struct Spec: Decodable { case paths case components } - - private func addSendableToPropertySubSchemas(property: Property) -> Property { - var property = property - switch property.type { - case .schema(var objectSchema): - objectSchema.additionalProtocols.insert("Sendable") - objectSchema.properties = objectSchema.properties.mapValues(addSendableToPropertySubSchemas) - property.type = .schema(objectSchema) - case .arrayOfSubSchema(var objectSchema): - objectSchema.additionalProtocols.insert("Sendable") - objectSchema.properties = objectSchema.properties.mapValues(addSendableToPropertySubSchemas) - property.type = .arrayOfSubSchema(objectSchema) - case .enumSchema(var enumSchema): - enumSchema.additionalProtocols.insert("Sendable") - property.type = .enumSchema(enumSchema) - case .arrayOfEnumSchema(var enumSchema): - enumSchema.additionalProtocols.insert("Sendable") - property.type = .arrayOfEnumSchema(enumSchema) - case .oneOf(let name, var oneOfSchema): - oneOfSchema.additionalProtocols.insert("Sendable") - oneOfSchema.options = oneOfSchema.options.map(addSendableToOptionsSubSchemas) - property.type = .oneOf(name: name, schema: oneOfSchema) - case .arrayOfOneOf(let name, var oneOfSchema): - oneOfSchema.additionalProtocols.insert("Sendable") - oneOfSchema.options = oneOfSchema.options.map(addSendableToOptionsSubSchemas) - property.type = .arrayOfOneOf(name: name, schema: oneOfSchema) - default: - break - } - return property - } - - private func addSendableToOptionsSubSchemas(oneOfOption: OneOfOption) -> OneOfOption { - guard case .objectSchema(var objectSchema) = oneOfOption else { return oneOfOption } - objectSchema.additionalProtocols.insert("Sendable") - objectSchema.properties = objectSchema.properties.mapValues(addSendableToPropertySubSchemas) - return .objectSchema(objectSchema) - } } /// Errors that can occur when loading the spec diff --git a/Tests/BagbutikGeneratorTests/Renderers/EnumSchemaRendererTests.swift b/Tests/BagbutikGeneratorTests/Renderers/EnumSchemaRendererTests.swift index ce7195801..c18e3621b 100644 --- a/Tests/BagbutikGeneratorTests/Renderers/EnumSchemaRendererTests.swift +++ b/Tests/BagbutikGeneratorTests/Renderers/EnumSchemaRendererTests.swift @@ -26,7 +26,7 @@ final class EnumSchemaRendererTests: XCTestCase { Full documentation: */ - public enum Platform: String, Codable, CaseIterable { + public enum Platform: String, Sendable, Codable, CaseIterable { /// A string that represents iOS. case iOS = "IOS" /// A string that represents macOS. @@ -46,7 +46,7 @@ final class EnumSchemaRendererTests: XCTestCase { let rendered = try await renderer.render(enumSchema: schema) // Then XCTAssertEqual(rendered, #""" - public enum AppCategories: String, ParameterValue, Codable, CaseIterable { + public enum AppCategories: String, Sendable, ParameterValue, Codable, CaseIterable { case parent case platforms case subcategories diff --git a/Tests/BagbutikGeneratorTests/Renderers/ObjectSchemaRendererTests.swift b/Tests/BagbutikGeneratorTests/Renderers/ObjectSchemaRendererTests.swift index 291b1b6c8..0b66a2f9b 100644 --- a/Tests/BagbutikGeneratorTests/Renderers/ObjectSchemaRendererTests.swift +++ b/Tests/BagbutikGeneratorTests/Renderers/ObjectSchemaRendererTests.swift @@ -17,7 +17,7 @@ final class ObjectSchemaRendererTests: XCTestCase { let rendered = try await renderer.render(objectSchema: schema, otherSchemas: [:]) // Then XCTAssertEqual(rendered, #""" - public struct Person: Codable { + public struct Person: Codable, Sendable { public var name: String? public init(name: String? = nil) { @@ -60,7 +60,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Person: Codable { + public struct Person: Codable, Sendable { /// The person's name public var name: String? @@ -106,7 +106,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Person: Codable { + public struct Person: Codable, Sendable { /// The person's age public var age: Int? /// The person's name @@ -164,7 +164,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct PersonCreateRequest: Codable, RequestBody { + public struct PersonCreateRequest: Codable, Sendable, RequestBody { public var age: Clearable? /// The person's name public var name: String? @@ -220,7 +220,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct PersonCarLinkageRequest: Codable, RequestBody { + public struct PersonCarLinkageRequest: Codable, Sendable, RequestBody { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -244,7 +244,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public let id: String public var type: String { "cars" } @@ -301,7 +301,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Person: Codable, Identifiable { + public struct Person: Codable, Sendable, Identifiable { public var days: [Days]? /// The firstname of the person public let firstName: String @@ -340,7 +340,7 @@ final class ObjectSchemaRendererTests: XCTestCase { try container.encodeIfPresent(itself, forKey: "self") } - public enum Days: String, Codable, CaseIterable { + public enum Days: String, Sendable, Codable, CaseIterable { case monday = "MONDAY" case tuesday = "TUESDAY" } @@ -377,7 +377,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Person: Codable { + public struct Person: Codable, Sendable { public var name: String? /// The resource's attributes. public var attributes: Attributes? @@ -401,7 +401,7 @@ final class ObjectSchemaRendererTests: XCTestCase { try container.encodeIfPresent(attributes, forKey: "attributes") } - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { public var age: Int? public init(age: Int? = nil) { @@ -454,7 +454,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Person: Codable { + public struct Person: Codable, Sendable { public var name: String? /// The resource's relationships. public var relationships: Relationships? @@ -485,7 +485,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var children: [Child]? public init(children: [Child]? = nil) { @@ -536,7 +536,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Person: Codable { + public struct Person: Codable, Sendable { /// The person's connection public var connection: Connection? /// The person's name @@ -573,7 +573,7 @@ final class ObjectSchemaRendererTests: XCTestCase { try container.encodeIfPresent(preference, forKey: "preference") } - public enum Connection: Codable { + public enum Connection: Codable, Sendable { case computer(Computer) case phone(Phone) @@ -598,7 +598,7 @@ final class ObjectSchemaRendererTests: XCTestCase { } } - public struct Pet: Codable { + public struct Pet: Codable, Sendable { public var name: String? public init(name: String? = nil) { @@ -616,7 +616,7 @@ final class ObjectSchemaRendererTests: XCTestCase { } } - public enum Preference: String, Codable, CaseIterable { + public enum Preference: String, Sendable, Codable, CaseIterable { case spaces = "SPACES" case tabs = "TABS" } @@ -638,7 +638,7 @@ final class ObjectSchemaRendererTests: XCTestCase { let rendered = try await renderer.render(objectSchema: schema, otherSchemas: [:]) // Then XCTAssertEqual(rendered, #""" - public struct PersonsResponse: Codable, PagedResponse { + public struct PersonsResponse: Codable, Sendable, PagedResponse { public typealias Data = Person public let data: [Person] @@ -742,7 +742,7 @@ final class ObjectSchemaRendererTests: XCTestCase { ]) // Then XCTAssertEqual(rendered, #""" - public struct BuildResponse: Codable { + public struct BuildResponse: Codable, Sendable { public var data: Build? public var included: [Included]? @@ -784,7 +784,7 @@ final class ObjectSchemaRendererTests: XCTestCase { }.first { $0.id == data.relationships?.preReleaseVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case app(App) case betaTester(BetaTester) case prereleaseVersion(PrereleaseVersion) @@ -813,7 +813,7 @@ final class ObjectSchemaRendererTests: XCTestCase { } } - public struct App: Codable { + public struct App: Codable, Sendable { public init() {} public init(from decoder: Decoder) throws { @@ -926,7 +926,7 @@ final class ObjectSchemaRendererTests: XCTestCase { ]) // Then XCTAssertEqual(rendered, #""" - public struct BuildsResponse: Codable { + public struct BuildsResponse: Codable, Sendable { public typealias Data = Build public var data: [Build]? @@ -970,7 +970,7 @@ final class ObjectSchemaRendererTests: XCTestCase { }.first { $0.id == build.relationships?.preReleaseVersion?.data?.id } } - public enum Included: Codable { + public enum Included: Codable, Sendable { case betaTester(BetaTester) case prereleaseVersion(PrereleaseVersion) case somethingOld(SomethingOld) @@ -1040,7 +1040,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Person: Codable { + public struct Person: Codable, Sendable { public var age: Int? public let name: String public var type: String { "person" } @@ -1085,7 +1085,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Attributes: Codable { + public struct Attributes: Codable, Sendable { /// The person's age public var age: Int? @@ -1111,7 +1111,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var children: [Child]? public init(children: [Child]? = nil) { @@ -1164,7 +1164,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Profile: Codable, Identifiable { + public struct Profile: Codable, Sendable, Identifiable { public let id: String public var relationships: Relationships? @@ -1194,7 +1194,7 @@ final class ObjectSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Relationships: Codable { + public struct Relationships: Codable, Sendable { public var bundleId: BundleId? public init(bundleId: BundleId? = nil) { @@ -1211,7 +1211,7 @@ final class ObjectSchemaRendererTests: XCTestCase { try container.encodeIfPresent(bundleId, forKey: "bundleId") } - public struct BundleId: Codable { + public struct BundleId: Codable, Sendable { @NullCodable public var data: Data? public init(data: Data? = nil) { @@ -1228,7 +1228,7 @@ final class ObjectSchemaRendererTests: XCTestCase { try container.encode(data, forKey: "data") } - public struct Data: Codable, Identifiable { + public struct Data: Codable, Sendable, Identifiable { public var id: String? public var type: String { "bundleIds" } @@ -1285,7 +1285,7 @@ final class ObjectSchemaRendererTests: XCTestCase { let rendered = try await renderer.render(objectSchema: schema, otherSchemas: [:]) // Then XCTAssertEqual(rendered, #""" - public struct PhoneNumber: Codable { + public struct PhoneNumber: Codable, Sendable { public var intent: String? public var number: String? public var type: PhoneNumberType? @@ -1313,7 +1313,7 @@ final class ObjectSchemaRendererTests: XCTestCase { try container.encode(type, forKey: "type") } - public enum PhoneNumberType: String, Codable, CaseIterable { + public enum PhoneNumberType: String, Sendable, Codable, CaseIterable { case fax = "FAX" case landline = "LANDLINE" case mobile = "MOBILE" @@ -1328,12 +1328,12 @@ final class ObjectSchemaRendererTests: XCTestCase { // Given let docsLoader = DocsLoader(schemaDocumentationById: [:]) let renderer = ObjectSchemaRenderer(docsLoader: docsLoader, shouldFormat: true) - let schema = ObjectSchema(name: "PhoneNumber", url: "some://url/relationships", additionalProtocols: ["Sendable"]) + let schema = ObjectSchema(name: "PhoneNumber", url: "some://url/relationships", additionalProtocols: ["Fooable"]) // When let rendered = try await renderer.render(objectSchema: schema, otherSchemas: [:]) // Then XCTAssertEqual(rendered, #""" - public struct PhoneNumber: Codable, Sendable { + public struct PhoneNumber: Codable, Sendable, Fooable { public init() {} public init(from decoder: Decoder) throws { diff --git a/Tests/BagbutikGeneratorTests/Renderers/OneOfSchemaRendererTests.swift b/Tests/BagbutikGeneratorTests/Renderers/OneOfSchemaRendererTests.swift index 5660ede72..8bb16426c 100644 --- a/Tests/BagbutikGeneratorTests/Renderers/OneOfSchemaRendererTests.swift +++ b/Tests/BagbutikGeneratorTests/Renderers/OneOfSchemaRendererTests.swift @@ -20,7 +20,7 @@ final class OneOfSchemaRendererTests: XCTestCase { let rendered = try await renderer.render(name: "Included", oneOfSchema: schema) // Then XCTAssertEqual(rendered, #""" - public enum Included: Codable { + public enum Included: Codable, Sendable { case bundleId(BundleId) case string(String) case test(Test) @@ -56,7 +56,7 @@ final class OneOfSchemaRendererTests: XCTestCase { Full documentation: */ - public struct Test: Codable { + public struct Test: Codable, Sendable { /// An URL public var href: String? public var meta: Meta? @@ -80,7 +80,7 @@ final class OneOfSchemaRendererTests: XCTestCase { try container.encodeIfPresent(meta, forKey: "meta") } - public struct Meta: Codable { + public struct Meta: Codable, Sendable { public var source: String? public init(source: String? = nil) { @@ -109,12 +109,12 @@ final class OneOfSchemaRendererTests: XCTestCase { .init(id: "/test", title: "Test", abstract: "A test.", discussion: "", properties: ["href": .init(required: false, description: "An URL")], subDocumentationIds: []))] ) let renderer = OneOfSchemaRenderer(docsLoader: docsLoader, shouldFormat: true) - let schema = OneOfSchema(options: [.schemaRef("BundleId"), .simple(.string())], additionalProtocols: ["Sendable"]) + let schema = OneOfSchema(options: [.schemaRef("BundleId"), .simple(.string())], additionalProtocols: ["Fooable"]) // When let rendered = try await renderer.render(name: "Included", oneOfSchema: schema) // Then XCTAssertEqual(rendered, #""" - public enum Included: Codable, Sendable { + public enum Included: Codable, Sendable, Fooable { case bundleId(BundleId) case string(String) diff --git a/Tests/BagbutikGeneratorTests/Renderers/OperationRendererTests.swift b/Tests/BagbutikGeneratorTests/Renderers/OperationRendererTests.swift index dd22a9f51..e0de38fd8 100644 --- a/Tests/BagbutikGeneratorTests/Renderers/OperationRendererTests.swift +++ b/Tests/BagbutikGeneratorTests/Renderers/OperationRendererTests.swift @@ -160,7 +160,7 @@ final class OperationRendererTests: XCTestCase { /** The dimension by which to group the results */ - public enum GroupBy: String, ParameterValue, Codable, CaseIterable { + public enum GroupBy: String, Sendable, ParameterValue, Codable, CaseIterable { case betaTesters } } @@ -313,12 +313,12 @@ final class OperationRendererTests: XCTestCase { @available(*, deprecated, message: "Apple has marked it as deprecated and it will be removed sometime in the future.") case vehicles([Vehicles]) - public enum Devices: String, ParameterValue, Codable, CaseIterable { + public enum Devices: String, Sendable, ParameterValue, Codable, CaseIterable { case model case os } - public enum Vehicles: String, ParameterValue, Codable, CaseIterable { + public enum Vehicles: String, Sendable, ParameterValue, Codable, CaseIterable { case bicycle case car } @@ -337,12 +337,12 @@ final class OperationRendererTests: XCTestCase { /// Filter by vehicles properties case vehicles_properties([VehiclesProperties]) - public enum DevicesProperties: String, ParameterValue, Codable, CaseIterable { + public enum DevicesProperties: String, Sendable, ParameterValue, Codable, CaseIterable { case model case os } - public enum VehiclesProperties: String, ParameterValue, Codable, CaseIterable { + public enum VehiclesProperties: String, Sendable, ParameterValue, Codable, CaseIterable { case bicycle case car } @@ -535,7 +535,7 @@ final class OperationRendererTests: XCTestCase { /// case subscriptionOfferCodeOneTimeUseCodes([SubscriptionOfferCodeOneTimeUseCodes]) - public enum SubscriptionOfferCodeOneTimeUseCodes: String, ParameterValue, Codable, CaseIterable { + public enum SubscriptionOfferCodeOneTimeUseCodes: String, Sendable, ParameterValue, Codable, CaseIterable { case active case createdDate case expirationDate diff --git a/Tests/BagbutikSpecDecoderTests/SpecTests.swift b/Tests/BagbutikSpecDecoderTests/SpecTests.swift index b875634ba..01193d19a 100644 --- a/Tests/BagbutikSpecDecoderTests/SpecTests.swift +++ b/Tests/BagbutikSpecDecoderTests/SpecTests.swift @@ -795,69 +795,6 @@ final class SpecTests: XCTestCase { }, "required" : [ "id", "type" ] }, - "ErrorSourcePointer" : { - "type" : "object" - }, - "ErrorSourceParameter" : { - "type" : "object" - }, - "ErrorLinks" : { - "type" : "object", - "properties" : { - "singleObjectSchema" : { - "type" : "object", - "properties" : {} - }, - "arrayOfObjectSchema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "id" : { - "type" : "string" - } - } - } - }, - "singleEnumSchema" : { - "type" : "string", - "enum" : ["ONE", "TWO", "THREE"] - }, - "arrayOfEnumSchema" : { - "type" : "array", - "items" : { - "type" : "string", - "enum" : ["ONE", "TWO", "THREE"] - } - }, - "singleOneOfSchema" : { - "oneOf" : [ { - "type" : "object", - "properties" : { - "id" : { - "type" : "string" - } - } - } ] - }, - "arrayOfOneOfSchema" : { - "type" : "array", - "items" : { - "oneOf" : [ { - "type" : "object", - "properties" : { - "id" : { - "type" : "string" - } - } - }, - { - "$ref" : "#/components/schemas/ErrorSourcePointer" - } ] - } - } - } - }, "ErrorResponse" : { "type" : "object", "properties" : { @@ -963,32 +900,6 @@ final class SpecTests: XCTestCase { XCTAssertEqual(deviceStatusCaseValues.count, 3) XCTAssertTrue(deviceStatusCaseValues.contains("PROCESSING")) - guard case .object(let errorSourcePointerSchema) = spec.components.schemas["ErrorSourcePointer"], - case .object(let errorSourceParameterSchema) = spec.components.schemas["ErrorSourceParameter"], - case .object(let errorLinksSchema) = spec.components.schemas["ErrorLinks"], - case .schema(let errorLinksSingleObjectSchema) = errorLinksSchema.properties["singleObjectSchema"]?.type, - case .arrayOfSubSchema(let errorLinksArrayOfObjectSchema) = errorLinksSchema.properties["arrayOfObjectSchema"]?.type, - case .enumSchema(let errorLinksSingleEnumSchema) = errorLinksSchema.properties["singleEnumSchema"]?.type, - case .arrayOfEnumSchema(let errorLinksArrayOfEnumSchema) = errorLinksSchema.properties["arrayOfEnumSchema"]?.type, - case .oneOf(_, let errorLinksSingleOneOfSchema) = errorLinksSchema.properties["singleOneOfSchema"]?.type, - case .objectSchema(let errorLinksSingleOneOfSchemaOption) = errorLinksSingleOneOfSchema.options.first, - case .arrayOfOneOf(_, let errorLinksArrayOfOneOfSchema) = errorLinksSchema.properties["arrayOfOneOfSchema"]?.type, - case .objectSchema(let errorLinksArrayOfOneOfSchemaOption) = errorLinksArrayOfOneOfSchema.options.first - else { - XCTFail(); return - } - XCTAssertTrue(errorSourcePointerSchema.additionalProtocols.contains("Sendable")) - XCTAssertTrue(errorSourceParameterSchema.additionalProtocols.contains("Sendable")) - XCTAssertTrue(errorLinksSchema.additionalProtocols.contains("Sendable")) - XCTAssertTrue(errorLinksSingleObjectSchema.additionalProtocols.contains("Sendable")) - XCTAssertTrue(errorLinksArrayOfObjectSchema.additionalProtocols.contains("Sendable")) - XCTAssertTrue(errorLinksSingleEnumSchema.additionalProtocols.contains("Sendable")) - XCTAssertTrue(errorLinksArrayOfEnumSchema.additionalProtocols.contains("Sendable")) - XCTAssertTrue(errorLinksSingleOneOfSchema.additionalProtocols.contains("Sendable")) - XCTAssertTrue(errorLinksSingleOneOfSchemaOption.additionalProtocols.contains("Sendable")) - XCTAssertTrue(errorLinksArrayOfOneOfSchema.additionalProtocols.contains("Sendable")) - XCTAssertTrue(errorLinksArrayOfOneOfSchemaOption.additionalProtocols.contains("Sendable")) - guard case .object(let errorResponse) = spec.components.schemas["ErrorResponse"], case .arrayOfSubSchema(let errorSchema) = errorResponse.properties["errors"]?.type, case .oneOf(_, let oneOfSchema) = errorSchema.properties["source"]?.type