diff --git a/Package.resolved b/Package.resolved
index 8c0628edc..88dda8798 100644
--- a/Package.resolved
+++ b/Package.resolved
@@ -1,96 +1,6 @@
{
"object": {
"pins": [
- {
- "package": "Komondor",
- "repositoryURL": "https://github.com/shibapm/Komondor.git",
- "state": {
- "branch": null,
- "revision": "dedffeaf42a1b52bf072a9dc47afb35000a8b265",
- "version": "1.1.4"
- }
- },
- {
- "package": "Logger",
- "repositoryURL": "https://github.com/shibapm/Logger",
- "state": {
- "branch": null,
- "revision": "53c3ecca5abe8cf46697e33901ee774236d94cce",
- "version": "0.2.3"
- }
- },
- {
- "package": "PackageConfig",
- "repositoryURL": "https://github.com/shibapm/PackageConfig.git",
- "state": {
- "branch": null,
- "revision": "58523193c26fb821ed1720dcd8a21009055c7cdb",
- "version": "1.1.3"
- }
- },
- {
- "package": "PathKit",
- "repositoryURL": "https://github.com/kylef/PathKit.git",
- "state": {
- "branch": null,
- "revision": "3bfd2737b700b9a36565a8c94f4ad2b050a5e574",
- "version": "1.0.1"
- }
- },
- {
- "package": "Rocket",
- "repositoryURL": "https://github.com/f-meloni/Rocket",
- "state": {
- "branch": null,
- "revision": "9880a5beb7fcb9e61ddd5764edc1700b8c418deb",
- "version": "1.2.1"
- }
- },
- {
- "package": "ShellOut",
- "repositoryURL": "https://github.com/JohnSundell/ShellOut.git",
- "state": {
- "branch": null,
- "revision": "e1577acf2b6e90086d01a6d5e2b8efdaae033568",
- "version": "2.3.0"
- }
- },
- {
- "package": "SourceKitten",
- "repositoryURL": "https://github.com/jpsim/SourceKitten.git",
- "state": {
- "branch": null,
- "revision": "817dfa6f2e09b0476f3a6c9dbc035991f02f0241",
- "version": "0.32.0"
- }
- },
- {
- "package": "Spectre",
- "repositoryURL": "https://github.com/kylef/Spectre.git",
- "state": {
- "branch": null,
- "revision": "26cc5e9ae0947092c7139ef7ba612e34646086c7",
- "version": "0.10.1"
- }
- },
- {
- "package": "Stencil",
- "repositoryURL": "https://github.com/stencilproject/Stencil.git",
- "state": {
- "branch": null,
- "revision": "ccd9402682f4c07dac9561befd207c8156e80e20",
- "version": "0.14.2"
- }
- },
- {
- "package": "StencilSwiftKit",
- "repositoryURL": "https://github.com/SwiftGen/StencilSwiftKit",
- "state": {
- "branch": null,
- "revision": "54cbedcdbb4334e03930adcff7343ffaf317bf0f",
- "version": "2.8.0"
- }
- },
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
@@ -114,53 +24,8 @@
"repositoryURL": "https://github.com/nicklockwood/SwiftFormat",
"state": {
"branch": null,
- "revision": "378543f07b6acf6e13982ffed8bd71d4b0041f61",
- "version": "0.49.11"
- }
- },
- {
- "package": "SwiftLint",
- "repositoryURL": "https://github.com/Realm/SwiftLint.git",
- "state": {
- "branch": null,
- "revision": "e8ef21fef61f12536964c4e3cf6d5a6e3ad81e49",
- "version": "0.46.5"
- }
- },
- {
- "package": "SwiftShell",
- "repositoryURL": "https://github.com/kareman/SwiftShell",
- "state": {
- "branch": null,
- "revision": "a6014fe94c3dbff0ad500e8da4f251a5d336530b",
- "version": "5.1.0-beta.1"
- }
- },
- {
- "package": "SwiftyTextTable",
- "repositoryURL": "https://github.com/scottrhoyt/SwiftyTextTable.git",
- "state": {
- "branch": null,
- "revision": "c6df6cf533d120716bff38f8ff9885e1ce2a4ac3",
- "version": "0.9.0"
- }
- },
- {
- "package": "SWXMLHash",
- "repositoryURL": "https://github.com/drmohundro/SWXMLHash.git",
- "state": {
- "branch": null,
- "revision": "6469881a3f30417c5bb02404ea4b69207f297592",
- "version": "6.0.0"
- }
- },
- {
- "package": "Yams",
- "repositoryURL": "https://github.com/jpsim/Yams",
- "state": {
- "branch": null,
- "revision": "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa",
- "version": "4.0.6"
+ "revision": "665c3c58923ee8ac36d3e44b17dc185229cce301",
+ "version": "0.49.13"
}
},
{
diff --git a/Package.swift b/Package.swift
index c2b45e160..150cd2061 100644
--- a/Package.swift
+++ b/Package.swift
@@ -20,7 +20,6 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.1.0"),
- .package(url: "https://github.com/SwiftGen/StencilSwiftKit", from: "2.8.0"),
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.48.17"),
.package(url: "https://github.com/apple/swift-crypto", from: "2.0.0"),
.package(url: "https://github.com/marmelroy/Zip.git", from: "2.1.2"),
@@ -48,7 +47,6 @@ let package = Package(
"BagbutikDocsCollector",
"BagbutikSpecDecoder",
"BagbutikStringExtensions",
- "StencilSwiftKit",
"SwiftFormat"
]),
.target(name: "BagbutikDocsCollector", dependencies: ["BagbutikSpecDecoder"]),
diff --git a/README.md b/README.md
index 37fe29bef..a99a806ea 100644
--- a/README.md
+++ b/README.md
@@ -4,8 +4,7 @@
- Generated Swift code for the App Store Connect API based on the official OpenAPI spec.
- Created with StencilSwiftKit and swift-crypto
+ Generated Swift code for the App Store Connect API based on the official OpenAPI spec.
diff --git a/Sources/Bagbutik/Endpoints/AgeRatingDeclaration/UpdateAgeRatingDeclarationV1.swift b/Sources/Bagbutik/Endpoints/AgeRatingDeclaration/UpdateAgeRatingDeclarationV1.swift
index 150215751..c92afc889 100644
--- a/Sources/Bagbutik/Endpoints/AgeRatingDeclaration/UpdateAgeRatingDeclarationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AgeRatingDeclaration/UpdateAgeRatingDeclarationV1.swift
@@ -1,23 +1,23 @@
public extension Request {
/**
- # Modify an Age Rating Declaration
- Provide age-related information so the App Store can determine the age rating for your app.
+ # Modify an Age Rating Declaration
+ Provide age-related information so the App Store can determine the age rating for your app.
- Every app store version has an age rating declaration. Use this endpoint to edit the declaration and provide app-characteristic information so App Store Connect can determine the appropriate age rating for the app.
- Use this endpoint to indicate whether an app is Made for Kids.
- When calling this endpoint, only include the attributes that you’re modifying.
- For example, in an app that has a `FREQUENT_OR_INTENSE` declaration for contests, the age rating for the `AppInfos` is 12+. If you declare a value of true for `gamblingAndContests` instead, the age rating for the `AppInfos` is 17+.
+ Every app store version has an age rating declaration. Use this endpoint to edit the declaration and provide app-characteristic information so App Store Connect can determine the appropriate age rating for the app.
+ Use this endpoint to indicate whether an app is Made for Kids.
+ When calling this endpoint, only include the attributes that you’re modifying.
+ For example, in an app that has a `FREQUENT_OR_INTENSE` declaration for contests, the age rating for the `AppInfos` is 12+. If you declare a value of true for `gamblingAndContests` instead, the age rating for the `AppInfos` is 17+.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: AgeRatingDeclaration representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: AgeRatingDeclaration representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateAgeRatingDeclarationV1(id: String,
requestBody: AgeRatingDeclarationUpdateRequest) -> Request
{
- return .init(path: "/v1/ageRatingDeclarations/\(id)", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/ageRatingDeclarations/\(id)", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/GetAppV1.swift b/Sources/Bagbutik/Endpoints/App/GetAppV1.swift
index 037025c68..4e512199e 100644
--- a/Sources/Bagbutik/Endpoints/App/GetAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/GetAppV1.swift
@@ -1,25 +1,25 @@
public extension Request {
/**
- # Read App Information
- Get information about a specific app.
+ # Read App Information
+ Get information about a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppV1(id: String,
fields: [GetAppV1.Field]? = nil,
includes: [GetAppV1.Include]? = nil,
limits: [GetAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/apps/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limits: limits))
}
}
@@ -382,7 +382,29 @@ public enum GetAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appClips, appCustomProductPages, appEvents, appInfos, appStoreVersions, availableTerritories, betaAppLocalizations, betaAppReviewDetail, betaGroups, betaLicenseAgreement, builds, ciProduct, endUserLicenseAgreement, gameCenterEnabledVersions, inAppPurchases, inAppPurchasesV2, preOrder, preReleaseVersions, prices, promotedPurchases, reviewSubmissions, subscriptionGracePeriod, subscriptionGroups
+ case appClips
+ case appCustomProductPages
+ case appEvents
+ case appInfos
+ case appStoreVersions
+ case availableTerritories
+ case betaAppLocalizations
+ case betaAppReviewDetail
+ case betaGroups
+ case betaLicenseAgreement
+ case builds
+ case ciProduct
+ case endUserLicenseAgreement
+ case gameCenterEnabledVersions
+ case inAppPurchases
+ case inAppPurchasesV2
+ case preOrder
+ case preReleaseVersions
+ case prices
+ case promotedPurchases
+ case reviewSubmissions
+ case subscriptionGracePeriod
+ case subscriptionGroups
}
/**
diff --git a/Sources/Bagbutik/Endpoints/App/ListAppsV1.swift b/Sources/Bagbutik/Endpoints/App/ListAppsV1.swift
index 244fbdaf1..ce22cc9fa 100644
--- a/Sources/Bagbutik/Endpoints/App/ListAppsV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/ListAppsV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # List Apps
- Find and list apps added in App Store Connect.
-
- Full documentation:
-
-
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter exists: Attributes, relationships, and IDs to check for existence
- - Parameter includes: Relationship data to include in the response
- - Parameter sorts: Attributes by which to sort
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ # List Apps
+ Find and list apps added in App Store Connect.
+
+ Full documentation:
+
+
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter exists: Attributes, relationships, and IDs to check for existence
+ - Parameter includes: Relationship data to include in the response
+ - Parameter sorts: Attributes by which to sort
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppsV1(fields: [ListAppsV1.Field]? = nil,
filters: [ListAppsV1.Filter]? = nil,
@@ -21,12 +21,12 @@ public extension Request {
sorts: [ListAppsV1.Sort]? = nil,
limits: [ListAppsV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps", method: .get, parameters: .init(fields: fields,
- filters: filters,
- exists: exists,
- includes: includes,
- sorts: sorts,
- limits: limits))
+ .init(path: "/v1/apps", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ exists: exists,
+ includes: includes,
+ sorts: sorts,
+ limits: limits))
}
}
@@ -445,7 +445,29 @@ public enum ListAppsV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appClips, appCustomProductPages, appEvents, appInfos, appStoreVersions, availableTerritories, betaAppLocalizations, betaAppReviewDetail, betaGroups, betaLicenseAgreement, builds, ciProduct, endUserLicenseAgreement, gameCenterEnabledVersions, inAppPurchases, inAppPurchasesV2, preOrder, preReleaseVersions, prices, promotedPurchases, reviewSubmissions, subscriptionGracePeriod, subscriptionGroups
+ case appClips
+ case appCustomProductPages
+ case appEvents
+ case appInfos
+ case appStoreVersions
+ case availableTerritories
+ case betaAppLocalizations
+ case betaAppReviewDetail
+ case betaGroups
+ case betaLicenseAgreement
+ case builds
+ case ciProduct
+ case endUserLicenseAgreement
+ case gameCenterEnabledVersions
+ case inAppPurchases
+ case inAppPurchasesV2
+ case preOrder
+ case preReleaseVersions
+ case prices
+ case promotedPurchases
+ case reviewSubmissions
+ case subscriptionGracePeriod
+ case subscriptionGroups
}
/**
@@ -464,8 +486,6 @@ public enum ListAppsV1 {
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related appClips returned (when they are included) - maximum 50
case appClips(Int)
/// Maximum number of related appCustomProductPages returned (when they are included) - maximum 50
@@ -490,6 +510,8 @@ public enum ListAppsV1 {
case inAppPurchases(Int)
/// Maximum number of related inAppPurchasesV2 returned (when they are included) - maximum 50
case inAppPurchasesV2(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
/// Maximum number of related preReleaseVersions returned (when they are included) - maximum 50
case preReleaseVersions(Int)
/// Maximum number of related prices returned (when they are included) - maximum 50
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/DeleteBetaTestersForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/DeleteBetaTestersForAppV1.swift
index de67ac093..fa106cdb3 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/DeleteBetaTestersForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/DeleteBetaTestersForAppV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Remove Beta Testers from All Groups and Builds of an App
- Remove one or more beta testers' access to test any builds of a specific app.
+ # Remove Beta Testers from All Groups and Builds of an App
+ Remove one or more beta testers' access to test any builds of a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: List of related linkages
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: List of related linkages
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func deleteBetaTestersForAppV1(id: String,
requestBody: AppBetaTestersLinkagesRequest) -> Request
{
- return .init(path: "/v1/apps/\(id)/relationships/betaTesters", method: .delete, requestBody: requestBody)
+ .init(path: "/v1/apps/\(id)/relationships/betaTesters", method: .delete, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/GetBetaAppReviewDetailForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/GetBetaAppReviewDetailForAppV1.swift
index 543d3e01d..6fcabceeb 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/GetBetaAppReviewDetailForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/GetBetaAppReviewDetailForAppV1.swift
@@ -1,19 +1,19 @@
public extension Request {
/**
- # Read the Beta App Review Details Resource of an App
- Get the beta app review details for a specific app.
+ # Read the Beta App Review Details Resource of an App
+ Get the beta app review details for a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getBetaAppReviewDetailForAppV1(id: String,
fields: [GetBetaAppReviewDetailForAppV1.Field]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/betaAppReviewDetail", method: .get, parameters: .init(fields: fields))
+ .init(path: "/v1/apps/\(id)/betaAppReviewDetail", method: .get, parameters: .init(fields: fields))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/GetBetaLicenseAgreementForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/GetBetaLicenseAgreementForAppV1.swift
index 879378b69..3167e7342 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/GetBetaLicenseAgreementForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/GetBetaLicenseAgreementForAppV1.swift
@@ -1,19 +1,19 @@
public extension Request {
/**
- # Read the Beta License Agreement of an App
- Get the beta license agreement for a specific app.
+ # Read the Beta License Agreement of an App
+ Get the beta license agreement for a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getBetaLicenseAgreementForAppV1(id: String,
fields: [GetBetaLicenseAgreementForAppV1.Field]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/betaLicenseAgreement", method: .get, parameters: .init(fields: fields))
+ .init(path: "/v1/apps/\(id)/betaLicenseAgreement", method: .get, parameters: .init(fields: fields))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/GetCiProductForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/GetCiProductForAppV1.swift
index 19eb5cbb9..ab6787e55 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/GetCiProductForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/GetCiProductForAppV1.swift
@@ -1,27 +1,27 @@
public extension Request {
/**
- # Read the Xcode Cloud Product for an App
- Get the Xcode Cloud product information for an app you build with Xcode Cloud.
+ # Read the Xcode Cloud Product for an App
+ Get the Xcode Cloud product information for an app you build with Xcode Cloud.
- The example request below retrieves information about a specific Xcode Cloud product. Use the data provided in the response to read additional information; for example, workflow information.
+ The example request below retrieves information about a specific Xcode Cloud product. Use the data provided in the response to read additional information; for example, workflow information.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum number of related primaryRepositories returned (when they are included) - maximum 50
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum number of related primaryRepositories returned (when they are included) - maximum 50
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getCiProductForAppV1(id: String,
fields: [GetCiProductForAppV1.Field]? = nil,
includes: [GetCiProductForAppV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/ciProduct", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/apps/\(id)/ciProduct", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limit: limit))
}
}
@@ -119,6 +119,8 @@ public enum GetCiProductForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case app, bundleId, primaryRepositories
+ case app
+ case bundleId
+ case primaryRepositories
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/GetEndUserLicenseAgreementForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/GetEndUserLicenseAgreementForAppV1.swift
index 95f1632da..98adea689 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/GetEndUserLicenseAgreementForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/GetEndUserLicenseAgreementForAppV1.swift
@@ -1,19 +1,19 @@
public extension Request {
/**
- # Read the End User License Agreement Information of an App
- Get the custom end user license agreement (EULA) for a specific app and the territories where the agreement applies.
+ # Read the End User License Agreement Information of an App
+ Get the custom end user license agreement (EULA) for a specific app and the territories where the agreement applies.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getEndUserLicenseAgreementForAppV1(id: String,
fields: [GetEndUserLicenseAgreementForAppV1.Field]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/endUserLicenseAgreement", method: .get, parameters: .init(fields: fields))
+ .init(path: "/v1/apps/\(id)/endUserLicenseAgreement", method: .get, parameters: .init(fields: fields))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/GetPreOrderForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/GetPreOrderForAppV1.swift
index e0be67b60..1bb5a4c97 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/GetPreOrderForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/GetPreOrderForAppV1.swift
@@ -1,19 +1,19 @@
public extension Request {
/**
- # Read the Pre-Order Information of an App
- Get available date and release date of an app that is available for pre-order.
+ # Read the Pre-Order Information of an App
+ Get available date and release date of an app that is available for pre-order.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getPreOrderForAppV1(id: String,
fields: [GetPreOrderForAppV1.Field]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/preOrder", method: .get, parameters: .init(fields: fields))
+ .init(path: "/v1/apps/\(id)/preOrder", method: .get, parameters: .init(fields: fields))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/GetSubscriptionGracePeriodForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/GetSubscriptionGracePeriodForAppV1.swift
index 9581a2e17..ab297832f 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/GetSubscriptionGracePeriodForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/GetSubscriptionGracePeriodForAppV1.swift
@@ -1,19 +1,19 @@
public extension Request {
/**
- # Read the Subscription Grace Period Value for an App
- Get the Boolean value that represents the grace period opt-in state for your app.
+ # Read the Subscription Grace Period Value for an App
+ Get the Boolean value that represents the grace period opt-in state for your app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getSubscriptionGracePeriodForAppV1(id: String,
fields: [GetSubscriptionGracePeriodForAppV1.Field]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/subscriptionGracePeriod", method: .get, parameters: .init(fields: fields))
+ .init(path: "/v1/apps/\(id)/subscriptionGracePeriod", method: .get, parameters: .init(fields: fields))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListAppClipsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListAppClipsForAppV1.swift
index 266032189..892013a7f 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListAppClipsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListAppClipsForAppV1.swift
@@ -1,17 +1,17 @@
public extension Request {
/**
- # Search an App’s App Clips
- Search your App’s associated App Clips.
+ # Search an App’s App Clips
+ Search your App’s associated App Clips.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppClipsForAppV1(id: String,
fields: [ListAppClipsForAppV1.Field]? = nil,
@@ -19,10 +19,10 @@ public extension Request {
includes: [ListAppClipsForAppV1.Include]? = nil,
limits: [ListAppClipsForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/appClips", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/appClips", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limits: limits))
}
}
@@ -108,16 +108,17 @@ public enum ListAppClipsForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case app, appClipDefaultExperiences
+ case app
+ case appClipDefaultExperiences
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related appClipDefaultExperiences returned (when they are included) - maximum 50
case appClipDefaultExperiences(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListAppCustomProductPagesForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListAppCustomProductPagesForAppV1.swift
index 43cc16212..6534059fb 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListAppCustomProductPagesForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListAppCustomProductPagesForAppV1.swift
@@ -1,17 +1,17 @@
public extension Request {
/**
- # List All Custom Product Pages for an App
- Get a list of all custom product pages for a specific app.
+ # List All Custom Product Pages for an App
+ Get a list of all custom product pages for a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppCustomProductPagesForAppV1(id: String,
fields: [ListAppCustomProductPagesForAppV1.Field]? = nil,
@@ -19,10 +19,10 @@ public extension Request {
includes: [ListAppCustomProductPagesForAppV1.Include]? = nil,
limits: [ListAppCustomProductPagesForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/appCustomProductPages", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/appCustomProductPages", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limits: limits))
}
}
@@ -109,16 +109,17 @@ public enum ListAppCustomProductPagesForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case app, appCustomProductPageVersions
+ case app
+ case appCustomProductPageVersions
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related appCustomProductPageVersions returned (when they are included) - maximum 50
case appCustomProductPageVersions(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListAppEventsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListAppEventsForAppV1.swift
index 61421017e..29b998141 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListAppEventsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListAppEventsForAppV1.swift
@@ -1,16 +1,16 @@
public extension Request {
/**
- # GET /v1/apps/{id}/appEvents
+ # GET /v1/apps/{id}/appEvents
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppEventsForAppV1(id: String,
fields: [ListAppEventsForAppV1.Field]? = nil,
@@ -18,10 +18,10 @@ public extension Request {
includes: [ListAppEventsForAppV1.Include]? = nil,
limits: [ListAppEventsForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/appEvents", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/appEvents", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limits: limits))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListAppInfosForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListAppInfosForAppV1.swift
index f5a36245e..2f922489a 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListAppInfosForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListAppInfosForAppV1.swift
@@ -1,27 +1,27 @@
public extension Request {
/**
- # List All App Infos for an App
- Get information about an app that is currently live on App Store, or that goes live with the next version.
+ # List All App Infos for an App
+ Get information about an app that is currently live on App Store, or that goes live with the next version.
- Use this endpoint to retrieve the derived app-level information for an app. If the app has both a “Ready for Sale” version and a version you’re preparing for release, it will have two app infos. One represents information about the app currently in the App Store, and the other represents the information that will take effect when you release the next version. Use the `appStoreState` attribute to differentiate them.
+ Use this endpoint to retrieve the derived app-level information for an app. If the app has both a “Ready for Sale” version and a version you’re preparing for release, it will have two app infos. One represents information about the app currently in the App Store, and the other represents the information that will take effect when you release the next version. Use the `appStoreState` attribute to differentiate them.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppInfosForAppV1(id: String,
fields: [ListAppInfosForAppV1.Field]? = nil,
includes: [ListAppInfosForAppV1.Include]? = nil,
limits: [ListAppInfosForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/appInfos", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/appInfos", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limits: limits))
}
}
@@ -139,16 +139,24 @@ public enum ListAppInfosForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case ageRatingDeclaration, app, appInfoLocalizations, primaryCategory, primarySubcategoryOne, primarySubcategoryTwo, secondaryCategory, secondarySubcategoryOne, secondarySubcategoryTwo
+ case ageRatingDeclaration
+ case app
+ case appInfoLocalizations
+ case primaryCategory
+ case primarySubcategoryOne
+ case primarySubcategoryTwo
+ case secondaryCategory
+ case secondarySubcategoryOne
+ case secondarySubcategoryTwo
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related appInfoLocalizations returned (when they are included) - maximum 50
case appInfoLocalizations(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListAppStoreVersionsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListAppStoreVersionsForAppV1.swift
index e70f6e651..11ac4ea51 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListAppStoreVersionsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListAppStoreVersionsForAppV1.swift
@@ -1,17 +1,17 @@
public extension Request {
/**
- # List All App Store Versions for an App
- Get a list of all App Store versions of an app across all platforms.
+ # List All App Store Versions for an App
+ Get a list of all App Store versions of an app across all platforms.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppStoreVersionsForAppV1(id: String,
fields: [ListAppStoreVersionsForAppV1.Field]? = nil,
@@ -19,10 +19,10 @@ public extension Request {
includes: [ListAppStoreVersionsForAppV1.Include]? = nil,
limits: [ListAppStoreVersionsForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/appStoreVersions", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/appStoreVersions", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limits: limits))
}
}
@@ -280,18 +280,27 @@ public enum ListAppStoreVersionsForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case ageRatingDeclaration, app, appClipDefaultExperience, appStoreReviewDetail, appStoreVersionExperiments, appStoreVersionLocalizations, appStoreVersionPhasedRelease, appStoreVersionSubmission, build, routingAppCoverage
+ case ageRatingDeclaration
+ case app
+ case appClipDefaultExperience
+ case appStoreReviewDetail
+ case appStoreVersionExperiments
+ case appStoreVersionLocalizations
+ case appStoreVersionPhasedRelease
+ case appStoreVersionSubmission
+ case build
+ case routingAppCoverage
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
- /// Maximum number of related appStoreVersionLocalizations returned (when they are included) - maximum 50
- case appStoreVersionLocalizations(Int)
/// Maximum number of related appStoreVersionExperiments returned (when they are included) - maximum 50
case appStoreVersionExperiments(Int)
+ /// Maximum number of related appStoreVersionLocalizations returned (when they are included) - maximum 50
+ case appStoreVersionLocalizations(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListAvailableTerritoriesForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListAvailableTerritoriesForAppV1.swift
index 25483654a..2c9b729df 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListAvailableTerritoriesForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListAvailableTerritoriesForAppV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # List All Available Territories for an App
- Get a list of App Store territories where an app is or will be available.
+ # List All Available Territories for an App
+ Get a list of App Store territories where an app is or will be available.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAvailableTerritoriesForAppV1(id: String,
fields: [ListAvailableTerritoriesForAppV1.Field]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/availableTerritories", method: .get, parameters: .init(fields: fields,
- limit: limit))
+ .init(path: "/v1/apps/\(id)/availableTerritories", method: .get, parameters: .init(fields: fields,
+ limit: limit))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListBetaAppLocalizationsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListBetaAppLocalizationsForAppV1.swift
index 65d5d71fc..053c3f243 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListBetaAppLocalizationsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListBetaAppLocalizationsForAppV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # List All Beta App Localizations of an App
- Get a list of localized beta test information for a specific app.
+ # List All Beta App Localizations of an App
+ Get a list of localized beta test information for a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listBetaAppLocalizationsForAppV1(id: String,
fields: [ListBetaAppLocalizationsForAppV1.Field]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/betaAppLocalizations", method: .get, parameters: .init(fields: fields,
- limit: limit))
+ .init(path: "/v1/apps/\(id)/betaAppLocalizations", method: .get, parameters: .init(fields: fields,
+ limit: limit))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListBetaGroupsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListBetaGroupsForAppV1.swift
index dfca7e699..30ee0f43d 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListBetaGroupsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListBetaGroupsForAppV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # List All Beta Groups for an App
- Get a list of beta groups associated with a specific app.
+ # List All Beta Groups for an App
+ Get a list of beta groups associated with a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listBetaGroupsForAppV1(id: String,
fields: [ListBetaGroupsForAppV1.Field]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/betaGroups", method: .get, parameters: .init(fields: fields,
- limit: limit))
+ .init(path: "/v1/apps/\(id)/betaGroups", method: .get, parameters: .init(fields: fields,
+ limit: limit))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListBuildsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListBuildsForAppV1.swift
index d729d55c0..1258b52ff 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListBuildsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListBuildsForAppV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # List All Builds of an App
- Get a list of builds associated with a specific app.
+ # List All Builds of an App
+ Get a list of builds associated with a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listBuildsForAppV1(id: String,
fields: [ListBuildsForAppV1.Field]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/builds", method: .get, parameters: .init(fields: fields,
- limit: limit))
+ .init(path: "/v1/apps/\(id)/builds", method: .get, parameters: .init(fields: fields,
+ limit: limit))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListCustomerReviewsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListCustomerReviewsForAppV1.swift
index b82a51ba3..27aebabdb 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListCustomerReviewsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListCustomerReviewsForAppV1.swift
@@ -1,19 +1,19 @@
public extension Request {
/**
- # List All Customer Reviews for an App
- Get a list of customer reviews for a specific app.
+ # List All Customer Reviews for an App
+ Get a list of customer reviews for a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter exists: Attributes, relationships, and IDs to check for existence
- - Parameter includes: Relationship data to include in the response
- - Parameter sorts: Attributes by which to sort
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter exists: Attributes, relationships, and IDs to check for existence
+ - Parameter includes: Relationship data to include in the response
+ - Parameter sorts: Attributes by which to sort
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listCustomerReviewsForAppV1(id: String,
fields: [ListCustomerReviewsForAppV1.Field]? = nil,
@@ -23,12 +23,12 @@ public extension Request {
sorts: [ListCustomerReviewsForAppV1.Sort]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/customerReviews", method: .get, parameters: .init(fields: fields,
- filters: filters,
- exists: exists,
- includes: includes,
- sorts: sorts,
- limit: limit))
+ .init(path: "/v1/apps/\(id)/customerReviews", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ exists: exists,
+ includes: includes,
+ sorts: sorts,
+ limit: limit))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListGameCenterEnabledVersionsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListGameCenterEnabledVersionsForAppV1.swift
index 45843ff3d..7d65d573c 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListGameCenterEnabledVersionsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListGameCenterEnabledVersionsForAppV1.swift
@@ -1,17 +1,17 @@
public extension Request {
/**
- # List All Game Center Enabled Versions for an App
+ # List All Game Center Enabled Versions for an App
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter sorts: Attributes by which to sort
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter sorts: Attributes by which to sort
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listGameCenterEnabledVersionsForAppV1(id: String,
fields: [ListGameCenterEnabledVersionsForAppV1.Field]? = nil,
@@ -20,11 +20,11 @@ public extension Request {
sorts: [ListGameCenterEnabledVersionsForAppV1.Sort]? = nil,
limits: [ListGameCenterEnabledVersionsForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/gameCenterEnabledVersions", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- sorts: sorts,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/gameCenterEnabledVersions", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ sorts: sorts,
+ limits: limits))
}
}
@@ -110,7 +110,8 @@ public enum ListGameCenterEnabledVersionsForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case app, compatibleVersions
+ case app
+ case compatibleVersions
}
/**
@@ -125,9 +126,9 @@ public enum ListGameCenterEnabledVersionsForAppV1 {
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related compatibleVersions returned (when they are included) - maximum 50
case compatibleVersions(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListInAppPurchasesForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListInAppPurchasesForAppV1.swift
index ea48e7679..98ffa8b31 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListInAppPurchasesForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListInAppPurchasesForAppV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # List All In-App Purchases for an App V1
- List the in-app purchases that are available for your app.
+ # List All In-App Purchases for an App V1
+ List the in-app purchases that are available for your app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter sorts: Attributes by which to sort
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter sorts: Attributes by which to sort
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
@available(*, deprecated, message: "Apple has marked it as deprecated and it will be removed sometime in the future.")
static func listInAppPurchasesForAppV1(id: String,
@@ -22,11 +22,11 @@ public extension Request {
sorts: [ListInAppPurchasesForAppV1.Sort]? = nil,
limits: [ListInAppPurchasesForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/inAppPurchases", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- sorts: sorts,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/inAppPurchases", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ sorts: sorts,
+ limits: limits))
}
}
@@ -131,9 +131,9 @@ public enum ListInAppPurchasesForAppV1 {
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related apps returned (when they are included) - maximum 50
case apps(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListInAppPurchasesV2ForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListInAppPurchasesV2ForAppV1.swift
index bff26bfe5..3cbe488ee 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListInAppPurchasesV2ForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListInAppPurchasesV2ForAppV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # List All In-App Purchases for an App
- Get a list of the in-app purchases for a specific app.
-
- Full documentation:
-
-
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter sorts: Attributes by which to sort
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ # List All In-App Purchases for an App
+ Get a list of the in-app purchases for a specific app.
+
+ Full documentation:
+
+
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter sorts: Attributes by which to sort
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listInAppPurchasesV2ForAppV1(id: String,
fields: [ListInAppPurchasesV2ForAppV1.Field]? = nil,
@@ -21,11 +21,11 @@ public extension Request {
sorts: [ListInAppPurchasesV2ForAppV1.Sort]? = nil,
limits: [ListInAppPurchasesV2ForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/inAppPurchasesV2", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- sorts: sorts,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/inAppPurchasesV2", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ sorts: sorts,
+ limits: limits))
}
}
@@ -159,7 +159,12 @@ public enum ListInAppPurchasesV2ForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appStoreReviewScreenshot, content, iapPriceSchedule, inAppPurchaseLocalizations, pricePoints, promotedPurchase
+ case appStoreReviewScreenshot
+ case content
+ case iapPriceSchedule
+ case inAppPurchaseLocalizations
+ case pricePoints
+ case promotedPurchase
}
/**
@@ -176,10 +181,10 @@ public enum ListInAppPurchasesV2ForAppV1 {
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related inAppPurchaseLocalizations returned (when they are included) - maximum 50
case inAppPurchaseLocalizations(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
/// Maximum number of related pricePoints returned (when they are included) - maximum 40000
case pricePoints(Int)
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListPerfPowerMetricsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListPerfPowerMetricsForAppV1.swift
index 838f27366..51876b42b 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListPerfPowerMetricsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListPerfPowerMetricsForAppV1.swift
@@ -1,21 +1,21 @@
public extension Request {
/**
- # Get Power and Performance Metrics for an App
- Get the performance and power metrics data for the most recent version of an app.
+ # Get Power and Performance Metrics for an App
+ Get the performance and power metrics data for the most recent version of an app.
- The example below requests iOS app launch metrics on all iPhones for the most-recent app versions. To get metrics for a specific app version instead, use the [Get Power and Performance Metrics for a Build](https://developer.apple.com/documentation/appstoreconnectapi/get_power_and_performance_metrics_for_a_build) endpoint.
+ The example below requests iOS app launch metrics on all iPhones for the most-recent app versions. To get metrics for a specific app version instead, use the [Get Power and Performance Metrics for a Build](https://developer.apple.com/documentation/appstoreconnectapi/get_power_and_performance_metrics_for_a_build) endpoint.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listPerfPowerMetricsForAppV1(id: String,
filters: [ListPerfPowerMetricsForAppV1.Filter]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/perfPowerMetrics", method: .get, parameters: .init(filters: filters))
+ .init(path: "/v1/apps/\(id)/perfPowerMetrics", method: .get, parameters: .init(filters: filters))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListPreReleaseVersionsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListPreReleaseVersionsForAppV1.swift
index e1277eacb..9800a4538 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListPreReleaseVersionsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListPreReleaseVersionsForAppV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # List All Prerelease Versions for an App
- Get a list of prerelease versions associated with a specific app.
+ # List All Prerelease Versions for an App
+ Get a list of prerelease versions associated with a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listPreReleaseVersionsForAppV1(id: String,
fields: [ListPreReleaseVersionsForAppV1.Field]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/preReleaseVersions", method: .get, parameters: .init(fields: fields,
- limit: limit))
+ .init(path: "/v1/apps/\(id)/preReleaseVersions", method: .get, parameters: .init(fields: fields,
+ limit: limit))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListPricePointsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListPricePointsForAppV1.swift
index bf919780d..5d5f7b3eb 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListPricePointsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListPricePointsForAppV1.swift
@@ -1,17 +1,17 @@
public extension Request {
/**
- # List All Price Points for an App
- Get all the available price points for a specific app.
+ # List All Price Points for an App
+ Get all the available price points for a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listPricePointsForAppV1(id: String,
fields: [ListPricePointsForAppV1.Field]? = nil,
@@ -19,10 +19,10 @@ public extension Request {
includes: [ListPricePointsForAppV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/pricePoints", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/apps/\(id)/pricePoints", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limit: limit))
}
}
@@ -112,6 +112,8 @@ public enum ListPricePointsForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case app, priceTier, territory
+ case app
+ case priceTier
+ case territory
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListPricesForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListPricesForAppV1.swift
index 26c30b497..aaa2541ad 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListPricesForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListPricesForAppV1.swift
@@ -1,28 +1,28 @@
public extension Request {
/**
- # List All Prices for an App
- Get the current price tier of an app and any future scheduled price changes.
+ # List All Prices for an App
+ Get the current price tier of an app and any future scheduled price changes.
- Use this endpoint to retrieve the price schedule for an app, including the current price and any scheduled future price changes.
- The current price has a `null` start date. Each additional price has a start date that indicates the date when the price will take effect around the world. See [List All Price Points for an App](https://developer.apple.com/documentation/appstoreconnectapi/list_all_price_points_for_an_app) to determine the price the customer sees and the related proceeds in each App Store territory.
+ Use this endpoint to retrieve the price schedule for an app, including the current price and any scheduled future price changes.
+ The current price has a `null` start date. Each additional price has a start date that indicates the date when the price will take effect around the world. See [List All Price Points for an App](https://developer.apple.com/documentation/appstoreconnectapi/list_all_price_points_for_an_app) to determine the price the customer sees and the related proceeds in each App Store territory.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listPricesForAppV1(id: String,
fields: [ListPricesForAppV1.Field]? = nil,
includes: [ListPricesForAppV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/prices", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/apps/\(id)/prices", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limit: limit))
}
}
@@ -93,6 +93,7 @@ public enum ListPricesForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case app, priceTier
+ case app
+ case priceTier
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListPromotedPurchaseIdsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListPromotedPurchaseIdsForAppV1.swift
index 1fb28870c..1c63f258f 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListPromotedPurchaseIdsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListPromotedPurchaseIdsForAppV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # List Promoted Purchase IDs for an App
- Get a list of resource IDs representing promoted purchases for an auto-renewable subscription.
+ # List Promoted Purchase IDs for an App
+ Get a list of resource IDs representing promoted purchases for an auto-renewable subscription.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listPromotedPurchaseIdsForAppV1(id: String,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/relationships/promotedPurchases", method: .get, parameters: .init(limit: limit))
+ .init(path: "/v1/apps/\(id)/relationships/promotedPurchases", method: .get, parameters: .init(limit: limit))
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListPromotedPurchasesForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListPromotedPurchasesForAppV1.swift
index 8ffcc9d84..15b146ae6 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListPromotedPurchasesForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListPromotedPurchasesForAppV1.swift
@@ -1,25 +1,25 @@
public extension Request {
/**
- # List All Promoted Purchases for an App
- Get a list of promoted in-app purchases, including promoted auto-renewable subscriptions, for an app.
+ # List All Promoted Purchases for an App
+ Get a list of promoted in-app purchases, including promoted auto-renewable subscriptions, for an app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listPromotedPurchasesForAppV1(id: String,
fields: [ListPromotedPurchasesForAppV1.Field]? = nil,
includes: [ListPromotedPurchasesForAppV1.Include]? = nil,
limits: [ListPromotedPurchasesForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/promotedPurchases", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/promotedPurchases", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limits: limits))
}
}
@@ -103,7 +103,9 @@ public enum ListPromotedPurchasesForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case inAppPurchaseV2, promotionImages, subscription
+ case inAppPurchaseV2
+ case promotionImages
+ case subscription
}
/**
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListReviewSubmissionsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListReviewSubmissionsForAppV1.swift
index 7d42a7720..64115f576 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListReviewSubmissionsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListReviewSubmissionsForAppV1.swift
@@ -1,16 +1,16 @@
public extension Request {
/**
- # GET /v1/apps/{id}/reviewSubmissions
+ # GET /v1/apps/{id}/reviewSubmissions
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listReviewSubmissionsForAppV1(id: String,
fields: [ListReviewSubmissionsForAppV1.Field]? = nil,
@@ -18,10 +18,10 @@ public extension Request {
includes: [ListReviewSubmissionsForAppV1.Include]? = nil,
limits: [ListReviewSubmissionsForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/reviewSubmissions", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/reviewSubmissions", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limits: limits))
}
}
@@ -155,16 +155,18 @@ public enum ListReviewSubmissionsForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case app, appStoreVersionForReview, items
+ case app
+ case appStoreVersionForReview
+ case items
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related items returned (when they are included) - maximum 50
case items(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ListSubscriptionGroupsForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ListSubscriptionGroupsForAppV1.swift
index 0580f93e2..a2784abb6 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ListSubscriptionGroupsForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ListSubscriptionGroupsForAppV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # List All Subscription Groups for an App
- Get a list of subscription groups for a specific app.
+ # List All Subscription Groups for an App
+ Get a list of subscription groups for a specific app.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter sorts: Attributes by which to sort
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter sorts: Attributes by which to sort
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listSubscriptionGroupsForAppV1(id: String,
fields: [ListSubscriptionGroupsForAppV1.Field]? = nil,
@@ -21,11 +21,11 @@ public extension Request {
sorts: [ListSubscriptionGroupsForAppV1.Sort]? = nil,
limits: [ListSubscriptionGroupsForAppV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/apps/\(id)/subscriptionGroups", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- sorts: sorts,
- limits: limits))
+ .init(path: "/v1/apps/\(id)/subscriptionGroups", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ sorts: sorts,
+ limits: limits))
}
}
@@ -104,7 +104,8 @@ public enum ListSubscriptionGroupsForAppV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case subscriptionGroupLocalizations, subscriptions
+ case subscriptionGroupLocalizations
+ case subscriptions
}
/**
@@ -121,9 +122,9 @@ public enum ListSubscriptionGroupsForAppV1 {
public enum Limit: LimitParameter {
/// Maximum resources per page - maximum 200
case limit(Int)
- /// Maximum number of related subscriptions returned (when they are included) - maximum 50
- case subscriptions(Int)
/// Maximum number of related subscriptionGroupLocalizations returned (when they are included) - maximum 50
case subscriptionGroupLocalizations(Int)
+ /// Maximum number of related subscriptions returned (when they are included) - maximum 50
+ case subscriptions(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/Relationships/ReplacePromotedPurchasesForAppV1.swift b/Sources/Bagbutik/Endpoints/App/Relationships/ReplacePromotedPurchasesForAppV1.swift
index 9513df0a1..86ac8d442 100644
--- a/Sources/Bagbutik/Endpoints/App/Relationships/ReplacePromotedPurchasesForAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/Relationships/ReplacePromotedPurchasesForAppV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Modify the Order of a Promoted Purchase for an App
- Update the order of promoted purchases.
+ # Modify the Order of a Promoted Purchase for an App
+ Update the order of promoted purchases.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: List of related linkages
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: List of related linkages
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func replacePromotedPurchasesForAppV1(id: String,
requestBody: AppPromotedPurchasesLinkagesRequest) -> Request
{
- return .init(path: "/v1/apps/\(id)/relationships/promotedPurchases", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/apps/\(id)/relationships/promotedPurchases", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/App/UpdateAppV1.swift b/Sources/Bagbutik/Endpoints/App/UpdateAppV1.swift
index f918315ea..28195f681 100644
--- a/Sources/Bagbutik/Endpoints/App/UpdateAppV1.swift
+++ b/Sources/Bagbutik/Endpoints/App/UpdateAppV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Modify an App
- Update app information including bundle ID, primary locale, price schedule, and global availability.
+ # Modify an App
+ Update app information including bundle ID, primary locale, price schedule, and global availability.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: App representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: App representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateAppV1(id: String,
requestBody: AppUpdateRequest) -> Request
{
- return .init(path: "/v1/apps/\(id)", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/apps/\(id)", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCategory/GetAppCategoryV1.swift b/Sources/Bagbutik/Endpoints/AppCategory/GetAppCategoryV1.swift
index 37589e481..0d83d37fe 100644
--- a/Sources/Bagbutik/Endpoints/AppCategory/GetAppCategoryV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCategory/GetAppCategoryV1.swift
@@ -1,25 +1,25 @@
public extension Request {
/**
- # Read App Category Information
- Get a specific app category.
+ # Read App Category Information
+ Get a specific app category.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum number of related subcategories returned (when they are included) - maximum 50
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum number of related subcategories returned (when they are included) - maximum 50
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppCategoryV1(id: String,
fields: [GetAppCategoryV1.Field]? = nil,
includes: [GetAppCategoryV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/appCategories/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/appCategories/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limit: limit))
}
}
@@ -42,6 +42,7 @@ public enum GetAppCategoryV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case parent, subcategories
+ case parent
+ case subcategories
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCategory/ListAppCategoriesV1.swift b/Sources/Bagbutik/Endpoints/AppCategory/ListAppCategoriesV1.swift
index 5554fc63b..e13ad136a 100644
--- a/Sources/Bagbutik/Endpoints/AppCategory/ListAppCategoriesV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCategory/ListAppCategoriesV1.swift
@@ -1,20 +1,20 @@
public extension Request {
/**
- # List App Categories
- List all categories on the App Store, including the category and subcategory hierarchy.
+ # List App Categories
+ List all categories on the App Store, including the category and subcategory hierarchy.
- Use this endpoint to retrieve the list of available App Store categories and subcategories. Associate an app with categories using the [Modify an App Info](https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_info) endpoint.
- The first example retrieves the full category and subcategory hierarchy in one request. The second example retrieves just the top-level categories for macOS apps.
+ Use this endpoint to retrieve the list of available App Store categories and subcategories. Associate an app with categories using the [Modify an App Info](https://developer.apple.com/documentation/appstoreconnectapi/modify_an_app_info) endpoint.
+ The first example retrieves the full category and subcategory hierarchy in one request. The second example retrieves just the top-level categories for macOS apps.
- Full documentation:
-
+ Full documentation:
+
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter exists: Attributes, relationships, and IDs to check for existence
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter exists: Attributes, relationships, and IDs to check for existence
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppCategoriesV1(fields: [ListAppCategoriesV1.Field]? = nil,
filters: [ListAppCategoriesV1.Filter]? = nil,
@@ -22,11 +22,11 @@ public extension Request {
includes: [ListAppCategoriesV1.Include]? = nil,
limits: [ListAppCategoriesV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/appCategories", method: .get, parameters: .init(fields: fields,
- filters: filters,
- exists: exists,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/appCategories", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ exists: exists,
+ includes: includes,
+ limits: limits))
}
}
@@ -71,7 +71,8 @@ public enum ListAppCategoriesV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case parent, subcategories
+ case parent
+ case subcategories
}
/**
diff --git a/Sources/Bagbutik/Endpoints/AppCategory/Relationships/GetParentForAppCategoryV1.swift b/Sources/Bagbutik/Endpoints/AppCategory/Relationships/GetParentForAppCategoryV1.swift
index c2f05cd96..989c76827 100644
--- a/Sources/Bagbutik/Endpoints/AppCategory/Relationships/GetParentForAppCategoryV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCategory/Relationships/GetParentForAppCategoryV1.swift
@@ -1,19 +1,19 @@
public extension Request {
/**
- # Read the Parent Information of an App Category
- Get the App Store category to which a specific subcategory belongs.
+ # Read the Parent Information of an App Category
+ Get the App Store category to which a specific subcategory belongs.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getParentForAppCategoryV1(id: String,
fields: [GetParentForAppCategoryV1.Field]? = nil) -> Request
{
- return .init(path: "/v1/appCategories/\(id)/parent", method: .get, parameters: .init(fields: fields))
+ .init(path: "/v1/appCategories/\(id)/parent", method: .get, parameters: .init(fields: fields))
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCategory/Relationships/ListSubcategoriesForAppCategoryV1.swift b/Sources/Bagbutik/Endpoints/AppCategory/Relationships/ListSubcategoriesForAppCategoryV1.swift
index 2c39f59b4..2cfc941ff 100644
--- a/Sources/Bagbutik/Endpoints/AppCategory/Relationships/ListSubcategoriesForAppCategoryV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCategory/Relationships/ListSubcategoriesForAppCategoryV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # List All Subcategories for an App Category
- List all App Store subcategories that belong to a specific category.
+ # List All Subcategories for an App Category
+ List all App Store subcategories that belong to a specific category.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listSubcategoriesForAppCategoryV1(id: String,
fields: [ListSubcategoriesForAppCategoryV1.Field]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/appCategories/\(id)/subcategories", method: .get, parameters: .init(fields: fields,
- limit: limit))
+ .init(path: "/v1/appCategories/\(id)/subcategories", method: .get, parameters: .init(fields: fields,
+ limit: limit))
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClip/GetAppClipV1.swift b/Sources/Bagbutik/Endpoints/AppClip/GetAppClipV1.swift
index 76d26db99..88e4e32df 100644
--- a/Sources/Bagbutik/Endpoints/AppClip/GetAppClipV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClip/GetAppClipV1.swift
@@ -1,25 +1,25 @@
public extension Request {
/**
- # Read App Clip Information
- Get a specific App Clip.
+ # Read App Clip Information
+ Get a specific App Clip.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum number of related appClipDefaultExperiences returned (when they are included) - maximum 50
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum number of related appClipDefaultExperiences returned (when they are included) - maximum 50
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppClipV1(id: String,
fields: [GetAppClipV1.Field]? = nil,
includes: [GetAppClipV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/appClips/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/appClips/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limit: limit))
}
}
@@ -72,6 +72,7 @@ public enum GetAppClipV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case app, appClipDefaultExperiences
+ case app
+ case appClipDefaultExperiences
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClip/Relationships/ListAppClipAdvancedExperiencesForAppClipV1.swift b/Sources/Bagbutik/Endpoints/AppClip/Relationships/ListAppClipAdvancedExperiencesForAppClipV1.swift
index 3ac386254..892c846a4 100644
--- a/Sources/Bagbutik/Endpoints/AppClip/Relationships/ListAppClipAdvancedExperiencesForAppClipV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClip/Relationships/ListAppClipAdvancedExperiencesForAppClipV1.swift
@@ -1,17 +1,17 @@
public extension Request {
/**
- # List All Advanced App Clip Experiences for an App Clip
- Get all advanced App Clip experiences for an App Clip.
+ # List All Advanced App Clip Experiences for an App Clip
+ Get all advanced App Clip experiences for an App Clip.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppClipAdvancedExperiencesForAppClipV1(id: String,
fields: [ListAppClipAdvancedExperiencesForAppClipV1.Field]? = nil,
@@ -19,10 +19,10 @@ public extension Request {
includes: [ListAppClipAdvancedExperiencesForAppClipV1.Include]? = nil,
limits: [ListAppClipAdvancedExperiencesForAppClipV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/appClips/\(id)/appClipAdvancedExperiences", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/appClips/\(id)/appClipAdvancedExperiences", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limits: limits))
}
}
@@ -114,7 +114,9 @@ public enum ListAppClipAdvancedExperiencesForAppClipV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appClip, headerImage, localizations
+ case appClip
+ case headerImage
+ case localizations
}
/**
diff --git a/Sources/Bagbutik/Endpoints/AppClip/Relationships/ListAppClipDefaultExperiencesForAppClipV1.swift b/Sources/Bagbutik/Endpoints/AppClip/Relationships/ListAppClipDefaultExperiencesForAppClipV1.swift
index b1850bd44..a3e72984a 100644
--- a/Sources/Bagbutik/Endpoints/AppClip/Relationships/ListAppClipDefaultExperiencesForAppClipV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClip/Relationships/ListAppClipDefaultExperiencesForAppClipV1.swift
@@ -1,17 +1,17 @@
public extension Request {
/**
- # List All Default App Clip Experiences for an App Clip
- Get all default App Clip experiences for an App Clip.
+ # List All Default App Clip Experiences for an App Clip
+ Get all default App Clip experiences for an App Clip.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter exists: Attributes, relationships, and IDs to check for existence
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter exists: Attributes, relationships, and IDs to check for existence
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppClipDefaultExperiencesForAppClipV1(id: String,
fields: [ListAppClipDefaultExperiencesForAppClipV1.Field]? = nil,
@@ -19,10 +19,10 @@ public extension Request {
includes: [ListAppClipDefaultExperiencesForAppClipV1.Include]? = nil,
limits: [ListAppClipDefaultExperiencesForAppClipV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/appClips/\(id)/appClipDefaultExperiences", method: .get, parameters: .init(fields: fields,
- exists: exists,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/appClips/\(id)/appClipDefaultExperiences", method: .get, parameters: .init(fields: fields,
+ exists: exists,
+ includes: includes,
+ limits: limits))
}
}
@@ -105,16 +105,19 @@ public enum ListAppClipDefaultExperiencesForAppClipV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appClip, appClipAppStoreReviewDetail, appClipDefaultExperienceLocalizations, releaseWithAppStoreVersion
+ case appClip
+ case appClipAppStoreReviewDetail
+ case appClipDefaultExperienceLocalizations
+ case releaseWithAppStoreVersion
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related appClipDefaultExperienceLocalizations returned (when they are included) - maximum 50
case appClipDefaultExperienceLocalizations(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/CreateAppClipAdvancedExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/CreateAppClipAdvancedExperienceV1.swift
index 50dbfcbfd..ab5ff1ae3 100644
--- a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/CreateAppClipAdvancedExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/CreateAppClipAdvancedExperienceV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Create an Advanced App Clip Experience
- Configure a new advanced App Clip experience.
+ # Create an Advanced App Clip Experience
+ Configure a new advanced App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter requestBody: AppClipAdvancedExperience representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter requestBody: AppClipAdvancedExperience representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func createAppClipAdvancedExperienceV1(requestBody: AppClipAdvancedExperienceCreateRequest) -> Request {
- return .init(path: "/v1/appClipAdvancedExperiences", method: .post, requestBody: requestBody)
+ .init(path: "/v1/appClipAdvancedExperiences", method: .post, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/GetAppClipAdvancedExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/GetAppClipAdvancedExperienceV1.swift
index 3f5a34058..394af9a81 100644
--- a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/GetAppClipAdvancedExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/GetAppClipAdvancedExperienceV1.swift
@@ -1,25 +1,25 @@
public extension Request {
/**
- # Read Advanced App Clip Experience Information
- Get information about a specific advanced App Clip experience.
+ # Read Advanced App Clip Experience Information
+ Get information about a specific advanced App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum number of related localizations returned (when they are included) - maximum 50
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum number of related localizations returned (when they are included) - maximum 50
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppClipAdvancedExperienceV1(id: String,
fields: [GetAppClipAdvancedExperienceV1.Field]? = nil,
includes: [GetAppClipAdvancedExperienceV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/appClipAdvancedExperiences/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/appClipAdvancedExperiences/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limit: limit))
}
}
@@ -52,6 +52,8 @@ public enum GetAppClipAdvancedExperienceV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appClip, headerImage, localizations
+ case appClip
+ case headerImage
+ case localizations
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/UpdateAppClipAdvancedExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/UpdateAppClipAdvancedExperienceV1.swift
index 360355e59..179b40dd6 100644
--- a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/UpdateAppClipAdvancedExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperience/UpdateAppClipAdvancedExperienceV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Modify and Delete an Advanced App Clip Experience
- Update and delete an existing advanced App Clip experience.
+ # Modify and Delete an Advanced App Clip Experience
+ Update and delete an existing advanced App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: AppClipAdvancedExperience representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: AppClipAdvancedExperience representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateAppClipAdvancedExperienceV1(id: String,
requestBody: AppClipAdvancedExperienceUpdateRequest) -> Request
{
- return .init(path: "/v1/appClipAdvancedExperiences/\(id)", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/appClipAdvancedExperiences/\(id)", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/CreateAppClipAdvancedExperienceImageV1.swift b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/CreateAppClipAdvancedExperienceImageV1.swift
index 22c16de7d..ec0bba71e 100644
--- a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/CreateAppClipAdvancedExperienceImageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/CreateAppClipAdvancedExperienceImageV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Create an App Clip Card Image for an Advanced App Clip Experience
- Reserve an image asset that appears on the App Clip card of an advanced App Clip experience.
+ # Create an App Clip Card Image for an Advanced App Clip Experience
+ Reserve an image asset that appears on the App Clip card of an advanced App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter requestBody: AppClipAdvancedExperienceImage representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter requestBody: AppClipAdvancedExperienceImage representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func createAppClipAdvancedExperienceImageV1(requestBody: AppClipAdvancedExperienceImageCreateRequest) -> Request {
- return .init(path: "/v1/appClipAdvancedExperienceImages", method: .post, requestBody: requestBody)
+ .init(path: "/v1/appClipAdvancedExperienceImages", method: .post, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/GetAppClipAdvancedExperienceImageV1.swift b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/GetAppClipAdvancedExperienceImageV1.swift
index 0d022d5d3..cf8abfb95 100644
--- a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/GetAppClipAdvancedExperienceImageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/GetAppClipAdvancedExperienceImageV1.swift
@@ -1,19 +1,19 @@
public extension Request {
/**
- # Read Image Information for an Advanced App Clip Experience
- Get information about the image that appears on the App Clip card of an advanced App Clip experience.
+ # Read Image Information for an Advanced App Clip Experience
+ Get information about the image that appears on the App Clip card of an advanced App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppClipAdvancedExperienceImageV1(id: String,
fields: [GetAppClipAdvancedExperienceImageV1.Field]? = nil) -> Request
{
- return .init(path: "/v1/appClipAdvancedExperienceImages/\(id)", method: .get, parameters: .init(fields: fields))
+ .init(path: "/v1/appClipAdvancedExperienceImages/\(id)", method: .get, parameters: .init(fields: fields))
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/UpdateAppClipAdvancedExperienceImageV1.swift b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/UpdateAppClipAdvancedExperienceImageV1.swift
index 5006ebf65..a9084744f 100644
--- a/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/UpdateAppClipAdvancedExperienceImageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipAdvancedExperienceImage/UpdateAppClipAdvancedExperienceImageV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Modify the Image for an Advanced App Clip Experience
- Update image information or commit the image asset of an advanced App Clip experience.
+ # Modify the Image for an Advanced App Clip Experience
+ Update image information or commit the image asset of an advanced App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: AppClipAdvancedExperienceImage representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: AppClipAdvancedExperienceImage representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateAppClipAdvancedExperienceImageV1(id: String,
requestBody: AppClipAdvancedExperienceImageUpdateRequest) -> Request
{
- return .init(path: "/v1/appClipAdvancedExperienceImages/\(id)", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/appClipAdvancedExperienceImages/\(id)", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/CreateAppClipAppStoreReviewDetailV1.swift b/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/CreateAppClipAppStoreReviewDetailV1.swift
index a1881350d..d5d285a7b 100644
--- a/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/CreateAppClipAppStoreReviewDetailV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/CreateAppClipAppStoreReviewDetailV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Create App Store Review Details for an App Clip
- Provide App Clip metadata required by App Store Review.
+ # Create App Store Review Details for an App Clip
+ Provide App Clip metadata required by App Store Review.
- Full documentation:
-
+ Full documentation:
+
- - Parameter requestBody: AppClipAppStoreReviewDetail representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter requestBody: AppClipAppStoreReviewDetail representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func createAppClipAppStoreReviewDetailV1(requestBody: AppClipAppStoreReviewDetailCreateRequest) -> Request {
- return .init(path: "/v1/appClipAppStoreReviewDetails", method: .post, requestBody: requestBody)
+ .init(path: "/v1/appClipAppStoreReviewDetails", method: .post, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/GetAppClipAppStoreReviewDetailV1.swift b/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/GetAppClipAppStoreReviewDetailV1.swift
index 874641e0b..143831f22 100644
--- a/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/GetAppClipAppStoreReviewDetailV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/GetAppClipAppStoreReviewDetailV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # Read the App Store Review Details of an App Clip
- Get App Store Review details for an App Clip.
+ # Read the App Store Review Details of an App Clip
+ Get App Store Review details for an App Clip.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppClipAppStoreReviewDetailV1(id: String,
fields: [GetAppClipAppStoreReviewDetailV1.Field]? = nil,
includes: [GetAppClipAppStoreReviewDetailV1.Include]? = nil) -> Request
{
- return .init(path: "/v1/appClipAppStoreReviewDetails/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes))
+ .init(path: "/v1/appClipAppStoreReviewDetails/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes))
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/UpdateAppClipAppStoreReviewDetailV1.swift b/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/UpdateAppClipAppStoreReviewDetailV1.swift
index 8bbeead50..a9d1fe9e2 100644
--- a/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/UpdateAppClipAppStoreReviewDetailV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipAppStoreReviewDetail/UpdateAppClipAppStoreReviewDetailV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Modify App Store Review Details for an App Clip
- Update App Clip metadata you provide to App Store Review.
+ # Modify App Store Review Details for an App Clip
+ Update App Clip metadata you provide to App Store Review.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: AppClipAppStoreReviewDetail representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: AppClipAppStoreReviewDetail representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateAppClipAppStoreReviewDetailV1(id: String,
requestBody: AppClipAppStoreReviewDetailUpdateRequest) -> Request
{
- return .init(path: "/v1/appClipAppStoreReviewDetails/\(id)", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/appClipAppStoreReviewDetails/\(id)", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/CreateAppClipDefaultExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/CreateAppClipDefaultExperienceV1.swift
index 0f3ae7f68..7d5b485ac 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/CreateAppClipDefaultExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/CreateAppClipDefaultExperienceV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Create a Default App Clip Experience
- Configure a new default App Clip experience.
+ # Create a Default App Clip Experience
+ Configure a new default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter requestBody: AppClipDefaultExperience representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter requestBody: AppClipDefaultExperience representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func createAppClipDefaultExperienceV1(requestBody: AppClipDefaultExperienceCreateRequest) -> Request {
- return .init(path: "/v1/appClipDefaultExperiences", method: .post, requestBody: requestBody)
+ .init(path: "/v1/appClipDefaultExperiences", method: .post, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/DeleteAppClipDefaultExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/DeleteAppClipDefaultExperienceV1.swift
index 36e6ec21f..d55d1349b 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/DeleteAppClipDefaultExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/DeleteAppClipDefaultExperienceV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Delete a Default App Clip Experience
- Delete a specific default App Clip experience.
+ # Delete a Default App Clip Experience
+ Delete a specific default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func deleteAppClipDefaultExperienceV1(id: String) -> Request {
- return .init(path: "/v1/appClipDefaultExperiences/\(id)", method: .delete)
+ .init(path: "/v1/appClipDefaultExperiences/\(id)", method: .delete)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/GetAppClipDefaultExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/GetAppClipDefaultExperienceV1.swift
index e9e442280..7b84888e9 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/GetAppClipDefaultExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/GetAppClipDefaultExperienceV1.swift
@@ -1,25 +1,25 @@
public extension Request {
/**
- # Read Default App Clip Experience Information
- Get a specific default App Clip experience.
+ # Read Default App Clip Experience Information
+ Get a specific default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum number of related appClipDefaultExperienceLocalizations returned (when they are included) - maximum 50
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum number of related appClipDefaultExperienceLocalizations returned (when they are included) - maximum 50
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppClipDefaultExperienceV1(id: String,
fields: [GetAppClipDefaultExperienceV1.Field]? = nil,
includes: [GetAppClipDefaultExperienceV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/appClipDefaultExperiences/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/appClipDefaultExperiences/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limit: limit))
}
}
@@ -85,6 +85,9 @@ public enum GetAppClipDefaultExperienceV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appClip, appClipAppStoreReviewDetail, appClipDefaultExperienceLocalizations, releaseWithAppStoreVersion
+ case appClip
+ case appClipAppStoreReviewDetail
+ case appClipDefaultExperienceLocalizations
+ case releaseWithAppStoreVersion
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1.swift
index 80693abf1..056181978 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # Read the App Store Review Detail for a Default App Clip Experience
- Get App Store Review details for a specific default App Clip experience.
+ # Read the App Store Review Detail for a Default App Clip Experience
+ Get App Store Review details for a specific default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1(id: String,
fields: [GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1.Field]? = nil,
includes: [GetAppClipAppStoreReviewDetailForAppClipDefaultExperienceV1.Include]? = nil) -> Request
{
- return .init(path: "/v1/appClipDefaultExperiences/\(id)/appClipAppStoreReviewDetail", method: .get, parameters: .init(fields: fields,
- includes: includes))
+ .init(path: "/v1/appClipDefaultExperiences/\(id)/appClipAppStoreReviewDetail", method: .get, parameters: .init(fields: fields,
+ includes: includes))
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift
index 34fef7971..a14617188 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift
@@ -1,25 +1,25 @@
public extension Request {
/**
- # Read App Store Version Information for a Default App Clip Experience
- Get App Store Version information for a default App Clip experience.
+ # Read App Store Version Information for a Default App Clip Experience
+ Get App Store Version information for a default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getReleaseWithAppStoreVersionForAppClipDefaultExperienceV1(id: String,
fields: [GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.Field]? = nil,
includes: [GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.Include]? = nil,
limits: [GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/appClipDefaultExperiences/\(id)/releaseWithAppStoreVersion", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/appClipDefaultExperiences/\(id)/releaseWithAppStoreVersion", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limits: limits))
}
}
@@ -235,16 +235,25 @@ public enum GetReleaseWithAppStoreVersionForAppClipDefaultExperienceV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case ageRatingDeclaration, app, appClipDefaultExperience, appStoreReviewDetail, appStoreVersionExperiments, appStoreVersionLocalizations, appStoreVersionPhasedRelease, appStoreVersionSubmission, build, routingAppCoverage
+ case ageRatingDeclaration
+ case app
+ case appClipDefaultExperience
+ case appStoreReviewDetail
+ case appStoreVersionExperiments
+ case appStoreVersionLocalizations
+ case appStoreVersionPhasedRelease
+ case appStoreVersionSubmission
+ case build
+ case routingAppCoverage
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum number of related appStoreVersionLocalizations returned (when they are included) - maximum 50
- case appStoreVersionLocalizations(Int)
/// Maximum number of related appStoreVersionExperiments returned (when they are included) - maximum 50
case appStoreVersionExperiments(Int)
+ /// Maximum number of related appStoreVersionLocalizations returned (when they are included) - maximum 50
+ case appStoreVersionLocalizations(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionIdsForAppClipDefaultExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionIdsForAppClipDefaultExperienceV1.swift
index b3201f69e..7ca8e4796 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionIdsForAppClipDefaultExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/GetReleaseWithAppStoreVersionIdsForAppClipDefaultExperienceV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Get the App Store Versions Resource ID for a Default App Clip Experience
- Get IDs for App Store Versions related to a default App Clip experience.
+ # Get the App Store Versions Resource ID for a Default App Clip Experience
+ Get IDs for App Store Versions related to a default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getReleaseWithAppStoreVersionIdsForAppClipDefaultExperienceV1(id: String) -> Request {
- return .init(path: "/v1/appClipDefaultExperiences/\(id)/relationships/releaseWithAppStoreVersion", method: .get)
+ .init(path: "/v1/appClipDefaultExperiences/\(id)/relationships/releaseWithAppStoreVersion", method: .get)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1.swift
index b3924a1cd..ab0eb9055 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1.swift
@@ -1,17 +1,17 @@
public extension Request {
/**
- # Read Localization Information for a Default App Clip Experience
- Get localized metadata that appears on the App Clip card for a specific default App Clip experience.
+ # Read Localization Information for a Default App Clip Experience
+ Get localized metadata that appears on the App Clip card for a specific default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1(id: String,
fields: [ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1.Field]? = nil,
@@ -19,10 +19,10 @@ public extension Request {
includes: [ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperienceV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/appClipDefaultExperiences/\(id)/appClipDefaultExperienceLocalizations", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/appClipDefaultExperiences/\(id)/appClipDefaultExperienceLocalizations", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limit: limit))
}
}
@@ -78,6 +78,7 @@ public enum ListAppClipDefaultExperienceLocalizationsForAppClipDefaultExperience
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appClipDefaultExperience, appClipHeaderImage
+ case appClipDefaultExperience
+ case appClipHeaderImage
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/UpdateReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/UpdateReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift
index 072821b3d..38b48401c 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/UpdateReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/Relationships/UpdateReleaseWithAppStoreVersionForAppClipDefaultExperienceV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Modify the Related App Store Version for a Default App Clip Experience
- Update the relationship between a default App Clip experience and an App Store Version.
+ # Modify the Related App Store Version for a Default App Clip Experience
+ Update the relationship between a default App Clip experience and an App Store Version.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: Related linkage
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: Related linkage
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateReleaseWithAppStoreVersionForAppClipDefaultExperienceV1(id: String,
requestBody: AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageRequest) -> Request
{
- return .init(path: "/v1/appClipDefaultExperiences/\(id)/relationships/releaseWithAppStoreVersion", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/appClipDefaultExperiences/\(id)/relationships/releaseWithAppStoreVersion", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/UpdateAppClipDefaultExperienceV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/UpdateAppClipDefaultExperienceV1.swift
index c92d30b81..430d27a8c 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/UpdateAppClipDefaultExperienceV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperience/UpdateAppClipDefaultExperienceV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Modify a Default App Clip Experience
- Update a default App Clip experience.
+ # Modify a Default App Clip Experience
+ Update a default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: AppClipDefaultExperience representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: AppClipDefaultExperience representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateAppClipDefaultExperienceV1(id: String,
requestBody: AppClipDefaultExperienceUpdateRequest) -> Request
{
- return .init(path: "/v1/appClipDefaultExperiences/\(id)", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/appClipDefaultExperiences/\(id)", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/CreateAppClipDefaultExperienceLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/CreateAppClipDefaultExperienceLocalizationV1.swift
index 134607598..ca3c436d0 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/CreateAppClipDefaultExperienceLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/CreateAppClipDefaultExperienceLocalizationV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Create the Localized Metadata for a Default App Clip Experience
- Provide localized metadata that appears on the App Clip card of a default App Clip experience.
+ # Create the Localized Metadata for a Default App Clip Experience
+ Provide localized metadata that appears on the App Clip card of a default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter requestBody: AppClipDefaultExperienceLocalization representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter requestBody: AppClipDefaultExperienceLocalization representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func createAppClipDefaultExperienceLocalizationV1(requestBody: AppClipDefaultExperienceLocalizationCreateRequest) -> Request {
- return .init(path: "/v1/appClipDefaultExperienceLocalizations", method: .post, requestBody: requestBody)
+ .init(path: "/v1/appClipDefaultExperienceLocalizations", method: .post, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/DeleteAppClipDefaultExperienceLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/DeleteAppClipDefaultExperienceLocalizationV1.swift
index 6b3e095b4..dd3838f1a 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/DeleteAppClipDefaultExperienceLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/DeleteAppClipDefaultExperienceLocalizationV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Delete a Default App Clip Experience Localization
- Delete localized metadata that appears on the App Clip card of a default App Clip experience.
+ # Delete a Default App Clip Experience Localization
+ Delete localized metadata that appears on the App Clip card of a default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func deleteAppClipDefaultExperienceLocalizationV1(id: String) -> Request {
- return .init(path: "/v1/appClipDefaultExperienceLocalizations/\(id)", method: .delete)
+ .init(path: "/v1/appClipDefaultExperienceLocalizations/\(id)", method: .delete)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/GetAppClipDefaultExperienceLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/GetAppClipDefaultExperienceLocalizationV1.swift
index fae13d865..b82497d2c 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/GetAppClipDefaultExperienceLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/GetAppClipDefaultExperienceLocalizationV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # Read Localization Information of a Default App Clip Experience
- Get localized metadata that appears on the App Clip card of a specific default App Clip experience.
+ # Read Localization Information of a Default App Clip Experience
+ Get localized metadata that appears on the App Clip card of a specific default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppClipDefaultExperienceLocalizationV1(id: String,
fields: [GetAppClipDefaultExperienceLocalizationV1.Field]? = nil,
includes: [GetAppClipDefaultExperienceLocalizationV1.Include]? = nil) -> Request
{
- return .init(path: "/v1/appClipDefaultExperienceLocalizations/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes))
+ .init(path: "/v1/appClipDefaultExperienceLocalizations/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes))
}
}
@@ -53,6 +53,7 @@ public enum GetAppClipDefaultExperienceLocalizationV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appClipDefaultExperience, appClipHeaderImage
+ case appClipDefaultExperience
+ case appClipHeaderImage
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/Relationships/GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/Relationships/GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1.swift
index eba078587..a2d0d90f5 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/Relationships/GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/Relationships/GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # Read App Clip Card Image Information for a Localized Default App Clip Experience
- Get the image that appears on the App Clip card, specific to a locale, for a default App Clip experience.
+ # Read App Clip Card Image Information for a Localized Default App Clip Experience
+ Get the image that appears on the App Clip card, specific to a locale, for a default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1(id: String,
fields: [GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1.Field]? = nil,
includes: [GetAppClipHeaderImageForAppClipDefaultExperienceLocalizationV1.Include]? = nil) -> Request
{
- return .init(path: "/v1/appClipDefaultExperienceLocalizations/\(id)/appClipHeaderImage", method: .get, parameters: .init(fields: fields,
- includes: includes))
+ .init(path: "/v1/appClipDefaultExperienceLocalizations/\(id)/appClipHeaderImage", method: .get, parameters: .init(fields: fields,
+ includes: includes))
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/UpdateAppClipDefaultExperienceLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/UpdateAppClipDefaultExperienceLocalizationV1.swift
index dc13a9f33..073801f35 100644
--- a/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/UpdateAppClipDefaultExperienceLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipDefaultExperienceLocalization/UpdateAppClipDefaultExperienceLocalizationV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Modify the Localization for a Default App Clip Experience
- Update localized metadata for a specific default App Clip experience.
+ # Modify the Localization for a Default App Clip Experience
+ Update localized metadata for a specific default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: AppClipDefaultExperienceLocalization representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: AppClipDefaultExperienceLocalization representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateAppClipDefaultExperienceLocalizationV1(id: String,
requestBody: AppClipDefaultExperienceLocalizationUpdateRequest) -> Request
{
- return .init(path: "/v1/appClipDefaultExperienceLocalizations/\(id)", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/appClipDefaultExperienceLocalizations/\(id)", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipHeaderImage/CreateAppClipHeaderImageV1.swift b/Sources/Bagbutik/Endpoints/AppClipHeaderImage/CreateAppClipHeaderImageV1.swift
index 5e3111868..0256e0d77 100644
--- a/Sources/Bagbutik/Endpoints/AppClipHeaderImage/CreateAppClipHeaderImageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipHeaderImage/CreateAppClipHeaderImageV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Create an App Clip Card Image for a Default App Clip Experience
- Reserve an image asset that appears on the App Clip card of a default App Clip experience.
+ # Create an App Clip Card Image for a Default App Clip Experience
+ Reserve an image asset that appears on the App Clip card of a default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter requestBody: AppClipHeaderImage representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter requestBody: AppClipHeaderImage representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func createAppClipHeaderImageV1(requestBody: AppClipHeaderImageCreateRequest) -> Request {
- return .init(path: "/v1/appClipHeaderImages", method: .post, requestBody: requestBody)
+ .init(path: "/v1/appClipHeaderImages", method: .post, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipHeaderImage/DeleteAppClipHeaderImageV1.swift b/Sources/Bagbutik/Endpoints/AppClipHeaderImage/DeleteAppClipHeaderImageV1.swift
index c37d08996..85998128a 100644
--- a/Sources/Bagbutik/Endpoints/AppClipHeaderImage/DeleteAppClipHeaderImageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipHeaderImage/DeleteAppClipHeaderImageV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Delete a Default App Clip Experience Image
- Delete the image asset that appears on the App Clip card for a default App Clip experience.
+ # Delete a Default App Clip Experience Image
+ Delete the image asset that appears on the App Clip card for a default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func deleteAppClipHeaderImageV1(id: String) -> Request {
- return .init(path: "/v1/appClipHeaderImages/\(id)", method: .delete)
+ .init(path: "/v1/appClipHeaderImages/\(id)", method: .delete)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipHeaderImage/GetAppClipHeaderImageV1.swift b/Sources/Bagbutik/Endpoints/AppClipHeaderImage/GetAppClipHeaderImageV1.swift
index 8291ba6e0..65bd7d8ec 100644
--- a/Sources/Bagbutik/Endpoints/AppClipHeaderImage/GetAppClipHeaderImageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipHeaderImage/GetAppClipHeaderImageV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # Read the App Clip Card Image
- Get the image that appears on the App Clip card of a default App Clip experience.
+ # Read the App Clip Card Image
+ Get the image that appears on the App Clip card of a default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppClipHeaderImageV1(id: String,
fields: [GetAppClipHeaderImageV1.Field]? = nil,
includes: [GetAppClipHeaderImageV1.Include]? = nil) -> Request
{
- return .init(path: "/v1/appClipHeaderImages/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes))
+ .init(path: "/v1/appClipHeaderImages/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes))
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppClipHeaderImage/UpdateAppClipHeaderImageV1.swift b/Sources/Bagbutik/Endpoints/AppClipHeaderImage/UpdateAppClipHeaderImageV1.swift
index 1a8f99636..711fe49da 100644
--- a/Sources/Bagbutik/Endpoints/AppClipHeaderImage/UpdateAppClipHeaderImageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppClipHeaderImage/UpdateAppClipHeaderImageV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Modify an App Clip Card Image
- Change the image that appears on the App Clip card of a default App Clip experience.
+ # Modify an App Clip Card Image
+ Change the image that appears on the App Clip card of a default App Clip experience.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: AppClipHeaderImage representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: AppClipHeaderImage representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateAppClipHeaderImageV1(id: String,
requestBody: AppClipHeaderImageUpdateRequest) -> Request
{
- return .init(path: "/v1/appClipHeaderImages/\(id)", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/appClipHeaderImages/\(id)", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPage/CreateAppCustomProductPageV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPage/CreateAppCustomProductPageV1.swift
index 50d7b3de6..20209c119 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPage/CreateAppCustomProductPageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPage/CreateAppCustomProductPageV1.swift
@@ -1,14 +1,14 @@
public extension Request {
/**
- # POST /v1/appCustomProductPages
+ # POST /v1/appCustomProductPages
- Full documentation:
-
+ Full documentation:
+
- - Parameter requestBody: AppCustomProductPage representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter requestBody: AppCustomProductPage representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func createAppCustomProductPageV1(requestBody: AppCustomProductPageCreateRequest) -> Request {
- return .init(path: "/v1/appCustomProductPages", method: .post, requestBody: requestBody)
+ .init(path: "/v1/appCustomProductPages", method: .post, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPage/DeleteAppCustomProductPageV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPage/DeleteAppCustomProductPageV1.swift
index 8db41c905..715dbda69 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPage/DeleteAppCustomProductPageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPage/DeleteAppCustomProductPageV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Delete an App Custom Product Page
- Delete metadata that you configured for a custom product page.
+ # Delete an App Custom Product Page
+ Delete metadata that you configured for a custom product page.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func deleteAppCustomProductPageV1(id: String) -> Request {
- return .init(path: "/v1/appCustomProductPages/\(id)", method: .delete)
+ .init(path: "/v1/appCustomProductPages/\(id)", method: .delete)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPage/GetAppCustomProductPageV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPage/GetAppCustomProductPageV1.swift
index 37caa1f73..0b251bff1 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPage/GetAppCustomProductPageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPage/GetAppCustomProductPageV1.swift
@@ -1,24 +1,24 @@
public extension Request {
/**
- # GET /v1/appCustomProductPages/{id}
+ # GET /v1/appCustomProductPages/{id}
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum number of related appCustomProductPageVersions returned (when they are included) - maximum 50
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum number of related appCustomProductPageVersions returned (when they are included) - maximum 50
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppCustomProductPageV1(id: String,
fields: [GetAppCustomProductPageV1.Field]? = nil,
includes: [GetAppCustomProductPageV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/appCustomProductPages/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/appCustomProductPages/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limit: limit))
}
}
@@ -54,6 +54,7 @@ public enum GetAppCustomProductPageV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case app, appCustomProductPageVersions
+ case app
+ case appCustomProductPageVersions
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPage/Relationships/ListAppCustomProductPageVersionsForAppCustomProductPageV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPage/Relationships/ListAppCustomProductPageVersionsForAppCustomProductPageV1.swift
index 385617add..a48cc22c0 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPage/Relationships/ListAppCustomProductPageVersionsForAppCustomProductPageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPage/Relationships/ListAppCustomProductPageVersionsForAppCustomProductPageV1.swift
@@ -1,16 +1,16 @@
public extension Request {
/**
- # GET /v1/appCustomProductPages/{id}/appCustomProductPageVersions
+ # GET /v1/appCustomProductPages/{id}/appCustomProductPageVersions
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppCustomProductPageVersionsForAppCustomProductPageV1(id: String,
fields: [ListAppCustomProductPageVersionsForAppCustomProductPageV1.Field]? = nil,
@@ -18,10 +18,10 @@ public extension Request {
includes: [ListAppCustomProductPageVersionsForAppCustomProductPageV1.Include]? = nil,
limits: [ListAppCustomProductPageVersionsForAppCustomProductPageV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/appCustomProductPages/\(id)/appCustomProductPageVersions", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/appCustomProductPages/\(id)/appCustomProductPageVersions", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limits: limits))
}
}
@@ -86,16 +86,17 @@ public enum ListAppCustomProductPageVersionsForAppCustomProductPageV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appCustomProductPage, appCustomProductPageLocalizations
+ case appCustomProductPage
+ case appCustomProductPageLocalizations
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related appCustomProductPageLocalizations returned (when they are included) - maximum 50
case appCustomProductPageLocalizations(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPage/UpdateAppCustomProductPageV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPage/UpdateAppCustomProductPageV1.swift
index ee0871564..d9b900911 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPage/UpdateAppCustomProductPageV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPage/UpdateAppCustomProductPageV1.swift
@@ -1,17 +1,17 @@
public extension Request {
/**
- # PATCH /v1/appCustomProductPages/{id}
+ # PATCH /v1/appCustomProductPages/{id}
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: AppCustomProductPage representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: AppCustomProductPage representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateAppCustomProductPageV1(id: String,
requestBody: AppCustomProductPageUpdateRequest) -> Request
{
- return .init(path: "/v1/appCustomProductPages/\(id)", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/appCustomProductPages/\(id)", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/CreateAppCustomProductPageLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/CreateAppCustomProductPageLocalizationV1.swift
index d5c00a9fa..cff1eaf4c 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/CreateAppCustomProductPageLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/CreateAppCustomProductPageLocalizationV1.swift
@@ -1,14 +1,14 @@
public extension Request {
/**
- # POST /v1/appCustomProductPageLocalizations
+ # POST /v1/appCustomProductPageLocalizations
- Full documentation:
-
+ Full documentation:
+
- - Parameter requestBody: AppCustomProductPageLocalization representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter requestBody: AppCustomProductPageLocalization representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func createAppCustomProductPageLocalizationV1(requestBody: AppCustomProductPageLocalizationCreateRequest) -> Request {
- return .init(path: "/v1/appCustomProductPageLocalizations", method: .post, requestBody: requestBody)
+ .init(path: "/v1/appCustomProductPageLocalizations", method: .post, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/DeleteAppCustomProductPageLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/DeleteAppCustomProductPageLocalizationV1.swift
index 4f4af9548..846f21b5e 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/DeleteAppCustomProductPageLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/DeleteAppCustomProductPageLocalizationV1.swift
@@ -1,15 +1,15 @@
public extension Request {
/**
- # Delete an App Custom Product Page Localization
- Delete localized metadata that you configured for a custom product page.
+ # Delete an App Custom Product Page Localization
+ Delete localized metadata that you configured for a custom product page.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func deleteAppCustomProductPageLocalizationV1(id: String) -> Request {
- return .init(path: "/v1/appCustomProductPageLocalizations/\(id)", method: .delete)
+ .init(path: "/v1/appCustomProductPageLocalizations/\(id)", method: .delete)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/GetAppCustomProductPageLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/GetAppCustomProductPageLocalizationV1.swift
index cea5e072f..62ba6ee82 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/GetAppCustomProductPageLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/GetAppCustomProductPageLocalizationV1.swift
@@ -1,24 +1,24 @@
public extension Request {
/**
- # GET /v1/appCustomProductPageLocalizations/{id}
+ # GET /v1/appCustomProductPageLocalizations/{id}
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppCustomProductPageLocalizationV1(id: String,
fields: [GetAppCustomProductPageLocalizationV1.Field]? = nil,
includes: [GetAppCustomProductPageLocalizationV1.Include]? = nil,
limits: [GetAppCustomProductPageLocalizationV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/appCustomProductPageLocalizations/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/appCustomProductPageLocalizations/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limits: limits))
}
}
@@ -63,7 +63,9 @@ public enum GetAppCustomProductPageLocalizationV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appCustomProductPageVersion, appPreviewSets, appScreenshotSets
+ case appCustomProductPageVersion
+ case appPreviewSets
+ case appScreenshotSets
}
/**
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/Relationships/ListAppPreviewSetsForAppCustomProductPageLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/Relationships/ListAppPreviewSetsForAppCustomProductPageLocalizationV1.swift
index 87f3da4f1..b205b0868 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/Relationships/ListAppPreviewSetsForAppCustomProductPageLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/Relationships/ListAppPreviewSetsForAppCustomProductPageLocalizationV1.swift
@@ -1,16 +1,16 @@
public extension Request {
/**
- # GET /v1/appCustomProductPageLocalizations/{id}/appPreviewSets
+ # GET /v1/appCustomProductPageLocalizations/{id}/appPreviewSets
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppPreviewSetsForAppCustomProductPageLocalizationV1(id: String,
fields: [ListAppPreviewSetsForAppCustomProductPageLocalizationV1.Field]? = nil,
@@ -18,10 +18,10 @@ public extension Request {
includes: [ListAppPreviewSetsForAppCustomProductPageLocalizationV1.Include]? = nil,
limits: [ListAppPreviewSetsForAppCustomProductPageLocalizationV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/appCustomProductPageLocalizations/\(id)/appPreviewSets", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/appCustomProductPageLocalizations/\(id)/appPreviewSets", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limits: limits))
}
}
@@ -126,16 +126,19 @@ public enum ListAppPreviewSetsForAppCustomProductPageLocalizationV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appCustomProductPageLocalization, appPreviews, appStoreVersionExperimentTreatmentLocalization, appStoreVersionLocalization
+ case appCustomProductPageLocalization
+ case appPreviews
+ case appStoreVersionExperimentTreatmentLocalization
+ case appStoreVersionLocalization
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related appPreviews returned (when they are included) - maximum 50
case appPreviews(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/Relationships/ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/Relationships/ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.swift
index bd5a11289..58c58b4aa 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/Relationships/ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/Relationships/ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.swift
@@ -1,16 +1,16 @@
public extension Request {
/**
- # GET /v1/appCustomProductPageLocalizations/{id}/appScreenshotSets
+ # GET /v1/appCustomProductPageLocalizations/{id}/appScreenshotSets
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppScreenshotSetsForAppCustomProductPageLocalizationV1(id: String,
fields: [ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.Field]? = nil,
@@ -18,10 +18,10 @@ public extension Request {
includes: [ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.Include]? = nil,
limits: [ListAppScreenshotSetsForAppCustomProductPageLocalizationV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/appCustomProductPageLocalizations/\(id)/appScreenshotSets", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/appCustomProductPageLocalizations/\(id)/appScreenshotSets", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limits: limits))
}
}
@@ -136,16 +136,19 @@ public enum ListAppScreenshotSetsForAppCustomProductPageLocalizationV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appCustomProductPageLocalization, appScreenshots, appStoreVersionExperimentTreatmentLocalization, appStoreVersionLocalization
+ case appCustomProductPageLocalization
+ case appScreenshots
+ case appStoreVersionExperimentTreatmentLocalization
+ case appStoreVersionLocalization
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
/// Maximum number of related appScreenshots returned (when they are included) - maximum 50
case appScreenshots(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/UpdateAppCustomProductPageLocalizationV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/UpdateAppCustomProductPageLocalizationV1.swift
index 4b9252315..21d2a39b2 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/UpdateAppCustomProductPageLocalizationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPageLocalization/UpdateAppCustomProductPageLocalizationV1.swift
@@ -1,17 +1,17 @@
public extension Request {
/**
- # PATCH /v1/appCustomProductPageLocalizations/{id}
+ # PATCH /v1/appCustomProductPageLocalizations/{id}
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: AppCustomProductPageLocalization representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: AppCustomProductPageLocalization representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func updateAppCustomProductPageLocalizationV1(id: String,
requestBody: AppCustomProductPageLocalizationUpdateRequest) -> Request
{
- return .init(path: "/v1/appCustomProductPageLocalizations/\(id)", method: .patch, requestBody: requestBody)
+ .init(path: "/v1/appCustomProductPageLocalizations/\(id)", method: .patch, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/CreateAppCustomProductPageVersionV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/CreateAppCustomProductPageVersionV1.swift
index 447194ece..34e1db87f 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/CreateAppCustomProductPageVersionV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/CreateAppCustomProductPageVersionV1.swift
@@ -1,14 +1,14 @@
public extension Request {
/**
- # POST /v1/appCustomProductPageVersions
+ # POST /v1/appCustomProductPageVersions
- Full documentation:
-
+ Full documentation:
+
- - Parameter requestBody: AppCustomProductPageVersion representation
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter requestBody: AppCustomProductPageVersion representation
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func createAppCustomProductPageVersionV1(requestBody: AppCustomProductPageVersionCreateRequest) -> Request {
- return .init(path: "/v1/appCustomProductPageVersions", method: .post, requestBody: requestBody)
+ .init(path: "/v1/appCustomProductPageVersions", method: .post, requestBody: requestBody)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/GetAppCustomProductPageVersionV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/GetAppCustomProductPageVersionV1.swift
index bdea70ee6..b6ce7dc0b 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/GetAppCustomProductPageVersionV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/GetAppCustomProductPageVersionV1.swift
@@ -1,24 +1,24 @@
public extension Request {
/**
- # GET /v1/appCustomProductPageVersions/{id}
+ # GET /v1/appCustomProductPageVersions/{id}
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum number of related appCustomProductPageLocalizations returned (when they are included) - maximum 50
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum number of related appCustomProductPageLocalizations returned (when they are included) - maximum 50
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppCustomProductPageVersionV1(id: String,
fields: [GetAppCustomProductPageVersionV1.Field]? = nil,
includes: [GetAppCustomProductPageVersionV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/appCustomProductPageVersions/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/appCustomProductPageVersions/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes,
+ limit: limit))
}
}
@@ -52,6 +52,7 @@ public enum GetAppCustomProductPageVersionV1 {
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appCustomProductPage, appCustomProductPageLocalizations
+ case appCustomProductPage
+ case appCustomProductPageLocalizations
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/Relationships/ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.swift b/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/Relationships/ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.swift
index 6ada788f1..56b327542 100644
--- a/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/Relationships/ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppCustomProductPageVersion/Relationships/ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.swift
@@ -1,16 +1,16 @@
public extension Request {
/**
- # GET /v1/appCustomProductPageVersions/{id}/appCustomProductPageLocalizations
+ # GET /v1/appCustomProductPageVersions/{id}/appCustomProductPageLocalizations
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limits: Number of resources to return
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limits: Number of resources to return
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1(id: String,
fields: [ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.Field]? = nil,
@@ -18,10 +18,10 @@ public extension Request {
includes: [ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.Include]? = nil,
limits: [ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV1.Limit]? = nil) -> Request
{
- return .init(path: "/v1/appCustomProductPageVersions/\(id)/appCustomProductPageLocalizations", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limits: limits))
+ .init(path: "/v1/appCustomProductPageVersions/\(id)/appCustomProductPageLocalizations", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limits: limits))
}
}
@@ -83,18 +83,20 @@ public enum ListAppCustomProductPageLocalizationsForAppCustomProductPageVersionV
Relationship data to include in the response.
*/
public enum Include: String, IncludeParameter {
- case appCustomProductPageVersion, appPreviewSets, appScreenshotSets
+ case appCustomProductPageVersion
+ case appPreviewSets
+ case appScreenshotSets
}
/**
Number of included related resources to return.
*/
public enum Limit: LimitParameter {
- /// Maximum resources per page - maximum 200
- case limit(Int)
- /// Maximum number of related appScreenshotSets returned (when they are included) - maximum 50
- case appScreenshotSets(Int)
/// Maximum number of related appPreviewSets returned (when they are included) - maximum 50
case appPreviewSets(Int)
+ /// Maximum number of related appScreenshotSets returned (when they are included) - maximum 50
+ case appScreenshotSets(Int)
+ /// Maximum resources per page - maximum 200
+ case limit(Int)
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/GetAppEncryptionDeclarationV1.swift b/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/GetAppEncryptionDeclarationV1.swift
index 74d1d05ca..aeee928b9 100644
--- a/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/GetAppEncryptionDeclarationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/GetAppEncryptionDeclarationV1.swift
@@ -1,22 +1,22 @@
public extension Request {
/**
- # Read App Encryption Declaration Information
- Get information about a specific app encryption declaration.
+ # Read App Encryption Declaration Information
+ Get information about a specific app encryption declaration.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter fields: Fields to return for included related types
- - Parameter includes: Relationship data to include in the response
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter fields: Fields to return for included related types
+ - Parameter includes: Relationship data to include in the response
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func getAppEncryptionDeclarationV1(id: String,
fields: [GetAppEncryptionDeclarationV1.Field]? = nil,
includes: [GetAppEncryptionDeclarationV1.Include]? = nil) -> Request
{
- return .init(path: "/v1/appEncryptionDeclarations/\(id)", method: .get, parameters: .init(fields: fields,
- includes: includes))
+ .init(path: "/v1/appEncryptionDeclarations/\(id)", method: .get, parameters: .init(fields: fields,
+ includes: includes))
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/ListAppEncryptionDeclarationsV1.swift b/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/ListAppEncryptionDeclarationsV1.swift
index d60af9ed4..516a61e36 100644
--- a/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/ListAppEncryptionDeclarationsV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/ListAppEncryptionDeclarationsV1.swift
@@ -1,26 +1,26 @@
public extension Request {
/**
- # List App Encryption Declarations
- Find and list all available app encryption declarations.
+ # List App Encryption Declarations
+ Find and list all available app encryption declarations.
- Full documentation:
-
+ Full documentation:
+
- - Parameter fields: Fields to return for included related types
- - Parameter filters: Attributes, relationships, and IDs by which to filter
- - Parameter includes: Relationship data to include in the response
- - Parameter limit: Maximum resources per page - maximum 200
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter fields: Fields to return for included related types
+ - Parameter filters: Attributes, relationships, and IDs by which to filter
+ - Parameter includes: Relationship data to include in the response
+ - Parameter limit: Maximum resources per page - maximum 200
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func listAppEncryptionDeclarationsV1(fields: [ListAppEncryptionDeclarationsV1.Field]? = nil,
filters: [ListAppEncryptionDeclarationsV1.Filter]? = nil,
includes: [ListAppEncryptionDeclarationsV1.Include]? = nil,
limit: Int? = nil) -> Request
{
- return .init(path: "/v1/appEncryptionDeclarations", method: .get, parameters: .init(fields: fields,
- filters: filters,
- includes: includes,
- limit: limit))
+ .init(path: "/v1/appEncryptionDeclarations", method: .get, parameters: .init(fields: fields,
+ filters: filters,
+ includes: includes,
+ limit: limit))
}
}
diff --git a/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/Relationships/CreateBuildsForAppEncryptionDeclarationV1.swift b/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/Relationships/CreateBuildsForAppEncryptionDeclarationV1.swift
index 05d388483..fd4d6ab4b 100644
--- a/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/Relationships/CreateBuildsForAppEncryptionDeclarationV1.swift
+++ b/Sources/Bagbutik/Endpoints/AppEncryptionDeclaration/Relationships/CreateBuildsForAppEncryptionDeclarationV1.swift
@@ -1,18 +1,18 @@
public extension Request {
/**
- # Assign Builds to an App Encryption Declaration
- Assign one or more builds to an app encryption declaration.
+ # Assign Builds to an App Encryption Declaration
+ Assign one or more builds to an app encryption declaration.
- Full documentation:
-
+ Full documentation:
+
- - Parameter id: The id of the requested resource
- - Parameter requestBody: List of related linkages
- - Returns: A ``Request`` to send to an instance of ``BagbutikService``
+ - Parameter id: The id of the requested resource
+ - Parameter requestBody: List of related linkages
+ - Returns: A ``Request`` to send to an instance of ``BagbutikService``
*/
static func createBuildsForAppEncryptionDeclarationV1(id: String,
requestBody: AppEncryptionDeclarationBuildsLinkagesRequest) -> Request